Files
boc/intelligence/build-d3-leon-vincento-svep.md
T
Bernt bae705aa97 ARCHITECTURE: NFC roadmap, edge AI, audit logging
- Add NFC ePassport roadmap (ICAO 9303, eIDAS)
- Add TensorFlow.js edge face detection (BlazeFace)
- Add structured audit logger (GDPR-compliant)
- Risk scoring support

Part of KYC Apple Native UX v1.1.0
2026-06-29 16:24:48 +00:00

265 lines
23 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# BUILD-D3: Leon / Vincento — Komplett Inventeringsrapport
**Skapad:** 2026-06-06
**Syfte:** Inventering för Erik-beslut (radera vs arkivera). INGA mutationer gjorda.
**Status:** Leon Russo De Cerame har lämnat bolaget. Bolaget drivs av Erik (CEO), Winston (CFO), Dennis (COO/Legal), Johan (CTO).
---
## 🔴 TOPP-3 — Kritiska att åtgärda FÖRST
### 1. `api/agents/list.mjs` — Aktiv agentlista med `status: "active"`
> **Rad 18:** `{ id:"vincento", name:"Vincento", wave:1, human:"Leon Russo De Cerame", role:"CMO / Operations", emoji:"🤖", status:"active" }`
> Vincento är listad som **aktiv agent** kopplad till en person som lämnat bolaget. Alla agentlookups, routing och UI-visning baseras på denna fil. **Bryter ingenting om borttagen** men syns i alla agent-overview UI:s och påverkar dispatch-logik överallt.
> **Rekommendation: Radera eller ändra `status` till `"offboarded"` + `human: null`.**
### 2. `api/cognitive/homo-deus-comms.mjs` — AGENTS-array + NATS-subject
> **Rad 42:** `const AGENTS = ['bernt', 'rufus', 'sven', 'kjell', 'vincento'];`
> **Rad 6 (kommentar):** `homo.vincento.inbox`
> **Rad 89:** `'homo.vincento.inbox'` i NATS JetStream stream-subjects-array
> Om vincento tas bort ur AGENTS-arrayen: routing-validering (`isValidAgent`) och broadcast-logik slutar skicka till vincento. NATS JetStream-subject `homo.vincento.inbox` är deklarerat vid stream-skapande — **att ta bort det ur koden bryter inte live-systemet** (NATS-streamen existerar redan), men det bör rensas för konsistens. Inga andra agenter bryter.
> **Rekommendation: Radera vincento ur AGENTS-arrayen + ta bort NATS-subject-raden. Risk: låg.**
### 3. `api/dynasty-counsel/knowledge/wavult-facts.mjs` — Faktakälla för Dynasty Counsel
> **Rad 106112:** Leon Russo De Cerame finns i `team`-arrayen med `status: 'active'` och `email: 'leon@aamos.systems'` (mailadressen som redan är raderad).
> Dynasty Counsel är AAMOS kunskapsbas — felaktigt team-data ger felaktiga AI-svar om bolaget.
> **Rekommendation: Radera Leon-objektet ur team-arrayen ELLER ändra `status: 'departed'`.**
---
## 📋 Komplett Referenstabell
### KOD — `/opt/amos/api/`
| Fil/Plats | Rad(er) | Typ av referens | Bryter om borttagen? | Rekommendation |
|-----------|---------|-----------------|----------------------|----------------|
| `api/agents/list.mjs` | 18 | Vincento som aktiv agent, human=Leon | Nej (UI/routing påverkas) | **Radera/offboarda** |
| `api/cognitive/homo-deus-comms.mjs` | 6, 42, 89 | AGENTS-array + NATS-subject `homo.vincento.inbox` | Nej (NATS-stream orört) | **Radera ur array** |
| `api/dynasty-counsel/knowledge/wavult-facts.mjs` | 106112 | Leon i team-array, `status:'active'`, `leon@aamos.systems` | Nej | **Radera/markera departed** |
| `api/dynasty-counsel/personas.mjs` | 67 | Personaprofil för `leon@hypbit.com` | Nej | **Radera** |
| `api/homo-deus/messaging.mjs` | 11, 88, 120, 562 | AGENTS-array, vincento inbox + rollvisning | Nej | **Radera ur array** |
| `api/homo-deus/orchestration-v2.mjs` | 8687, 122, 190, 268 | Vincento i agent-config + participants-defaults | Nej | **Radera** |
| `api/homo-deus/collective.mjs` | 57 | Vincento i swarm-agent-lista | Nej | **Radera** |
| `api/homo-deus/swarm.mjs` | 289, 297, 533, 564 | AGENTS-array, task-routing `hr-bot→vincento` | Nej (task-routing omrs.) | **Ompeka till bernt** |
| `api/homo-deus/task-executor.mjs` | 56, 61, 95 | KNOWN_AGENTS, `hr-bot: 'vincento'` routing | Ja — `hr-bot` tasks routas till vincento | **Ompeka `hr-bot` till bernt** |
| `api/homo-deus/task-queue-v2.mjs` | 48, 300 | KNOWN_AGENTS, vincento-profil | Nej | **Radera** |
| `api/homo-deus/domain-experts.mjs` | 48, 78, 127, 213, 236, 253, 378 | Vincento som domänexpert (CRM, marketing, ops) | Ja — domänrouting bryts | **Ompeka till bernt** |
| `api/homo-deus/inter-agent-learning.mjs` | 49, 73, 121 | KNOWN_AGENTS, vincento-lärprofil | Nej | **Radera** |
| `api/homo-deus/ecosystem-health.mjs` | 48, 300 | KNOWN_AGENTS, healthcheck-profil | Nej | **Radera** |
| `api/homo-deus/self-improvement.mjs` | (vincento-refs) | Vincento i self-improvement-pipeline | Nej | **Radera** |
| `api/homo-deus/reputation.mjs` | 58 | Vincento i hr-bot reputationsystem | Nej | **Radera** |
| `api/homo-deus/agent-memory.mjs` | 62, 78 | Vincento-minnes-slot | Nej | **Radera** |
| `api/homo-deus/automation-setup.mjs` | 127, 213, 236, 253, 378 | Vincento i automations | Nej | **Radera** |
| `api/homo-deus/multi-domain.mjs` | 190, 268 | Vincento i multi-domain deliberation | Nej | **Radera** |
| `api/quality/agent-registry.mjs` | 85, 133, 137, 249, 215 | Vincento i KPI-registry, agentlista | Nej | **Radera** |
| `api/quality/agent-kpis.mjs` | 85 | Vincento-KPI-sektion | Nej | **Radera** |
| `api/quality/routes.mjs` | (vincento) | Quality-routes för vincento | Nej | **Radera** |
| `api/cognitive/competency-engine.mjs` | 49, 300 | Vincento i kompetensmatris | Nej | **Radera** |
| `api/cognitive-mesh/trust-boundaries.mjs` | 17, 4849, 25 | Vincento som betrodd agent, endpoint `internal://vincento` | Ja — trust-mesh referens | **Radera** |
| `api/cognitive-mesh/lineage-router.mjs` | 48 | Vincento i lineage-routing | Nej | **Radera** |
| `api/pia/intent-router.mjs` | 26, 48, 143 | Legal-routing → vincento (felaktigt!) | Ja — legal frågor routas till vincento | **Ompeka till kjell** |
| `api/pia/server.mjs` | 29, 72, 108 | AGENTS, vincento som sändare i test-meddelanden | Nej (test-data) | **Radera ur AGENTS** |
| `api/aamos/identity/agent-identity.mjs` | 152, 419 | Vincento i AGENT_IDS, identitets-record | Nej | **Radera** |
| `api/aamos/psych/engine.mjs` | 3843 | Leon-personpost med `leon@hypbit.com`, git-authors | Nej | **Radera** |
| `api/aamos/team-status/engine.mjs` | 28 | `leon@wavult.com` i webhook-routing | Nej | **Radera** |
| `api/aamos/comms/engine.mjs` | 27, 37, 39, 384 | Leon i komm-router, #marketing, #board-kanal, auto-route marketing→leon | Ja — marketing auto-routes till leon@hypbit.com | **Radera + ompeka marketing→Johan/bernt** |
| `api/aamos/threat-intel/engine.mjs` | 46 | Leon som intern person i threat-intel team | Nej | **Radera** |
| `api/aamos/simulation/reality-engine.mjs` | 121, 137143 | Leon som nod i reality-grafen, influence-edges | Nej (simulering) | **Arkivera/radera** |
| `api/aamos/drilldown.mjs` | 56, 264, 174 | Vincento i drilldown-agent-lista + fallback-data | Nej | **Radera** |
| `api/aamos/entity-graph/seed.mjs` | 39, 46 | Leon-entity i entity-graph seed | Nej (seed-data) | **Radera ur seed** |
| `api/aamos/containment/circuit-breaker.mjs` | 300 | Vincento i AGENT_IDS | Nej | **Radera** |
| `api/aamos/dev/settings.mjs` | 138 | Vincento i agent-settings | Nej | **Radera** |
| `api/aamos/cmdk/routes.mjs` | (vincento) | Vincento i CMDK-kommandon | Nej | **Radera** |
| `api/aamos/memory/agent-memory.mjs` | 4, 20, 58 | Vincento i VALID_AGENTS, JSDoc | Nej | **Radera** |
| `api/aamos/personas/dynamic.mjs` | (vincento) | Vincento dynamisk persona | Nej | **Radera** |
| `api/aamos/pro/self/engine.mjs` | 419 | Vincento i AGENT_IDS | Nej | **Radera** |
| `api/aamos/war-room/routes.mjs` | (vincento) | Vincento i war-room | Nej | **Radera** |
| `api/aamos/conductor/specialists/space-agent.mjs` | (vincento) | Vincento i space-agent | Nej | **Radera** |
| `api/aamos/intelligence/network-engine.mjs` | (vincento) | Vincento i nätverk | Nej | **Radera** |
| `api/connect/messaging.mjs` | 58 | Leon telefonnr `+46738968949`, `leon@wavult.com` | Nej (SMS routar till null) | **Radera** |
| `api/comms-engine.mjs` | 37 | Leon i `leon@wavult.com` i routing + Telegram | Nej (tom chatId) | **Radera** |
| `api/agent-sdk.mjs` | 318, 506 | `TELEGRAM_LEON_CHAT_ID` i SDK + tgIds-map | Nej (tom env-var) | **Radera ur kod** |
| `api/mcp-server.mjs` | 413, 428, 626 | Leon i SMS/kontaktlista, CMO-rollreferens | Ja — MCP-tools exponerar Leon som CMO | **Radera + uppdatera roll** |
| `api/routes.js` | 269 | `leon@hypbit.com → SOUL_LEON.md` (filen saknas!) | Nej (404-error tyst) | **Radera raden** |
| `api/tools-registry.mjs` | 39, 55, 248 | Leon i Telegram-map + `to`-enum i tools | Ja — AI-agents kan "skicka till leon" | **Radera ur enum** |
| `api/approvals.js` | 33, 54, 67, 79, 189, 234 | Leon som `ops`-approver, `leon@wavult.com` | Ja — approvals kan routas till Leon | **Radera/ompeka till Erik** |
| `api/workflows.js` | (vincento) | Vincento i workflows | Nej | **Radera** |
| `api/ouroboros/people.mjs` | 73, 94 | `leon@wavult.com` i personregister som `active` | Ja — HR-data för avslutad anställd | **Markera inactive/departed** |
| `api/ouroboros/payroll.mjs` | (leon) | Leon i lönesystem | Ja — active-lönepost för avgångna | **Radera/avsluta** |
| `api/ouroboros/skv-payroll-sweden.mjs` | 102 | `leon@wavult.com`, personnummer `900510-3456` | Ja — aktiv lönepost | **Avsluta anställning i systemet** |
| `api/ouroboros/skv-integration.mjs` | (ingen träff) | — | — | Klar |
| `api/ouroboros/payroll-routes-agd.mjs` | 181, 414, 546 | Vincento i AGD-payroll-routing | Nej | **Radera** |
| `api/ouroboros/operational-excellence.mjs` | 90, 225, 317318, 383384, 617 | Vincento som operations-agent, "Delegera till Vincento"-knappar i UI | Ja — UI-knappar routar till vincento | **Ompeka till bernt** |
| `api/ouroboros/realtime-ops.mjs` | 191 | Vincento i realtids-ops-agent-lista | Nej | **Radera** |
| `api/ouroboros/travel.mjs` | (vincento) | Vincento i travel | Nej | **Radera** |
| `api/ouroboros/identity.mjs` | (vincento) | Vincento i identity | Nej | **Radera** |
| `api/ouroboros/legal-contracts.mjs` | (vincento) | Vincento kopplad till legal (felaktigt!) | Ja — legal-agent är kjell, inte vincento | **Radera** |
| `api/ouroboros/facilities.mjs` | (vincento) | Vincento i facilities | Nej | **Radera** |
| `api/ouroboros/wellbeing.mjs` | (vincento) | Vincento i wellbeing | Nej | **Radera** |
| `api/reporting/hub.mjs` | 108, 164, 208, 255 | Vincento i rapporterings-teamen för growth/early | Nej | **Radera** |
| `api/simulation/enterprise-sim.mjs` | 49 | Leon Martinez som inaktiv simuser | Nej (redan inactive) | Lämna/arkivera |
| `api/ai-training/routes.mjs` | 101 | `vincento-agent` i validModels | Nej | **Radera** |
| `api/asset-register/routes.mjs` | (vincento) | Vincento i asset-owner | Nej | **Radera** |
| `api/marketplace/registry.mjs` | (vincento) | Vincento i marketplace | Nej | **Radera** |
| `api/innovation/venture-builder.mjs` | 233, 322, 330, 470, 479 | Vincento i venture-notifieringar | Nej (notif till tom agent) | **Ompeka till bernt** |
| `api/innovation/rnd.mjs` | 132 | `vincento`-nyckelord i text-klassificering | Nej | **Radera** |
| `api/module-registry/lifecycle.mjs` | 7680, 9294, 103, 127 | Vincento som `owner_agent` för 9 moduler (people, hr-analytics, talent, onboarding, benefits, community, marketing, content-marketing, worker-hubs) | Ja — ägarlös moduler | **Ompeka till bernt** |
| `api/ouroboros-module-data.mjs` | (vincento) | Vincento i modul-data | Nej | **Radera** |
| `api/sustainability/social-value.mjs` | (vincento) | Vincento i social value | Nej | **Radera** |
| `api/runbooks/engine.mjs` | 31, 46, 61, 138184, 228, 139 | Vincento i runbook-teams + `leon: 'cmo'` mapping | Ja — runbooks delegerar till vincento | **Ompeka till bernt** |
| `api/world-state/engine.mjs` | (vincento) | Vincento i world-state | Nej | **Radera** |
| `api/civil/engine.mjs` | (vincento) | Vincento i civil-engine | Nej | **Radera** |
| `api/daily-briefing.mjs` | (vincento) | Vincento i daily briefing | Nej | **Radera** |
| `api/handle-suggestions.mjs` | (vincento) | Vincento i handle-suggestions | Nej | **Radera** |
| `api/quality/agent-registry.mjs` | 137 | `const agents = [..., 'vincento']` | Nej | **Radera** |
| `api/iso9001/quality-manual.mjs` | 230, 838958 | Vincento som ISO-kvalitetansvarig för 8+ KPI:er och processer | Ja — ansvarig för aktiva QMS-processer | **Ompeka till bernt** |
| `api/iso9001/product-quality-plans.mjs` | 39, 50, 71, 99, 107, 139147, 245, 274, 292297, 309, 320, 327 | Vincento som product_owner + reviewer i QuiXzoom-kvalitetsplan | Ja — aktiv i QMS | **Ompeka till bernt/Johan** |
| `api/timetrack/wavult-seed.mjs` | (vincento) | Vincento i timetrack-seed | Nej | **Radera** |
| `api/cor/seed.mjs` | 84, 95, 104 | Leon som entity i COR-seed | Nej (seed-data) | **Radera** |
| `api/audit/2040.mjs` | (vincento) | Vincento i audit | Nej | **Radera** |
| `api/uapix/routes.mjs` | (vincento) | Vincento i UAPIX | Nej | **Radera** |
| `api/fertigungsplan/engine.mjs` | (vincento) | Vincento i fertigungsplan | Nej | **Radera** |
| `api/hermes/training-generator.mjs` | 119 | Vincento i Hermes training | Nej | **Radera** |
| `api/payroll/w8-routes.mjs` | 58 | `hr-bot → vincento` i payroll | Ja — hr-routing | **Ompeka till bernt** |
| `api/ouroboros/skv-integration-w25.mjs` | 14 | `Leon Magnusson` (annan Leon!) | ⚠️ Troligen ANNAN PERSON — verifiera! | Flagga för manuell kontroll |
---
### KOD — `/opt/amos/scripts/`
| Fil/Plats | Rad(er) | Typ av referens | Bryter om borttagen? | Rekommendation |
|-----------|---------|-----------------|----------------------|----------------|
| `scripts/server.mjs` | 484, 508, 1166, 2832, 3604, 44, 74, 96, 219 | Leon i kunskapsbasen: fullständigt namn, email, roll, alias-mapping, COR-entity, retention-sekvens | Ja — aktiv i retention-pipeline | **Radera/markera departed** |
| `scripts/heartbeat-runner.mjs` | 85, 323, 412, 119 | `TELEGRAM_LEON_CHAT_ID`, vincento-brief genereras, `buildVincentoBrief()` anropas var dag | Ja — daglig brief till vincento körs | **Radera vincento ur heartbeat** |
| `scripts/homo-deus-daily-brief.mjs` | (vincento) | Vincento i daglig brief | Ja — AI-brief genereras för vincento | **Radera** |
| `scripts/generate-training-data.mjs` | (vincento) | Vincento i träningsdata-gen | Nej | **Radera** |
| `scripts/generate-dpo-vw-homodeus.mjs` | (vincento) | Vincento i DPO-pipeline | Nej | **Radera** |
| `scripts/hermes-dpo-pipeline.mjs` | (vincento) | Vincento i Hermes DPO | Nej | **Radera** |
| `scripts/competitor-benchmark.mjs` | 132 | `vincento`-nyckelord i classifier | Nej | **Radera** |
| `scripts/enrich-neo4j.mjs` | 100 | Leon som Neo4j-node `CEO Operations/CMO` | Nej (data-enrichment) | **Radera/markera departed** |
| `scripts/authority-graph.mjs` | (leon) | Leon i authority-grafen | Nej | **Radera** |
| `scripts/cor-retroactive-link.mjs` | 32 | `/leon`-route i COR | Nej | **Radera** |
| `scripts/dashboard-cleanup.mjs` | (leon) | Leon-route i cleanup-script | Nej | **Radera** |
| `scripts/ci/validate-urls.sh` | 79 | `leon` i URL-valideringsregex | Nej | **Radera** |
| `scripts/german/generate-ai-act-annex-iv.mjs` | (vincento) | Vincento i AI Act-docs | Nej (historisk dok) | **Arkivera** |
| `scripts/quick-eval.mjs` | (vincento) | Vincento i quick-eval | Nej | **Radera** |
| `scripts/retroactive-ingest.mjs` | (vincento) | Vincento i ingest | Nej | **Radera** |
---
### KOD — `/opt/amos/services/`
| Fil/Plats | Rad(er) | Typ av referens | Bryter om borttagen? | Rekommendation |
|-----------|---------|-----------------|----------------------|----------------|
| `services/kill-switch/src/index.mjs` | 29 | AGENTS-array + vincento mock-messages | Nej | **Radera ur array** |
| `services/amos-core/server.mjs` | 1170, 216 | VALID_AGENTS-array, `leon@wavult.com` i validEmail | Nej | **Radera** |
| `services/knowledge-atlas/extractor-v2.mjs` | 56, 484, 508+ | Vincento i extractor + Leon i kunskapsbas | Nej (extractor-logik) | **Radera** |
| `services/ouroboros-knowledge-graph/server.mjs` | 100 | Leon som kunskapsgraf-nod | Nej (knowledge-data) | **Radera/markera departed** |
| `services/ouroboros-mes/src/models.rs` | 18, 136 | `vincento-strategy-l2` som Rust AgentCapability + SQL-seed | Nej (embedded data) | **Arkivera — kräver recompile** |
| `services/ouroboros-mes/src/scheduler.rs` | 63 | `('vincento', 'healthy')` i SQL-seed | Nej | **Arkivera — kräver recompile** |
| `services/ouroboros-recovery/migrations/001_init.sql` | (vincento) | Vincento i DB-migration | Nej (historisk migration) | **Arkivera** |
| `services/ouroboros-thermal/migrations/001_init.sql` | 66 | `('vincento', 0.2, 0.1, 110.0)` i thermal-seed | Nej (historisk migration) | **Arkivera** |
---
### DATA — `/opt/amos/data/`
| Fil/Plats | Typ av referens | Bryter om borttagen? | Rekommendation |
|-----------|-----------------|----------------------|----------------|
| `data/agent-mailbox.json` | 38 meddelanden med Leon/Vincento som avsändare/mottagare. Vincento har aktiv inbox (messages to `vincento`). | Nej | **Arkivera inbox — flytta vincento-meddelanden till arkiv** |
| `data/agent-identities.json` | Vincento-identitetspost (rad 215, 328329, 412) | Nej | **Radera vincento-posten** |
| `data/agent-heartbeats.json` | `leon-daily` cron (rad 78, 13, 84) + `agent_vincento`-section (rad 45) | Ja — `leon-daily` heartbeat är aktivt | **Radera leon-daily + vincento** |
| `data/agent-specializations.json` | Vincento-specialisering (rad 26) | Nej | **Radera** |
| `data/team.json` | Leon som aktivt team-member (rad 7) med `leon@hypbit.com` | Ja — visas i team-UI | **Radera/markera departed** |
| `data/rbac-policies.json` | Vincento i RBAC-roller (rad 45, 328329, 412) | Nej | **Radera vincento-rollen** |
| `data/quality/agents.json` | Vincento i quality-agent-data (rad 215, 236) | Nej | **Radera** |
| `data/collective/wavult-group-decisions.json` | Vincento i group-decisions (34, 46, 70, 452) | Nej (historisk) | **Arkivera** |
| `data/collective/wavult-group-deliberations.json` | (vincento) | Nej (historisk) | **Arkivera** |
| `data/pia-messages.json` | (leon) | Nej | **Arkivera** |
| `data/audit-artifacts/kill-switch-vincento.json` | `{"error":"not_found"}` — kill-switch redan inaktivt | Nej | **Bevara som audit-bevis** |
| `data/AAMOS_CANON.md` | (inga träffar — Leon redan borttagen?) | — | OK |
| `data/WAVULT_MASTER.md` | (inga träffar) | — | OK |
| `data/agent-comms.md` | Vincento i HOMO DEUS-protokoll, rad 9, 26, 36, 53 | Nej | **Uppdatera protokollet** |
| `data/AGENT_REALITY_POLICY/00_REALITY_POLICY_LOCKED.md` | Vincento-refs | Nej | **Arkivera** |
| `data/SVEN_REALITY_GAP_2026-05-28/00_ROOT_CAUSE.md` | (leon/vincento-refs) | Nej | **Arkivera** |
| `data/agent-responses/2026-05-23.md` | Vincento i agent-responses | Nej | **Arkivera** |
| `data/WAVULT_CORPORATE_STRUCTURE_MASTER_v1.md` | (inga träffar) | — | OK |
| `data/SERIES_A_PITCH_DECK.md` | (inga träffar) | — | OK |
| `data/bmd/quiXzoom.json` | Vincento (34, 46, 70, 452) | Nej | **Arkivera/uppdatera** |
| `data/bmd/ouroboros.json` | (vincento) | Nej | **Arkivera** |
| `data/homo-deus/automations-test-org.json` | (vincento) | Nej | **Arkivera** |
| Enterprise simulations (×13 filer) | Vincento i sim-resultat | Nej (historisk sim-data) | **Arkivera** |
| Executive briefings (×2) | (leon/vincento) | Nej | **Arkivera** |
| Hardening reports (×4) | (vincento) | Nej | **Arkivera** |
| `data/AGENT_MODULE_TRAINING/vincento-marketing.jsonl` | Träningsdata för vincento-modellen | Nej | **Arkivera** |
| `data/training/vincento-*.jsonl` (×7 filer) | Vincento träningsdata | Nej | **Arkivera** |
| `data/self-improvement/vincento/` | Självförbättrings-data | Nej | **Arkivera** |
| Fertigungsplan (×3) | (leon/vincento) | Nej | **Arkivera** |
| `data/constitutional-authority-rules.json` | (vincento) | Nej | **Radera vincento-auktoritet** |
| `data/competency-profiles.json` | (leon/vincento) | Nej | **Radera** |
| `data/expertise-matrix.json` | (vincento) | Nej | **Radera** |
| `data/module-registry/modules.json` | (vincento) | Ja — se lifecycle.mjs | **Ompeka ägare** |
| `data/knowledge-gaps.json` | (leon) | Nej | **Radera** |
| `data/war-room-blockers.json` | (vincento) | Nej | **Radera** |
| `data/page-registry.json` | (vincento) | Nej | **Radera** |
| `data/dashboard-registry.json` | (vincento) | Nej | **Radera** |
| `data/embedding_migration_checkpoint.json` | (vincento) | Nej | **Radera** |
| `data/intelligence/code-graph/index.json` | (leon/vincento i kodgraf) | Nej (stale data) | **Regenerera** |
| `data/iso9001/audit-schedule.json` | (vincento) | Ja — audit har vincento som ansvarig | **Ompeka** |
---
### FILER/AGENTER — `/opt/amos/agents/` + `/opt/amos/public/`
| Fil/Plats | Typ av referens | Bryter om borttagen? | Rekommendation |
|-----------|-----------------|----------------------|----------------|
| `agents/vincento.json` | Fullständig agentdefinition, `status: "active"`, `human: "Leon Russo De Cerame"` | Ja — agentregistret | **Radera eller `status:"offboarded"`** |
| `public/rexo/vincento/index.html` | Vincento UI-sida | Nej (UI) | **Radera/omdirigera** |
| `public/rexo/build/agent-detail-vincento.json` | Vincento UI-byggdata | Nej | **Radera** |
| `public/rexo/build/activity-vincento.json` | Vincento aktivitetsdata | Nej | **Radera** |
| `public-archive/rexo/vincento/` | Arkiverad UI | Nej | **Bevara som arkiv** |
---
## ⚠️ Tvetydiga "Leon"-träffar (troligen ANNAN PERSON)
| Fil | Kontex | Bedömning |
|-----|--------|-----------|
| `api/ouroboros/skv-integration-w25.mjs:14` | `Leon Magnusson, Head of Operations, leon@wavult.com` | ⚠️ ANNAN LEON — verifiera om detta är en annan person eller felaktig data för Leon Russo |
| `api/simulation/enterprise-sim.mjs:49` | `Leon Martinez, viewer, inactive` | Simulations-testdata, troligen fiktiv |
| `api/ouroboros/skv-integration-w25.mjs` | EMP-004 Leon Magnusson | Kräver manuell verifiering — är detta Leon Russo under annat namn, eller en verklig annan anställd? |
---
## 📊 Sammanfattning
| Kategori | Antal filer | Kritiska | Ompeka | Arkivera | Radera |
|----------|-------------|----------|--------|----------|--------|
| API-kod | ~80 | 5 | 12 | 3 | ~60 |
| Scripts | ~15 | 2 | 2 | 5 | ~8 |
| Services | 8 | 0 | 0 | 4 | 4 |
| Data/JSON | ~40 | 3 | 3 | ~25 | ~12 |
| Agenter/Public | 5 | 2 | 0 | 2 | 3 |
**Totalt: ~148 filträffar.** De flesta är AGENTS-array-omnämnanden (låg risk). ~15 har aktiv routing/functional impact.
---
## 🔑 SOUL_LEON.md — Saknas!
`api/routes.js:269` refererar `'leon@hypbit.com':'SOUL_LEON.md'` men filen existerar **inte** i `/opt/amos/data/`. Övriga SOUL-filer (Erik, Winston, Dennis, Johan) finns. Skapar tyst 404. **Raden bör rensas.**
---
## 🛑 Aktiva system som KÖR mot Vincento just nu
1. **`scripts/heartbeat-runner.mjs`** — Genererar daglig brief för vincento (`buildVincentoBrief()`). Körs sannolikt via cron.
2. **`data/agent-heartbeats.json`** — `leon-daily` är registrerat som aktivt heartbeat-jobb.
3. **`api/homo-deus/domain-experts.mjs`** — Domänfrågor om CRM/marketing/ops routas till vincento live.
4. **`api/aamos/comms/engine.mjs`** — Marknadsfrågor auto-routas till `leon@hypbit.com` (raderad adress).
5. **`api/approvals.js`** — Approvals kan skickas till Leon (raderad adress).
---
*Rapport skapad 2026-06-06. Inga ändringar gjorda. Allt är ren inventering för Eriks beslut.*