> For the complete documentation index, see [llms.txt](https://ai-os-and-trend-finder.gitbook.io/ai-os-and-trend-finder-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ai-os-and-trend-finder.gitbook.io/ai-os-and-trend-finder-docs/.spec_system/archive/sessions/phase38-session10-hunk-reconciliation-and-release-gate/hunk-reconciliation.md).

# Hunk Reconciliation

**Session ID**: `phase38-session10-hunk-reconciliation-and-release-gate` **Phase**: 38 - Claude OS v2.8.1 Semantic Port **Created**: 2026-06-30 **Last Updated**: 2026-06-30 05:58 IDT

***

## Source Artifacts

| Artifact      | Path                                                                           | Status  | Notes                                                  |
| ------------- | ------------------------------------------------------------------------------ | ------- | ------------------------------------------------------ |
| Full patch    | `/home/aiwithapex/projects/claudeos/claude-os-v2.7_to_v2.8.1.full.patch`       | present | Upstream patch used for modified-file hunk extraction. |
| Name status   | `/home/aiwithapex/projects/claudeos/claude-os-v2.7_to_v2.8.1.name-status.txt`  | present | Source for added/modified path inventory.              |
| Stat          | `/home/aiwithapex/projects/claudeos/claude-os-v2.7_to_v2.8.1.stat.txt`         | present | Source for changed-file size and risk.                 |
| Summary       | `/home/aiwithapex/projects/claudeos/claude-os-v2.7_to_v2.8.1.summary.txt`      | present | Source for upstream change overview.                   |
| Diff findings | `/home/aiwithapex/projects/claudeos/claude-os-v2.7_to_v2.8.1_diff_findings.md` | present | Source for suggested test checklist.                   |

***

## Allowed Disposition Statuses

* `ported`
* `already-present`
* `superseded`
* `skipped-resolved-policy`
* `skipped-n/a`

Every `superseded` entry must name an absolute AI OS replacement path. Every `skipped-resolved-policy` entry must name the resolved Phase 38 policy.

***

## Resolved Phase 38 Policies

| Policy Name             | PRD Decision                                                                                                                                                                                                                       | Used For                                                                               |
| ----------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
| LICENSE adoption        | Adopt upstream v2.8.1 license terms while preserving or updating AI OS NOTICE boundaries for inherited and third-party materials.                                                                                                  | `LICENSE`, package metadata, and upstream-only redistribution language.                |
| Voice provider and cost | Use OpenAI Realtime as the default speech layer, honor `OPENAI_BASE_URL` for compatible local/proxy endpoints, and pass provider keys by environment only.                                                                         | Voice broker, voice docs, launch config, voice-lab, and Intelligence voice behavior.   |
| Config location         | Adapt to current AI OS settings and paths. Browser setup persists through `ai-os-config`; private Dream files use `~/.ai-os` primary root with `~/.claude-os` read compatibility; engine settings go through AI OS config helpers. | Setup, Dream engine, scheduler, and upstream raw `claude-os.dream.engine` differences. |
| Dream engine ownership  | Keep AI OS setup/config and Dream runner modules as the source of truth; port upstream setup and dashboard engine controls onto that backing store.                                                                                | `scripts/run-dream.ts`, Dream dashboard, scheduler, and Vite Dream endpoints.          |
| Model catalog policy    | Keep AI OS defaults as active defaults. Add upstream model names as options where provider readiness can represent them; unavailable or unverified names appear only as disabled or explanatory options.                           | Model labels, provider defaults, and catalog-only upstream changes.                    |

***

## Changed Path Disposition Table

This ledger is the complete Phase 38 changed-path inventory from `.spec_system/PRD/phase_38/PRD_phase_38.md`.

| #  | Upstream Path                            | Source Type         | Owner                      |
| -- | ---------------------------------------- | ------------------- | -------------------------- |
| 1  | `.claude/launch.json`                    | modified            | Session 06/08              |
| 2  | `.githooks/pre-commit`                   | modified, mode-only | Session 06                 |
| 3  | `CHANGELOG.md`                           | modified            | Session 06                 |
| 4  | `CLAUDE.md`                              | modified            | Session 06                 |
| 5  | `INTEGRATION.md`                         | added               | Session 09 skip            |
| 6  | `LICENSE`                                | modified            | Session 06                 |
| 7  | `README.md`                              | modified            | Session 06                 |
| 8  | `docs/intelligence-view.md`              | added               | Session 06/09              |
| 9  | `docs/local-voice-setup.md`              | added               | Session 06/08              |
| 10 | `package.json`                           | modified            | Sessions 01/06/08          |
| 11 | `scripts/aggregate.ts`                   | modified            | Session 03                 |
| 12 | `scripts/graph-to-dashboard.sh`          | modified, mode-only | Session 06                 |
| 13 | `scripts/install-dream-cron.ts`          | modified            | Session 04                 |
| 14 | `scripts/platform.ts`                    | added               | Session 02                 |
| 15 | `scripts/run-dream.ts`                   | added               | Session 07 audit/supersede |
| 16 | `scripts/seed-data.ts`                   | added               | Session 01                 |
| 17 | `scripts/setup-graphify-brain.sh`        | modified, mode-only | Session 06                 |
| 18 | `scripts/setup.ts`                       | modified            | Session 04                 |
| 19 | `scripts/webp-file-type-art.sh`          | modified, mode-only | Session 06                 |
| 20 | `src/components/agent-core-3d.tsx`       | added               | Session 09 skip            |
| 21 | `src/components/hermes-mind-3d.tsx`      | added               | Session 09                 |
| 22 | `src/components/intelligence-portal.tsx` | added               | Session 09                 |
| 23 | `src/components/oracle-plasma.tsx`       | added               | Session 09                 |
| 24 | `src/components/oracle-rider.tsx`        | added               | Session 09                 |
| 25 | `src/components/oracle-sonar.tsx`        | added               | Session 09                 |
| 26 | `src/components/oracle-waveform.tsx`     | added               | Session 09                 |
| 27 | `src/components/stage-aurora.tsx`        | added               | Session 09                 |
| 28 | `src/components/stage-cosmos.tsx`        | added               | Session 09                 |
| 29 | `src/lib/mind-map.ts`                    | added               | Session 09                 |
| 30 | `src/lib/synthetic-voice.ts`             | added               | Session 09                 |
| 31 | `src/routes/agents.hermes.tsx`           | modified            | Sessions 01/06/09          |
| 32 | `src/routes/index.tsx`                   | modified            | Sessions 06/07             |
| 33 | `src/routes/memory.tsx`                  | modified            | Session 01                 |
| 34 | `src/routes/setup.tsx`                   | modified            | Session 07                 |
| 35 | `vite.config.ts`                         | modified            | Sessions 01/05/06/08/07    |
| 36 | `voice-lab/.env.example`                 | added               | Session 08                 |
| 37 | `voice-lab/README.md`                    | added               | Session 08/06              |
| 38 | `voice-lab/index.html`                   | added               | Session 08 skip            |
| 39 | `voice-lab/server.ts`                    | added               | Session 08                 |

### Final Path Dispositions

| #  | Upstream Path                            | Disposition   | AI OS Target Or Replacement                                                                                                                                                                                                                                                                                                         | Policy Metadata                                                   | Evidence                                                                                                                                |
| -- | ---------------------------------------- | ------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- |
| 1  | `.claude/launch.json`                    | `ported`      | `/home/aiwithapex/projects/aios/.claude/launch.json`                                                                                                                                                                                                                                                                                | Voice provider and cost                                           | Session 08 validation confirms `voice-lab` launch target.                                                                               |
| 2  | `.githooks/pre-commit`                   | `ported`      | `/home/aiwithapex/projects/aios/.githooks/pre-commit`                                                                                                                                                                                                                                                                               | N/A                                                               | `git ls-files -s` shows mode `100755`.                                                                                                  |
| 3  | `CHANGELOG.md`                           | `superseded`  | `/home/aiwithapex/projects/aios/docs/CHANGELOG.md`                                                                                                                                                                                                                                                                                  | N/A                                                               | AI OS keeps changelog under `docs/CHANGELOG.md`; Session 06 validation confirms docs/CHANGELOG deliverable.                             |
| 4  | `CLAUDE.md`                              | `superseded`  | `/home/aiwithapex/projects/aios/AGENTS.md`                                                                                                                                                                                                                                                                                          | N/A                                                               | `CLAUDE.md` is a symlink to `AGENTS.md`; Session 06 validation confirms AI OS agent-doc updates.                                        |
| 5  | `INTEGRATION.md`                         | `skipped-n/a` | N/A                                                                                                                                                                                                                                                                                                                                 | N/A                                                               | Upstream-only merge guidance; Session 09 validation records skip.                                                                       |
| 6  | `LICENSE`                                | `ported`      | `/home/aiwithapex/projects/aios/LICENSE`; `/home/aiwithapex/projects/aios/NOTICE`                                                                                                                                                                                                                                                   | LICENSE adoption                                                  | Session 06 validation confirms restrictive license posture and package metadata.                                                        |
| 7  | `README.md`                              | `ported`      | `/home/aiwithapex/projects/aios/README.md`                                                                                                                                                                                                                                                                                          | LICENSE adoption; Dream engine ownership; Voice provider and cost | Session 06 validation confirms removed stale endpoints and current docs; T015 re-sweeps.                                                |
| 8  | `docs/intelligence-view.md`              | `ported`      | `/home/aiwithapex/projects/aios/docs/intelligence-view.md`                                                                                                                                                                                                                                                                          | Voice provider and cost                                           | Session 09 validation confirms portal path, voice bridge, and skips.                                                                    |
| 9  | `docs/local-voice-setup.md`              | `ported`      | `/home/aiwithapex/projects/aios/docs/local-voice-setup.md`                                                                                                                                                                                                                                                                          | Voice provider and cost                                           | Session 08/09 validation confirms broker docs, env-only keys, and standalone skip boundaries.                                           |
| 10 | `package.json`                           | `ported`      | `/home/aiwithapex/projects/aios/package.json`                                                                                                                                                                                                                                                                                       | LICENSE adoption; Voice provider and cost                         | Session 01/06/08 validation confirms `seed:data`, license metadata, and `voice` script.                                                 |
| 11 | `scripts/aggregate.ts`                   | `superseded`  | `/home/aiwithapex/projects/aios/scripts/lib/aggregate-orchestration.ts`; `/home/aiwithapex/projects/aios/scripts/lib/dream/health.ts`; `/home/aiwithapex/projects/aios/scripts/lib/app-detection.ts`; `/home/aiwithapex/projects/aios/scripts/lib/sanitize.ts`                                                                      | Config location; Dream engine ownership                           | Session 03 validation confirms aggregate orchestration, Dream health, redaction, app detection, and real aggregate write.               |
| 12 | `scripts/graph-to-dashboard.sh`          | `ported`      | `/home/aiwithapex/projects/aios/scripts/graph-to-dashboard.sh`                                                                                                                                                                                                                                                                      | N/A                                                               | `git ls-files -s` shows mode `100755`.                                                                                                  |
| 13 | `scripts/install-dream-cron.ts`          | `superseded`  | `/home/aiwithapex/projects/aios/scripts/install-dream-cron.ts`; `/home/aiwithapex/projects/aios/scripts/lib/scheduler/dream-install.ts`; `/home/aiwithapex/projects/aios/scripts/lib/scheduler/operator-status.ts`                                                                                                                  | Dream engine ownership; Config location                           | Session 04 validation confirms scheduler install behavior, Windows support, Linux fallback, setup warnings, and tests.                  |
| 14 | `scripts/platform.ts`                    | `superseded`  | `/home/aiwithapex/projects/aios/scripts/lib/platform.ts`                                                                                                                                                                                                                                                                            | N/A                                                               | Session 02 validation confirms shared platform helper module and tests.                                                                 |
| 15 | `scripts/run-dream.ts`                   | `superseded`  | `/home/aiwithapex/projects/aios/scripts/lib/dream/execution.ts`; `/home/aiwithapex/projects/aios/scripts/dashboard-dream-run.ts`; `/home/aiwithapex/projects/aios/scripts/scheduler-runner.ts`                                                                                                                                      | Dream engine ownership; Config location                           | Session 07 validation confirms upstream runner superseded by AI OS execution modules.                                                   |
| 16 | `scripts/seed-data.ts`                   | `ported`      | `/home/aiwithapex/projects/aios/scripts/seed-data.ts`                                                                                                                                                                                                                                                                               | N/A                                                               | Session 01 validation confirms cross-platform seed-data behavior.                                                                       |
| 17 | `scripts/setup-graphify-brain.sh`        | `ported`      | `/home/aiwithapex/projects/aios/scripts/setup-graphify-brain.sh`                                                                                                                                                                                                                                                                    | N/A                                                               | `git ls-files -s` shows mode `100755`.                                                                                                  |
| 18 | `scripts/setup.ts`                       | `ported`      | `/home/aiwithapex/projects/aios/scripts/setup.ts`; `/home/aiwithapex/projects/aios/scripts/lib/scheduler/dream-install.ts`                                                                                                                                                                                                          | Dream engine ownership; Config location                           | Session 04 validation confirms setup scheduling and auth warning behavior.                                                              |
| 19 | `scripts/webp-file-type-art.sh`          | `skipped-n/a` | N/A                                                                                                                                                                                                                                                                                                                                 | N/A                                                               | Upstream mode-only helper is absent from AI OS; Session 06 recorded the missing helper skip and current `git ls-files -s` has no entry. |
| 20 | `src/components/agent-core-3d.tsx`       | `skipped-n/a` | N/A                                                                                                                                                                                                                                                                                                                                 | N/A                                                               | Upstream marks file obsolete; Session 09 validation records skip.                                                                       |
| 21 | `src/components/hermes-mind-3d.tsx`      | `superseded`  | `/home/aiwithapex/projects/aios/src/components/hermes/intelligence/hermes-mind-3d.tsx`                                                                                                                                                                                                                                              | N/A                                                               | Session 09 validation confirms Intelligence component boundary.                                                                         |
| 22 | `src/components/intelligence-portal.tsx` | `superseded`  | `/home/aiwithapex/projects/aios/src/components/hermes/intelligence/intelligence-portal.tsx`                                                                                                                                                                                                                                         | N/A                                                               | Session 09 validation confirms portal and Playwright proof.                                                                             |
| 23 | `src/components/oracle-plasma.tsx`       | `superseded`  | `/home/aiwithapex/projects/aios/src/components/hermes/intelligence/oracle-plasma.tsx`                                                                                                                                                                                                                                               | N/A                                                               | Session 09 validation confirms visualizer tests.                                                                                        |
| 24 | `src/components/oracle-rider.tsx`        | `superseded`  | `/home/aiwithapex/projects/aios/src/components/hermes/intelligence/oracle-rider.tsx`                                                                                                                                                                                                                                                | N/A                                                               | Session 09 validation confirms visualizer tests.                                                                                        |
| 25 | `src/components/oracle-sonar.tsx`        | `superseded`  | `/home/aiwithapex/projects/aios/src/components/hermes/intelligence/oracle-sonar.tsx`                                                                                                                                                                                                                                                | N/A                                                               | Session 09 validation confirms visualizer tests.                                                                                        |
| 26 | `src/components/oracle-waveform.tsx`     | `superseded`  | `/home/aiwithapex/projects/aios/src/components/hermes/intelligence/oracle-waveform.tsx`                                                                                                                                                                                                                                             | N/A                                                               | Session 09 validation confirms visualizer tests.                                                                                        |
| 27 | `src/components/stage-aurora.tsx`        | `superseded`  | `/home/aiwithapex/projects/aios/src/components/hermes/intelligence/stage-aurora.tsx`                                                                                                                                                                                                                                                | N/A                                                               | Session 09 validation confirms Aurora mode and lifecycle cleanup.                                                                       |
| 28 | `src/components/stage-cosmos.tsx`        | `superseded`  | `/home/aiwithapex/projects/aios/src/components/hermes/intelligence/stage-cosmos.tsx`                                                                                                                                                                                                                                                | N/A                                                               | Session 09 validation confirms Cosmos mode and lifecycle cleanup.                                                                       |
| 29 | `src/lib/mind-map.ts`                    | `ported`      | `/home/aiwithapex/projects/aios/src/lib/mind-map.ts`                                                                                                                                                                                                                                                                                | N/A                                                               | Session 09 validation confirms file and helper tests.                                                                                   |
| 30 | `src/lib/synthetic-voice.ts`             | `ported`      | `/home/aiwithapex/projects/aios/src/lib/synthetic-voice.ts`                                                                                                                                                                                                                                                                         | N/A                                                               | Session 09 validation confirms synthetic driver and cleanup behavior.                                                                   |
| 31 | `src/routes/agents.hermes.tsx`           | `superseded`  | `/home/aiwithapex/projects/aios/src/routes/agents.hermes.tsx`; `/home/aiwithapex/projects/aios/src/components/hermes/hermes-read-only-page.tsx`; `/home/aiwithapex/projects/aios/src/components/hermes/intelligence/intelligence-portal.tsx`; `/home/aiwithapex/projects/aios/src/hooks/use-hermes-intelligence-voice.ts`           | Voice provider and cost; Model catalog policy                     | Session 09 validation confirms portal entry, `ask_hermes`, visualizers, and model/chat updates.                                         |
| 32 | `src/routes/index.tsx`                   | `superseded`  | `/home/aiwithapex/projects/aios/src/routes/index.tsx`; `/home/aiwithapex/projects/aios/src/components/home/dream-engine-control.tsx`; `/home/aiwithapex/projects/aios/src/components/home/dream-hero.tsx`; `/home/aiwithapex/projects/aios/src/lib/use-dream-run.ts`; `/home/aiwithapex/projects/aios/src/lib/use-dream-engines.ts` | Dream engine ownership; Config location                           | Session 07 validation confirms home Dream engine surfaces and `/__run_dream`.                                                           |
| 33 | `src/routes/memory.tsx`                  | `ported`      | `/home/aiwithapex/projects/aios/src/routes/memory.tsx`                                                                                                                                                                                                                                                                              | N/A                                                               | Session 01 validation confirms real Memory source count.                                                                                |
| 34 | `src/routes/setup.tsx`                   | `superseded`  | `/home/aiwithapex/projects/aios/src/routes/setup.tsx`; `/home/aiwithapex/projects/aios/src/components/setup/setup-modal.tsx`; `/home/aiwithapex/projects/aios/src/components/setup/step-dream-engine.tsx`; `/home/aiwithapex/projects/aios/src/components/setup/config-helpers.ts`                                                  | Dream engine ownership; Config location                           | Session 07 validation confirms Dream engine setup step and persistence.                                                                 |
| 35 | `vite.config.ts`                         | `ported`      | `/home/aiwithapex/projects/aios/vite.config.ts`; `/home/aiwithapex/projects/aios/scripts/lib/local-control-plane-guard.ts`; `/home/aiwithapex/projects/aios/scripts/lib/dream/engine-endpoints.ts`; `/home/aiwithapex/projects/aios/scripts/lib/voice-launch-bridge.ts`                                                             | Dream engine ownership; Voice provider and cost; Config location  | Sessions 05/07/08 validation confirm Host guard, Dream endpoints, `/__run_dream`, and `/__start_voice`.                                 |
| 36 | `voice-lab/.env.example`                 | `ported`      | `/home/aiwithapex/projects/aios/voice-lab/.env.example`                                                                                                                                                                                                                                                                             | Voice provider and cost                                           | Session 08 validation confirms short placeholders and secret scan.                                                                      |
| 37 | `voice-lab/README.md`                    | `superseded`  | `/home/aiwithapex/projects/aios/docs/local-voice-setup.md`                                                                                                                                                                                                                                                                          | Voice provider and cost                                           | AI OS docs centralize broker setup and standalone-demo boundaries.                                                                      |
| 38 | `voice-lab/index.html`                   | `superseded`  | `/home/aiwithapex/projects/aios/src/components/hermes/intelligence/intelligence-portal.tsx`; `/home/aiwithapex/projects/aios/src/hooks/use-hermes-intelligence-voice.ts`                                                                                                                                                            | Voice provider and cost                                           | Session 08 skips disconnected standalone demo; Session 09 ships real product voice surface.                                             |
| 39 | `voice-lab/server.ts`                    | `ported`      | `/home/aiwithapex/projects/aios/voice-lab/server.ts`; `/home/aiwithapex/projects/aios/scripts/lib/voice-broker.ts`                                                                                                                                                                                                                  | Voice provider and cost                                           | Session 08 validation confirms loopback broker with `/api/health` and `/api/session` only.                                              |

***

## Modified File Hunk Inventory

The upstream name-status artifact reports 18 modified paths. Four are mode-only changes and therefore have zero content hunks. The remaining 14 modified files contain 99 content hunks.

| Modified Path                     | Patch Lines | Content Hunks | Notes                                                  |
| --------------------------------- | ----------- | ------------- | ------------------------------------------------------ |
| `.claude/launch.json`             | 1-17        | 1             | Launch target addition.                                |
| `.githooks/pre-commit`            | 18-20       | 0             | Mode-only executable bit change.                       |
| `CHANGELOG.md`                    | 21-78       | 1             | Release note addition.                                 |
| `CLAUDE.md`                       | 79-105      | 3             | Docs/privacy/voice copy.                               |
| `LICENSE`                         | 164-229     | 2             | Restrictive license terms.                             |
| `README.md`                       | 230-340     | 5             | Setup, Dream, Windows, privacy, and stale-copy risk.   |
| `package.json`                    | 521-547     | 2             | License, seed script, voice script.                    |
| `scripts/aggregate.ts`            | 548-998     | 19            | Platform, redaction, app detection, Dream health.      |
| `scripts/graph-to-dashboard.sh`   | 999-1001    | 0             | Mode-only executable bit change.                       |
| `scripts/install-dream-cron.ts`   | 1002-1391   | 10            | Scheduler, Windows, runner, warnings.                  |
| `scripts/setup-graphify-brain.sh` | 1776-1778   | 0             | Mode-only executable bit change.                       |
| `scripts/setup.ts`                | 1779-1835   | 3             | Setup scheduling and warning copy.                     |
| `scripts/webp-file-type-art.sh`   | 1836-1838   | 0             | Mode-only executable bit change.                       |
| `src/routes/agents.hermes.tsx`    | 5472-5839   | 24            | Hermes Intelligence, voice, model labels, chat bridge. |
| `src/routes/index.tsx`            | 5840-6306   | 4             | Home Dream engine and recovery surfaces.               |
| `src/routes/memory.tsx`           | 6307-6322   | 1             | Source-count fix.                                      |
| `src/routes/setup.tsx`            | 6323-6505   | 3             | Dream engine setup step and copy.                      |
| `vite.config.ts`                  | 6506-7660   | 21            | Local control plane, Host guard, Dream, voice, bridge. |

### Content Hunk Enumeration

| Modified Path                   | Hunks                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| ------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `.claude/launch.json`           | H01 `@@ -6,6 +6,12 @@`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| `CHANGELOG.md`                  | H01 `@@ -5,6 +5,53 @@`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| `CLAUDE.md`                     | H01 `@@ -33,6 +33,7 @@`; H02 `@@ -40,7 +41,7 @@`; H03 `@@ -64,3 +65,5 @@`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| `LICENSE`                       | H01 `@@ -44,6 +44,51 @@`; H02 `@@ -58,5 +103,8 @@`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `README.md`                     | H01 `@@ -117,7 +117,7 @@`; H02 `@@ -200,6 +200,69 @@`; H03 `@@ -280,7 +343,8 @@`; H04 `@@ -291,7 +355,7 @@`; H05 `@@ -316,7 +380,7 @@`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| `package.json`                  | H01 `@@ -3,6 +3,7 @@`; H02 `@@ -14,12 +15,13 @@`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| `scripts/aggregate.ts`          | H01 `@@ -4,6 +4,15 @@`; H02 `@@ -51,28 +60,40 @@`; H03 `@@ -82,6 +103,9 @@`; H04 `@@ -92,10 +116,13 @@`; H05 `@@ -253,7 +280,10 @@`; H06 `@@ -497,7 +527,9 @@`; H07 `@@ -869,7 +901,9 @@`; H08 `@@ -929,6 +963,25 @@`; H09 `@@ -970,7 +1023,15 @@`; H10 `@@ -1290,13 +1351,8 @@`; H11 `@@ -1400,10 +1456,23 @@`; H12 `@@ -1952,7 +2021,7 @@`; H13 `@@ -1975,9 +2044,72 @@`; H14 `@@ -2063,12 +2195,15 @@`; H15 `@@ -2154,7 +2289,10 @@`; H16 `@@ -2246,10 +2384,11 @@`; H17 `@@ -2332,6 +2471,12 @@`; H18 `@@ -2434,7 +2579,7 @@`; H19 `@@ -2831,16 +2976,67 @@`                                                                                                                                            |
| `scripts/install-dream-cron.ts` | H01 `@@ -7,7 +7,7 @@`; H02 `@@ -20,10 +20,11 @@`; H03 `@@ -31,39 +32,115 @@`; H04 `@@ -150,7 +227,11 @@`; H05 `@@ -198,7 +279,11 @@`; H06 `@@ -227,7 +312,9 @@`; H07 `@@ -256,9 +343,43 @@`; H08 `@@ -285,7 +406,7 @@`; H09 `@@ -308,8 +429,94 @@`; H10 `@@ -323,17 +530,29 @@`                                                                                                                                                                                                                                                                                                                                                                                                                             |
| `scripts/setup.ts`              | H01 `@@ -144,8 +144,11 @@`; H02 `@@ -161,7 +164,7 @@`; H03 `@@ -229,11 +232,28 @@`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `src/routes/agents.hermes.tsx`  | H01 `@@ -1,6 +1,7 @@`; H02 `@@ -25,6 +26,7 @@`; H03 `@@ -321,7 +323,7 @@`; H04 `@@ -341,7 +343,7 @@`; H05 `@@ -371,7 +373,7 @@`; H06 `@@ -401,7 +403,7 @@`; H07 `@@ -510,7 +512,7 @@`; H08 `@@ -710,13 +712,13 @@`; H09 `@@ -1931,14 +1933,14 @@`; H10 `@@ -2192,6 +2194,14 @@`; H11 `@@ -2404,6 +2414,73 @@`; H12 `@@ -2447,6 +2524,7 @@`; H13 `@@ -2473,7 +2551,7 @@`; H14 `@@ -2529,6 +2607,7 @@`; H15 `@@ -2559,6 +2638,8 @@`; H16 `@@ -2573,7 +2654,7 @@`; H17 `@@ -2634,20 +2715,36 @@`; H18 `@@ -2875,6 +2972,22 @@`; H19 `@@ -3524,7 +3637,7 @@`; H20 `@@ -3533,7 +3646,7 @@`; H21 `@@ -3551,7 +3664,7 @@`; H22 `@@ -3569,7 +3682,7 @@`; H23 `@@ -3578,7 +3691,7 @@`; H24 `@@ -3770,11 +3883,11 @@` |
| `src/routes/index.tsx`          | H01 `@@ -407,6 +407,377 @@`; H02 `@@ -445,6 +816,8 @@`; H03 `@@ -1353,18 +1726,21 @@`; H04 `@@ -1372,17 +1748,38 @@`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| `src/routes/memory.tsx`         | H01 `@@ -151,7 +151,10 @@`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| `src/routes/setup.tsx`          | H01 `@@ -480,6 +480,7 @@`; H02 `@@ -811,7 +812,8 @@`; H03 `@@ -3137,6 +3139,160 @@`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| `vite.config.ts`                | H01 `@@ -19,6 +19,52 @@`; H02 `@@ -29,9 +75,9 @@`; H03 `@@ -59,7 +105,7 @@`; H04 `@@ -76,7 +122,7 @@`; H05 `@@ -93,7 +139,7 @@`; H06 `@@ -110,7 +156,7 @@`; H07 `@@ -145,7 +191,7 @@`; H08 `@@ -163,7 +209,7 @@`; H09 `@@ -229,9 +275,18 @@`; H10 `@@ -547,9 +602,8 @@`; H11 `@@ -740,13 +794,9 @@`; H12 `@@ -972,7 +1022,7 @@`; H13 `@@ -1017,6 +1067,9 @@`; H14 `@@ -1051,18 +1104,14 @@`; H15 `@@ -1089,7 +1138,8 @@`; H16 `@@ -1311,18 +1361,11 @@`; H17 `@@ -2298,6 +2341,46 @@`; H18 `@@ -2382,54 +2465,47 @@`; H19 `@@ -2437,21 +2513,20 @@`; H20 `@@ -3381,6 +3456,14 @@`; H21 `@@ -3765,6 +3848,749 @@`                                                                                            |

***

## Added Upstream File Inventory

The upstream name-status artifact reports 21 added paths. Each row records the AI OS ownership mapping collected in T005. Final changed-path dispositions are copied into the full table in T007.

| Added Upstream Path                      | Mapping Status | AI OS Ownership Or Replacement                                                                                                                                                                 | Evidence                                                                                                               |
| ---------------------------------------- | -------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
| `INTEGRATION.md`                         | `skipped-n/a`  | N/A - internal upstream merge guidance, not AI OS product or operator documentation.                                                                                                           | Session 09 spec and validation record the skip; upstream file says `src/components/agent-core-3d.tsx` is obsolete.     |
| `docs/intelligence-view.md`              | `ported`       | `/home/aiwithapex/projects/aios/docs/intelligence-view.md`                                                                                                                                     | Current doc describes `/agents/hermes?intel=1`, visual modes, voice bridge, and skipped upstream files.                |
| `docs/local-voice-setup.md`              | `ported`       | `/home/aiwithapex/projects/aios/docs/local-voice-setup.md`                                                                                                                                     | Current doc describes env-only provider keys, broker routes, Session 09 portal ownership, and skipped standalone demo. |
| `scripts/platform.ts`                    | `superseded`   | `/home/aiwithapex/projects/aios/scripts/lib/platform.ts`                                                                                                                                       | Session 02 validation proves shared platform helpers and tests under `scripts/lib`.                                    |
| `scripts/run-dream.ts`                   | `superseded`   | `/home/aiwithapex/projects/aios/scripts/lib/dream/execution.ts`; `/home/aiwithapex/projects/aios/scripts/dashboard-dream-run.ts`; `/home/aiwithapex/projects/aios/scripts/scheduler-runner.ts` | Session 07 records upstream runner superseded by AI OS Dream execution, dashboard run, and scheduler runner.           |
| `scripts/seed-data.ts`                   | `ported`       | `/home/aiwithapex/projects/aios/scripts/seed-data.ts`                                                                                                                                          | Current script exists and Session 01 validation covers cross-platform seed behavior.                                   |
| `src/components/agent-core-3d.tsx`       | `skipped-n/a`  | N/A - obsolete upstream prototype.                                                                                                                                                             | Upstream `INTEGRATION.md` marks it obsolete and safe to delete; Session 09 validation records the skip.                |
| `src/components/hermes-mind-3d.tsx`      | `superseded`   | `/home/aiwithapex/projects/aios/src/components/hermes/intelligence/hermes-mind-3d.tsx`                                                                                                         | Session 09 moved the component under the Hermes Intelligence boundary.                                                 |
| `src/components/intelligence-portal.tsx` | `superseded`   | `/home/aiwithapex/projects/aios/src/components/hermes/intelligence/intelligence-portal.tsx`                                                                                                    | Session 09 adapted the portal into the Hermes component boundary.                                                      |
| `src/components/oracle-plasma.tsx`       | `superseded`   | `/home/aiwithapex/projects/aios/src/components/hermes/intelligence/oracle-plasma.tsx`                                                                                                          | Session 09 moved the visualizer under the Hermes Intelligence boundary.                                                |
| `src/components/oracle-rider.tsx`        | `superseded`   | `/home/aiwithapex/projects/aios/src/components/hermes/intelligence/oracle-rider.tsx`                                                                                                           | Session 09 moved the visualizer under the Hermes Intelligence boundary.                                                |
| `src/components/oracle-sonar.tsx`        | `superseded`   | `/home/aiwithapex/projects/aios/src/components/hermes/intelligence/oracle-sonar.tsx`                                                                                                           | Session 09 moved the visualizer under the Hermes Intelligence boundary.                                                |
| `src/components/oracle-waveform.tsx`     | `superseded`   | `/home/aiwithapex/projects/aios/src/components/hermes/intelligence/oracle-waveform.tsx`                                                                                                        | Session 09 moved the visualizer under the Hermes Intelligence boundary.                                                |
| `src/components/stage-aurora.tsx`        | `superseded`   | `/home/aiwithapex/projects/aios/src/components/hermes/intelligence/stage-aurora.tsx`                                                                                                           | Session 09 moved the stage under the Hermes Intelligence boundary.                                                     |
| `src/components/stage-cosmos.tsx`        | `superseded`   | `/home/aiwithapex/projects/aios/src/components/hermes/intelligence/stage-cosmos.tsx`                                                                                                           | Session 09 moved the stage under the Hermes Intelligence boundary.                                                     |
| `src/lib/mind-map.ts`                    | `ported`       | `/home/aiwithapex/projects/aios/src/lib/mind-map.ts`                                                                                                                                           | Current helper exists and Session 09 implementation notes record adapted mind-map helpers.                             |
| `src/lib/synthetic-voice.ts`             | `ported`       | `/home/aiwithapex/projects/aios/src/lib/synthetic-voice.ts`                                                                                                                                    | Current helper exists and Session 09 implementation notes record synthetic visual driver with cleanup.                 |
| `voice-lab/.env.example`                 | `ported`       | `/home/aiwithapex/projects/aios/voice-lab/.env.example`                                                                                                                                        | Session 08 added short-placeholder env template with secret scan evidence.                                             |
| `voice-lab/README.md`                    | `superseded`   | `/home/aiwithapex/projects/aios/docs/local-voice-setup.md`                                                                                                                                     | AI OS keeps voice setup docs in `docs/` and records standalone demo boundaries there.                                  |
| `voice-lab/index.html`                   | `superseded`   | `/home/aiwithapex/projects/aios/src/components/hermes/intelligence/intelligence-portal.tsx`; `/home/aiwithapex/projects/aios/src/hooks/use-hermes-intelligence-voice.ts`                       | Session 08 skipped the disconnected standalone demo; Session 09 shipped the real product portal and voice loop.        |
| `voice-lab/server.ts`                    | `ported`       | `/home/aiwithapex/projects/aios/voice-lab/server.ts`                                                                                                                                           | Session 08 adapted the upstream sidecar into a loopback broker exposing `/api/health` and `/api/session` only.         |

***

### Added File Closeout Dispositions

This table is the T014 closeout pass over the 21 upstream-added files.

| Added Upstream Path                      | Final Disposition | AI OS Target Or Replacement                                                                                                                                                                    | Closeout Evidence                                                                                                                   |
| ---------------------------------------- | ----------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| `INTEGRATION.md`                         | `skipped-n/a`     | N/A                                                                                                                                                                                            | Upstream-only branch merge notes; no AI OS product/runtime surface.                                                                 |
| `docs/intelligence-view.md`              | `ported`          | `/home/aiwithapex/projects/aios/docs/intelligence-view.md`                                                                                                                                     | Current doc covers shipped Hermes Intelligence behavior and Session 09 caveats.                                                     |
| `docs/local-voice-setup.md`              | `ported`          | `/home/aiwithapex/projects/aios/docs/local-voice-setup.md`                                                                                                                                     | Current doc covers broker routes, env-only keys, and same-run token behavior.                                                       |
| `scripts/platform.ts`                    | `superseded`      | `/home/aiwithapex/projects/aios/scripts/lib/platform.ts`                                                                                                                                       | Shared platform helper exports platform flags, app-data roots, executable names, PATHEXT, and CLI directories; platform tests pass. |
| `scripts/run-dream.ts`                   | `superseded`      | `/home/aiwithapex/projects/aios/scripts/lib/dream/execution.ts`; `/home/aiwithapex/projects/aios/scripts/dashboard-dream-run.ts`; `/home/aiwithapex/projects/aios/scripts/scheduler-runner.ts` | AI OS Dream engine ownership keeps execution behind reusable runner modules; Dream execution/config tests pass.                     |
| `scripts/seed-data.ts`                   | `ported`          | `/home/aiwithapex/projects/aios/scripts/seed-data.ts`                                                                                                                                          | Cross-platform Bun seed helper is present and seed-data tests pass.                                                                 |
| `src/components/agent-core-3d.tsx`       | `skipped-n/a`     | N/A                                                                                                                                                                                            | Upstream integration notes mark the prototype obsolete; Session 09 skipped it.                                                      |
| `src/components/hermes-mind-3d.tsx`      | `superseded`      | `/home/aiwithapex/projects/aios/src/components/hermes/intelligence/hermes-mind-3d.tsx`                                                                                                         | Moved under Hermes Intelligence boundary; visualizer tests pass.                                                                    |
| `src/components/intelligence-portal.tsx` | `superseded`      | `/home/aiwithapex/projects/aios/src/components/hermes/intelligence/intelligence-portal.tsx`                                                                                                    | Moved into Hermes product route and covered by portal tests.                                                                        |
| `src/components/oracle-plasma.tsx`       | `superseded`      | `/home/aiwithapex/projects/aios/src/components/hermes/intelligence/oracle-plasma.tsx`                                                                                                          | Moved under Hermes Intelligence boundary; visualizer tests pass.                                                                    |
| `src/components/oracle-rider.tsx`        | `superseded`      | `/home/aiwithapex/projects/aios/src/components/hermes/intelligence/oracle-rider.tsx`                                                                                                           | Moved under Hermes Intelligence boundary; visualizer tests pass.                                                                    |
| `src/components/oracle-sonar.tsx`        | `superseded`      | `/home/aiwithapex/projects/aios/src/components/hermes/intelligence/oracle-sonar.tsx`                                                                                                           | Moved under Hermes Intelligence boundary; visualizer tests pass.                                                                    |
| `src/components/oracle-waveform.tsx`     | `superseded`      | `/home/aiwithapex/projects/aios/src/components/hermes/intelligence/oracle-waveform.tsx`                                                                                                        | Moved under Hermes Intelligence boundary; visualizer tests pass.                                                                    |
| `src/components/stage-aurora.tsx`        | `superseded`      | `/home/aiwithapex/projects/aios/src/components/hermes/intelligence/stage-aurora.tsx`                                                                                                           | Moved under Hermes Intelligence boundary; visualizer tests pass.                                                                    |
| `src/components/stage-cosmos.tsx`        | `superseded`      | `/home/aiwithapex/projects/aios/src/components/hermes/intelligence/stage-cosmos.tsx`                                                                                                           | Moved under Hermes Intelligence boundary; visualizer tests pass.                                                                    |
| `src/lib/mind-map.ts`                    | `ported`          | `/home/aiwithapex/projects/aios/src/lib/mind-map.ts`                                                                                                                                           | Shared mind-map constants/utilities are present and used by visualizers.                                                            |
| `src/lib/synthetic-voice.ts`             | `ported`          | `/home/aiwithapex/projects/aios/src/lib/synthetic-voice.ts`                                                                                                                                    | Synthetic voice driver is present and used by Aurora/Cosmos idle motion.                                                            |
| `voice-lab/.env.example`                 | `ported`          | `/home/aiwithapex/projects/aios/voice-lab/.env.example`                                                                                                                                        | Short-placeholder broker environment template is present.                                                                           |
| `voice-lab/README.md`                    | `superseded`      | `/home/aiwithapex/projects/aios/docs/local-voice-setup.md`                                                                                                                                     | AI OS centralizes voice setup docs in `docs/`; no standalone README is tracked.                                                     |
| `voice-lab/index.html`                   | `superseded`      | `/home/aiwithapex/projects/aios/src/components/hermes/intelligence/intelligence-portal.tsx`; `/home/aiwithapex/projects/aios/src/hooks/use-hermes-intelligence-voice.ts`                       | Standalone demo is replaced by the product portal and voice lifecycle hook; no `voice-lab/index.html` is tracked.                   |
| `voice-lab/server.ts`                    | `ported`          | `/home/aiwithapex/projects/aios/voice-lab/server.ts`; `/home/aiwithapex/projects/aios/scripts/lib/voice-broker.ts`                                                                             | Broker server uses shared voice broker module; broker and launch tests pass.                                                        |

***

## Hunk Dispositions

### `.claude/launch.json`

| Hunk | Disposition | AI OS Target Or Replacement                                                                                                                               | Evidence                                                                                                                                                                                     |
| ---- | ----------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| H01  | `ported`    | `/home/aiwithapex/projects/aios/.claude/launch.json`; `/home/aiwithapex/projects/aios/package.json`; `/home/aiwithapex/projects/aios/voice-lab/server.ts` | Launch config keeps the AI OS app target on port 5189 and adds `voice-lab` on port 8099 through `bun run voice`, which maps to `voice-lab/server.ts` without duplicating the command string. |

***

### `CHANGELOG.md`

AI OS keeps its active changelog under `docs/CHANGELOG.md` rather than the upstream root `CHANGELOG.md` path.

| Hunk | Disposition  | AI OS Target Or Replacement                        | Evidence                                                                                                                                                                                         |
| ---- | ------------ | -------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| H01  | `superseded` | `/home/aiwithapex/projects/aios/docs/CHANGELOG.md` | The current changelog records Phase 38 Sessions 01-09, including Windows/platform support, license/package metadata, Dream engine integration, voice broker, and Intelligence portal validation. |

***

### `CLAUDE.md`

`CLAUDE.md` and `GEMINI.md` are symlinks to `AGENTS.md`; AI OS agent guidance uses the repository-neutral `AGENTS.md` source of truth.

| Hunk | Disposition  | AI OS Target Or Replacement                                                                                                                                        | Evidence                                                                                                                                 |
| ---- | ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------- |
| H01  | `superseded` | `/home/aiwithapex/projects/aios/AGENTS.md`; `/home/aiwithapex/projects/aios/docs/local-voice-setup.md`; `/home/aiwithapex/projects/aios/docs/intelligence-view.md` | Voice guidance is documented through AI OS docs and agent rules instead of upstream Claude OS setup copy.                                |
| H02  | `superseded` | `/home/aiwithapex/projects/aios/AGENTS.md`; `/home/aiwithapex/projects/aios/README.md`; `/home/aiwithapex/projects/aios/docs/runbooks/ai-os-dream.md`              | Privacy and outbound-call guidance is represented in current AI OS privacy boundaries and Dream runbook language.                        |
| H03  | `superseded` | `/home/aiwithapex/projects/aios/AGENTS.md`; `/home/aiwithapex/projects/aios/docs/local-voice-setup.md`; `/home/aiwithapex/projects/aios/docs/intelligence-view.md` | Hermes voice setup is documented in current local voice and Intelligence docs, with env-only provider keys and shipped portal ownership. |

***

### `LICENSE`

| Hunk | Disposition | AI OS Target Or Replacement                                                       | Evidence                                                                                                                                                                                                        |
| ---- | ----------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| H01  | `ported`    | `/home/aiwithapex/projects/aios/LICENSE`; `/home/aiwithapex/projects/aios/NOTICE` | AI OS uses a restrictive proprietary license with upstream Claude OS attribution, community-gated access restrictions, termination, remedies, commercial license, reservation of rights, and Notice separation. |
| H02  | `ported`    | `/home/aiwithapex/projects/aios/LICENSE`; `/home/aiwithapex/projects/aios/NOTICE` | Plain-language terms are represented by AI OS legal text and Notice boundaries rather than copying upstream wording verbatim.                                                                                   |

***

### `README.md`

| Hunk | Disposition  | AI OS Target Or Replacement                                                                                                                                                                                                                | Evidence                                                                                                                                                           |
| ---- | ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| H01  | `superseded` | `/home/aiwithapex/projects/aios/README.md`; `/home/aiwithapex/projects/aios/src/components/home/dream-hero.tsx`; `/home/aiwithapex/projects/aios/src/lib/use-dream-run.ts`                                                                 | Upstream sidecar/run-fix Dream panel copy is replaced by AI OS Dream run controls and the token-gated `/__run_dream` path.                                         |
| H02  | `ported`     | `/home/aiwithapex/projects/aios/README.md`; `/home/aiwithapex/projects/aios/docs/development.md`; `/home/aiwithapex/projects/aios/docs/runbooks/ai-os-dream.md`                                                                            | Windows setup notes and scheduler behavior are documented as PowerShell-compatible commands with macOS launchd, Windows Task Scheduler, and Linux manual guidance. |
| H03  | `superseded` | `/home/aiwithapex/projects/aios/README.md`; `/home/aiwithapex/projects/aios/docs/project-identity.md`; `/home/aiwithapex/projects/aios/docs/runbooks/ai-os-dream.md`                                                                       | Privacy copy uses AI OS naming, browser-safe local control-plane boundaries, and Dream engine/provider ownership rather than upstream Claude OS sidecar language.  |
| H04  | `superseded` | `/home/aiwithapex/projects/aios/README.md`; `/home/aiwithapex/projects/aios/scripts/dashboard-dream-run.ts`; `/home/aiwithapex/projects/aios/scripts/scheduler-runner.ts`; `/home/aiwithapex/projects/aios/scripts/lib/dream/execution.ts` | Upstream `scripts/run-dream.ts` copy is replaced by AI OS dashboard/scheduler Dream execution modules and docs.                                                    |
| H05  | `superseded` | `/home/aiwithapex/projects/aios/README.md`; `/home/aiwithapex/projects/aios/vite.config.ts`; `/home/aiwithapex/projects/aios/scripts/lib/dream/engine-endpoints.ts`                                                                        | Upstream `/api/dream-now` sidecar copy is replaced by AI OS `/__run_dream` and Dream engine endpoints; T015 performs the final stale-copy sweep.                   |

***

### `package.json`

| Hunk | Disposition | AI OS Target Or Replacement                                                                                                                                | Evidence                                                                                                                                  |
| ---- | ----------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
| H01  | `ported`    | `/home/aiwithapex/projects/aios/package.json`; `/home/aiwithapex/projects/aios/LICENSE`                                                                    | Package metadata uses `license: SEE LICENSE IN LICENSE`, matching the AI OS restrictive license posture.                                  |
| H02  | `ported`    | `/home/aiwithapex/projects/aios/package.json`; `/home/aiwithapex/projects/aios/scripts/seed-data.ts`; `/home/aiwithapex/projects/aios/voice-lab/server.ts` | `seed:data` uses the cross-platform Bun script and `voice` starts the broker server; AI OS keeps additional extension/scheduler commands. |

***

### `scripts/setup.ts`

| Hunk | Disposition  | AI OS Target Or Replacement                                                                                                                                                                           | Evidence                                                                                                                                                                                                                          |
| ---- | ------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| H01  | `ported`     | `/home/aiwithapex/projects/aios/scripts/setup.ts`; `/home/aiwithapex/projects/aios/scripts/lib/scheduler/dream-install.ts`; `/home/aiwithapex/projects/aios/scripts/lib/scheduler/operator-status.ts` | Setup installs the AI OS Dream schedule on macOS/Windows and prints manual Linux guidance through scheduler helper output.                                                                                                        |
| H02  | `ported`     | `/home/aiwithapex/projects/aios/scripts/setup.ts`; `/home/aiwithapex/projects/aios/scripts/lib/scheduler/dream-install.ts`                                                                            | Setup reports `registered via Task Scheduler` on Windows and `loaded via launchctl` on macOS.                                                                                                                                     |
| H03  | `superseded` | `/home/aiwithapex/projects/aios/scripts/setup.ts`; `/home/aiwithapex/projects/aios/scripts/lib/scheduler/dream-install.ts`                                                                            | Upstream inline Claude auth warning is replaced by `evaluateDreamAuthReadiness()`, which covers AI OS runtime provider, Hermes provider, Codex app server, Claude setup token, and API-key readiness without leaking credentials. |

***

### Mode-Only Modified Paths

| Path                              | Disposition   | AI OS Target Or Replacement                                      | Evidence                                                                                                                                      |
| --------------------------------- | ------------- | ---------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
| `.githooks/pre-commit`            | `ported`      | `/home/aiwithapex/projects/aios/.githooks/pre-commit`            | `git ls-files -s` reports mode `100755`; setup wires `.githooks` as local `core.hooksPath`.                                                   |
| `scripts/graph-to-dashboard.sh`   | `ported`      | `/home/aiwithapex/projects/aios/scripts/graph-to-dashboard.sh`   | `git ls-files -s` reports mode `100755`.                                                                                                      |
| `scripts/setup-graphify-brain.sh` | `ported`      | `/home/aiwithapex/projects/aios/scripts/setup-graphify-brain.sh` | `git ls-files -s` reports mode `100755`.                                                                                                      |
| `scripts/webp-file-type-art.sh`   | `skipped-n/a` | N/A                                                              | Upstream mode-only helper is absent in AI OS; Session 06 recorded the missing helper skip and current `git ls-files -s` has no tracked entry. |

***

### `scripts/aggregate.ts`

Upstream aggregate behavior is intentionally distributed across AI OS modules. The top-level `scripts/aggregate.ts` remains a thin entrypoint and re-export surface.

| Hunk | Disposition  | AI OS Target Or Replacement                                                                                                                                                                                                                                                                                | Evidence                                                                                                                                        |
| ---- | ------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| H01  | `superseded` | `/home/aiwithapex/projects/aios/scripts/lib/platform.ts`; `/home/aiwithapex/projects/aios/scripts/lib/scan-helpers.ts`                                                                                                                                                                                     | Shared platform imports live in AI OS helper modules; Session 02 validation and platform tests pass.                                            |
| H02  | `superseded` | `/home/aiwithapex/projects/aios/scripts/lib/sanitize.ts`; `/home/aiwithapex/projects/aios/scripts/lib/__tests__/sanitize.test.ts`                                                                                                                                                                          | Cross-platform username/home redaction is centralized and tested.                                                                               |
| H03  | `superseded` | `/home/aiwithapex/projects/aios/scripts/lib/sanitize.ts`                                                                                                                                                                                                                                                   | Bare account-name redaction is covered by sanitize tests.                                                                                       |
| H04  | `superseded` | `/home/aiwithapex/projects/aios/scripts/lib/sanitize.ts`; `/home/aiwithapex/projects/aios/scripts/lib/platform.ts`                                                                                                                                                                                         | Windows slash/backslash home-path redaction is covered by sanitize tests.                                                                       |
| H05  | `superseded` | `/home/aiwithapex/projects/aios/scripts/lib/session-scanner.ts`; `/home/aiwithapex/projects/aios/scripts/lib/scan-helpers.ts`                                                                                                                                                                              | Project/session path normalization lives in scanner helpers and Session 03 validation.                                                          |
| H06  | `superseded` | `/home/aiwithapex/projects/aios/scripts/lib/tool-detection.ts`; `/home/aiwithapex/projects/aios/scripts/lib/app-detection.ts`                                                                                                                                                                              | CLI version probing avoids shell redirects and is covered by tool-detection tests.                                                              |
| H07  | `superseded` | `/home/aiwithapex/projects/aios/scripts/lib/memory-scanner.ts`; `/home/aiwithapex/projects/aios/scripts/lib/scan-helpers.ts`                                                                                                                                                                               | Memory relative path normalization is covered by memory-scanner tests.                                                                          |
| H08  | `superseded` | `/home/aiwithapex/projects/aios/scripts/lib/memory-scanner.ts`                                                                                                                                                                                                                                             | Obsidian registry reading lives in memory scanner.                                                                                              |
| H09  | `superseded` | `/home/aiwithapex/projects/aios/scripts/lib/memory-scanner.ts`                                                                                                                                                                                                                                             | Windows Obsidian registry and iCloud candidate behavior is tested.                                                                              |
| H10  | `ported`     | `/home/aiwithapex/projects/aios/scripts/lib/automation-scanner.ts`; `/home/aiwithapex/projects/aios/scripts/lib/__tests__/automation-scanner.test.ts`                                                                                                                                                      | T008 corrected Cowork scheduled-task root to use `appSupportDir("Claude", { platform, env })` and added Windows app-data coverage.              |
| H11  | `ported`     | `/home/aiwithapex/projects/aios/scripts/lib/automation-scanner.ts`; `/home/aiwithapex/projects/aios/scripts/lib/scheduler/dream-install.ts`; `/home/aiwithapex/projects/aios/scripts/lib/__tests__/automation-scanner.test.ts`                                                                             | T008 added Windows Task Scheduler detection for the current `AI OS Dream` task and kept plist compatibility.                                    |
| H12  | `superseded` | `/home/aiwithapex/projects/aios/scripts/lib/tool-detection.ts`; `/home/aiwithapex/projects/aios/scripts/lib/platform.ts`                                                                                                                                                                                   | CLI lookup uses platform-aware executable/path handling and tests.                                                                              |
| H13  | `superseded` | `/home/aiwithapex/projects/aios/scripts/lib/scan-helpers.ts`; `/home/aiwithapex/projects/aios/scripts/lib/app-detection.ts`                                                                                                                                                                                | Windows Start Menu and Program Files app detection helpers are present and tested.                                                              |
| H14  | `superseded` | `/home/aiwithapex/projects/aios/scripts/lib/app-detection.ts`; `/home/aiwithapex/projects/aios/scripts/lib/tool-detection.ts`                                                                                                                                                                              | Antigravity CLI detection uses shared CLI resolution and app-detection tests.                                                                   |
| H15  | `superseded` | `/home/aiwithapex/projects/aios/scripts/lib/app-detection.ts`; `/home/aiwithapex/projects/aios/scripts/lib/scan-helpers.ts`                                                                                                                                                                                | Hermes binary/config detection uses AI OS helper candidates and app-detection tests.                                                            |
| H16  | `ported`     | `/home/aiwithapex/projects/aios/scripts/lib/app-detection.ts`; `/home/aiwithapex/projects/aios/scripts/lib/__tests__/app-detection.test.ts`                                                                                                                                                                | T008 corrected JetBrains support root to `appSupportDir("JetBrains")`; existing JetBrains tests pass.                                           |
| H17  | `superseded` | `/home/aiwithapex/projects/aios/scripts/lib/app-detection.ts`                                                                                                                                                                                                                                              | Windows Terminal inference is present through `WT_SESSION` and tested.                                                                          |
| H18  | `ported`     | `/home/aiwithapex/projects/aios/scripts/lib/app-detection.ts`; `/home/aiwithapex/projects/aios/scripts/lib/__tests__/app-detection.test.ts`                                                                                                                                                                | T008 corrected Notion support root to `appSupportDir("Notion")`; app-detection tests pass.                                                      |
| H19  | `superseded` | `/home/aiwithapex/projects/aios/scripts/lib/aggregate-orchestration.ts`; `/home/aiwithapex/projects/aios/scripts/lib/dream/health.ts`; `/home/aiwithapex/projects/aios/scripts/lib/__tests__/aggregate-orchestration.test.ts`; `/home/aiwithapex/projects/aios/scripts/lib/__tests__/dream-health.test.ts` | Dream health metadata uses AI OS primary/legacy output, runtime state, material readiness, sanitized hints, and aggregate warnings; tests pass. |

***

### `scripts/install-dream-cron.ts`

AI OS keeps the CLI wrapper in `scripts/install-dream-cron.ts` and moves most scheduler construction, auth readiness, quoting, and platform behavior into `scripts/lib/scheduler/dream-install.ts`.

| Hunk | Disposition  | AI OS Target Or Replacement                                                                                                                                                                                           | Evidence                                                                                                                                                     |
| ---- | ------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| H01  | `superseded` | `/home/aiwithapex/projects/aios/scripts/install-dream-cron.ts`; `/home/aiwithapex/projects/aios/scripts/dashboard-dream-run.ts`                                                                                       | Current header states scheduled runs refresh aggregate data and execute `scripts/dashboard-dream-run.ts`.                                                    |
| H02  | `superseded` | `/home/aiwithapex/projects/aios/scripts/lib/scheduler/dream-install.ts`; `/home/aiwithapex/projects/aios/scripts/lib/platform.ts`                                                                                     | Imports and platform resolution live in scheduler helper and platform modules.                                                                               |
| H03  | `superseded` | `/home/aiwithapex/projects/aios/scripts/lib/scheduler/dream-install.ts`; `/home/aiwithapex/projects/aios/scripts/dashboard-dream-run.ts`; `/home/aiwithapex/projects/aios/scripts/scheduler-runner.ts`                | AI OS uses `AI OS Dream`, absolute Bun resolution, wrapper paths, and dashboard/scheduler Dream runner rather than upstream `scripts/run-dream.ts`.          |
| H04  | `superseded` | `/home/aiwithapex/projects/aios/scripts/lib/scheduler/dream-install.ts`                                                                                                                                               | `buildScheduledDreamShellCommand()` refreshes aggregate data and runs `scripts/dashboard-dream-run.ts`; macOS plist builder uses that command.               |
| H05  | `ported`     | `/home/aiwithapex/projects/aios/scripts/install-dream-cron.ts`; `/home/aiwithapex/projects/aios/scripts/lib/scheduler/dream-install.ts`                                                                               | `ensureDirs()` creates scheduler-specific dirs only where applicable.                                                                                        |
| H06  | `ported`     | `/home/aiwithapex/projects/aios/scripts/install-dream-cron.ts`; `/home/aiwithapex/projects/aios/scripts/lib/scheduler/dream-install.ts`                                                                               | Bun resolution warning uses OS scheduler wording instead of launchd-only wording.                                                                            |
| H07  | `superseded` | `/home/aiwithapex/projects/aios/scripts/lib/scheduler/dream-install.ts`; `/home/aiwithapex/projects/aios/scripts/install-dream-cron.ts`                                                                               | `evaluateDreamAuthReadiness()` covers Claude setup-token/API key, AI OS runtime provider, Hermes provider, and Codex app-server without leaking credentials. |
| H08  | `superseded` | `/home/aiwithapex/projects/aios/scripts/install-dream-cron.ts`; `/home/aiwithapex/projects/aios/scripts/lib/scheduler/dream-install.ts`                                                                               | On-demand copy points users at the AI OS Dream runner command path.                                                                                          |
| H09  | `ported`     | `/home/aiwithapex/projects/aios/scripts/install-dream-cron.ts`; `/home/aiwithapex/projects/aios/scripts/lib/scheduler/dream-install.ts`; `/home/aiwithapex/projects/aios/scripts/lib/__tests__/dream-install.test.ts` | Windows wrapper, install, query, run, uninstall, failure copy, and task name are implemented and tested.                                                     |
| H10  | `ported`     | `/home/aiwithapex/projects/aios/scripts/lib/scheduler/dream-install.ts`; `/home/aiwithapex/projects/aios/scripts/install-dream-cron.ts`                                                                               | Linux fallback emits aggregate-before-Dream cron guidance and names Windows auto-install; tests cover quoting and copy.                                      |

***

### `vite.config.ts`

AI OS keeps `vite.config.ts` as middleware wiring and moves privileged endpoint parsing, CLI discovery, Dream engine config, voice launch, and Hermes chat execution into typed bridge/helper modules.

| Hunk | Disposition  | AI OS Target Or Replacement                                                                                                                                                                                                                               | Evidence                                                                                                                                                                                                                            |
| ---- | ------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| H01  | `superseded` | `/home/aiwithapex/projects/aios/scripts/lib/platform.ts`; `/home/aiwithapex/projects/aios/scripts/lib/tool-detection.ts`; `/home/aiwithapex/projects/aios/scripts/lib/hermes-admin-bridge.ts`                                                             | Cross-platform binary resolution uses shared platform and runtime CLI helpers; Hermes chat resolves source venv Python and wrapper candidates there.                                                                                |
| H02  | `superseded` | `/home/aiwithapex/projects/aios/scripts/lib/hermes-dev-bridge.ts`; `/home/aiwithapex/projects/aios/src/lib/hermes-demo-data.ts`                                                                                                                           | AI OS model catalog keeps current defaults and includes upstream model names as catalog/demo options under the Phase 38 model catalog policy.                                                                                       |
| H03  | `superseded` | `/home/aiwithapex/projects/aios/scripts/lib/hermes-dev-bridge.ts`; `/home/aiwithapex/projects/aios/src/lib/hermes-demo-data.ts`                                                                                                                           | Oracle/persona model labels are sourced from Hermes bridge catalog and demo data rather than a Vite-local Pantheon seed.                                                                                                            |
| H04  | `superseded` | `/home/aiwithapex/projects/aios/scripts/lib/hermes-dev-bridge.ts`; `/home/aiwithapex/projects/aios/src/components/hermes/hermes-pantheon.tsx`                                                                                                             | Athena/persona model selection is catalog-driven in the Hermes UI and bridge.                                                                                                                                                       |
| H05  | `superseded` | `/home/aiwithapex/projects/aios/scripts/lib/hermes-dev-bridge.ts`; `/home/aiwithapex/projects/aios/src/components/hermes/hermes-pantheon.tsx`                                                                                                             | Scribe/persona model selection is catalog-driven in the Hermes UI and bridge.                                                                                                                                                       |
| H06  | `superseded` | `/home/aiwithapex/projects/aios/scripts/lib/hermes-dev-bridge.ts`; `/home/aiwithapex/projects/aios/src/components/hermes/hermes-pantheon.tsx`                                                                                                             | Orpheus/persona model selection is catalog-driven in the Hermes UI and bridge.                                                                                                                                                      |
| H07  | `superseded` | `/home/aiwithapex/projects/aios/scripts/lib/hermes-dev-bridge.ts`; `/home/aiwithapex/projects/aios/src/components/hermes/hermes-pantheon.tsx`                                                                                                             | Alchemist/persona model selection is catalog-driven in the Hermes UI and bridge.                                                                                                                                                    |
| H08  | `superseded` | `/home/aiwithapex/projects/aios/scripts/lib/hermes-dev-bridge.ts`; `/home/aiwithapex/projects/aios/src/components/hermes/hermes-pantheon.tsx`                                                                                                             | Philosopher/default persona model selection is catalog-driven and keeps AI OS defaults as active defaults.                                                                                                                          |
| H09  | `ported`     | `/home/aiwithapex/projects/aios/vite.config.ts`; `/home/aiwithapex/projects/aios/scripts/lib/local-control-plane-guard.ts`                                                                                                                                | T010 verified the loopback plus exact Host-header guard used by Vite privileged endpoints.                                                                                                                                          |
| H10  | `superseded` | `/home/aiwithapex/projects/aios/scripts/lib/tool-detection.ts`; `/home/aiwithapex/projects/aios/scripts/lib/knowledge-graph-dev-bridge.ts`                                                                                                                | Graphify binary discovery is handled by shared CLI detection and Knowledge Graph bridge modules.                                                                                                                                    |
| H11  | `superseded` | `/home/aiwithapex/projects/aios/scripts/lib/hermes-dev-bridge.ts`; `/home/aiwithapex/projects/aios/scripts/lib/hermes-admin-bridge.ts`; `/home/aiwithapex/projects/aios/scripts/lib/tool-detection.ts`                                                    | Hermes binary discovery uses bridge-local command resolution and shared runtime CLI lookup.                                                                                                                                         |
| H12  | `ported`     | `/home/aiwithapex/projects/aios/scripts/lib/hermes-admin-bridge.ts`                                                                                                                                                                                       | `/__hermes_chat` accepts a schema-validated `graph` boolean in addition to prompt, session, toolsets, and yolo.                                                                                                                     |
| H13  | `ported`     | `/home/aiwithapex/projects/aios/scripts/lib/hermes-admin-bridge.ts`                                                                                                                                                                                       | Graphify skill loading is decoupled from yolo by separate `graph` validation and argument assembly.                                                                                                                                 |
| H14  | `superseded` | `/home/aiwithapex/projects/aios/scripts/lib/hermes-admin-bridge.ts`; `/home/aiwithapex/projects/aios/scripts/lib/platform.ts`; `/home/aiwithapex/projects/aios/scripts/lib/tool-detection.ts`                                                             | Hermes command resolution uses platform `venvBin`, wrapper candidates, configured `HERMES_BIN`, and PATH-aware runtime lookup.                                                                                                      |
| H15  | `ported`     | `/home/aiwithapex/projects/aios/scripts/lib/hermes-admin-bridge.ts`                                                                                                                                                                                       | Hermes chat args now add `--yolo` independently from `-s graphify`, matching the upstream graph/yolo split.                                                                                                                         |
| H16  | `superseded` | `/home/aiwithapex/projects/aios/scripts/lib/hermes-admin-bridge.ts`; `/home/aiwithapex/projects/aios/scripts/lib/platform.ts`; `/home/aiwithapex/projects/aios/scripts/lib/tool-detection.ts`                                                             | Hermes admin command resolution mirrors chat command resolution through the shared bridge helper.                                                                                                                                   |
| H17  | `superseded` | `/home/aiwithapex/projects/aios/scripts/lib/voice-launch-bridge.ts`; `/home/aiwithapex/projects/aios/scripts/lib/voice-broker.ts`; `/home/aiwithapex/projects/aios/voice-lab/server.ts`                                                                   | `/__start_voice` is registered as a dedicated loopback/token-gated bridge with env-only provider config, base URL allowlisting, health polling, and stable error codes.                                                             |
| H18  | `superseded` | `/home/aiwithapex/projects/aios/scripts/lib/hermes-dev-bridge.ts`; `/home/aiwithapex/projects/aios/src/lib/hermes-demo-data.ts`                                                                                                                           | Hermes model catalog updates are represented in the bridge/demo model catalog rather than Vite inline arrays.                                                                                                                       |
| H19  | `superseded` | `/home/aiwithapex/projects/aios/scripts/lib/hermes-dev-bridge.ts`; `/home/aiwithapex/projects/aios/src/lib/hermes-demo-data.ts`                                                                                                                           | Additional provider model rows are represented by the AI OS Hermes catalog policy and bridge/demo data.                                                                                                                             |
| H20  | `superseded` | `/home/aiwithapex/projects/aios/scripts/lib/hermes-dev-bridge.ts`; `/home/aiwithapex/projects/aios/src/components/hermes/hermes-documents-gallery.tsx`                                                                                                    | Hermes document file reads are confined and streamed by the dev bridge; the browser preview uses a sandboxed iframe for active document content.                                                                                    |
| H21  | `superseded` | `/home/aiwithapex/projects/aios/vite.config.ts`; `/home/aiwithapex/projects/aios/scripts/lib/dream/engine-endpoints.ts`; `/home/aiwithapex/projects/aios/scripts/lib/dream/engine-config.ts`; `/home/aiwithapex/projects/aios/src/lib/async-dream-run.ts` | Upstream `/__set_dream_engine`, `/__dream_engines`, and `/__trigger_dream` are replaced by schema-validated AI OS `/__set_dream_engine`, `/__dream_engines`, and `/__run_dream` endpoints backed by Dream config/execution modules. |

***

### `src/routes/index.tsx`

AI OS keeps the home route as composition-only and places Dream health, engine selection, run behavior, and empty-state copy in dedicated home components and hooks.

| Hunk | Disposition  | AI OS Target Or Replacement                                                                                                                                                                                                                                                  | Evidence                                                                                                                                                                          |
| ---- | ------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| H01  | `superseded` | `/home/aiwithapex/projects/aios/src/components/home/dream-engine-control.tsx`; `/home/aiwithapex/projects/aios/src/components/home/dream-hero.tsx`; `/home/aiwithapex/projects/aios/src/lib/use-dream-engines.ts`; `/home/aiwithapex/projects/aios/src/lib/use-dream-run.ts` | Upstream inline Dream engine switcher/connect card is implemented as modular Home components and hooks using AI OS `/__dream_engines`, `/__set_dream_engine`, and `/__run_dream`. |
| H02  | `superseded` | `/home/aiwithapex/projects/aios/src/lib/use-home-data.ts`; `/home/aiwithapex/projects/aios/src/lib/home-transforms.ts`; `/home/aiwithapex/projects/aios/src/components/home/types.ts`                                                                                        | Dream health status and fix hint are derived into `DreamHealthProjection` by home transforms instead of mutable route-level variables.                                            |
| H03  | `superseded` | `/home/aiwithapex/projects/aios/src/components/home/dream-hero.tsx`; `/home/aiwithapex/projects/aios/src/components/home/dream-engine-control.tsx`                                                                                                                           | Header copy, restore-dismissed behavior, engine chips, refresh, and run controls are split between the hero and engine control components.                                        |
| H04  | `superseded` | `/home/aiwithapex/projects/aios/src/components/home/dream-hero.tsx`; `/home/aiwithapex/projects/aios/src/components/home/dream-engine-control.tsx`; `/home/aiwithapex/projects/aios/src/lib/home-transforms.ts`                                                              | `never_ran`, `stale`, and `silent_failure` states are projected into user-facing title/detail/fix copy and covered by focused component/transform tests.                          |

***

### `src/routes/setup.tsx`

AI OS keeps `/setup` as a modal entry route. The step order and Dream engine selection UI live in `src/components/setup`.

| Hunk | Disposition  | AI OS Target Or Replacement                                                                                                                                                                                         | Evidence                                                                                                                                                                      |
| ---- | ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| H01  | `ported`     | `/home/aiwithapex/projects/aios/src/components/setup/constants.ts`                                                                                                                                                  | `STEP_TITLES` includes `Dream engine`; `DREAM_ENGINE_STEP_INDEX` is 7 and `FINISH_STEP_INDEX` follows it.                                                                     |
| H02  | `superseded` | `/home/aiwithapex/projects/aios/src/components/setup/setup-modal.tsx`; `/home/aiwithapex/projects/aios/src/components/setup/step-dream-engine.tsx`                                                                  | Setup step rendering is owned by `SetupModal`; step 7 renders `StepDreamEngine` and step 8 renders `StepYoureSet`.                                                            |
| H03  | `superseded` | `/home/aiwithapex/projects/aios/src/components/setup/step-dream-engine.tsx`; `/home/aiwithapex/projects/aios/src/components/setup/config-helpers.ts`; `/home/aiwithapex/projects/aios/src/lib/use-dream-engines.ts` | Upstream inline Dream engine step is replaced by an accessible component with radiogroup keyboard behavior, draft persistence, local-control-plane save, and recovery states. |

***

### `src/routes/agents.hermes.tsx`

AI OS keeps `src/routes/agents.hermes.tsx` as a route wrapper. The former inline route implementation is split across Hermes page, chat, admin, demo data, Intelligence, voice, and Knowledge Graph grounding modules.

| Hunk | Disposition  | AI OS Target Or Replacement                                                                                                                                                                                         | Evidence                                                                                                                                |
| ---- | ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- |
| H01  | `superseded` | `/home/aiwithapex/projects/aios/src/components/hermes/hermes-read-only-page.tsx`; `/home/aiwithapex/projects/aios/src/components/hermes/intelligence/intelligence-portal.tsx`                                       | Intelligence portal ownership lives in the Hermes page and lazy Intelligence component rather than route-level imports.                 |
| H02  | `superseded` | `/home/aiwithapex/projects/aios/src/components/hermes/intelligence/intelligence-portal.tsx`; `/home/aiwithapex/projects/aios/src/components/hermes/intelligence/intelligence-types.ts`                              | Intelligence activity/event typing and UI are under the Hermes Intelligence component boundary.                                         |
| H03  | `superseded` | `/home/aiwithapex/projects/aios/src/lib/hermes-demo-data.ts`                                                                                                                                                        | Demo session model labels are centralized in AI OS Hermes demo data.                                                                    |
| H04  | `superseded` | `/home/aiwithapex/projects/aios/src/lib/hermes-demo-data.ts`                                                                                                                                                        | Demo session model labels are centralized in AI OS Hermes demo data.                                                                    |
| H05  | `superseded` | `/home/aiwithapex/projects/aios/src/lib/hermes-demo-data.ts`                                                                                                                                                        | Demo session model labels are centralized in AI OS Hermes demo data.                                                                    |
| H06  | `superseded` | `/home/aiwithapex/projects/aios/src/lib/hermes-demo-data.ts`                                                                                                                                                        | Demo session model labels are centralized in AI OS Hermes demo data.                                                                    |
| H07  | `superseded` | `/home/aiwithapex/projects/aios/src/lib/hermes-demo-data.ts`; `/home/aiwithapex/projects/aios/src/components/hermes/hermes-pantheon.tsx`                                                                            | Demo persona model labels are centralized and rendered by the Pantheon component.                                                       |
| H08  | `superseded` | `/home/aiwithapex/projects/aios/scripts/lib/hermes-dev-bridge.ts`; `/home/aiwithapex/projects/aios/src/lib/hermes-demo-data.ts`; `/home/aiwithapex/projects/aios/src/components/hermes/hermes-pantheon.tsx`         | Model catalog options are supplied by the Hermes dev bridge/demo data and consumed by Pantheon UI.                                      |
| H09  | `superseded` | `/home/aiwithapex/projects/aios/src/components/hermes/hermes-status-bar.tsx`; `/home/aiwithapex/projects/aios/src/components/hermes/hermes-connections.tsx`                                                         | Responsive provider/status presentation is handled by current Hermes status and connections components.                                 |
| H10  | `ported`     | `/home/aiwithapex/projects/aios/src/components/hermes/hermes-read-only-page.tsx`                                                                                                                                    | `?intel=1` deep-linking and Intelligence open/close state are implemented on the Hermes page.                                           |
| H11  | `superseded` | `/home/aiwithapex/projects/aios/src/hooks/use-hermes-admin.ts`; `/home/aiwithapex/projects/aios/src/hooks/use-hermes-intelligence-voice.ts`; `/home/aiwithapex/projects/aios/src/lib/hermes-intelligence-events.ts` | Upstream inline `askHermes` and activity mapping are replaced by reusable chat transcript, voice, and event-mapping helpers.            |
| H12  | `superseded` | `/home/aiwithapex/projects/aios/src/hooks/use-hermes-admin.ts`; `/home/aiwithapex/projects/aios/src/components/hermes/intelligence/intelligence-portal.tsx`                                                         | Chat phase is derived from admin/voice events and Intelligence voice phase instead of route-local state.                                |
| H13  | `ported`     | `/home/aiwithapex/projects/aios/src/lib/knowledge-graph-hermes-grounding.ts`; `/home/aiwithapex/projects/aios/src/hooks/use-hermes-admin.ts`; `/home/aiwithapex/projects/aios/scripts/lib/hermes-admin-bridge.ts`   | Knowledge Graph grounding passes `toolsets: graphify`, `yolo: true`, and `graph: true`; hook and bridge validate/forward those options. |
| H14  | `superseded` | `/home/aiwithapex/projects/aios/src/lib/hermes-intelligence-events.ts`; `/home/aiwithapex/projects/aios/src/components/hermes/intelligence/intelligence-portal.tsx`                                                 | Responding/thinking visuals are derived from mapped chat and voice events.                                                              |
| H15  | `superseded` | `/home/aiwithapex/projects/aios/src/lib/hermes-intelligence-events.ts`; `/home/aiwithapex/projects/aios/src/hooks/use-hermes-admin.ts`                                                                              | Intelligence activity is mapped from captured Hermes chat events rather than route-local SSE info handling.                             |
| H16  | `superseded` | `/home/aiwithapex/projects/aios/src/components/hermes/hermes-read-only-page.tsx`; `/home/aiwithapex/projects/aios/src/components/hermes/chat/hermes-chat-tab.tsx`                                                   | Chat and Intelligence layout is owned by modular Hermes page/chat components.                                                           |
| H17  | `ported`     | `/home/aiwithapex/projects/aios/src/components/hermes/chat/hermes-chat-tab.tsx`; `/home/aiwithapex/projects/aios/src/lib/knowledge-graph-hermes-grounding.ts`                                                       | Grounding chip and Intelligence launcher are present in the chat tab with bounded labels and focus return.                              |
| H18  | `ported`     | `/home/aiwithapex/projects/aios/src/components/hermes/hermes-read-only-page.tsx`; `/home/aiwithapex/projects/aios/src/components/hermes/intelligence/intelligence-portal.tsx`                                       | Intelligence portal is rendered as a fixed modal from the Hermes page, with close handling and deep-link cleanup.                       |
| H19  | `superseded` | `/home/aiwithapex/projects/aios/src/lib/hermes-demo-data.ts`; `/home/aiwithapex/projects/aios/src/components/hermes/hermes-pantheon.tsx`                                                                            | Legacy profile template model labels are centralized in demo data and Pantheon rendering.                                               |
| H20  | `superseded` | `/home/aiwithapex/projects/aios/src/lib/hermes-demo-data.ts`; `/home/aiwithapex/projects/aios/src/components/hermes/hermes-pantheon.tsx`                                                                            | Legacy profile template model labels are centralized in demo data and Pantheon rendering.                                               |
| H21  | `superseded` | `/home/aiwithapex/projects/aios/src/lib/hermes-demo-data.ts`; `/home/aiwithapex/projects/aios/src/components/hermes/hermes-pantheon.tsx`                                                                            | Legacy profile template model labels are centralized in demo data and Pantheon rendering.                                               |
| H22  | `superseded` | `/home/aiwithapex/projects/aios/src/lib/hermes-demo-data.ts`; `/home/aiwithapex/projects/aios/src/components/hermes/hermes-pantheon.tsx`                                                                            | Legacy profile template model labels are centralized in demo data and Pantheon rendering.                                               |
| H23  | `superseded` | `/home/aiwithapex/projects/aios/src/lib/hermes-demo-data.ts`; `/home/aiwithapex/projects/aios/src/components/hermes/hermes-pantheon.tsx`                                                                            | Legacy profile template model labels are centralized in demo data and Pantheon rendering.                                               |
| H24  | `superseded` | `/home/aiwithapex/projects/aios/scripts/lib/hermes-dev-bridge.ts`; `/home/aiwithapex/projects/aios/src/lib/hermes-demo-data.ts`; `/home/aiwithapex/projects/aios/src/components/hermes/hermes-pantheon.tsx`         | Pantheon templates and default models are supplied by the bridge/demo data and rendered by the Pantheon component.                      |

***

### `src/routes/memory.tsx`

| Hunk | Disposition | AI OS Target Or Replacement                                                                                                   | Evidence                                                                                                                                                  |
| ---- | ----------- | ----------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- |
| H01  | `ported`    | `/home/aiwithapex/projects/aios/src/routes/memory.tsx`; `/home/aiwithapex/projects/aios/src/routes/__tests__/memory.test.tsx` | Memory source count uses `availableSourceCount` from the active source set, giving 2 without Pinecone and 3 with Pinecone; route tests cover both states. |

## Coverage Checks

| Check                        | Result | Evidence                                                                                                                                                                               |
| ---------------------------- | ------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Changed-path dispositions    | PASS   | Final path disposition table has 39 rows.                                                                                                                                              |
| Added upstream file closeout | PASS   | Added File Closeout Dispositions table has 21 rows.                                                                                                                                    |
| Modified-file content hunks  | PASS   | Hunk disposition tables contain 99 content hunk rows, matching 120 full-patch `@@` hunks minus 21 added-file hunks.                                                                    |
| Mode-only paths              | PASS   | `.githooks/pre-commit`, `scripts/graph-to-dashboard.sh`, and `scripts/setup-graphify-brain.sh` are tracked executable; upstream-only `scripts/webp-file-type-art.sh` is `skipped-n/a`. |
| Unsupported final statuses   | PASS   | No final disposition rows use `already-present` or `skipped-resolved-policy`; no unresolved policy metadata applies.                                                                   |
| Superseded replacements      | PASS   | Every `superseded` final disposition names an absolute AI OS replacement path.                                                                                                         |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://ai-os-and-trend-finder.gitbook.io/ai-os-and-trend-finder-docs/.spec_system/archive/sessions/phase38-session10-hunk-reconciliation-and-release-gate/hunk-reconciliation.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
