> 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/phase40-session18-full-validation-and-handoff/tasks.md).

# Task Checklist

**Session ID**: `phase40-session18-full-validation-and-handoff` **Total Tasks**: 24 **Estimated Duration**: 3-4 hours **Created**: 2026-07-03

***

Legend: `[x]` completed; `[ ]` pending; `[P]` parallelizable; `[SNNMM]` session ref; `TNNN` task ID.

***

## Setup (4 tasks)

* [x] T001 \[S4018] Verify analyzer output, Phase 40 tracker, and completed Session 01-17 evidence before validation (`.spec_system/PRD/phase_40/PRD_phase_40.md`, `.spec_system/specs/phase40-session17-docs-metadata-and-gitignore-closeout/validation.md`)
* [x] T002 \[S4018] Create validation log, manual smoke checklist, handoff, and implementation note shells (`.spec_system/specs/phase40-session18-full-validation-and-handoff/final-validation-log.md`, `.spec_system/specs/phase40-session18-full-validation-and-handoff/manual-smoke-checklist.md`, `.spec_system/specs/phase40-session18-full-validation-and-handoff/final-handoff.md`, `.spec_system/specs/phase40-session18-full-validation-and-handoff/implementation-notes.md`)
* [x] T003 \[S4018] Capture base commit, worktree status, staged-file inventory, and generated/private-data exclusion baseline (`.spec_system/specs/phase40-session18-full-validation-and-handoff/implementation-notes.md`, `.gitignore`)
* [x] T004 \[S4018] Build the validation command matrix from package scripts, Phase 40 closeout criteria, and Session 17 evidence (`package.json`, `docs/phase-40-port-closeout.md`, `.spec_system/specs/phase40-session18-full-validation-and-handoff/final-validation-log.md`)

***

## Foundation (5 tasks)

* [x] T005 \[S4018] \[P] Review bridge and parser coverage targets for Hermes public reads, admin writes, command execution, MoA save, and connection probes (`scripts/lib/hermes-dev-bridge.ts`, `scripts/lib/hermes-admin-bridge.ts`, `src/lib/hermes-types.ts`, `src/lib/hermes-admin-types.ts`)
* [x] T006 \[S4018] \[P] Review chat, compact, model selector, context meter, and command UI coverage targets (`src/components/hermes/chat/hermes-chat-tab.tsx`, `src/components/hermes/chat/model-selector.tsx`, `src/components/hermes/chat/context-meter.tsx`, `src/components/hermes/chat/command-menu.tsx`)
* [x] T007 \[S4018] \[P] Review Ministry builder, analytics, config generation, save/copy, and Pantheon coverage targets (`src/components/hermes/ministry/`, `src/components/hermes/hermes-pantheon.tsx`)
* [x] T008 \[S4018] \[P] Review voice launch, broker respawn, Intelligence portal, and recovery-state coverage targets (`scripts/lib/voice-launch-bridge.ts`, `scripts/lib/voice-broker.ts`, `src/hooks/use-hermes-intelligence-voice.ts`, `src/components/hermes/intelligence/intelligence-portal.tsx`)
* [x] T009 \[S4018] Convert review findings into concrete smoke cases for live, demo, redaction, admin-denied, offline, and missing-credential states (`.spec_system/specs/phase40-session18-full-validation-and-handoff/manual-smoke-checklist.md`)

***

## Implementation (6 tasks)

