> 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-session17-docs-metadata-and-gitignore-closeout/tasks.md).

# Task Checklist

**Session ID**: `phase40-session17-docs-metadata-and-gitignore-closeout` **Total Tasks**: 21 **Estimated Duration**: 2-3 hours **Created**: 2026-07-03

***

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

***

## Setup (3 tasks)

* [x] T001 \[S4017] Verify the analyzer output, Phase 40 tracker, and completed-session evidence before editing docs (`.spec_system/PRD/phase_40/PRD_phase_40.md`, `.spec_system/specs/phase40-session16-voice-parity-and-broker-respawn/implementation-notes.md`)
* [x] T002 \[S4017] Create the Phase 40 closeout ledger shell with sections for shipped behavior, not-ported rationale, package metadata, `.gitignore`, graph seeds, and validation evidence (`docs/phase-40-port-closeout.md`)
* [x] T003 \[S4017] Add the closeout ledger to the documentation index (`docs/README_docs.md`)

***

## Foundation (4 tasks)

* [x] T004 \[S4017] \[P] Audit shipped Hermes admin route names, payload fields, SSE events, and error boundaries for documentation source truth (`scripts/lib/hermes-admin-bridge.ts`, `src/lib/hermes-admin-types.ts`, `src/hooks/use-hermes-admin.ts`)
* [x] T005 \[S4017] \[P] Audit shipped Hermes model catalog, model-intelligence, pricing, context fallback, and demo/live provenance contracts (`scripts/lib/hermes-dev-bridge.ts`, `src/lib/hermes-types.ts`, `src/hooks/use-hermes.ts`)
* [x] T006 \[S4017] \[P] Audit shipped voice and Intelligence behavior against the Session 16 documentation queue (`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] T007 \[S4017] \[P] Audit AI OS package identity, package scripts, graph seed files, and generated graph ignore rules for no-change rationale (`package.json`, `.gitignore`, `src/data/graphs/index.json`, `src/data/graphs/ai-os.json`)

***

## Implementation (9 tasks)

* [x] T008 \[S4017] Update Local API Notes for `/__hermes_model_intelligence`, expanded `/__hermes_chat` payloads and `info` SSE events, `/__hermes_cmd`, `/__hermes_moa_save`, `/__start_voice`, access gates, and safe error boundaries (`docs/api/README_api.md`)
* [x] T009 \[S4017] Update the README Hermes Agent Surface summary for model catalog provenance, model selector, approximate context meter, compact flow, command menu, slash actions, Ministry behavior, MoA save, and voice caveats (`README.md`)
* [x] T010 \[S4017] Update Agent Pages docs for current Hermes tabs, Chat behavior, command actions, Pantheon Ministry behavior, admin endpoints, and test references (`docs/agent-pages.md`)
* [x] T011 \[S4017] Update Data Contract docs for browser-safe Hermes catalog metadata, model-intelligence/pricing provenance, command output limits, MoA save payload boundaries, and voice metadata boundaries (`docs/data-contract.md`)
* [x] T012 \[S4017] Update Local Voice Setup for environment-backed no-reprompt parity, empty launch acceptance, browser provider-config rejection, same-run token usage, and live-proof caveats (`docs/local-voice-setup.md`)
* [x] T013 \[S4017] Update Intelligence View docs for Hermes Intelligence naming, voice ownership, browser payload shape, recovery states, command/compact relationship, and verification limits (`docs/intelligence-view.md`)
* [x] T014 \[S4017] Fill the Phase 40 closeout ledger with shipped behavior, intentionally not-ported upstream items, package metadata no-change rationale, `.gitignore` no-change rationale, and graph seed preservation rationale (`docs/phase-40-port-closeout.md`)
* [x] T015 \[S4017] Update ongoing TODO and handoff notes so shipped Phase 40 Hermes behavior is not rediscovered as unfinished work and deferred upstream items are explicit (`docs/ongoing-projects/TODO.md`)
* [x] T016 \[S4017] Add the Session 17 documentation closeout entry without claiming Session 18 validation or package metadata changes that did not occur (`docs/CHANGELOG.md`)

***

## Testing (5 tasks)

* [x] T017 \[S4017] Run targeted phrase scans on changed docs for unshipped claims around browser provider keys, live voice proof, Dream engine selection, public APIs, hosted writes, package renaming, graph ignore changes, and exact context reclamation (`README.md`, `docs/**/*.md`)
* [x] T018 \[S4017] Run targeted privacy scans on changed docs for raw private paths, auth JSON examples, token-shaped strings, provider keys, prompts, transcripts, raw command output, and raw provider payloads (`docs/phase-40-port-closeout.md`, `docs/api/README_api.md`, `docs/local-voice-setup.md`, `docs/intelligence-view.md`)
* [x] T019 \[S4017] Run targeted Markdown or Prettier checks for the changed documentation files and record any unrelated historical Markdown failures (`docs/phase-40-port-closeout.md`, `docs/api/README_api.md`, `README.md`, `docs/agent-pages.md`, `docs/data-contract.md`, `docs/local-voice-setup.md`, `docs/intelligence-view.md`, `docs/README_docs.md`, `docs/ongoing-projects/TODO.md`, `docs/CHANGELOG.md`)
* [x] T020 \[S4017] Validate ASCII encoding, Unix LF line endings, and whitespace for changed docs and session artifacts (`.spec_system/specs/phase40-session17-docs-metadata-and-gitignore-closeout/spec.md`, `.spec_system/specs/phase40-session17-docs-metadata-and-gitignore-closeout/tasks.md`, `docs/phase-40-port-closeout.md`)
* [x] T021 \[S4017] Record final validation results, no-change metadata decisions, and any bounded follow-up in implementation notes (`.spec_system/specs/phase40-session17-docs-metadata-and-gitignore-closeout/implementation-notes.md`)

***

## Completion Checklist

* [x] All tasks marked `[x]`
* [x] All tests and checks passing
* [x] All files ASCII-encoded with LF line endings
* [x] implementation-notes.md updated
* [x] Ready for `creview` (next step in the implement -> creview -> validate sequence)

***

## Next Steps

Run the `creview` 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-session17-docs-metadata-and-gitignore-closeout/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.
