> For the complete documentation index, see [llms.txt](https://faction-os.gitbook.io/faction-os-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://faction-os.gitbook.io/faction-os-docs/.spec_system/specs/phase25-session01-ceremony-registry-and-test-harness/tasks.md).

# Task Checklist

**Session ID**: `phase25-session01-ceremony-registry-and-test-harness` **Total Tasks**: 18 **Estimated Duration**: 3-4 hours **Created**: 2026-07-09

***

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

***

## Setup (2 tasks)

* [x] T001 \[S2501] Verify the Phase 24 helper contracts and current web test/typecheck baseline (`apps/web/package.json`)
* [x] T002 \[S2501] Create the pure ceremony module and focused test fixture skeleton without React, DOM, store, timer, storage, or audio imports (`apps/web/src/lib/verbCeremony.ts`, `apps/web/tests/verbCeremony.test.ts`)

## Foundation (5 tasks)

* [x] T003 \[S2501] Define the 13 verb IDs, eight tones, fixed surface/audio/privacy vocabularies, minimal selector input unions, and `VerbCeremonySpec` contract (`apps/web/src/lib/verbCeremony.ts`)
* [x] T004 \[S2501] Populate the complete `VERB_CEREMONY_SPECS` record with bounded labels, static/motion classes, aria copy, screen-reader summaries, and source-only asset IDs (`apps/web/src/lib/verbCeremony.ts`)
* [x] T005 \[S2501] Encode reserved affinity, no-reward, and local-existing-action inert posture without adding product authority (`apps/web/src/lib/verbCeremony.ts`)
* [x] T006 \[S2501] Implement `isPhase4VerbId` and exact registry lookup behavior with exhaustive known-ID handling and null-safe unknown rejection (`apps/web/src/lib/verbCeremony.ts`)
* [x] T007 \[S2501] Implement bounded ASCII `safeCeremonyText` and `safeCeremonyTitle` redaction for commands, prompts, terminal output, diffs, secrets, tokens, URLs, paths, provider payloads, raw channel bodies, control characters, and malformed input (`apps/web/src/lib/verbCeremony.ts`)

## Implementation (6 tasks)

* [x] T008 \[S2501] Implement `ceremonyDataAttributes` and `isCeremonyAudioCueSupported` using fixed vocabulary only, with generated-source paths excluded from runtime fields (`apps/web/src/lib/verbCeremony.ts`)
* [x] T009 \[S2501] \[P] Implement deterministic toast, attention-focus, and notice selectors that keep unsupported, reset, failed, and administrative states quiet (`apps/web/src/lib/verbCeremony.ts`)
* [x] T010 \[S2501] \[P] Implement quest-action and hero-state selectors for rally, muster, contract, discharge, and banner-rise semantics without rewards or new action claims (`apps/web/src/lib/verbCeremony.ts`)
* [x] T011 \[S2501] \[P] Implement plan-decision and permission-decision selectors with expired, pending, resolved, denied, and duplicate-safe state vocabulary (`apps/web/src/lib/verbCeremony.ts`)
* [x] T012 \[S2501] \[P] Implement scroll, War Room, and channel-command selectors with rarity, local-existing-action, redaction, and hosted-identity no-claim posture (`apps/web/src/lib/verbCeremony.ts`)
* [x] T013 \[S2501] \[P] Implement scan-state selector behavior for dispatch/running/completed states while leaving failed/reset/admin diagnostics outside ceremony (`apps/web/src/lib/verbCeremony.ts`)

## Testing (5 tasks)

* [x] T014 \[S2501] \[P] Add table-driven registry completeness, uniqueness, field, accessibility, class, attribute, inert-claim, and source-reference tests for all 13 verbs (`apps/web/tests/verbCeremony.test.ts`)
* [x] T015 \[S2501] \[P] Add table-driven selector mapping, unsupported-input, malformed-input, and deterministic fallback tests across all 11 selector helpers (`apps/web/tests/verbCeremony.test.ts`)
* [x] T016 \[S2501] \[P] Add adversarial privacy, bounded-copy, ASCII, control-character, generated-path, and import-purity regression tests (`apps/web/tests/verbCeremony.test.ts`)
* [x] T017 \[S2501] Run the focused registry suite and web workspace typecheck, repairing every session-caused failure (`apps/web/tests/verbCeremony.test.ts`, `apps/web/tsconfig.json`)
* [x] T018 \[S2501] Validate ASCII-only and Unix LF encoding plus confirm no React, component, CSS, store, protocol, server, storage, or runtime-media file changed (`apps/web/src/lib/verbCeremony.ts`, `apps/web/tests/verbCeremony.test.ts`)

## 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://faction-os.gitbook.io/faction-os-docs/.spec_system/specs/phase25-session01-ceremony-registry-and-test-harness/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.