* [x] T010 \[S4018] Record focused Hermes bridge, parser, hook, chat, command, MoA, Ministry, and voice Vitest command results with failure root causes (`.spec_system/specs/phase40-session18-full-validation-and-handoff/final-validation-log.md`)
* [x] T011 \[S4018] Record broad typecheck, script typecheck, lint, full test, coverage-relevant, and dependency audit results (`.spec_system/specs/phase40-session18-full-validation-and-handoff/final-validation-log.md`, `package.json`)
* [x] T012 \[S4018] Record build, asset-size, private-runtime, public-demo build, public-demo scan, and public-demo budget results (`.spec_system/specs/phase40-session18-full-validation-and-handoff/final-validation-log.md`, `scripts/check-asset-sizes.sh`, `scripts/check-private-runtime-artifacts.sh`, `scripts/demo/scan-pages-demo.ts`)
* [x] T013 \[S4018] Execute and record Hermes and Intelligence browser smoke for live or environment-limited mode with product-facing copy and no diagnostic UI leakage (`tests/e2e/hermes-agent.spec.ts`, `tests/e2e/hermes-intelligence.spec.ts`, `.spec_system/specs/phase40-session18-full-validation-and-handoff/manual-smoke-checklist.md`)
* [x] T014 \[S4018] Execute and record demo-mode smoke for no-bridge behavior, disabled writes, fixture provenance, and hosted-safe output (`demo-website/`, `.spec_system/specs/phase40-session18-full-validation-and-handoff/manual-smoke-checklist.md`)
* [x] T015 \[S4018] Write bounded follow-up entries for any failed, skipped, or environment-limited validation item without claiming completion for unavailable proof (`.spec_system/specs/phase40-session18-full-validation-and-handoff/final-handoff.md`)

***

## Testing (9 tasks)

* [x] T016 \[S4018] Run focused privacy scans for secret-shaped strings, bearer tokens, auth JSON paths, provider keys, raw prompts, transcripts, raw command output, and raw provider payloads (`.spec_system/specs/phase40-session18-full-validation-and-handoff/final-validation-log.md`, `docs/`, `src/`, `scripts/`)
* [x] T017 \[S4018] Run private-path and generated-artifact scans for raw home-directory paths, local usernames, generated live data, logs, coverage, browser reports, and account-auth material (`.spec_system/specs/phase40-session18-full-validation-and-handoff/final-validation-log.md`, `src/data/live-data.example.json`, `logs/.gitignore`)
* [x] T018 \[S4018] Run staged and unstaged change review to verify no generated private data, raw local paths, logs, coverage, test reports, or secret-shaped strings are staged (`.spec_system/specs/phase40-session18-full-validation-and-handoff/final-validation-log.md`, `.gitignore`)
* [x] T019 \[S4018] Validate Phase 40 shipped-behavior docs and closeout ledger still avoid planned-feature, upstream-wholesale, browser-key-persistence, and live-proof claims (`README.md`, `docs/api/README_api.md`, `docs/phase-40-port-closeout.md`, `docs/local-voice-setup.md`, `docs/intelligence-view.md`)
* [x] T020 \[S4018] Validate ASCII encoding, Unix LF line endings, and whitespace for session artifacts and touched handoff docs (`.spec_system/specs/phase40-session18-full-validation-and-handoff/`, `docs/phase-40-port-closeout.md`)
* [x] T021 \[S4018] Fill final handoff with pass/fail summary, environment-limited proof, not-ported rationale, privacy status, and merge-readiness recommendation (`.spec_system/specs/phase40-session18-full-validation-and-handoff/final-handoff.md`)
* [x] T022 \[S4018] Update implementation notes with the task-by-task evidence ledger, command outputs summarized, and no unresolved markers (`.spec_system/specs/phase40-session18-full-validation-and-handoff/implementation-notes.md`)
* [x] T023 \[S4018] Mark completed tasks only after evidence is recorded and verify task counts remain 24/24 when done (`.spec_system/specs/phase40-session18-full-validation-and-handoff/tasks.md`)
* [x] T024 \[S4018] Run final artifact self-check for ASCII, LF, no unresolved marker text, and `implement` readiness for `creview` (`.spec_system/specs/phase40-session18-full-validation-and-handoff/spec.md`, `.spec_system/specs/phase40-session18-full-validation-and-handoff/tasks.md`)

***

## Completion Checklist

* [x] All tasks marked `[x]`
* [x] All tests and checks passing or failures documented with root cause and bounded follow-up
* [x] All files ASCII-encoded with LF line endings
* [x] implementation-notes.md updated
* [x] Ready for `updateprd` (next step after validate)

***

## Next Steps

Run the `updateprd` workflow step.


---

# 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/phase40-session18-full-validation-and-handoff/tasks.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.
