> 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/archive/sessions/phase22-session08-erasure-docs-and-validation/tasks.md).

# Task Checklist

**Session ID**: `phase22-session08-erasure-docs-and-validation` **Total Tasks**: 15 **Estimated Duration**: 2-3 hours **Created**: 2026-07-05

***

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

***

## Setup (3 tasks)

* [x] T001 \[S2208] Verify Session 07 validation, current Phase 22 PRD status, and Session 08 prerequisites (`.spec_system/specs/phase22-session07-honesty-regression-tests/validation.md`, `.spec_system/PRD/phase_22/PRD_phase_22.md`)
* [x] T002 \[S2208] \[P] Inspect browser erasure boundary ids and current web storage cleanup mapping (`packages/protocol/src/erasure.ts`, `apps/web/src/lib/localErasure.ts`)
* [x] T003 \[S2208] \[P] Inspect projection storage, reset, and implementation-decision docs for required closeout alignment (`apps/web/src/lib/gameProjection.ts`, `apps/web/src/store/useGameStore.ts`, `docs/game-design/10-technical-design-and-game-projection.md`, `docs/game-design/14-implemented-phases.md`)

***

## Foundation (3 tasks)

* [x] T004 \[S2208] Add `GAME_PROJECTION_STORAGE_KEY` to the existing browser storage erasure inventory with duplicate confirmation/idempotency behavior preserved (`apps/web/src/lib/localErasure.ts`)
* [x] T005 \[S2208] Extend browser erasure preview coverage for seeded projection storage and raw-value redaction (`apps/web/tests/localErasure.test.ts`)
* [x] T006 \[S2208] Extend browser erasure confirmation coverage for projection key removal and idempotent duplicate confirmation (`apps/web/tests/localErasure.test.ts`)

***

## Implementation (5 tasks)

* [x] T007 \[S2208] Verify or extend reset regression coverage proving `resetToSeed()` removes `localStorage["factionos-game-v1"]` with state reset on re-entry (`apps/web/tests/gameProjectionStore.test.ts`, `apps/web/src/store/useGameStore.ts`)
* [x] T008 \[S2208] \[P] Update the technical game projection doc for shipped Phase 22 choices: `suggestion_update` no-op, shared gate attention, persisted `attention`, dormant camp links, and browser-local projection erasure (`docs/game-design/10-technical-design-and-game-projection.md`)
* [x] T009 \[S2208] Update the game-design change log and implemented phase ledger after focused validation passes (`docs/game-design/11-open-questions-and-change-log.md`, `docs/game-design/14-implemented-phases.md`)
* [x] T010 \[S2208] Review stable web/privacy docs and update only source-backed projection-erasure or no-claim wording that diverges from implementation (`apps/web/README_web.md`, `docs/privacy-and-security.md`)
* [x] T011 \[S2208] Record implementation evidence, validation command outputs, and no-claim boundary notes (`.spec_system/specs/phase22-session08-erasure-docs-and-validation/implementation-notes.md`)

***

## Testing (4 tasks)

* [x] T012 \[S2208] Run focused projection reducer validation (`npm test -- apps/web/tests/gameProjection.test.ts`)
* [x] T013 \[S2208] Run focused replay persistence and local erasure validation (`npm test -- apps/web/tests/replayPersist.test.ts apps/web/tests/localErasure.test.ts`)
* [x] T014 \[S2208] Run broadened store regressions when touched files warrant it (`npm test -- apps/web/tests/gameProjectionStore.test.ts apps/web/tests/replayBuffer.test.ts apps/web/tests/questBoardStore.test.ts apps/web/tests/orchestrationStore.test.ts apps/web/tests/commandCenterStore.test.ts`)
* [x] T015 \[S2208] Run web typecheck, changed-file Biome, ASCII/LF validation, and record closeout readiness (`npm --workspace @factionos/web run typecheck`, `npm exec -- biome check`, `.spec_system/specs/phase22-session08-erasure-docs-and-validation`)

***

## 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/archive/sessions/phase22-session08-erasure-docs-and-validation/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.
