<!-- filepath: sp-plan/PLAN.md -->
<!-- Version: 1.6.64 -->
# PLAN

This file is the single source of truth for repo-local plan state and task claims in this repo.
Workflow usage, Golden Path, claim rules, and lifecycle semantics live in `sp-docs/sp-plan-workflow-contract.md`.

## Current Work (keep up to date)

- Working on: T214 (repair smilingpirate-site kit-atlas publish sync after atlas naming harmonization); T191 (repair wide-mode grid proportions, viewport alignment, and non-filtering gutter sync in the shared review viewer).
- Target outcome: Restore a current published kit-atlas bundle on smilingpirate-site with working atlas, ecosystem, and plan-studio routes while keeping the shared review viewer repair work separate.
- Constraints:
  - Keep real person/job planning and verification inside ignored local person/package surfaces such as `application-plan.md` and adjacent workbenches.
  - Do not mirror ignored local work into `sp-plan/PLAN.md`, even as placeholder paths or example commands.
  - NEVER record private or real person/company/job/application content, dossier/workbench paths, co-authoring round state, or candidate-specific review notes in `sp-plan/PLAN.md`.
  - When repo-level verification needs a concrete workspace, use tracked synthetic `sample-*` personas rather than ignored real workspaces.
  - Keep the matching model and co-authoring split intact: accepted reading surfaces remain stable, while open iteration lives in paired `.workbench.md` files.
  - Keep `sp-docs/sp-co-authoring-protocol.md` and `sp-docs/sp-plan-workflow-contract.md` as the canonical sources for handoff rules and plan-boundary rules.
  - Keep derivative or starter-local protocol artifacts explicitly marked as non-authoritative and pointing back to `sp-docs/sp-co-authoring-protocol.md`; do not let silent semantic forks accumulate in generated bundles or example surfaces.
  - Keep plan entries outcome-oriented: references should point to stable surface families, and exact local script invocations belong in task-testing or session notes rather than long-lived plan items.
  - Do not disturb `T149`, which is already claimed by another owner on `main`.

### P91: Repair Published Kit-Atlas Sync After Naming Harmonization

References: `docs/kit-site/`, `docs/visualization/`, `docs/visualization-src/`, `scripts/Publish-KitAtlasToSmilingPirateSite.ps1`, `scripts/Test-SpCopilotKit.ps1`

Goal: Keep the smilingpirate-site `kit-atlas` publish flow aligned with the current atlas file names, copied pages, and published-link rewrite markers after recent naming cleanup and route additions.

Task order: T214 -> D150.

- T214: Repair the kit-atlas publish script and validation for the current atlas surface set
  - Publish any current atlas root pages that are now part of the main navigation surface, including the plan studio
  - Rewrite newly harmonized published-link markers so ecosystem routes and other moved atlas links resolve under `smilingpirate-site/kit-atlas`
  - Keep validator coverage aligned with the shipped publish bundle so renamed or newly linked atlas files do not silently drop out of the external site
  - Status: InProgress
  - Owner: GPT-5.4/main@20260419T220000Z-atlas-publish-sync
  - Branch: main
  - Updated: 2026-04-19

- D150: Validate the repaired smilingpirate-site kit-atlas publish bundle
  - Confirm the published atlas includes the currently linked root pages and supporting assets
  - Confirm published ecosystem, plan-studio, and raw-source links resolve under the target `kit-atlas` path model
  - Confirm targeted validation covers the repaired publish path and the actual generated site output
  - Status: NotStarted

<!-- Carried-forward completed phases from the local conflicted branch; renumbered to stay unique against the newer remote plan baseline. Original local IDs were P75-P80 / T189-T194 / D128-D133. -->

### P90: Define Multi-Participant Co-Authoring Collaboration Toolkit Direction

References: `.coauthoring/`, `sp-docs/sp-co-authoring-protocol.md`, `sp-docs/hld/HLD-kit-co-authoring-review-viewer.md`, `sp-docs/hld/HLD-kit-co-authoring-package-and-document-family-model.md`, `sp-docs/hld/HLD-kit-agent-agnostic.md`, `README-SP-COPILOT-KIT.md`, `examples/sp-application-wizard/coauthoring/`

Goal: Define the next toolkit scope for collaboration across multiple AIs and humans around shared co-authoring and review surfaces, including bring-your-own credentials, local-first secret boundaries, and the staged path from today's review viewer toward a broader collaboration client.

Task order: T211 -> T212 -> T213 -> D149.

- T211: Define the multi-participant collaboration model for heterogeneous AI contributors and human reviewers
  - Describe how Contributors, Reviewers, Coordinators, and human operators share one workbench and reading-surface workflow without assuming a single AI host or one shared account
  - Clarify what state must remain repo-visible and durable versus what stays participant-local, session-local, or host-local
  - Capture the adapter boundary for clients such as GitHub Copilot, Codex, Claude Code, and comparable external AI surfaces
  - Status: NotStarted

- T212: Define a bring-your-own-credentials and local-only secret-handling model
  - Support the case where each contributor or reviewer brings their own AI credentials instead of relying on one central shared account
  - Define which auth or session material may exist only locally or temporarily, how secret-storage boundaries are expressed, and what never belongs in repo state
  - Distinguish full contributor mode from narrower guest, read-only, or reviewer access so credential scope and risk stay explicit
  - Status: NotStarted

- T213: Define the staged tooling roadmap from review viewer to collaboration client
  - Start from the existing shared review-viewer runtime and identify the minimum collaboration extensions that make multi-AI and human participation practical
  - Separate near-term local-first capabilities such as participant selection, status visibility, comment or handoff assistance, and adapter routing from later richer client capabilities such as active edit or write-back and live session tracking
  - Decide whether the broader collaboration surface should remain an in-kit reusable capability or split into a separate dedicated repo once it exceeds toolkit scope
  - Status: NotStarted

- D149: Validate the multi-participant collaboration phase framing
  - Confirm the phase defines one coherent scope for multi-AI plus human collaboration rather than scattering the subject across unrelated viewer and auth tasks
  - Confirm BYO-credential, local-secret, and guest or reviewer boundary assumptions are explicit and do not imply shared server-side credential custody by default
  - Confirm the staged roadmap keeps today's review viewer reusable while making the threshold to a separate collaboration product explicit
  - Status: NotStarted

### P89: Reassert Canonical Ownership For Co-Authoring Protocol Surfaces

References: `sp-docs/sp-co-authoring-protocol.md`, `sp-docs/sp-co-authoring-protocol.history.md`, `examples/sp-application-wizard/coauthoring/sp-co-authoring-protocol.md`, `examples/sp-application-wizard/coauthoring/README.md`, `examples/sp-application-wizard/README.md`, `examples/sp-application-wizard/gpt/_builder/KNOWLEDGE.md`

Goal: Re-establish one explicit canonical home for co-authoring protocol semantics, mark starter-local or generated derivatives as non-authoritative, and verify whether any newer protocol rules landed outside the canonical source and need promotion upstream.

Task order: T210 -> D148.

- T210: Clarify canonical-source boundaries for co-authoring protocol surfaces
  - Document in the canonical protocol surface which artifact is authoritative for semantic protocol changes and how starter-local or generated derivatives relate to it
  - Update the application-wizard local protocol surface and nearby reader-facing starter docs so they explicitly point back to the canonical source and do not present themselves as a competing authority
  - Audit derivative protocol-bearing surfaces for silent semantic drift or newer role/rule additions that should instead live in the canonical source
  - Update any necessary derived starter artifacts so the visible repo state matches the declared authority model
  - Status: Done
  - Owner: Codex/main@20260417T000000Z-canonical-protocol-source
  - Branch: main
  - Updated: 2026-04-17

- D148: Validate canonical protocol ownership and derivative alignment
  - Confirm the canonical protocol surface explicitly declares itself as the authoritative semantic source and points to the history surface
  - Confirm starter-local or generated derivative protocol artifacts clearly state where the canonical source lives and what their non-authoritative role is
  - Confirm the audit either found no derivative-only semantic rules that must be promoted upstream or documents which rules were promoted
  - Evidence:
    - `sp-docs/sp-co-authoring-protocol.md` now declares canonical semantic authority explicitly and documents starter-local guides plus generated readouts as non-authoritative derivatives.
    - `examples/sp-application-wizard/coauthoring/sp-co-authoring-protocol.md`, `examples/sp-application-wizard/coauthoring/README.md`, and `examples/sp-application-wizard/README.md` now point unambiguously back to `sp-docs/sp-co-authoring-protocol.md` as the canonical source.
    - Regenerated `examples/sp-application-wizard/gpt/_builder/KNOWLEDGE.md` now carries the same canonical-source guidance because it re-ingests the updated wizard-local guide and README surfaces.
    - Audit result: no derivative-only semantic protocol rules needed promotion upstream; the main drift ran the other direction, with the wizard-local guide lagging behind canonical semantics and missing newer items such as the explicit `Advocatus Diaboli` role until this sync.
  - Status: Done

### P88: Extend Workflow For Scoped Subproject Plans

References: `sp-docs/sp-plan-workflow-contract.md`, `AGENTS.md`, `.github/instructions/sp-copilot-kit.instructions.md`, `codex/skills/sp-plan/SKILL.md`, `00-Development-Rules.md`

Goal: Allow side/subprojects to own independent `sp-plan/PLAN.md` surfaces so work on different subprojects does not interfere with the repo-root plan or with each other, especially across machines and accounts.

Task order: T208 -> D146 -> T209 -> D147.

- T208: Extend workflow contract and adapter surfaces for scoped subproject plans
  - Add Multi-Plan Scope section to `sp-docs/sp-plan-workflow-contract.md` with convention, rules, and cross-cutting work guidance
  - Update `AGENTS.md` Repo plan surfaces and Shared Claim Gate sections for plan resolution
  - Update `.github/instructions/sp-copilot-kit.instructions.md` Repo plan surfaces section for plan resolution
  - Add Multi-Plan Scope Rules to `00-Development-Rules.md`
  - Update `codex/skills/sp-plan/SKILL.md` for scoped plan awareness
  - Also updated: `README-SP-COPILOT-KIT.md`, `.github/prompts/sp-doc.prompt.md`, `scripts/Test-SpCopilotKit.ps1` (stale "single active" wording and test assertions)
  - Status: Done
  - Owner: Claude
  - Branch: main
  - Updated: 2026-04-16

- D146: Verify multi-plan contract extension
  - Confirm contract doc has Multi-Plan Scope section with convention, rules, cross-cutting guidance
  - Confirm AGENTS.md references scoped plans and claim gate includes plan-selection step
  - Confirm instructions file references scoped plans
  - Confirm 00-Development-Rules.md has Multi-Plan Scope Rules
  - Status: NotStarted

- T209: Create initial sp-plan/PLAN.md for examples/sp-application-wizard
  - Bootstrap the wizard subproject plan with its own phases and tasks for wizard-scoped work
  - Migrate any wizard-specific items from the root plan if applicable
  - Status: NotStarted
  - Depends: T208

- D147: Validate wizard subproject plan operates independently
  - Confirm `examples/sp-application-wizard/sp-plan/PLAN.md` exists and follows the shared contract
  - Confirm agents resolve wizard-scoped work to the subproject plan, not the root plan
  - Status: NotStarted

### P87: Add Coordination Modes For Local-Only And Pushed-Shared Co-Authoring

References: `sp-docs/hld/HLD-kit-co-authoring-package-and-document-family-model.md`, `sp-docs/sp-co-authoring-protocol.md`, `.github/prompts/sp-co-author-*.prompt.md`, `AGENTS.md`, `.github/instructions/sp-copilot-kit.instructions.md`

Goal: Give each co-authoring document family and its shared or per-document work surfaces an explicit coordination mode that tells agents whether the active collaboration baseline is local worktree state or the latest pushed commit on the canonical branch, so remote contribution expectations are explicit instead of guessed.

Task order: T206 -> T207 -> D145.

- T206: Define the coordination-mode model in the co-authoring family HLD
  - Extend `sp-docs/hld/HLD-kit-co-authoring-package-and-document-family-model.md` with a document-family coordination contract that distinguishes `local-only` from `pushed-shared` work
  - Keep the flag at the family/shared-workbench/document level rather than on detailed `[TOPIC:]` blocks
  - Define inheritance for the family default, the shared family workbench, and per-document overrides, plus blocked behavior when `pushed-shared` work cannot be pushed
  - Status: Done
  - Owner: codex/main@20260416T113551Z-coordination-mode
  - Branch: main
  - Updated: 2026-04-16

- T207: Mirror coordination-mode behavior into protocol and prompt surfaces
  - Update the co-authoring protocol and relevant prompt/instruction surfaces so session onboarding, Archivar behavior, and durable handoffs interpret `local-only` vs `pushed-shared` the same way
  - Make clear that remote-agent-resumable handoffs on `pushed-shared` surfaces require commit plus push to the canonical coordination branch
  - Keep `local-only` work free from unnecessary commit/push churn when no remote continuation is intended
  - Status: NotStarted

- D145: Validate coordination-mode semantics across family and protocol surfaces
  - Confirm the family HLD, protocol wording, and onboarding/prompt guidance all agree on where the mode is declared, how it inherits, and when push is mandatory
  - Confirm a `pushed-shared` turn without push is reported as blocked rather than silently treated as remotely durable
  - Confirm `local-only` surfaces remain resumable locally without pretending remote agents can rely on unseen changes
  - Status: NotStarted

### P84: Add Viewer Version Selection And Prove Baseline Advancement End-To-End

References: `.coauthoring/CoAuthoringReviewViewerCore.psm1`, `.coauthoring/CoAuthoringReviewViewer.template.html`, `sp-docs/hld/HLD-kit-co-authoring-review-viewer.md`, `sp-docs/sp-co-authoring-review-viewer-reference.md`, `examples/sp-application-wizard/coauthoring/Export-ApplicationReviewView.ps1`, `examples/sp-application-wizard/people/sample-rolf-testhagen/`

Goal: Let reviewers explicitly switch between the current topic result and workbench-side baseline/variant text in the shared viewer, and verify that the new model is usable by advancing one real reading surface and rendering it through the viewer.

Task order: T203 -> D142.

- T203: Add explicit version selection for topic baselines and variants
  - Extend the shared viewer runtime/template so a selected topic can expose a version selector backed by `RESULT`, `READING-BASELINE`, and `READING-VARIANT` blocks
  - Keep the left column anchored on the current reading baseline while the right inspector can switch among the current result and historical candidate text
  - Align the viewer docs with the concrete dropdown behavior if the contract needs clarification
  - Status: Done
  - Owner: codex/main@20260410T114500Z-viewer-version-selector
  - Branch: main
  - Updated: 2026-04-10

- D142: Validate version selection and baseline advancement flow
  - Confirm the shared viewer renders an explicit version selector when a topic contains baseline/variant blocks
  - Confirm one tracked sample workspace can still be exported successfully with the updated viewer
  - Confirm one real reading surface was advanced under the new model, with the prior baseline kept visible in the workbench until later cleanup
  - Evidence:
    - `.coauthoring/CoAuthoringReviewViewer.template.html`, `sp-docs/sp-co-authoring-review-viewer-reference.md`, and `sp-docs/hld/HLD-kit-co-authoring-review-viewer.md` now align on an explicit inspector-side version selector for `RESULT`, `READING-BASELINE`, and `READING-VARIANT` content when present.
    - One non-tracked local reading surface was advanced to a new synthesized baseline, while its paired workbench preserved the prior state as `READING-BASELINE-Codex`; exact local workspace details are intentionally omitted from the tracked plan.
    - Validation executed: PowerShell parser check on `.coauthoring/CoAuthoringReviewViewerCore.psm1` and `examples/sp-application-wizard/coauthoring/Export-ApplicationReviewView.ps1`, plus a fresh review-view export for `examples/sp-application-wizard/people/sample-rolf-testhagen`; additional non-tracked local validation is intentionally summarized only at a privacy-safe level here.
    - Exported viewer payloads now contain the new version-selection UI strings `Version`, `Current synthesized result`, and `Workflow History / Variants`, proving the runtime/template path is wired end-to-end.
  - Status: Done

### P83: Make Syntheses Advance The Reading Surface And Keep Reviewable Baseline History

References: `sp-docs/sp-co-authoring-protocol.md`, `examples/sp-application-wizard/coauthoring/sp-co-authoring-protocol.md`, `sp-docs/hld/HLD-kit-co-authoring-review-viewer.md`, `sp-docs/sp-co-authoring-review-viewer-reference.md`, `examples/sp-application-wizard/README.md`

Goal: Shift the co-authoring model so syntheses produce the next canonical reading-surface baseline while prior baselines and contributor-side concrete proposals remain reviewable through the workbench/viewer path without spawning a file explosion.

Task order: T202 -> D141.

- T202: Update protocol and viewer docs for synthesis-driven baseline advancement
  - Update the canonical and local co-authoring protocol surfaces so contributor turns should prefer concrete improvement proposals over criticism-only notes when feasible
  - Define that synthesis advances the canonical reading-surface baseline, while the previous baseline and related alternatives remain visible in workbench history until the Archivar compacts them
  - Update the review-viewer HLD/reference so the viewer model explicitly supports inspecting the current baseline, previous synthesized baselines, and workbench-side proposed variants without requiring extra sibling document files per turn
  - Keep the change conceptual and contract-level unless a minimal runtime adjustment is required for coherence
  - Status: Done
  - Owner: codex/main@20260410T110500Z-synthesis-baseline-history
  - Branch: main
  - Updated: 2026-04-10

- D141: Validate synthesis-driven baseline guidance
  - Confirm the canonical and local co-authoring protocol surfaces now say that synthesis updates the canonical reading surface rather than leaving the viewer stuck on an older baseline
  - Confirm the viewer reference/HLD now describe visibility of previous synthesized baselines and workbench-side concrete proposals without requiring per-turn file sprawl
  - Confirm the starter README reflects the same operator-facing expectation at a high level
  - Evidence:
    - `sp-docs/sp-co-authoring-protocol.md`, `examples/sp-application-wizard/coauthoring/sp-co-authoring-protocol.md`, and `examples/sp-application-wizard/README.md` now align on the new model: synthesis advances the canonical `.md` baseline, prior baselines stay reviewable in the workbench, and contributors should prefer concrete textual proposals when feasible.
    - `sp-docs/sp-co-authoring-review-viewer-reference.md`, `sp-docs/hld/HLD-kit-co-authoring-review-viewer.md`, `.coauthoring/CoAuthoringReviewViewerCore.psm1`, and `.coauthoring/CoAuthoringReviewViewer.template.html` now align on `Current reading baseline` wording and viewer-visible `READING-BASELINE` / `READING-VARIANT` workbench blocks.
    - `.github/prompts/sp-co-author-synthesize.prompt.md`, `.github/prompts/sp-co-author-contribute.prompt.md`, `.github/prompts/sp-help.prompt.md`, and `.github/instructions/sp-copilot-kit.instructions.md` now reflect the same synthesis/baseline and proposal-first contributor expectations.
    - Validation executed: PowerShell parser check on `.coauthoring/CoAuthoringReviewViewerCore.psm1` and `examples/sp-application-wizard/coauthoring/Export-ApplicationReviewView.ps1`, plus a sample application-view export for `examples/sp-application-wizard/people/sample-rolf-testhagen` confirming the new viewer strings `Current baseline`, `Current reading baseline`, and `Workflow History / Variants`.
  - Status: Done

### P82: Mirror Protocol Utility Into Always-On Instruction Surfaces

References: `AGENTS.md`, `.github/instructions/sp-copilot-kit.instructions.md`, `sp-docs/sp-co-authoring-protocol.md`, `examples/sp-application-wizard/coauthoring/sp-co-authoring-protocol.md`, `sp-docs/sp-co-authoring-protocol.history.md`

Goal: Carry the protocol-utility rationale and a short artifact-first gate sentence into the always-on instruction surfaces so protocol-weighting decisions stay aligned even before the co-authoring protocol is re-read.

Task order: T201 -> D140.

- T201: Mirror protocol-utility guidance and add a short artifact-first gate
  - Update the always-on instruction surfaces to say why exact requested protocol artifacts are coordination assets rather than empty formatting
  - Add a short gate sentence that says explicitly requested protocol artifacts should be delivered first, with explanation only afterward when still useful
  - Keep wording aligned with the canonical and local co-authoring protocol surfaces so the repo does not drift into contradictory guidance
  - Status: Done
  - Owner: GPT-5.4/main@20260409T222500Z-artifact-first-gate
  - Branch: main
  - Updated: 2026-04-09

- D140: Validate always-on protocol-utility mirroring
  - Confirm `AGENTS.md` and `.github/instructions/sp-copilot-kit.instructions.md` now mirror the protocol-utility rationale and the short artifact-first gate
  - Confirm the canonical and local co-authoring protocol surfaces also carry the short gate sentence in aligned wording
  - Evidence:
    - `AGENTS.md` and `.github/instructions/sp-copilot-kit.instructions.md` now both contain a `Protocol-artifact weighting` section that explains why exact artifacts are workflow control surfaces and adds the short artifact-first gate.
    - `sp-docs/sp-co-authoring-protocol.md` and `examples/sp-application-wizard/coauthoring/sp-co-authoring-protocol.md` now both carry the short gate sentence in aligned wording, while the local protocol mirror validates cleanly.
    - `sp-docs/sp-co-authoring-protocol.history.md` now records accepted topic `#014 Explicit Artifact-First Gate`; remaining markdown-lint findings in the canonical protocol/history files are pre-existing debt outside this narrow change.
  - Status: Done
  - Owner: GPT-5.4/main@20260409T222500Z-artifact-first-gate
  - Branch: main
  - Updated: 2026-04-09

### P81: Make Protocol Utility Explicit For Co-Authoring Turns

References: `sp-docs/sp-co-authoring-protocol.md`, `sp-docs/sp-co-authoring-protocol.history.md`, `examples/sp-application-wizard/coauthoring/sp-co-authoring-protocol.md`

Goal: Make the protocol itself explain the operational benefit of exact handoffs and other required protocol artifacts so humans and AI agents weigh protocol fidelity correctly during collaboration rather than treating it as empty formatting.

Task order: T200 -> D139.

- T200: Explain the operational value of protocol-faithful turns in the protocol surfaces
  - Update the canonical and local co-authoring protocol surfaces to state why exact handoffs and other explicitly requested protocol artifacts reduce coordination cost, improve cross-session continuity, and keep multi-actor work resumable
  - Clarify that when a user explicitly asks for a protocol artifact, that artifact is the workflow control surface and should be delivered in the requested form before surrounding explanation
  - Keep the change scoped to protocol rationale and turn-weighting guidance without collapsing the protocol into a rigid finite-state machine
  - Status: Done
  - Owner: GPT-5.4/main@20260409T215500Z-protocol-utility-rationale
  - Branch: main
  - Updated: 2026-04-09

- D139: Validate protocol-utility guidance
  - Confirm the canonical and local protocol surfaces now explain the concrete benefit of protocol-faithful turns for coordination, resumability, and cross-session handoff safety
  - Confirm the protocol now states that explicitly requested artifacts such as a HANDOFF should be delivered in the required form before surrounding explanation
  - Evidence:
    - `sp-docs/sp-co-authoring-protocol.md` now says that explicitly requested artifacts such as `HANDOFF`, `RESULT`, and `COORDINATOR-NOTE` should be delivered in the required form first and adds a dedicated rationale section explaining coordination, resumability, and chat/document alignment benefits.
    - `examples/sp-application-wizard/coauthoring/sp-co-authoring-protocol.md` mirrors the same weighting guidance in the starter-local protocol surface and validates cleanly.
    - `sp-docs/sp-co-authoring-protocol.history.md` now records accepted topic `#013 Protocol Fidelity Has Operational Value`; remaining markdown-lint findings in the canonical protocol/history files are pre-existing debt outside this narrow change.
  - Status: Done
  - Owner: GPT-5.4/main@20260409T215500Z-protocol-utility-rationale
  - Branch: main
  - Updated: 2026-04-09

### P80: Treat Durable Co-Authoring Handoffs As The Next-Step Carrier

References: `AGENTS.md`, `sp-docs/sp-plan-workflow-contract.md`, `sp-docs/sp-co-authoring-protocol.md`, `.github/instructions/sp-copilot-kit.instructions.md`, `.github/prompts/sp-co-author-*.prompt.md`, `examples/sp-application-wizard/coauthoring/sp-co-authoring-protocol.md`

Goal: Remove redundant `Recommended Next Command` guidance from handoff-driven co-authoring surfaces so the durable handoff itself remains the authoritative next-step carrier, while keeping the active short-profile review flowing cleanly from synthesis into challenge.

Task order: T199 -> D138.

- T199: Sharpen handoff-implies-next-step guidance and complete the current short-profile round transition
  - Update repo-level workflow, instruction, and co-authoring prompt surfaces so a durable co-authoring handoff can stand alone as the implied next step without a separate `Recommended Next Command`
  - Keep the exception scoped to co-authoring/handoff-driven turns rather than removing next-command guidance from the broader `sp-*` workflow
  - Advance the active short-profile review from its current multi-contributor state into a synthesized Round-3 handoff to Advocatus Diaboli without pretending missing external contribution bodies were persisted locally
  - Status: Done
  - Owner: codex/main@20260409T201500Z-handoff-next-step-short-profile
  - Branch: main
  - Updated: 2026-04-09

- D138: Validate handoff-implies-next-step guidance and the short-profile round transition
  - Confirm the relevant repo-level workflow and co-authoring surfaces now say that a durable handoff already implies the next step for handoff-driven co-authoring turns
  - Confirm the co-authoring prompt family no longer requires a separate `Recommended Next Command` when the response already ends with the durable handoff
  - Confirm the active short-profile workbench now reflects the synthesized Round-3 state and ends with an Advocatus-Diaboli handoff
  - Evidence:
    - The canonical and local co-authoring protocol surfaces plus the relevant instruction/prompt files now describe the handoff itself as sufficient next-step guidance for handoff-driven co-authoring turns.
    - The active short-profile workbench topic now carries a synthesized Round-3 `RESULT` and a closing handoff to `Advocatus Diaboli`.
  - Status: Done
  - Owner: codex/main@20260409T201500Z-handoff-next-step-short-profile
  - Branch: main
  - Updated: 2026-04-09

### P79: Enforce Repo-Relative Handoff Paths And Recover Short-Profile Review Routing

References: `sp-docs/sp-co-authoring-protocol.md`, `sp-docs/sp-co-authoring-protocol.history.md`, `examples/sp-application-wizard/coauthoring/sp-co-authoring-protocol.md`, `examples/sp-application-wizard/people/sample-rolf-testhagen/04-applications/`

Goal: Prevent future co-authoring drift by requiring repo-root-relative file paths in handoffs and recover the active short-profile review after off-path contributor and repair work landed in the wrong package locations.

Task order: T198 -> D137.

- T198: Enforce repo-root-relative handoff paths and recover short-profile review routing
  - Update the canonical and local co-authoring protocol surfaces so durable handoffs require repo-root-relative file paths instead of bare filenames or absolute paths
  - Mark the known short-profile repair-attempt files as bad-repair artifacts so they are clearly sidelined
  - Reset the active short-profile review basis so off-path contributor work is explicitly ignored and the next Contributor handoff starts from the correct package path
  - Status: Done
  - Owner: GPT-5.4/main@20260409T151500Z-coauthor-path-repair
  - Branch: main
  - Updated: 2026-04-09

- D137: Validate repo-relative handoff discipline and short-profile recovery
  - Confirm the canonical and local protocol surfaces now require repo-root-relative file paths in durable handoffs
  - Confirm the known bad-repair artifacts are clearly marked and no longer look like active package surfaces
  - Confirm the active short-profile workbench hands off to a Contributor using the correct repo-root-relative path and no longer treats off-path contributor work as active evidence
  - Evidence:
    - `sp-docs/sp-co-authoring-protocol.md` and `examples/sp-application-wizard/coauthoring/sp-co-authoring-protocol.md` now require repo-root-relative handoff paths and explicitly forbid bare filenames plus absolute filesystem paths.
    - The known bad-repair short-profile files are renamed with `-bad-repair`, explicitly marked as sidelined in-file, and excluded from `Export-ApplicationReviewView.ps1` scan results.
    - The active short-profile workbench now hands off to a Contributor using the correct repo-root-relative package path and no longer treats off-path contributor work as active evidence; exact ignored-workspace details are intentionally omitted from the tracked plan.
  - Status: Done
  - Owner: GPT-5.4/main@20260409T151500Z-coauthor-path-repair
  - Branch: main
  - Updated: 2026-04-09
### P78: Separate Application Wizard Into Its Own Repository

References: `examples/sp-application-wizard/`, `.github/instructions/`, `scripts/Import-SpCopilotKit.ps1`, `scripts/Export-SpCopilotKit.ps1`

Goal: Move the Application Wizard out of the toolkit repo into a standalone GitHub repository with its own instruction scope, while keeping Kit access via the existing import mechanism and a multi-root workspace for co-development. Eliminates the current person-data proximity risk and instruction-scope bleeding.

Prerequisite: Finish active application work in the current structure first. This phase starts after that.

Task order: T195 -> D134 -> T196 -> D135 -> T197 -> D136.

- T195: Analyze wizard-to-kit dependencies and define the separation contract
  - Inventory all wizard surfaces that reference kit infrastructure (co-authoring protocol, prompts, visualization suite, review viewer, instructions)
  - Define which kit artifacts the wizard receives via import versus which it owns independently
  - Define the wizard repo's own instruction surface and how it references kit conventions without duplicating them
  - Decide on the multi-root workspace layout and confirm instruction scoping behavior
  - Status: NotStarted

- D134: Validate separation contract against current wizard usage
  - Confirm every wizard workflow (intake, research, analysis, co-authoring, review, export) has a clear kit-import or wizard-owned source for each dependency
  - Confirm the multi-root workspace gives correct instruction scoping per root

- T196: Create the standalone wizard repo and migrate content
  - Create `sp-application-wizard` as a new GitHub repo
  - Move all current `examples/sp-application-wizard/` content into the new repo
  - Set up `.github/instructions/` in the wizard repo with wizard-specific rules plus kit-convention references
  - Configure `sp-kit-imports/` in the wizard repo for kit artifact access
  - Set up `.gitignore` in the wizard repo for real person workspaces (same `sample-*/` tracked, rest ignored pattern)
  - Status: NotStarted

- D135: Validate wizard repo operates independently
  - Confirm a fresh clone of the wizard repo can run the full application workflow after kit import
  - Confirm person data is properly ignored in the wizard repo
  - Confirm the multi-root workspace (kit + wizard) provides full co-development visibility

- T197: Replace in-kit wizard with a tracked scaffold and update kit references
  - Replace `examples/sp-application-wizard/` in the kit repo with `examples/sp-application-wizard-scaffold/` containing only README, template structure, and sample persona references
  - Update kit instructions, AGENTS.md, and HLDs to reference the scaffold instead of the live wizard
  - Remove person-specific placement rules from kit instructions (no longer needed when wizard is external)
  - Add the wizard repo to the kit's documented ecosystem map
  - Status: NotStarted

- D136: Validate kit repo is clean of person-adjacent content
  - Confirm no real or synthetic person workspaces remain in the kit repo beyond the scaffold
  - Confirm kit instructions no longer need person-specific placement rules
  - Confirm the scaffold contains enough structure for a new wizard instance to bootstrap from

### P77: Add Rich-Format Document Pipeline (MD, HTML, DOCX, PPTX)

References: `examples/sp-application-wizard/`, `docs/visualization/`, `.coauthoring/`

Goal: Replace the current fragile per-script MD-to-DOCX path with a reusable document pipeline that keeps content authoring in Markdown, adds structured formatting metadata, and converts reliably between MD, HTML, DOCX, and PPTX using the existing visualization suite infrastructure.

Task order: T192 -> D131 -> T193 -> D132 -> T194 -> D133.

- T192: Analyze format requirements and define the metadata companion model
  - Survey current application-wizard document surfaces (CV, profile, review viewer) for formatting needs that Markdown alone cannot express (font sizes, merged cells, bold/italic patterns, layout grids, slide structure)
  - Evaluate companion-metadata approaches: sidecar JSON, YAML frontmatter with inline annotations, or HTML-as-intermediate with CSS templates
  - Define the metadata schema and the canonical content+format separation contract
  - Decide whether HTML or MD+metadata is the primary rich authoring surface
  - Status: NotStarted

- D131: Validate metadata model against at least two real document surfaces
  - Confirm the chosen model can represent a multi-section CV with mixed formatting and a structured profile/review HTML without information loss
  - Confirm round-trip feasibility: content authored in MD can acquire formatting metadata and produce equivalent HTML and DOCX output

- T193: Build MD+metadata to HTML converter using visualization suite patterns
  - Implement a converter that reads MD content plus its formatting metadata and produces styled HTML using CSS templates
  - Reuse existing visualization suite HTML generation and theming patterns where applicable
  - Support at least: heading hierarchy, bold/italic/font-size per run, table cell merges, layout grids, and embedded images
  - Status: NotStarted

- D132: Validate HTML output against a tracked sample document
  - Confirm a tracked sample application package can be converted from MD+metadata to HTML and opens correctly in a browser with expected formatting

- T194: Build HTML to DOCX/PPTX converter and DOCX to HTML importer
  - Implement HTML-to-DOCX conversion that maps CSS-styled HTML to python-docx paragraph/run/table formatting
  - Implement HTML-to-PPTX conversion for slide-oriented documents
  - Implement DOCX-to-HTML import for ingesting externally edited Word documents back into the pipeline
  - Status: NotStarted

- D133: Validate round-trip fidelity on a real CV document
  - Confirm MD+metadata -> HTML -> DOCX produces a Word file equivalent to the current manually scripted output
  - Confirm DOCX -> HTML -> MD+metadata import preserves content and recoverable formatting metadata

### P76: Replace Implicit Review-Viewer Sync With Explicit Gutter Controls

References: `.coauthoring/`, `sp-docs/hld/HLD-kit-co-authoring-review-viewer.md`, `sp-docs/sp-co-authoring-review-viewer-reference.md`, `examples/sp-application-wizard/coauthoring/`

Goal: Stop accidental section jumps from reading-surface interaction, make cross-column sync visibly explicit, and ensure watch mode regenerates when the shared viewer template or runtime changes.

Task order: T190 -> D129 -> T191 -> D130.

- T190: Replace implicit review-viewer sync with explicit gutter controls and runtime-aware watch mode
  - Remove any remaining implicit reading-surface interaction that can feel like hidden navigation during normal clicking or text selection
  - Add clearly visible bidirectional sync controls between the reading column and inspector column
  - Harden the bounded column layout so the lower content areas keep a clean full-range scroll path when the sticky top area is active
  - Extend watch mode so viewer runtime changes under `.coauthoring/` and adapter export scripts trigger regeneration instead of leaving stale HTML open
  - Status: Done
  - Owner: codex/main@20260412T111500Z-review-viewer-explicit-sync
  - Branch: main
  - Updated: 2026-04-12

- D129: Validate explicit sync controls and runtime-aware watch regeneration
  - Confirm simple clicking and copying in the reading column no longer jump the left surface unexpectedly
  - Confirm visible left/right sync controls are present in the shared desktop layout and map to the intended section targets
  - Confirm a tracked sample application export contains the new explicit sync controls and no stale card-wide sync trigger
  - Confirm watch mode logic now observes shared viewer runtime files in addition to markdown source changes
  - Evidence:
    - The shared template now renders a dedicated middle sync rail with `sync-right` and `sync-left` buttons, no longer renders per-card sync buttons, and no longer binds section sync to generic reading-card clicks.
    - Regenerating `examples/sp-application-wizard/people/sample-hannah-probelauf/application-review.html` produced the visible gutter buttons and removed the earlier `data-sync-section` path from the generated HTML.
    - Both viewer exporters now compute watch tokens from source markdown plus the shared viewer template/core and their own export script, so open watch sessions regenerate when shared runtime files change.
  - Status: Done
  - Owner: codex/main@20260412T111500Z-review-viewer-explicit-sync
  - Branch: main
  - Updated: 2026-04-12

- T191: Repair wide-mode grid proportions, viewport alignment, and non-filtering gutter sync in the shared review viewer
  - Fix the wide-mode layout so the desktop grid remains three columns with sensible proportions instead of stretching the sync rail and dropping the inspector below
  - Make gutter sync controls align to the visible content region under the sticky navigation rather than floating to an arbitrary viewport center
  - Change right-sync behavior from section-filter reset to positional sync that preserves meaningful inspector content when possible
  - Re-check bounded content scrolling so the lower reading/inspector area can reach its true top even when the sticky navigation is active
  - Status: InProgress
  - Owner: codex/main@20260412T120500Z-review-viewer-wide-sync-fix
  - Branch: main
  - Updated: 2026-04-12

- D130: Validate wide-mode review viewer alignment and non-filtering sync
  - Confirm `Use full width` keeps the viewer in a stable three-column desktop layout
  - Confirm gutter controls stay aligned to the visible content region and do not consume a disproportionate middle column
  - Confirm syncing right no longer collapses the inspector into a low-information section-filter state when linked topic context exists
  - Confirm the lower scrollable content areas can still reach their true top under the sticky navigation

### P75: Prevent Accidental Review-Viewer Jumps During Text Selection

References: `.coauthoring/`, `sp-docs/hld/HLD-kit-co-authoring-review-viewer.md`, `examples/sp-application-wizard/coauthoring/`

Goal: Stop the shared review viewer from treating normal text selection in the reading column as an implicit section-navigation action while keeping an explicit, legible way to sync the inspector to the intended section.

Task order: T189 -> D128.

- T189: Separate text selection from explicit inspector sync in the shared review viewer
  - Remove or narrow the current left-card click behavior so copying text in the reading column cannot trigger an unintended section jump
  - Add an explicit per-section sync affordance that keeps section-to-inspector navigation discoverable without making the whole reading body act like a button
  - Preserve topic-marker behavior, current active-section styling, and the existing section/topic selectors
  - Status: Done
  - Owner: codex/main@20260412T103500Z-review-viewer-selection-sync
  - Branch: main
  - Updated: 2026-04-12

- D128: Validate review-viewer selection-safe section sync
  - Confirm text can be selected and copied from the left reading column without the viewer jumping the active section unexpectedly
  - Confirm each section still offers an explicit way to sync the right inspector to that section
  - Confirm the shared application viewer export remains coherent on a tracked synthetic sample persona after the interaction change
  - Evidence:
    - The shared template no longer binds implicit section sync to the entire reading card; it renders explicit per-section `Sync inspector` controls and suppresses inspector auto-sync while text is actively selected in the reading column.
    - Regenerating `examples/sp-application-wizard/people/sample-hannah-probelauf/application-review.html` with the shared exporter produced the new explicit sync control path and no longer emitted the old `querySelectorAll("[data-section]")` click binding for reading cards.
  - Status: Done
  - Owner: codex/main@20260412T103500Z-review-viewer-selection-sync
  - Branch: main
  - Updated: 2026-04-12

### P73: Realign Pre-Rewrite Clones After The History Scrub

References: `sp-plan/PLAN.md`, `sp-docs/sp-plan-workflow-contract.md`, `README.md`

Goal: Ensure every clone, mirror, or automation workspace that predates the history rewrite is refreshed against rewritten `origin/main` or replaced by a fresh clone before any further push can reintroduce old objects.

Task order: T187 -> D126.

- T187: Realign every pre-rewrite clone before further pushes
  - Require each clone, mirror, or automation workspace that predates the history rewrite to refresh against rewritten `origin/main` before its next push
  - Accept either a fresh clone or an explicit fetch-and-hard-reset alignment path; stale clones must not push until refreshed
  - Keep this follow-up visible until known maintainers and automation workspaces have completed the refresh

- D126: Validate post-rewrite clone hygiene
  - Confirm known clone owners and automation workspaces were informed that they must refresh against rewritten history before any further push
  - Confirm no stale clone, mirror, or automation workspace reintroduced pre-rewrite objects after the force-push

### P74: Refine Canonical Review Viewer Reading Stability And Density

References: `.coauthoring/`, `sp-docs/hld/HLD-kit-co-authoring-review-viewer.md`, `examples/sp-application-wizard/coauthoring/`

Goal: Keep the shared review viewer calm and readable during watch-mode review by making refresh payload-aware, moving noisy context into low-priority debug space, and restoring width behavior that matches the ontology-inspired reference model.

Task order: T188 -> D127.

- T188: (DONE) Stabilize shared review viewer refresh and reading density
  - Replace blind timed full-page reload behavior with payload-aware refresh handling that preserves scoped reading flow when nothing changed
  - Remove duplicate title/path chrome from the main reading surface and move low-priority state text into a clearly secondary debug surface
  - Restore practical width controls and ensure rendered tables respect the available reading width instead of carrying absolute-width artifacts into review mode
  - Capture the shared interaction contract in the canonical HLD so adapters inherit the same calm-reading behavior
  - Status: Done
  - Owner: codex/main@20260409T101500Z-review-viewer-density-refresh
  - Branch: main
  - Updated: 2026-04-09

- D127: (DONE) Validate shared review viewer calm-reading behavior
  - Confirm watch mode no longer causes visible jumpiness when the rendered payload did not change
  - Confirm duplicated title/path metadata no longer crowds the primary reading surface and any retained diagnostics are visually secondary
  - Confirm the shared viewer exposes practical width controls and keeps tables within the available reading width on desktop and mobile layouts
  - Evidence:
    - The canonical template now polls a lightweight refresh probe and reloads only after the generated payload token changes; static exports no longer create or depend on probe sidecars.
    - The application adapter strips leading H1/workbench chrome from rendered section bodies, and the shared runtime keeps remaining diagnostics in the bottom debug surface rather than the primary reading cards.
    - Regenerated sample, Drebin, and generic document viewer outputs showed the corrected layout structure, width/fullscreen controls, responsive tables, and watch metadata only where watch mode was enabled.
  - Status: Done
  - Owner: codex/main@20260409T101500Z-review-viewer-density-refresh
  - Branch: main
  - Updated: 2026-04-09

### P72: Enforce The Private-Workspace Boundary In Tracked Plan Surfaces

References: `sp-plan/PLAN.md`, `sp-docs/sp-plan-workflow-contract.md`, `examples/sp-application-wizard/README.md`, `examples/sp-application-wizard/people/.gitignore`

Goal: Remove person/job-specific private-workspace coordination from the tracked repo plan and document that real application work belongs in ignored local planning surfaces.

Task order: T186 -> D125.

- T186: (DONE) Move private person/job coordination out of the tracked repo plan
  - Remove private workspace references, placeholder stand-ins, and verification commands that target ignored person folders from `sp-plan/PLAN.md`
  - Keep repo-level verification anchored on tracked synthetic sample personas when a concrete workspace is needed
  - Route real person/job planning and verification to ignored local package planning surfaces such as `application-plan.md` and adjacent workbenches
  - Status: Done
  - Owner: codex/main@20260408T223500Z-plan-private-boundary
  - Branch: main
  - Updated: 2026-04-08

- D125: (DONE) Validate the tracked plan/private-workspace boundary
  - Confirm `sp-plan/PLAN.md` no longer contains ignored private workspace paths, placeholder stand-ins for those paths, or commands that target ignored person folders
  - Confirm the shared workflow contract and wizard README both state that real person/job planning belongs in ignored local planning surfaces rather than the tracked repo plan
  - Evidence:
    - The tracked plan references only repo/toolkit surfaces and tracked synthetic sample surfaces.
    - The workflow contract and wizard README both state that real person/job planning stays in ignored local planning surfaces.
  - Status: Done
  - Owner: codex/main@20260408T223500Z-plan-private-boundary
  - Branch: main
  - Updated: 2026-04-08

### P67: Keep Private Application Drafting Out Of The Tracked Repo Plan

References: `examples/sp-application-wizard/README.md`, `examples/sp-application-wizard/people/.gitignore`, `examples/sp-application-wizard/docs/process.md`, `examples/sp-application-wizard/patterns/application-writing-patterns.md`

Goal: Ensure real person/job-specific application drafting is coordinated in ignored local workspace files rather than in the tracked repo plan.

Task order: T181 -> D120.

- T181: Move private target-document drafting out of `sp-plan/PLAN.md`
  - Keep real person/job drafting tasks in ignored local package planning surfaces rather than in the tracked repo plan
  - Use the existing local dossier, analysis, and package workbenches as the evidence base inside the ignored workspace
  - Keep outward-facing drafting aligned with the starter patterns and the co-authoring reading-surface/workbench split
  - Status: Done
  - Owner: codex/main@20260408T223500Z-plan-private-boundary
  - Branch: main
  - Updated: 2026-04-08

- D120: Validate that tracked plan no longer carries private application drafting detail
  - Confirm the tracked plan no longer contains private person/job paths or commands for private drafting flows
  - Confirm repo-level application viewer verification in the tracked plan uses the synthetic sample persona instead of an ignored real workspace
  - Evidence:
    - The drafting-related plan entry now points to ignored local package planning surfaces conceptually rather than to concrete private paths or commands.
    - Repo-level viewer verification is anchored on the tracked synthetic sample rather than on ignored local workspaces.
  - Status: Done
  - Owner: codex/main@20260408T223500Z-plan-private-boundary
  - Branch: main
  - Updated: 2026-04-08

### P71: Tighten Review Example And Handoff Rule

References: `examples/sp-application-wizard/people/README.md`, `examples/sp-application-wizard/coauthoring/`, `sp-docs/sp-co-authoring-protocol.md`, `sp-docs/sp-co-authoring-protocol.history.md`

Goal: Check in one rendered review example for the tracked synthetic sample and formalize that the active human or AI agent may add its own substantive block before the mandatory handoff.

Task order: T185 -> D124.

- T185: Add the tracked review example and protocol rule
  - Commit one generated review HTML for the tracked `sample-hannah-probelauf` example so new contributors can inspect the result immediately
  - Update the canonical and local co-authoring protocol surfaces so the active agent may append its own role-appropriate contribution before ending the turn with a handoff, regardless of whether the actor is human or AI
  - Fix any newly discovered scaffold artifact that would make the tracked sample misleading as a durable example
  - Status: Done
  - Owner: codex/main@20260408T194500Z-review-example-handoff-intake
  - Branch: main
  - Updated: 2026-04-08

- D124: Validate the tracked review example and handoff rule
  - Confirm the tracked sample persona now includes a committed review HTML example alongside the source surfaces
  - Confirm both co-authoring protocol surfaces explicitly allow self-contribution before the mandatory handoff for human and AI actors
  - Evidence:
    - The tracked synthetic sample ships with a committed rendered review example.
    - The canonical and local co-authoring protocol surfaces both include the self-contribution-before-handoff rule.
  - Status: Done
  - Owner: codex/main@20260408T194500Z-review-example-handoff-intake
  - Branch: main
  - Updated: 2026-04-08

### P70: Promote A Validated Scaffold Run Into A Tracked Sample Persona

References: `examples/sp-application-wizard/people/README.md`, `examples/sp-application-wizard/people/.gitignore`, `examples/sp-application-wizard/docs/process.md`, `examples/sp-application-wizard/coauthoring/`, `examples/sp-application-wizard/scripts/`

Goal: Turn the repaired scaffold smoke test into one committed synthetic `sample-*` persona so the repo contains a durable, privacy-safe end-to-end example for the evidence-matching model.

Task order: T184 -> D123.

- T184: Create and track a synthetic sample persona from the repaired scaffold flow
  - Keep the persona, employer, and role fully fictional and clearly separated from real applicant data
  - Materialize the repaired person, role-target, and application-package scaffolds under one new `sample-*` folder
  - Include enough company/job research to make the sample review flow meaningful across `Person`, `Company`, `Job`, and `Application`
  - Update sample-person inventory surfaces so the new tracked example is discoverable
  - Status: Done
  - Owner: codex/main@20260408T191500Z-tracked-sample-persona
  - Branch: main
  - Updated: 2026-04-08

- D123: Validate the tracked synthetic sample persona and repaired scaffold entrypoints
  - Confirm the repaired package scaffold runs successfully end-to-end for the new synthetic sample persona
  - Confirm the resulting sample exposes person evidence, job target analysis, package evidence matching, and outward-facing document surfaces
  - Confirm the application review viewer renders the new sample coherently enough for follow-on review
  - Evidence:
    - The tracked synthetic sample covers intake, analysis, package strategy, and outward-facing document surfaces coherently enough for end-to-end exploration.
    - The shared review viewer can render that synthetic sample as a meaningful review surface across `Person`, `Company`, `Job`, and `Application`.
  - Status: Done
  - Owner: codex/main@20260408T191500Z-tracked-sample-persona
  - Branch: main
  - Updated: 2026-04-08

### P69: Define An Explicit Evidence Matching And Prioritization Model For The Application Wizard

References: `examples/sp-application-wizard/README.md`, `examples/sp-application-wizard/docs/process.md`, `examples/sp-application-wizard/coauthoring/`, `sp-docs/hld/`

Goal: Make it explicit where person-side content points are collected, where target-side job needs are prioritized, how package-level matching decisions are recorded, and how co-authoring should carry those decisions into outward-facing application documents.

Task order: T183 -> D122.

- T183: Define and scaffold the wizard's evidence matching and prioritization flow
  - Add one active architecture/source-of-truth description for the intake -> analysis -> package -> document matching chain
  - Clarify which artefacts should hold raw candidate points, accepted person evidence, target-side job pressure, package-level proof priorities, and document-level emphasis
  - Keep prioritization explicit enough that high-heat requirements and weak evidence are visible instead of being buried in prose
  - Keep the co-authoring model aligned: reader-facing files hold accepted matching state, while `.workbench.md` files carry open prioritization debates, unresolved proof gaps, and topic-by-topic refinement
  - Update starter scaffolds where needed so the model is available to new person, role, and package workspaces without manual reinvention
  - Status: Done
  - Owner: codex/main@20260408T173500Z-application-evidence-match-model
  - Branch: main
  - Updated: 2026-04-08

- D122: Validate the wizard's explicit evidence matching and prioritization model
  - Confirm the active docs explain where to add content points for person intake, job analysis, package strategy, and output-document matching
  - Confirm the starter scaffolds expose explicit sections or companion artefacts for accepted priorities, evidence selection, and document targeting
  - Confirm the co-authoring guidance distinguishes accepted matching state from open prioritization discussion
  - Evidence:
    - The active docs and HLD describe the intake -> analysis -> package -> document chain explicitly.
    - Starter scaffolds and co-authoring guidance distinguish accepted matching state from open workbench prioritization.
  - Status: Done
  - Owner: codex/main@20260408T173500Z-application-evidence-match-model
  - Branch: main
  - Updated: 2026-04-08

### P68: Restore Ontology-Aligned Shared Review Viewer Behavior

References: `.coauthoring/`, `sp-docs/hld/HLD-kit-co-authoring-review-viewer.md`, `sp-docs/sp-co-authoring-review-viewer-reference.md`, `examples/sp-application-wizard/coauthoring/`, `docs/ideas-and-inputs/coauthoring/`

Goal: Fix the shared review viewer regressions that currently break application-space navigation and drift away from the ontology reference interaction model.

Task order: T182 -> D121.

- T182: Restore scoped navigation, scroll behavior, and status signaling in the shared review viewer
  - Keep the left reading surface and right inspector as separate scrollable columns with practical maximum heights instead of forcing long full-page scrolling
  - Ensure topic/section navigation keeps focus within the intended review surface instead of jumping the whole page to the inspector column
  - Restore correct visual status coding for topic pills and markers across open, discussion, accepted, and unknown topic states
  - Rework the sticky control bar so section selection stays readable, long section labels no longer collide with topic selection, and font controls plus auto-refresh sit with the viewer stats
  - Capture any ontology-derived interaction expectations that were missing from the shared HLD/reference docs so the runtime does not drift again
  - Status: Done
  - Owner: codex/main@20260408T160500Z-review-viewer-followup
  - Branch: main
  - Updated: 2026-04-08

- D121: Validate the restored shared review viewer behavior against tracked synthetic application data
  - Confirm the application viewer can switch sections and topics in the `Person` scope without cross-page jump behavior that strands the reviewer at the bottom of the page
  - Confirm the left and right review columns scroll independently within bounded panel heights on desktop widths
  - Confirm topic markers, topic pills, and workflow block badges show distinct status styling for open, discussion, accepted, and unknown states
  - Confirm the sticky control bar keeps long section labels readable and places `What to read now` below `Section`
  - Evidence:
    - The tracked synthetic application review and the API-guideline draft review both preserve the shared two-column navigation model.
    - Control-bar readability, bounded scrolling, and status signaling remain coherent across the shared viewer adapters.
  - Status: Done
  - Owner: codex/main@20260408T160500Z-review-viewer-followup
  - Branch: main
  - Updated: 2026-04-08

### P61: Add A Next-Step-Aware Application Guide Prompt

References: `.github/prompts/`, `.github/instructions/sp-copilot-kit.instructions.md`, `docs/kit-site/`, `examples/sp-application-wizard/`

Goal: Add one application-workflow guide prompt that can look at one person's repo state, explain which application step is already covered, and direct the user to the best next command from intake through co-authoring review.

Task order: T175 -> D114.

- T175: Add `/sp-application-guide` as a person-centered workflow guide for the application wizard
  - Add one canonical prompt that accepts one person id or person-folder target and inspects the current wizard artefacts for that person
  - Make the guide step-aware across person intake, company research, job research, job-needs analysis, application-goal definition, initial document proposals, and co-authoring review
  - Prefer the existing focused application prompts and repo entrypoints as the routed next actions instead of duplicating their deeper behavior inside the guide
  - Synchronize help, instructions, command-center discoverability, derived prompt metadata, successor routing, and validator coverage
  - Status: Done
  - Owner: codex/main@20260403T231500Z-application-guide-prompt
  - Branch: main
  - Updated: 2026-04-03

- D114: Validate the new application-guide prompt surface and routed workflow discoverability
  - Confirm the new prompt exists, stays person-centered, and recommends one best next full command line from the current workflow state
  - Confirm help, instructions, and command-center surfaces describe the guide coherently beside the existing application-target prompts
  - Confirm derived prompt metadata, successor artefacts, and repo validation stay synchronized after the prompt lands
  - Evidence:
    - Prompt, help, instruction, and command-center surfaces describe the same guide behavior.
    - Derived prompt metadata and successor artefacts stay aligned after the guide lands.
  - Status: Done
  - Owner: codex/main@20260403T231500Z-application-guide-prompt
  - Branch: main
  - Updated: 2026-04-03

## Plan entries (phases + items)

### P64: Add An Application Review Viewer To The Application Wizard

References: `examples/sp-application-wizard/coauthoring/`, `examples/sp-application-wizard/people/`, `examples/sp-application-wizard/scripts/`

Goal: Reuse the existing co-authoring review-viewer logic to generate a local static HTML that makes multi-surface application-wizard review easier across person, company, job, and application artefacts.

Task order: T178 -> D117.

- T178: Add a static application review viewer for the example application wizard
  - Reuse the existing co-authoring review-viewer structure where practical instead of inventing a second unrelated viewer stack
  - Normalize the example workspace layout so person input, research, analysis, and application packages no longer mix old and new folder models
  - Generate one local HTML view under `examples/sp-application-wizard/coauthoring/` that can switch between at least `Person`, `Company`, `Job`, and `Application`
  - Make the viewer work against the current wizard folder structure and package metadata such as `.coauthoring-family.json`
  - Keep the viewer starter-friendly and Windows-friendly with one entrypoint script similar to `Start-CoAuthoringReviewViewer.ps1`

- D117: Validate the application review viewer against real wizard data
  - Confirm the viewer can be generated locally from the example wizard without manual HTML editing
  - Confirm the header selection can switch between person, company, job, and application contexts on real example data
  - Confirm at least one real person workspace and one sample application package render coherently enough for human review
  - Evidence:
    - The application review viewer generates from the example workspace without manual HTML editing.
    - The rendered surface supports coherent switching across `Person`, `Company`, `Job`, and `Application` contexts.

### P65: Add A Review Viewer For The API Guidelines Co-Authoring Draft

References: `docs/ideas-and-inputs/api-guidelines-co-authoring.md`, `docs/ideas-and-inputs/coauthoring/`, `examples/sp-application-wizard/coauthoring/`

Goal: Reuse the new local review-viewer pattern for one standalone co-authoring draft so the API guideline discussion can be reviewed as a rendered reading surface together with any later workbench state.

Task order: T179 -> D118.

- T179: Add a local review viewer for the API guidelines co-authoring draft
  - Reuse the existing markdown/workbench parsing and static single-file HTML pattern where practical instead of inventing a separate review stack
  - Generate one local HTML review surface for `docs/ideas-and-inputs/api-guidelines-co-authoring.md`
  - Make the viewer resilient when no sibling workbench file exists yet and automatically pick it up later when one is added
  - Keep the viewer Windows-friendly with one starter script and one simple `.cmd` wrapper for the concrete draft

- D118: Validate the API guideline draft review viewer locally
  - Confirm the viewer can be generated locally from the markdown draft without manual HTML editing
  - Confirm the rendered page shows the draft body and does not fail when no `.workbench.md` sibling exists yet
  - Confirm the concrete runner for `api-guidelines-co-authoring.md` produces the expected HTML output path
  - Evidence:
    - The draft viewer renders the API-guideline document body without requiring manual HTML edits.
    - The review surface remains resilient when no sibling workbench exists yet.

### P66: Define A Canonical Generic Co-Authoring Review Viewer

References: `sp-docs/sp-co-authoring-protocol.md`, `sp-docs/hld/`, `.coauthoring/`, `examples/sp-application-wizard/coauthoring/`, `docs/ideas-and-inputs/coauthoring/`

Goal: Move the ontology viewer's proven interaction model into the canonical toolkit repo as one generic co-authoring review viewer surface, document the reference model, and migrate local adapters onto one shared payload contract.

Task order: T180 -> D119.

- T180: Define the canonical co-authoring review viewer model and shared implementation
  - Document the ontology review viewer as the reference model for sticky navigation, topic selection, and two-column review
  - Add one HLD in this repo that defines the generic co-authoring review viewer payload contract, UI responsibilities, and adapter model
  - Build one shared viewer core under the canonical co-authoring toolkit surface instead of keeping multiple unrelated local HTML stacks
  - Move the generic document/draft viewer and the application workspace viewer onto the same payload contract and shared rendering core
  - Keep the application viewer's `Person`, `Company`, `Job`, and `Application` scope selectors while adopting the ontology-style topic selector and synchronized two-column surface
  - Status: Done
  - Owner: codex/main@20260408T143500Z-generic-coauthoring-review-viewer-ui-refine
  - Branch: main
  - Updated: 2026-04-08

- D119: Validate the canonical viewer core and migrated adapters
  - Confirm the canonical generic co-authoring viewer can generate one document review surface from a reading surface plus optional sibling workbench
  - Confirm the API guideline draft viewer uses the shared payload/core and shows the agreed-reading-surface option plus topic selector
  - Confirm the application viewer uses the shared payload/core and renders the tracked synthetic sample application content with `Person`, `Company`, `Job`, and `Application` scope selection
  - Confirm the resulting docs and HLD explain the ontology reference model, payload contract, and adapter boundaries coherently
  - Evidence:
    - The canonical viewer core supports both generic document review and application-workspace review from one shared payload model.
    - The shared docs explain the ontology-derived interaction model and adapter boundaries coherently.
  - Status: Done
  - Owner: codex/main@20260408T143500Z-generic-coauthoring-review-viewer-ui-refine
  - Branch: main
  - Updated: 2026-04-08

### P63: Sharpen Co-Authoring Role Instructions And Handoff Discipline

References: `.github/prompts/`, `.github/instructions/sp-copilot-kit.instructions.md`, `examples/sp-application-wizard/coauthoring/sp-co-authoring-protocol.md`

Goal: Make future sessions follow co-authoring roles, role-specific output expectations, and mandatory handoff closure reliably enough that cold-start execution does not drift back into generic analysis or incomplete handoffs.

Task order: T177 -> D116.

- T177: Sharpen co-authoring prompt and instruction surfaces for stricter role fidelity
  - Require the mandatory `IMPORTANT: Before acting, read the protocol file referenced in the document header. Use your own model name as AgentId. Do not rewrite or remove existing blocks.` close on durable co-authoring handoffs where the protocol expects resumable execution
  - Make Coordinator, Contributor, Analyst, Hypothesizer, Advocatus Diaboli, and Synthesizer responsibilities explicit enough that a fresh session can follow them without role drift
  - Clarify that `Advocatus Diaboli` must argue against the current thesis directly rather than only describing how it could be challenged
  - Clarify which role-specific viewpoints must be actively exercised when the role definition already names them
  - Synchronize prompt, instruction, protocol, and validation surfaces together so the rule is not implied in one place and missing in another

- D116: Validate stricter co-authoring role fidelity and handoff closure
  - Confirm the relevant co-authoring prompt and instruction surfaces require the mandatory `IMPORTANT:` close where applicable
  - Confirm role-specific guidance differentiates Coordinator, Contributor, Analyst, Hypothesizer, Advocatus Diaboli, and Synthesizer behavior clearly enough for cold-start sessions
  - Confirm validation covers the sharpened co-authoring guidance so later updates cannot silently regress it
  - Evidence:
    - Prompt, instruction, and protocol surfaces consistently require the resumable `IMPORTANT:` close where applicable.
    - Role guidance is explicit enough to differentiate Coordinator, Contributor, Analyst, Hypothesizer, Advocatus Diaboli, and Synthesizer behavior.

### P62: Keep Private Intake Dossier Work Out Of The Tracked Repo Plan

References: `examples/sp-application-wizard/README.md`, `examples/sp-application-wizard/people/.gitignore`, `examples/sp-application-wizard/docs/process.md`

Goal: Ensure real-person intake extraction and dossier building are coordinated inside ignored local workspaces rather than in the tracked repo plan.

Task order: T176 -> D115.

- T176: Move private intake dossier tracking out of `sp-plan/PLAN.md`
  - Keep unsorted-input scanning, extraction, and dossier building inside the ignored person workspace
  - Use local dossier artefacts and adjacent workbenches there rather than tracked repo-level plan state
  - Status: Done
  - Owner: codex/main@20260408T223500Z-plan-private-boundary
  - Branch: main
  - Updated: 2026-04-08

- D115: Validate that tracked plan no longer carries private intake dossier detail
  - Confirm no ignored input-folder paths or commands remain in the tracked plan
  - Confirm the wizard docs still point real work to ignored local planning surfaces
  - Evidence:
    - The tracked plan no longer carries private intake commands or ignored input-folder paths.
    - Wizard docs point real intake-dossier work back to ignored local planning surfaces.
  - Status: Done
  - Owner: codex/main@20260408T223500Z-plan-private-boundary
  - Branch: main
  - Updated: 2026-04-08

### P60: Add Application-Named Prompt Surfaces For Application-Target Research

References: `.github/prompts/`, `.github/instructions/sp-copilot-kit.instructions.md`, `docs/kit-site/`, `scripts/`

Goal: Add one small prompt family for application-target research and analysis using `application` naming, not `app`, so the application wizard can grow around clearer prompt entrypoints.

Task order: T174 -> D113.

- T174: (DONE) Add `application`-named target-research prompt surfaces and synchronize discoverability
  - Add one canonical prompt for researching a company and/or job target in support of a concrete application workflow
  - Add one companion prompt for deriving a capability-map or needs-heat-map style readout from that research when the user wants deeper analysis
  - Use `application` naming consistently instead of introducing new `app` prompt IDs
  - Synchronize help, instructions, any lightweight discoverability surface, and validator coverage
  - Status: Done
  - Owner: codex/main@20260403T221000Z-application-research-prompts
  - Branch: main
  - Updated: 2026-04-03

- D113: Validate the new application-target prompt family and discoverability sync
  - Confirm the new prompt files exist and consistently use `application` naming
  - Confirm help/instructions and any linked discoverability surface mention the new prompts coherently
  - Confirm prompt validation still passes after the new family lands
  - Evidence:
    - Prompt, help, instruction, and discoverability surfaces use consistent `application` naming.
    - Derived prompt metadata, successor artefacts, and repo validation remain aligned after the prompt family lands.
  - Status: Done
  - Owner: codex/main@20260403T221000Z-application-research-prompts
  - Branch: main
  - Updated: 2026-04-03

### P59: Compress And Stabilize The Top Plan Workspace

References: `docs/kit-site/`, `scripts/`

Goal: Make the upper plan workspace feel compact and stable by equalizing pane heights, offering a max-height mode, compressing the chart rows and phase headers, and avoiding accidental cropping in the chart viewport.

Task order: T173 -> D112.

- T173: (DONE) Make the top chart/list workspace denser, equal-height, and easier to navigate
  - Keep the upper chart and list panes at the same height and add one clickable max-screen-height mode
  - Compress the gantt by reducing phase-header height, task-row height, spacing, and non-essential status text
  - Remove extra collapsed-phase helper text and collapse the separate phase-flow row into the phase header treatment
  - Reduce or eliminate chart overflow where possible and add local scroll buttons as a fallback for horizontal navigation
  - Status: Done
  - Owner: codex/main@20260403T210500Z-plan-canvas-dense-equal-height
  - Branch: main
  - Updated: 2026-04-03

- D112: Validate equal-height panes, dense chart rendering, and local scroll controls
  - Confirm the upper chart and list panes match height and can switch into a max-screen-height mode
  - Confirm the chart is visibly denser, no longer shows extra collapsed-phase helper text, and relies on color more than redundant status pills
  - Confirm local chart scroll controls exist and repo validation still passes
  - Evidence:
    - The upper chart/list pair supports equal-height and max-screen-height viewing without regressing the surrounding plan surface.
    - Dense chart rendering, local scroll controls, and repo validation stay aligned after the layout change.
  - Status: Done
  - Owner: codex/main@20260403T210500Z-plan-canvas-dense-equal-height
  - Branch: main
  - Updated: 2026-04-03

### P58: Replace Top Plan Detail Inspector With A Scrollable Task List And Scoped Sync

References: `docs/kit-site/`, `scripts/`

Goal: Make the upper plan area behave as a stable chart/list pair by keeping a scrollable task list on the right and by preventing clicks in one area from auto-scrolling unrelated lower surfaces on the same page.

Task order: T172 -> D111.

- T172: (DONE) Replace the top-right detail inspector with a scrollable task list and scope sync per surface pair
  - Replace the standalone canvas right-side detail inspector with a scrollable task-detail list that can keep many tasks visible at once
  - Ensure clicks in the upper chart scroll only the upper right-hand list, not the lower studio list or the whole page
  - Ensure clicks in the upper right-hand list scroll only the paired upper chart, while manual list scrolling leaves the chart untouched
  - Keep the lower studio available, but scope its auto-scroll behavior to its own chart/list pair instead of cross-page jumping
  - Status: Done
  - Owner: codex/main@20260403T203500Z-plan-canvas-right-list-sync
  - Branch: main
  - Updated: 2026-04-03

- D111: Validate the upper chart/list pair and scoped auto-scroll behavior
  - Confirm the upper right-hand panel is now a scrollable task list instead of a single-task detail inspector
  - Confirm chart clicks in the upper area scroll only the paired right-hand list
  - Confirm list clicks scroll only the paired chart and that repo validation still passes
  - Evidence:
    - The upper workspace behaves as a scoped chart/list pair rather than as a chart plus isolated detail inspector.
    - Selection sync and repo validation remain coherent after the scroll-behavior change.
  - Status: Done
  - Owner: codex/main@20260403T203500Z-plan-canvas-right-list-sync
  - Branch: main
  - Updated: 2026-04-03

### P57: Rework Plan Canvas Into A Two-Pane Surface And Simplify Gantt Sequence Reading

References: `docs/kit-site/`, `scripts/`

Goal: Turn the upper plan canvas into a useful primary reading surface with synced details beside the chart, and make the gantt read as phase-grouped sequence instead of exposing a confusing pseudo-axis such as `Order 1 2 3`.

Task order: T171 -> D110.

- T171: (DONE) Rework the top plan canvas and gantt sequence model
  - Add a right-side synced detail surface to the upper plan canvas so the standalone area is useful without dropping into the fuller studio below
  - Remove the `Order` slot header from the gantt and express sequence through phase-grouped, lightly staggered task placement instead
  - Keep phases primarily as grouping containers rather than pretending they are timeline headers with a separate slot axis
  - Reduce the visual pressure in the studio and upper canvas copy so the page explains the new model clearly
  - Status: Done
  - Owner: codex/main@20260403T201500Z-plan-canvas-two-pane-gantt-rework
  - Branch: main
  - Updated: 2026-04-03

- D110: Validate the two-pane canvas and the simplified gantt sequence reading
  - Confirm the upper plan area now shows a synced detail surface beside the chart
  - Confirm the gantt no longer shows `Order` slot labels and still communicates task sequence coherently
  - Confirm plan visualisation parsing and repo validation still pass after the layout and chart changes
  - Evidence:
    - The upper plan surface now reads as a two-pane chart-plus-details experience.
    - Simplified gantt sequence reading and repo validation remain coherent after the chart-model change.
  - Status: Done
  - Owner: codex/main@20260403T201500Z-plan-canvas-two-pane-gantt-rework
  - Branch: main
  - Updated: 2026-04-03

### P56: Tighten Gantt Readability And Remove Empty Placeholder Copy

References: `docs/kit-site/`, `scripts/`

Goal: Make the plan visualisation easier to scan by shrinking gantt-bar text to compact labels and by suppressing empty placeholder copy where the parsed plan has no real content to show.

Task order: T170 -> D109.

- T170: (DONE) Compact gantt labels and suppress empty placeholder copy in the plan visualisation
  - Replace the current full-title gantt bar copy with a compact label that stays readable inside the chart lane itself
  - Keep the full task title discoverable through tooltip or linked detail surfaces instead of forcing long text into the chart bars
  - Remove empty-value placeholder copy such as missing goal text or empty task-detail filler where that copy adds noise rather than information
  - Keep status and selection affordances intact in the gantt, stack, and task-list views
  - Status: Done
  - Owner: codex/main@20260403T195500Z-plan-gantt-compact-labels
  - Branch: main
  - Updated: 2026-04-03

- D109: Validate compact gantt labels and placeholder suppression
  - Confirm gantt bars stay readable without full multi-line task titles inside them
  - Confirm phases and task details no longer show empty placeholder copy when the underlying plan content is absent
  - Confirm the plan visualisation script still parses and the repo validator still passes
  - Evidence:
    - Compact gantt labels and placeholder suppression make the plan visualisation easier to scan without losing key state.
    - Parsing and repo validation remain aligned after the readability cleanup.
  - Status: Done
  - Owner: codex/main@20260403T195500Z-plan-gantt-compact-labels
  - Branch: main
  - Updated: 2026-04-03

### P55: Expand Plan Visualization Into A Full-Width Canvas And Clearer Readout

References: `docs/kit-site/`, `scripts/`

Goal: Make plan inspection usable outside the narrower studio dock, let visualization pages opt into full screen width, and make raw-source buttons name the fact that they show raw markdown or source artefacts.

Task order: T169 -> D108.

- T169: (DONE) Add a standalone plan canvas, a wide-shell option, and clearer raw-source naming
  - Add a plan-first full-width canvas section that can show the current plan visualization without the full studio sidebar and dock chrome
  - Rework the default plan Gantt styling so it reads as a Gantt/timeline lane view rather than a card grid with slots
  - Add a reusable visualisation-page full-width toggle so dedicated atlas pages can expand beyond the default shell width when needed
  - Rename raw-source buttons so links that open markdown or other raw source artefacts say `Show RAW ...` instead of implying a richer rendered surface
  - Keep the linked task list and studio functionality intact for the more detailed owner-facing inspection mode
  - Status: Done
  - Owner: codex/main@20260403T182800Z-plan-canvas-wide-mode
  - Branch: main
  - Updated: 2026-04-03

- D108: (DONE) Validate the standalone plan canvas, wide-shell mode, and raw-source naming
  - Confirm the plan page now exposes a standalone visualization section in addition to the docked studio
  - Confirm the wide-shell control can expand the page shell and that the plan canvas uses the wider space coherently
  - Confirm the Gantt default reads as an actual gantt/timeline lane view and that raw-source buttons are named consistently
  - Evidence:
    - The atlas exposes a standalone plan canvas and a reusable wide-shell pattern without creating a second plan truth surface.
    - Raw-source naming and shared atlas controls stay coherent across the affected visualization pages.
  - Status: Done
  - Owner: codex/main@20260403T182800Z-plan-canvas-wide-mode
  - Branch: main
  - Updated: 2026-04-03

### P54: Add A Local Standalone Kit-Atlas Launcher

References: `README.md`, `docs/usage.md`, `codex/helpers/README.md`, `scripts/`, `Run-*.cmd`

Goal: Let maintainers open the local `docs/kit-site/` atlas directly from the repo root without depending on the external `smilingpirate-site`, while keeping the launcher aligned with the existing Windows wrapper pattern.

Task order: T168 -> D107.

- T168: (DONE) Add a repo-root wrapper and helper script to open the standalone local kit-atlas
  - Add a root `Run-Open-KitAtlas.cmd` wrapper that follows the existing `Run-*.cmd` pattern
  - Add a PowerShell helper that opens the local atlas entry page in a browser and starts or reuses a lightweight repo-root static server automatically
  - Serve the repo root rather than only `docs/` so atlas pages can still resolve repo-relative artefacts such as `sp-plan/PLAN.md`
  - Keep the helper documentation and validator coverage aligned with the new launcher
  - Status: Done
  - Owner: codex/main@20260403T173500Z-open-kit-atlas-wrapper
  - Branch: main
  - Updated: 2026-04-03

- D107: (DONE) Validate the standalone local kit-atlas launcher
  - Confirm the root wrapper exists and follows the standard `pwsh` fallback runner pattern
  - Confirm the helper can resolve a local atlas URL and contains the lightweight local-server path when needed
  - Confirm README, usage docs, and the Codex helper catalog mention the new launcher coherently
  - Evidence:
    - The repo ships a root launcher plus helper flow that can open the local atlas without depending on the external site repo.
    - README, usage docs, helper catalog, and validator coverage all describe the launcher coherently.
  - Status: Done
  - Owner: codex/main@20260403T173500Z-open-kit-atlas-wrapper
  - Branch: main
  - Updated: 2026-04-03

### P53: Add A Plan Visualization Studio For PLAN.md

References: `sp-plan/PLAN.md`, `docs/kit-site/`

Goal: Give project owners and maintainers a usable plan-map UI for `sp-plan/PLAN.md` that starts with a Gantt-style phase/task view, keeps a detailed task list in sync, and supports multiple docked reading layouts without creating a second plan truth surface.

Task order: T167 -> D106.

- T167: (DONE) Add the first plan visualization studio and atlas entrypoint
  - Add a static plan-visualization page under `docs/kit-site/` that reads `sp-plan/PLAN.md` as the semantic source of truth
  - Parse phases, tasks, status, owner, branch, updated date, and descriptive bullet details from the markdown plan format without requiring a plan-schema rewrite first
  - Ship a Gantt-style default view with status colors for planned, done, in-progress, and blocked work plus a linked list/detail surface where selection stays synchronized both ways
  - Support owner-facing dock variants for side-by-side and stacked composition, and let the chart and list panels collapse independently
  - Keep the page aligned with the existing atlas studio style and link it from the main kit atlas visualizations section
  - Status: Done
  - Owner: codex/main@20260403T165500Z-plan-visualization-studio
  - Branch: main
  - Updated: 2026-04-03

- D106: (DONE) Validate the plan visualization studio and linked navigation behavior
  - Confirm the page reads `sp-plan/PLAN.md` coherently without inventing fake calendar precision when the plan has ordered tasks only
  - Confirm chart selection scrolls and highlights the corresponding task in the list and that list selection focuses the corresponding chart item
  - Confirm side-by-side and stacked layouts work and that both chart and list surfaces can collapse independently
  - Confirm the atlas links expose the new studio coherently beside the existing visualization families
  - Evidence:
    - The atlas exposes one coherent plan studio that reads `sp-plan/PLAN.md` as the semantic source of truth.
    - Linked chart/list navigation, layout variants, and validator coverage remain aligned after the studio lands.
  - Status: Done
  - Owner: codex/main@20260403T165500Z-plan-visualization-studio
  - Branch: main
  - Updated: 2026-04-03

### P52: Add Privacy-Safe Synthetic Personas To The Application Wizard Example

References: `examples/sp-application-wizard/people/`, `examples/sp-application-wizard/README.md`, `examples/sp-application-wizard/scripts/`

Goal: Ship a clearly synthetic test dataset for the example so maintainers can explore the workflow without using personal or sensitive data.

Task order: T166 -> D105.

- T166: Add synthetic persona folders and fake test documents to the example
  - Create multiple realistic but explicitly fake persona workspaces under `examples/sp-application-wizard/people/`
  - Include enough fake intake, role-target, and package documents to exercise the starter structure end-to-end
  - Make the privacy boundary explicit so nobody mistakes the sample personas for real applicant material
  - Status: InProgress
  - Owner: codex/main@20260403T222500Z-application-wizard-synthetic-personas
  - Branch: main
  - Updated: 2026-04-03

- D105: Validate the synthetic example dataset and privacy disclaimer
  - Confirm the new personas are clearly synthetic and usable as workflow test data
  - Confirm the sample folders exercise person intake, role targeting, and application packages coherently
  - Confirm the privacy/explainer README is visible and unambiguous

### P51: Add Job-As-Problem Analysis And Target-Cross Framing To The Application Wizard

References: `examples/sp-application-wizard/README.md`, `examples/sp-application-wizard/docs/`, `examples/sp-application-wizard/patterns/`, `examples/sp-application-wizard/gpt/`, `examples/sp-application-wizard/scripts/`

Goal: Add a reusable analysis pattern that interprets the job posting as a problem to be solved, ties candidate evidence to root causes and proof, and exposes a target-cross that can be derived from the posting.

Task order: T165 -> D104.

- T165: Add job-as-problem analysis and target-cross framing to the starter
  - Extend the starter pattern library with a lightweight PICARD-like job analysis that treats the posting as the problem space and the candidate as the proposed solution
  - Add starter surfaces for deriving likely root causes, response evidence, tests, and existing documentation from a role target or package
  - Add a target-cross structure derived from the posting so applications can stay aligned on the most important dimensions
  - Synchronize the example README, process docs, scaffolding templates, and GPT Builder instructions
  - Status: InProgress
  - Owner: codex/main@20260403T234800Z-application-wizard-picard-target-cross
  - Branch: main
  - Updated: 2026-04-03

- D104: Validate application-wizard analysis and target-cross support
  - Confirm the starter docs explain the new job-as-problem and target-cross concepts coherently
  - Confirm new role-target or package scaffolds expose usable sections for the analysis and the target cross
  - Confirm builder artefacts and smoke validation still work after the change

### P50: Extend Co-Author Start With Folder Targets And Goal-Document Input

References: `.github/prompts/`, `.github/instructions/sp-copilot-kit.instructions.md`, `docs/kit-site/`, `scripts/`

Goal: Let the co-authoring start prompt work from either a document path or a folder path, and let callers pass one optional goals document that shapes the setup.

Task order: T164 -> D103.

- T164: (DONE) Add document-or-folder target support and an optional goals-document parameter to `/sp-co-author-start`
  - Update the canonical start prompt so it accepts one target path that may be a document or folder
  - Add one optional goals-document parameter with consistent naming and explain how it influences setup
  - Synchronize the alias prompt, bridge discoverability, derived prompt metadata, and targeted validator expectations
  - Status: Done
  - Owner: codex/main@20260403T134500Z-coauthor-start-goals
  - Branch: main
  - Updated: 2026-04-03

- D103: (DONE) Validate co-author start folder-target and goals-document support
  - Confirm the prompt now explains how folder targets resolve to one collaboration surface
  - Confirm the optional goals-document parameter is visible in canonical and alias entrypoints plus derived metadata
  - Confirm targeted validation still passes after regenerating prompt metadata and successor artefacts

### P49: Add A GH Quick Repo Prompt Surface Backed By Imported Repo-Creation Knowledge

References: `.github/prompts/`, `.github/instructions/sp-copilot-kit.instructions.md`, `sp-docs/sp-kit-gh-repo-creation/`, `scripts/`

Goal: Ship one prompt that reuses the imported quick-repo GPT instructions and knowledge bundle so repo-bootstrap requests can be routed through a stable prompt surface inside this kit.

Task order: T163 -> D102.

- T163: (DONE) Add the `sp-gh-quick-repo` prompt and synchronize minimal discoverability surfaces
- Add one canonical `.github/prompts/sp-gh-quick-repo.prompt.md` that explicitly uses `sp-docs/sp-kit-gh-repo-creation/INSTRUCTIONS.md` and `sp-docs/sp-kit-gh-repo-creation/KNOWLEDGE.md`
  - Keep the prompt behavior aligned with the imported starter GPT rules, especially clarify-first behavior, English output, and go/ok gating before full repo-generation scripts
  - Synchronize the prompt into the minimum discoverability surfaces needed for this repo, including help/instructions, derived prompt metadata, and successor guidance
  - Status: Done
  - Owner: codex/main@20260403T130500Z-gh-quick-repo-prompt
  - Branch: main
  - Updated: 2026-04-03

- D102: (DONE) Validate the GH quick repo prompt surface and derived metadata
  - Confirm the new prompt references the imported repo-creation instruction and knowledge sources directly
  - Confirm help/instructions or other lightweight discoverability surfaces mention the new prompt coherently
  - Confirm derived prompt metadata and prompt-successor artefacts regenerate cleanly after the prompt lands

### P48: Publish Application Wizard Discoverability In The Secret SmilingPirate Surfaces

References: `examples/sp-application-wizard/`, private SmilingPirate backlog and static-site surfaces

Goal: Make the renamed application starter visible in the private SmilingPirate backlog and give it a lightweight mini-site entry surface that fits the existing static site style.

Task order: T162 -> D101.

- T162: (DONE) Add `sp-application-wizard` to the secret SmilingPirate backlog and create a mini site
  - Rename remaining starter references from the temporary job-application-coauthoring name to `sp-application-wizard`
  - Add one project entry to the private `smilingpirate-site` backlog so the project exists in the secret idea/project landscape
  - Create a lightweight static mini-site page in `smilingpirate-site` that explains the project, workflow, and document family in the site's existing visual language
  - Status: Done
  - Owner: codex/main@20260403T121500Z-application-wizard-site
  - Branch: main
  - Updated: 2026-04-03

- D101: (DONE) Validate Application Wizard backlog discoverability and mini-site coherence
  - Confirm the starter itself uses the `sp-application-wizard` name consistently across repo-facing and builder-facing surfaces
  - Confirm the secret backlog links or at least points cleanly to the new project
  - Confirm the mini site reads coherently as a lightweight SmilingPirate project page and matches the existing static-site styling direction

### P47: Add Reusable Application Patterns And Package Planning To The Starter

References: `examples/sp-application-wizard/`, `sp-docs/sp-co-authoring-protocol.md`, starter reference material

Goal: Make the application starter more reusable over time by shipping an initial pattern library and by adding one package-local planning surface that keeps a specific application on track.

Task order: T161 -> D100.

- T161: (DONE) Add starter patterns and package-local application planning
  - Add an explicit reusable pattern surface for stronger application writing, starting with `show skill stacks instead of random skill lists` and `show challenges plus how they were overcome`
  - Thread those starter patterns into the person/profile and package templates so future tailored documents naturally pull from them
  - Extend the application-package scaffold with a package-local `application-plan` surface that tracks research, tailoring, drafting, submission, and follow-up activities for one concrete application
  - Update README, process/docs, and GPT Builder guidance so the new pattern and planning surfaces are discoverable
  - Status: Done
  - Owner: codex/main@20260403T081000Z-job-app-patterns-plan
  - Branch: main
  - Updated: 2026-04-03

- D100: (DONE) Validate that starter patterns and application planning are coherent and usable
  - Confirm the starter now exposes the reusable pattern surface in repo docs, GPT Builder sources, and scaffolding templates rather than only in one isolated file
  - Confirm new application packages include a usable plan surface and that the family/readme/docs wiring keeps that plan visible as package-local operational state
  - Confirm the builder package and lightweight smoke tests still work after the new pattern and planning additions

### P46: Create Export-Ready Job-Application Co-Authoring Starter Example

References: `examples/`, `sp-docs/sp-co-authoring-protocol.md`, `sp-docs/hld/HLD-kit-co-authoring-package-and-document-family-model.md`, `sp-docs/hld/HLD-kit-target-placement-model.md`, starter export/reference material

Goal: Ship a ready-to-copy example starter inside this toolkit repo that shows how to manage multiple people, role targets, and tailored application document families with GPT-builder packaging and co-authoring-ready workbench structure.

Task order: T160 -> D99.

- T160: (DONE) Create an export-ready example starter for job-application co-authoring
  - Add `examples/sp-application-wizard/` with root docs, GPT builder sources, PowerShell helper scripts, Windows `Run-*.cmd` wrappers, and starter templates for people, role targets, and tailored application packages
  - Reuse `sp-quick-github-starter` ideas where they fit this narrower domain, especially lightweight builder packaging, doc regeneration, and Windows-friendly runner entrypoints, without coupling the example to GitHub-repo bootstrap automation
  - Keep the application document family aligned with the canonical co-authoring protocol by using paired reading-surface and workbench files for short profile, short CV, full CV, first-contact email, and cover-letter outputs

- D99: (DONE) Validate that the example starter is coherent, export-ready, and co-authoring aligned
  - Confirm the example README, docs, GPT builder sources, scripts, and templates describe one coherent workflow from raw person intake through role targeting and tailored application package generation
  - Confirm the example starter reflects the co-authoring reading-surface/workbench split and includes the expected tailored document family without leaking protocol tags into accepted reading-surface templates
  - Confirm the example can regenerate GPT Builder artefacts locally and is structured so it can be copied into its own standalone repo with minimal cleanup

### P45: Ship Co-Authoring Prompt Surface And Discoverability

References: `sp-docs/sp-co-authoring-protocol.md`, `sp-docs/sp-co-authoring-protocol.history.md`, `sp-docs/hld/`, `.github/prompts/`, `.github/instructions/sp-copilot-kit.instructions.md`, `docs/kit-site/`, `docs/visual-guides/`, `scripts/`

Goal: Turn the canonical co-authoring protocol into a shipped prompt family with a dedicated visual guide, top-level kit discoverability, synchronized integration surfaces, and explicit derived validation.

Task order: T151 -> T152 -> T153 -> T154 -> D96 -> T155 -> D97 -> T156 -> T157 -> T158 -> T159 -> D98.

- T151: (DONE) Create the co-author prompt family and readable start alias
  - Add the canonical `.github/prompts/sp-co-author-*.prompt.md` surface needed to start co-authoring, add or open topics, contribute, synthesize, and manage topic lifecycle moves
  - Keep the family centered on one consistent `sp-co-author-*` namespace and ship `sp-start-co-authoring` as a readable alias instead of a second competing canonical branch
  - Ground prompt wording in `sp-docs/sp-co-authoring-protocol.md` so role boundaries, handoff rules, and document-shape semantics stay canonical

- T152: (DONE) Build the co-authoring mini-site and link it from the kit atlas
  - Add a dedicated co-authoring guide page under `docs/visual-guides/` that explains the shared-document model, roles, topic lifecycle, and round/handoff flow for newcomers
  - Link the guide from the main kit site so co-authoring is discoverable without hunting through markdown-only protocol artefacts
  - Keep the guide aligned with the canonical protocol and the existing kit-atlas visual language rather than inventing a disconnected secondary surface

- T153: (DONE) Wire help, instructions, command-center, and export integration
  - Update `sp-help`, instruction surfaces, `docs/kit-site/command-center.js`, and related discoverability surfaces so the co-authoring family appears as shipped functionality
  - Route the new guide and prompt family through export and publish scripts instead of leaving them repo-local only
  - Keep aliases, command-center consumers, and published-site rewrites aligned with the canonical prompt family names

- T154: (DONE) Regenerate derived prompt assets and run targeted validation
  - Regenerate prompt metadata and prompt-successor artefacts after the co-authoring prompt family lands
  - Run targeted validation for prompt, help, instructions, site, and export synchronization and add or adjust tests where the new family needs explicit coverage
  - Confirm alias inheritance and successor-map behavior stay consistent with the prompt refactoring and prompt-successor HLDs

- D96: (DONE) Validate co-authoring prompt-surface and guide discoverability
  - Confirm the canonical prompt family, the readable alias, help and instruction surfaces, the kit-site entry points, and the dedicated visual guide all describe the same shipped co-authoring workflow
  - Confirm generated prompt metadata and successor artefacts are synchronized with the canonical prompt files and that the publish/export path includes the new guide surface
  - Confirm targeted tests cover the co-authoring surface without leaving stale proposal-only framing behind

- T155: (DONE) Fix local guide routing and add a longer co-authoring sequence view
  - Correct the local kit-atlas guide link so `Open co-authoring guide` resolves from `docs/kit-site/index.html` instead of only after published-site rewrite
  - Add a longer co-authoring sequence visualization with a canonical Mermaid source and make explicit that human thought injection becomes authoritative only when written as a visible contribution block
  - Keep the visualization additive to the canonical protocol and publish/test surfaces instead of introducing a second co-authoring truth model

- D97: (DONE) Validate local co-authoring guide routing and sequence-diagram publication
  - Confirm the local atlas link opens the co-authoring guide without a 404 and the published atlas still rewrites the guide path correctly
  - Confirm the co-authoring guide ships a canonical Mermaid sequence source, renders the longer sequence panel, and explains visible human thought injection coherently
  - Confirm publish and validator coverage include the new Mermaid source and guide surface wiring

- T156: (DONE) Define the next co-authoring capability model in protocol and guide surfaces
  - Extend the canonical protocol and guide so a fresh or compressed AI session can be re-onboarded explicitly without confusing that with document initialization
  - Define how scoped co-authoring analysis and hypothesis work relate to the existing Contributor and Synthesizer roles, including where trade-offs and risks belong by default
  - Add the explicit `Advocatus Diaboli` role as a disciplined challenge/check surface rather than as an undifferentiated extra contributor

- T157: (DONE) Add the next co-authoring prompt family
  - Add canonical prompts for session onboarding, scoped analysis, hypothesis drafting, and explicit challenge checking under the existing `sp-co-author-*` namespace
  - Keep verbs concise and separable from the already-shipped `start`, `open-topic`, `contribute`, `synthesize`, and `set-status` prompts
  - Avoid prompt sprawl by folding trade-offs and risks into the analysis path instead of creating a separate command for every sub-question

- T158: (DONE) Wire help, instructions, command-center, guide discoverability, and successor routes for the extended family
  - Surface the new prompts and the new role model in the shipped discoverability layers instead of leaving them buried in protocol markdown only
  - Keep command-center grouping, help wording, and successor-map guidance aligned with the new co-authoring verbs and their relation to the existing family
  - Preserve one coherent family narrative instead of introducing overlapping alternate branches

- T159: (DONE) Regenerate derived prompt assets and run targeted extension validation
  - Regenerate prompt metadata and successor-map artefacts after the extended co-authoring family lands
  - Run targeted validation for protocol, prompts, guide, site, and publish/test synchronization
  - Confirm the new onboarding, analysis, hypothesis, and challenge paths stay coherent with the canonical protocol and the existing co-authoring lifecycle

- D98: (DONE) Validate co-authoring extension coherence and discoverability
  - Confirm the canonical protocol, prompt family, help/instructions, guide page, and command-center all describe the same onboarding, analysis, hypothesis, and challenge model
  - Confirm the onboarding step stays clearly distinct from document initialization and that trade-offs and risks are represented in the analysis surface rather than as orphan commands
  - Confirm derived prompt assets, publish flow, and targeted tests cover the new extension surface

### P44: Standalone Toolkit Contract And Verification

References: README.md, sp-docs/hld/HLD-kit-overall.md, sp-docs/hld/HLD-kit-external-toolkit-coexistence.md, docs/kit-site/index.html, docs/visualization-src/sp-ecosystem-capability-map.md

Goal: Keep `sp-gh-copilot-kit` independently useful as a reusable workflow kit while treating ecosystem maps and coexistence guidance as additive companion context rather than prerequisites.

Task order: T150 -> D95.

- T150: Define a standalone-consumer contract for `sp-gh-copilot-kit`
  - Document the minimum artifact set and entry path needed to use or evaluate the kit without opening the current related repos
  - Clarify which ecosystem and coexistence surfaces are optional companion context instead of prerequisites for understanding the core workflow kit
  - Identify one minimal proof path that later validation can execute without relying on `sp-theme-system`, `capability-modeling-toolkit`, or the product repos
  - Status: InProgress`r`n  - Owner: codex/main@20260403T121500Z-application-wizard-site`r`n  - Branch: main`r`n  - Updated: 2026-04-03

- D95: Validate standalone-contract alignment across README, HLD, and atlas surfaces
  - Confirm README, `HLD-kit-overall.md`, `HLD-kit-external-toolkit-coexistence.md`, and the atlas wording all describe standalone usefulness consistently
  - Confirm no ecosystem-facing surface implies that product repos, the theme system, or the CBP repo are required to justify the core workflow kit
  - Status: InProgress`r`n  - Owner: codex/main@20260403T121500Z-application-wizard-site`r`n  - Branch: main`r`n  - Updated: 2026-04-03

### P43: Surface Prompt Recording And Plan Closeout Semantics

References: sp-docs/sp-plan-workflow-contract.md, sp-docs/hld/HLD-kit-prompt-recording-model.md, README-SP-COPILOT-KIT.md, docs/kit-site/index.html, docs/kit-site/site.js, docs/kit-site/command-center.js, docs/kit-site/command-center-prompt-metadata.js

Goal: Make prompt-recording activation and plan-closeout semantics easier to discover without creating a second workflow model outside the authoritative contract and HLD surfaces.

Task order: T149 -> D94.

- T149: Align prompt-recording and done-closeout guidance across plan contract and kit-site surfaces
  - Clarify in the shared workflow contract how active long-form claims should be closed out once the work is genuinely done
  - Surface `/sp-start-record` and `/sp-stop-record` in the top-level kit-site command summaries with their modes and durable artefacts
  - Surface plan closeout as an explicit kit-site concept so finished work is easier to distinguish from active claims
  - Keep the prompt-recording behavior routed back to P22 and `HLD-kit-prompt-recording-model.md` instead of duplicating a new recording model
  - Status: InProgress
  - Owner: GitHub-Copilot/main@20260320T235500Z-recording-closeout-surface-alignment
  - Branch: main
  - Updated: 2026-03-20

- D94: Validate prompt-recording and closeout guidance alignment
  - Confirm the workflow contract, plan wording, and kit-site summaries all describe prompt recording as an explicit repo-local mode
  - Confirm the kit-site now surfaces start/stop recording and plan closeout without contradicting the authoritative prompt-recording HLD
  - Confirm recently finished plan items use a done marker instead of stale active-claim metadata

### P42: Add Structured Release History And Semantic Target-Gap Guidance

References: README-SP-COPILOT-KIT.md, docs/usage.md, 00-Development-Rules.md, CHANGELOG.md, scripts/Release.ps1, scripts/Update-Changelog.ps1, scripts/Export-SpCopilotKit.ps1, scripts/Install-SpCopilotKit.ps1, scripts/Update-SpCopilotKit.ps1, sp-docs/hld/HLD-kit-self-hosting-model.md

Goal: Define and document a release-centered model that separates installed version, current version, technical drift, and semantic feature gap, so target repos can understand what they have and what is missing versus the current kit.

Task order: T148 -> D93.

- T148: (DONE) Document structured release-history and semantic-gap model across plan, HLD, README, and usage guidance
  - Update the maintainer README so installed version, current version, technical drift, and semantic release gap are explained as different questions with different data sources
  - Extend the self-hosting HLD so release history includes immutable release artifacts plus structured release metadata that can later support read-only gap analysis
  - Update usage guidance with a target-repo inspection flow based on `.sp-kit/installed.json`, `VERSION`, and release history
  - Add rules that `Unreleased` evolves continuously but semantic release state is frozen only at release time and that drift reporting is not a substitute for release notes
  - Keep the model compatible with mixed-repo-safe updates and theme/shared-system coexistence review

- D93: (DONE) Validate release-history and semantic-gap guidance consistency
  - Confirm README, usage, rules, and self-hosting HLD use the same distinction between installed version, current version, drift, and semantic release gap
  - Confirm the guidance states that release history is release-centered rather than push-centered
  - Confirm theme-system and mixed-toolkit conflict handling remains preserve-first and review-first instead of implying blind overwrite

### P29: Operationalize Mixed-Repo-Safe Update Flow

References: `scripts/`, `README-SP-COPILOT-KIT.md`, `sp-docs/hld/HLD-kit-external-toolkit-coexistence.md`, `sp-docs/hld/HLD-kit-agent-agnostic.md`, external Capability Modeling Toolkit coexistence authority

Goal: Turn the mixed-toolkit coexistence and protection rules into an updater flow that is operationally safe by default for mixed repositories that include the external Capability Modeling Toolkit, with durable preflight reporting, explicit surface classification, and preserve-first handling for merge-only or blocked surfaces.

Task order: T126 -> T127 -> T128 -> T129 -> T130 -> T131 -> T132 -> D77 -> D78 -> D79.

- T126: Reconcile stale current-work and update-story references after P28 closeout
  - Refresh `sp-plan/PLAN.md` current-work wording and any closely related maintainer-facing status text that still implies the P28 checklist is unfinished
  - Ensure the repo now points at the operational-safety follow-up rather than repeating already-completed coexistence documentation work
  - Status: Done
  - Owner: GitHub-Copilot/main@20260319T000000Z-mixed-repo-safe-update
  - Branch: main
  - Updated: 2026-03-19

- T127: Add an explicit mixed-repo-safe update mode to `Update-SpCopilotKit.ps1`
  - Introduce a maintainer-visible mode for mixed-toolkit target repositories that defaults to preserve-first handling for non-overwrite-safe surfaces
  - Ensure this mode is compatible with the current document-role-aware installer/updater behavior and does not regress normal SP-only repo updates
  - Status: Done
  - Owner: GitHub-Copilot/main@20260319T000000Z-mixed-repo-safe-update
  - Branch: main
  - Updated: 2026-03-19

- T128: Emit a durable preflight classification report before mixed-repo update actions
  - Extend the updater flow so it writes a review artifact under `.sp-kit/` that classifies each touched surface as `direct copy`, `semantic re-application`, `manual merge`, `generate`, or `block`
  - Make the report readable enough that a maintainer can decide what to do next without rediscovering the coexistence rules from scratch
  - Status: Done
  - Owner: GitHub-Copilot/main@20260319T000000Z-mixed-repo-safe-update
  - Branch: main
  - Updated: 2026-03-19

- T129: Detect and separate mixed-role, merge-only, local-only, and externally owned surfaces automatically
  - Teach the updater to distinguish normal shipped surfaces from mixed-role and protected surfaces using the coexistence/protection rules
  - Cover at least: `.github/prompts/`, `.github/instructions/`, `README-SP-COPILOT-KIT.md`, `sp-docs/hld/*.md`, and `sp-plan/PLAN.md`
  - Status: Done
  - Owner: GitHub-Copilot/main@20260319T000000Z-mixed-repo-safe-update
  - Branch: main
  - Updated: 2026-03-19

- T130: Add a post-preflight maintainer review artifact for update decisions
  - Record which surfaces would be updated, which are blocked, which require manual merge, and which were preserved
  - Keep the artifact as durable evidence for later review rather than relying only on transient terminal prompts
  - Status: Done
  - Owner: GitHub-Copilot/main@20260319T000000Z-mixed-repo-safe-update
  - Branch: main
  - Updated: 2026-03-19

- T131: Add a conservative no-surprises default for mixed repositories
  - In mixed-repo-safe mode, prefer preserve/report/block behavior over overwrite-first behavior unless the maintainer explicitly opts into a stronger action
  - Make the default behavior clear in updater messaging, README maintainer guidance, and any relevant help text
  - Status: Done
  - Owner: GitHub-Copilot/main@20260319T000000Z-mixed-repo-safe-update
  - Branch: main
  - Updated: 2026-03-19

- T132: Extend automated validation for mixed-repo update scenarios
  - Add test coverage that proves the updater does not silently overwrite repo-local plan state, external root README surfaces, sample/domain artifacts, or mixed-repo-adapted prompt/instruction/HLD summary surfaces
  - Include at least one validation path anchored in the external Capability Modeling Toolkit coexistence model
  - Status: InProgress
  - Owner: GitHub-Copilot/main@20260319T000000Z-mixed-repo-safe-update
  - Branch: main
  - Updated: 2026-03-19

- D77: Validate that mixed-repo-safe mode never blindly overwrites blocked surfaces
  - Confirm protection of `sp-plan/PLAN.md`, external `README.md`, sample/domain artifacts, and blocked external lifecycle surfaces under the new mode
  - Status: Done
  - Owner: GitHub-Copilot/main@20260319T000000Z-mixed-repo-safe-update
  - Branch: main
  - Updated: 2026-03-19

- D78: Validate that merge-only surfaces are surfaced for review rather than silently replaced
  - Confirm the updater/report clearly identifies surfaces requiring semantic merge or manual re-application and does not treat them as normal overwrite-safe files
  - Status: Done
  - Owner: GitHub-Copilot/main@20260319T000000Z-mixed-repo-safe-update
  - Branch: main
  - Updated: 2026-03-19

- D79: Validate update behavior against the current external Capability Modeling Toolkit state
  - Prove that updating from the current SP toolkit into the current external Capability Modeling Toolkit state yields a controlled review path with durable classification output rather than a blind overwrite path

### P30: Ship Markdown Authoring Profile For Target Repos

References: scripts/_common.ps1, scripts/Install-SpCopilotKit.ps1, scripts/Update-SpCopilotKit.ps1, scripts/Test-SpCopilotKit.ps1, README.md, README-SP-COPILOT-KIT.md, sp-docs/hld/HLD-kit-agent-agnostic.md, sp-docs/hld/HLD-kit-self-hosting-model.md

Goal: Ship a minimal markdown authoring profile through the normal kit payload so target repos get consistent repo-local markdownlint configuration and an editor-extension recommendation without making markdown CLI tooling a framework prerequisite.

Task order: T133 -> D80.

- T133: Add a reusable markdown authoring payload profile to the managed kit payload
  - Add a small repo-local markdownlint configuration that target repos receive through normal install/update flow
  - Add a VS Code extension recommendation surface for markdownlint without implying automatic extension installation
  - Keep the payload editor-first and lightweight: no markdown CLI dependency, no new mandatory runtime prerequisites for kit consumers
  - Status: InProgress
  - Owner: codex/main@20260320T000000Z-markdown-authoring-profile
  - Branch: main
  - Updated: 2026-03-20

- D80: Validate that install/update now ship the markdown authoring profile coherently
  - Confirm the managed payload allowlist, install/update behavior, validation script, and maintainer-facing docs all agree on the new files
  - Confirm the docs make clear that repo-local config ships automatically while editor extension installation remains manual

### P31: Refine visualization studio defaults and portable export

References: docs/kit-site/goal-visualizations.js, docs/kit-site/capability-visualizations.js, docs/kit-site/visualization-studio-core.js, sp-docs/hld/HLD-kit-project-visualization-model.md, sp-docs/hld/HLD-kit-goal-visualization-model.md

Goal: Make the local visualization studios more readable by default and let maintainers export/import the currently visible graphic as a portable studio-local JSON artifact.

Task order: T134 -> D81 -> T135 -> D82.

- T134: (DONE) Set shared studio default relative font/border sizing to 2 and export the current graphic as a replayable JSON config
  - Update goal and capability studios so default item font size and border width both start at `2`
  - Export the currently visible template/layout as a studio-local JSON file that can be imported back into the same studio later
  - Keep import backward-compatible with older full-layout exports where reasonable

- D81: (DONE) Validate current-graphic export/import and default sizing in the visualization studios
  - Confirm goal and capability studios default new/current layouts to relative font size `2` and border width `2`
  - Confirm the exported JSON captures the currently visible graphic and can be imported back into the same studio without manual reconstruction

- T135: (DONE) Add local edit-mode parity to architecture and prompt studios, with prompt-specific width semantics and reset-all controls
  - Extend the architecture studio with the same local-only edit/save/export/import model used by other atlas studios while keeping it derived-only
  - Extend the prompt studio with local editing and reset controls, but do not force a generic border-width control where that encoding is not useful
  - Add a reset-all action that clears every local studio layout override for the current studio family
  - Tighten prompt-studio relative width semantics so dense route views do not interpret width controls disproportionately

- D82: (DONE) Validate architecture/prompt edit parity and reset-all behavior in the atlas studios
  - Confirm the architecture studio now exposes local edit mode plus save/export/import/reset behavior without claiming source ownership
  - Confirm the prompt studio keeps readable local sizing controls, omits nonsensical border-width tuning, and supports reset-all cleanup of saved local overrides

### P32: Define kit-root placement for target repos and lightweight idea capture

References: `README-SP-COPILOT-KIT.md`, `00-Development-Rules.md`, `scripts/`, `sp-docs/hld/HLD-kit-self-hosting-model.md`, `sp-docs/hld/HLD-kit-external-toolkit-coexistence.md`, adjacent theme-system reference surfaces

Goal: Define a clearer target-repo placement model where each toolkit can live under one kit-specific root, toolkit convenience wrappers remain discoverable without colliding at repo root, and early idea capture can stay lighter than full PICARD analysis while still leaving a low-priority plan trace.

Task order: T136 -> T137 -> D83.

- T136: Document a target-repo kit-root placement model for toolkit-owned docs, scripts, wrappers, examples, and kit sites
  - Define how toolkit repos differ from target repos: toolkit repos may keep generic roots such as `docs/` and `scripts/`, while target repos should prefer one `<kit-id>-kit/` root per toolkit for toolkit-owned convenience surfaces
  - Prefer `examples/` as the kit-owned playground area name rather than `samples/` for toolkit-local experiments and reference mini-projects
  - Prefer toolkit-owned convenience wrappers directly under the kit root instead of repo root or unnecessarily deep wrapper-only folders in target repos
  - Clarify that generic target-repo `docs/`, `scripts/`, hooks, and root README surfaces remain project-owned unless the repo itself is the toolkit repo
  - Status: Done
  - Owner: GitHub-Copilot/main@20260320T000000Z-kit-root-placement
  - Branch: main
  - Updated: 2026-03-20

- T137: Define a lightweight `/sp-capture-idea` intake surface with low-priority plan follow-up
  - Keep the intake prompt lighter than `/sp-analyze`: no HANDOFF, no full PICARD output, but create or extend a trailing ideas phase with a low-priority evaluation/deepening task
  - Ensure the prompt routes clearly to `/sp-analyze`, `/sp-get-capability-map`, or another concrete next command once the idea is normalized
  - Status: Done
  - Owner: GitHub-Copilot/main@20260320T000000Z-kit-root-runtime-migration
  - Branch: main
  - Updated: 2026-03-20

- D83: Validate that kit-root placement and wrapper rules optimize for clarity and safety over convenience
  - Confirm the documentation model distinguishes toolkit-repo root ownership from target-repo project ownership
  - Confirm toolkit-owned convenience surfaces are namespaced either by kit root or explicit prefix when they must live in shared host containers
  - Status: Done
  - Owner: GitHub-Copilot/main@20260320T000000Z-kit-root-placement
  - Branch: main
  - Updated: 2026-03-20

### P33: Operationalize Kit-Root Target Layout And Mirror It Across Toolkits

References: `scripts/`, `README-SP-COPILOT-KIT.md`, `sp-docs/hld/HLD-kit-target-placement-model.md`, `sp-docs/hld/HLD-kit-self-hosting-model.md`, external Capability Modeling Toolkit surfaces

Goal: Move SP-owned target-repo convenience surfaces into a concrete `sp-kit/` install/update shape without breaking shared workflow roots, then mirror the same placement direction against the external CBP toolkit surface before adding the lightweight idea-capture prompt.

Task order: T138 -> T139 -> T137 -> D84.

- T138: Migrate install/update payload mapping to a concrete `sp-kit/` target layout where safe
  - Move target-repo SP-owned convenience surfaces that currently read as generic root ownership into `sp-kit/` while preserving shared host containers and already namespaced workflow roots that remain active during transition
  - Update installer, updater, export guidance, and validation so the new placement is enforced coherently for fresh install and update flows
  - Status: Done
  - Owner: GitHub-Copilot/main@20260320T000000Z-kit-root-runtime-migration
  - Branch: main
  - Updated: 2026-03-20

- T139: Mirror the target-repo kit-root placement direction against the external CBP toolkit surface
  - Reconcile the SP-side coexistence and placement guidance with the current `capability-modeling-toolkit` surface so both toolkits point toward the same target-repo ownership model
  - Capture any asymmetry explicitly instead of assuming the CBP mirror already matches the SP-side target layout
  - Status: Done
  - Owner: GitHub-Copilot/main@20260320T000000Z-kit-root-runtime-migration
  - Branch: main
  - Updated: 2026-03-20

- D84: Validate that kit-root runtime migration preserves workflow behavior and clarifies ownership
  - Confirm fresh install and update now place SP-owned convenience surfaces under `sp-kit/` while keeping shared workflow roots operational
  - Confirm maintainer guidance and coexistence notes explain the SP/CBP target-layout alignment and any remaining transitional asymmetries
  - Status: Done
  - Owner: GitHub-Copilot/main@20260320T000000Z-kit-root-runtime-migration
  - Branch: main
  - Updated: 2026-03-20

### P34: Harmonize Cross-Repo Concept Model Before Kits/Planes/Lanes Refactor

References: `README-SP-COPILOT-KIT.md`, `sp-docs/hld/HLD-kit-target-placement-model.md`, `sp-docs/hld/HLD-kit-external-toolkit-coexistence.md`, adjacent Capability Modeling Toolkit, theme-system, and sp-music-hero concept surfaces

Goal: Bring the SP toolkit repo, the mixed CBP toolkit repo, the theme-system quasi-kit repo, and the sp-music-hero usage-project repo onto one consistent conceptual model for repo type, ownership, placement, and cross-repo relationship before broader Kits/Planes/Lanes refactoring begins.

Task order: T140 -> D85.

- T140: Harmonize cross-repo repo-type, ownership, and placement language across the four related repositories
  - Reconcile the current SP kit guidance with the CBP mixed-repo guidance, the sp-theme-system shared-system framing, and the sp-music-hero target-project framing
  - Make the current repo-type story explicit: toolkit repo, mixed toolkit repo, toolkit-like shared system repo, and usage/target project repo
  - Keep the current partial `sp-kit/` transition explicit instead of letting other repos drift back to the legacy root-installed wording
  - Status: Done
  - Owner: GitHub-Copilot/main@20260320T000000Z-cross-repo-concept-harmonization
  - Branch: main
  - Updated: 2026-03-20

- D85: Validate that the four related repos now describe the same concept model without collapsing their different roles
  - Confirm the repo-type model distinguishes toolkit repo, mixed-toolkit repo, toolkit-like shared system repo, and usage/target project repo
  - Confirm placement, ownership, and cross-repo references stay coherent across those repos and do not claim a stronger runtime migration than is actually enforced today
  - Status: Done
  - Owner: GitHub-Copilot/main@20260320T000000Z-cross-repo-concept-harmonization
  - Branch: main
  - Updated: 2026-03-20

### P35: Define Kits Planes Lanes Model And Visualize It

References: README-SP-COPILOT-KIT.md, sp-docs/hld/HLD-kit-target-placement-model.md, sp-docs/hld/HLD-kit-external-toolkit-coexistence.md, sp-docs/hld/HLD-kit-visualization-pattern-model.md, docs/kit-site/index.html, docs/kit-site/capability-visualizations.html, scripts/_common.ps1, scripts/Test-SpCopilotKit.ps1

Goal: Define one shared model for kits, planes, and lanes; derive a clean repo-type and ownership matrix from it; and publish a clear atlas visualization so later refactoring can work from one explicit concept model instead of scattered phrasing.

Task order: T141 -> D86.

- T141: Create a shared Kits/Planes/Lanes concept model with repo-type and lifecycle guidance
  - Define what a kit is, what a plane is, and what a lane is, and keep those terms orthogonal instead of mixing ownership, repo type, and workflow state
  - Derive a clean repo-type and ownership matrix that explains why `sp-gh-copilot-kit`, `capability-modeling-toolkit`, `sp-theme-system`, and `sp-music-hero` share one model without sharing the same operational lifecycle
  - Make explicit which reusable repos should expose managed-payload verbs such as export/install/update/import and which repos are consumer-only or operation-specific instead
  - Status: Done
  - Owner: GitHub-Copilot/main@20260320T000000Z-kits-planes-lanes-model
  - Branch: main
  - Updated: 2026-03-20

- D86: Validate that the Kits/Planes/Lanes model, ownership matrix, and atlas view stay coherent
  - Confirm the new HLD, payload allowlists, validator expectations, and atlas visualization all agree on the same repo-type and ownership model
  - Confirm the lifecycle guidance does not imply that every reusable repo must ship the exact same verb set when its delivery model is different
  - Status: Done
  - Owner: GitHub-Copilot/main@20260320T000000Z-kits-planes-lanes-model
  - Branch: main
  - Updated: 2026-03-20

### P36: Propagate Kits Planes Lanes Model And Deepen Atlas Visualizations

References: `sp-docs/hld/HLD-kit-planes-lanes-model.md`, `docs/kit-site/`, adjacent Capability Modeling Toolkit, theme-system, and sp-music-hero repo-overview surfaces

Goal: Make the new Kits/Planes/Lanes model explicit in adjacent repos and evolve the atlas page from a textual matrix into actual visual explanation surfaces such as ownership overlays, repo trees, and standard use-case flows.

Task order: T142 -> D87.

- T142: Propagate the shared model and build richer Kits/Planes/Lanes atlas visualizations
  - Add explicit references to the shared Kits/Planes/Lanes model in `capability-modeling-toolkit`, `sp-theme-system`, and `sp-music-hero` so repo roles and lifecycle expectations stay aligned across the ecosystem
  - Extend the atlas page with a second visual reading such as an ownership overlay or verb/lifecycle map and add at least one more actual visualization view such as repo-tree composition or a standard sequence/use-case flow
  - Keep the resulting visuals anchored in the same semantic source bundle instead of introducing a second ungoverned explanation surface
  - Status: Done
  - Owner: GitHub-Copilot/main@20260320T173500Z-propagate-kpl-and-atlas-views
  - Branch: main
  - Updated: 2026-03-20

- D87: Validate cross-repo wording and richer atlas views
  - Confirm the adjacent repo docs describe the same repo-role and lifecycle model without collapsing ownership boundaries
  - Confirm the enriched atlas page remains coherent with the semantic source bundle and still passes repo validation where applicable
  - Status: Done
  - Owner: GitHub-Copilot/main@20260320T173500Z-propagate-kpl-and-atlas-views
  - Branch: main
  - Updated: 2026-03-20

### P37: Add Mermaid Exports And Reduce Markdown Noise

References: `sp-docs/hld/HLD-kit-planes-lanes-model.md`, `docs/kit-site/`, `docs/visualization-src/`, `docs/visualization/`, `README.md`, adjacent theme-system Kits/Planes/Lanes example surface

Goal: Add static Mermaid-backed exports for the shared model, propagate that visualization story into a second repo surface, correct the sequence so it starts with `sp-analyze` on a new idea, and remove the most misleading markdownlint noise from the current repo surface.

Task order: T143 -> D88.

- T143: Add Mermaid exports, second-surface propagation, and markdown cleanup
  - Add canonical Mermaid sources plus a derived static HTML route for the Kits/Planes/Lanes ownership and sequence views
  - Update the shared-model sequence so the standard example begins with `sp-analyze` on a new idea in `sp-music-hero`
  - Add a theme-system-side example or doc surface that tells the same repo-role story from the shared-system perspective
  - Reduce the most prominent markdownlint noise in the current repo and touched adjacent repo docs so remaining markdown problems are easier to interpret
  - Status: Done
  - Owner: GitHub-Copilot/main@20260320T181500Z-kpl-mermaid-and-markdown-cleanup
  - Branch: main
  - Updated: 2026-03-20

- D88: Validate Mermaid exports, second-surface propagation, and markdown-noise reduction
  - Confirm the new Mermaid files, derived static page, publish rewrites, and validator checks stay aligned
  - Confirm the sequence language starts with `sp-analyze` and that the remaining markdownlint volume is materially reduced or clearly explained
  - Status: Done
  - Owner: GitHub-Copilot/main@20260320T181500Z-kpl-mermaid-and-markdown-cleanup
  - Branch: main
  - Updated: 2026-03-20

### P38: Clarify Plane-A Workflow Reads, Extend Static Exports, And Add Music-Hero Build Site

References: `docs/visualization-src/`, `docs/visualization/`, external Capability Modeling Toolkit overview surfaces, adjacent sp-music-hero README, build-site, and HLD surfaces

Goal: Clarify that `sp-analyze` is a Plane A workflow read applied to a Plane C idea, add one more static export view so the Mermaid route better matches the atlas, clean the dominant external README markdown issues, and add a small build/theming micro-site for `sp-music-hero`.

Task order: T144 -> D89.

- T144: Clarify Plane A vs Plane C, extend static exports, and add a music-hero build surface
  - Update the shared model wording so the `sp-analyze` sequence step reads as a Plane A workflow action over a Plane C subject
  - Add one more static Mermaid export view such as repo-tree composition or lifecycle verb map to the existing Kits/Planes/Lanes export route
  - Perform a focused markdownlint cleanup on `capability-modeling-toolkit/README.md` and `sp-music-hero/README.md`
  - Add a small `sp-music-hero` static build/how-it-is-built page that explicitly covers standalone mode, host-integrated mode, and theming interaction with `smilingpirate-site`
  - Status: Done
  - Owner: GitHub-Copilot/main@20260320T184500Z-plane-a-kpl-static-exports-music-hero-site
  - Branch: main
  - Updated: 2026-03-20

- D89: Validate plane clarification, static export extension, README cleanup, and music-hero build site
  - Confirm the first sequence step is described as Plane A workflow applied to a Plane C product idea
  - Confirm the static Mermaid route contains the additional export view and the new music-hero build page is internally coherent
  - Status: Done
  - Owner: GitHub-Copilot/main@20260320T184500Z-plane-a-kpl-static-exports-music-hero-site
  - Branch: main
  - Updated: 2026-03-20

### P39: Require Shared Theming For Music-Hero GH App Surface

References: adjacent `sp-music-hero` README, HLD, and build-site surfaces

Goal: Make the trigger explicit that the GitHub-hosted app surface for `sp-music-hero`, like the Italian With Harry app, is also expected to consume the shared theming contract rather than behaving as an unthemed standalone exception.

Task order: T145 -> D90.

- T145: Document shared theming as mandatory for the music-hero GH app surface
  - Update the music-hero README to say the GitHub Pages / GH app reading must also use shared theming contracts
  - Update the overall HLD so standalone and host-mounted readings both consume semantic theme tokens, with only the theme source differing
  - Update the how-built micro-site to make the shared-theming requirement explicit for both standalone and smilingpirate-hosted deployment
  - Status: Done
  - Owner: GitHub-Copilot/main@20260320T201500Z-music-hero-gh-app-theming
  - Branch: main
  - Updated: 2026-03-20

- D90: Validate explicit shared-theming requirement for the music-hero GH app surface
  - Confirm README, HLD, and micro-site all state that the GH app also consumes shared theming contracts
  - Status: Done
  - Owner: GitHub-Copilot/main@20260320T201500Z-music-hero-gh-app-theming
  - Branch: main
  - Updated: 2026-03-20

### P40: Normalize HLD Markdownlint Structure

References: sp-docs/hld/HLD-kit-external-toolkit-coexistence.md

Goal: Remove markdownlint structural errors from the current HLD hotspot by normalizing heading spacing, list spacing, and tab-indented nested bullets without changing the document's meaning.

Task order: T146 -> D91.

- T146: Normalize HLD-ExternalToolkitCoexistence markdown structure
  - Add required blank lines around headings and lists
  - Replace tab-indented nested bullets with space-indented bullets
  - Preserve wording and ownership semantics while making the document lint-clean
  - Status: Done
  - Owner: GitHub-Copilot/main@20260320T203200Z-hld-markdown-structure
  - Branch: main
  - Updated: 2026-03-20

- D91: Validate HLD-ExternalToolkitCoexistence markdown cleanup
  - Confirm the targeted HLD no longer reports markdownlint structural errors
  - Status: Done
  - Owner: GitHub-Copilot/main@20260320T203200Z-hld-markdown-structure
  - Branch: main
  - Updated: 2026-03-20

### P41: Normalize Remaining Cross-Repo HLD Markdown Structure

References: adjacent `sp-music-hero` and `sp-theme-system` HLD surfaces

Goal: Remove the remaining markdownlint structural issues in the adjacent repo HLD files by normalizing heading spacing, list spacing, tab indentation, and placeholder markup without changing architectural meaning.

Task order: T147 -> D92.

- T147: Normalize remaining music-hero and theme-system HLD markdown structure
- Reformat `sp-music-hero/sp-docs/hld/HLD-overall.md` to satisfy MD022, MD032, MD007, and MD010
- Reformat `sp-theme-system/sp-docs/hld/HLD-overall.md` to satisfy MD007 and MD010 and remove inline placeholder HTML
  - Preserve current architecture and theming statements while making both HLDs lint-clean
  - Status: Done
  - Owner: GitHub-Copilot/main@20260320T205000Z-cross-repo-hld-markdown-cleanup
  - Branch: main
  - Updated: 2026-03-20

- D92: Validate remaining cross-repo HLD markdown cleanup
  - Confirm both adjacent repo HLD files no longer report markdownlint structural errors
  - Status: Done
  - Owner: GitHub-Copilot/main@20260320T205000Z-cross-repo-hld-markdown-cleanup
  - Branch: main
  - Updated: 2026-03-20

### P42: Capture Shared API Guideline Co-Authoring Draft

References: docs/ideas-and-inputs/api-guidelines-co-authoring.md

Goal: Turn the current API guideline discussion notes into a structured co-authoring draft that captures strong recommendations, contradictions, and open decisions before anything is promoted to durable rules or HLD content.

Task order: T148 -> D93.

- T148: Start a collaborative API guideline draft from the current discussion notes
  - Consolidate the current notes into a reviewable structure covering design principles, naming, selectors, response shapes, errors, batch handling, performance, filtering, domain routing, and data types
  - Capture the strongest recommendations, the contradictory points, and the decisions that still need explicit alignment before standardization
  - Place the result under `docs/ideas-and-inputs/` so it remains an input artifact rather than a prematurely ratified repo rule
  - Status: Done
  - Owner: codex/main@20260407T141953Z-api-guideline-coauthoring
  - Branch: main
  - Updated: 2026-04-07

- D93: Validate that the API guideline draft is internally coherent and clearly marked as a co-authoring input
  - Confirm the draft distinguishes accepted guidance, recommendations, and open questions
  - Confirm the selected location and wording do not present the draft as an already-ratified global rule set
  - Status: Done
  - Owner: codex/main@20260407T141953Z-api-guideline-coauthoring
  - Branch: main
  - Updated: 2026-04-07

### P85: Extend API Guideline Draft With Security, Gateway, Error, And I18N Themes

References: docs/ideas-and-inputs/api-guidelines-co-authoring.md; docs/ideas-and-inputs/api-guidelines-co-authoring.workbench.md; sp-docs/sp-co-authoring-protocol.md

Goal: Expand the API guideline co-authoring draft with the next missing cross-cutting topics so the reading surface and workbench can support another broader co-authoring pass without overturning the already accepted naming and list-shape decisions.

Task order: T204 -> D143.

- T204: Extend the API guideline reading surface and workbench with the next cross-cutting topics
  - Add reader-facing guidance for security, authentication, authorization, encryption, API gateway constraints, error semantics, internationalization responsibilities, and a small open-issues seed beyond REST
  - Preserve the already accepted naming and list-response decisions while adding market-reference anchors and explicit conflict notes where major players diverge
  - Expand the workbench backlog so the next co-authoring rounds can address the new themes as separate topics even if they are processed in a batched contributor pass
  - Status: Done
  - Owner: codex/main@20260415T150000Z-api-guideline-cross-cutting-extension
  - Branch: main
  - Updated: 2026-04-15

- D143: Validate the expanded API guideline draft against protocol and consistency constraints
  - Confirm the reading surface remains a reader-facing draft and does not reintroduce protocol residue
  - Confirm the workbench backlog and tracker reflect the new topic split and still support the intended co-authoring flow
  - Confirm the added guidance preserves the accepted naming and list-response defaults
  - Status: Done
  - Owner: codex/main@20260415T150000Z-api-guideline-cross-cutting-extension
  - Branch: main
  - Updated: 2026-04-15

### P86: Open Batched Round-1 Workbench Topics For API Guideline Follow-Ups

References: docs/ideas-and-inputs/api-guidelines-co-authoring.workbench.md; sp-docs/sp-co-authoring-protocol.md

Goal: Move the newly added independent API-guideline follow-up topics into an active batched Round 1 discussion state so multiple contributors can work through them in parallel without collapsing them into one mega-topic.

Task order: T205 -> D144.

- T205: Open Topics #006-#010 into Current In Discussion and route the first batched contributor pass
  - Add active topic blocks for security, gateway constraints, error semantics, internationalization, and open issues beyond REST under `Current In Discussion`
  - Keep topic identity separate even though the first contribution round is routed as a batch
  - End the Coordinator turn with one copy-paste-ready Contributor handoff for the full active topic set
  - Status: Done
  - Owner: codex/main@20260415T153500Z-api-guideline-batched-round1-open
  - Branch: main
  - Updated: 2026-04-15

- D144: Validate the batched topic opening against the protocol
  - Confirm each active topic has its own topic block, `STATUS: IN DISCUSSION`, and `ROUND: 1`
  - Confirm the batched handoff preserves topic separation instead of merging the subjects
  - Confirm no reading-surface file changes were required for this routing-only step
  - Status: Done
  - Owner: codex/main@20260415T153500Z-api-guideline-batched-round1-open
  - Branch: main
  - Updated: 2026-04-15

### P0: Template phase

References: sp-docs/hld/HLD-kit-overall.md

- T1: (example) Implement minimal scaffolding
- D1: (example) Add quick validation steps

### P3: Define multi-host transformation architecture

References: sp-docs/hld/HLD-kit-agent-agnostic.md, sp-docs/hld/HLD-kit-host-transformation-model.md, docs/usage.md, scripts/Update-SpCopilotKit.ps1, scripts/Test-SpCopilotKit.ps1

- T14: (DONE) Define canonical workflow intent schema for commands, lifecycle stages, constraints, and capability mappings.
- T15: (DONE) Define host capability manifest schema for GPT, Claude, Gemini, Codex, and future hosts.
- T16: (DONE) Design forward generator that emits host-specific prompts, instructions, and skills from core truth.
- T17: (DONE) Design reverse updater/importer that converts host artifact improvements into normalized HANDOFF or patch proposals.
- T18: Extend packaging, export, update, and import flow to include generated host adapters and provenance metadata.
- T19: Extend validation in `Test-SpCopilotKit.ps1` to check manifest completeness, generator determinism, and reverse-import structure.
- D10: Validate that a change in the core can regenerate equivalent adapter outputs for at least two hosts.
- D11: Validate that a change made in one host adapter can be reverse-imported and classified without manual guesswork.
- D12: Validate that unsupported host capabilities are explicitly declared rather than silently dropped.

### P19: Expand atlas visualization coverage and usability

References: docs/kit-site/, docs/architecture/, docs/architecture-src/, sp-docs/hld/HLD-kit-agent-agnostic.md, sp-docs/hld/HLD-kit-host-transformation-model.md, sp-docs/sp-picard-principle-dev.md, sp-docs/sp-plan-workflow-contract.md, scripts/Publish-KitAtlasToSmilingPirateSite.ps1, scripts/Test-SpCopilotKit.ps1

- T66: (DONE) Make architecture visualizations prominent near the top of the atlas, align derived pages with the atlas style, and add zoomable detail pages for key visual topics.
- T67: (DONE) Add additional visualization pages and canonical Mermaid sources for PICARD and the Golden Path so the atlas explains more than architecture surfaces alone.
- D42: (DONE) Validate that the atlas exposes the visualization hub early, ships the new detail pages, and preserves working publish links for local and published targets.
- T68: (DONE) Restore reliable Mermaid rendering on shared visual pages, move non-architecture guides into a dedicated visual-guides surface, and place visual entry cards directly in the hero.
- D43: (DONE) Validate that shared visual pages render diagrams again and that PICARD/Golden Path are linked as visual guides rather than architecture pages.
- T69: (DONE) Rebuild the visual atlas around stable HTML storyboards, example-led subpages, and calmer overview cards so the site reads as an aspect overview rather than a diagram dump.
- D44: (DONE) Validate that the atlas overview links are unambiguous, the subpages tell example stories with stable HTML graphics, and the layout no longer flickers or jumps during normal use.
- T70: (DONE) Rebuild the atlas for a newcomer audience around one simple end-to-end story, repair broken duplicated HTML pages, and map common workflow questions to the right aspect pages.
- D45: (DONE) Validate that the atlas pages are structurally clean HTML again, that the overview speaks to beginner workflow questions directly, and that the shared story stays coherent across PICARD, Golden Path, session limits, and multi-actor collaboration.
- T71: (DONE) Reshape the atlas homepage into a PICARD map with a compass, phase-island navigation, and direct jumps from each phase to the relevant story pages.
- D46: (DONE) Validate that the homepage presents PICARD as the primary map metaphor, that each phase links to the relevant supporting page, and that the navigation remains stable in local and published output.
- T72: (DONE) Replace the abstract homepage map with a real sea-chart style SVG image, clickable island hotspots, and a legend that routes each PICARD phase to the relevant story pages.
- D47: (DONE) Validate that the homepage ships the new sea-map asset, exposes hotspot and legend navigation for the PICARD islands, and publishes correctly to smilingpirate-site.
- T73: (DONE) Add a newcomer-facing command-center page to the kit atlas with the supplied introductory copy, interactive PICARD bridge controls, and cycle-aligned SP command guidance.
- D48: Validate that the new command-center page preserves the supplied entry text, keeps the PICARD and command controls interactive across hover/selected/completed states, and shows command explanations with examples.
- T74: (DONE) Add an examples section after the command center that walks newcomers from raw problem statements into concrete kit usage paths using small approachable cases such as a tiny game, a fuzzy product idea, or AI-assisted value-based news and social-media evaluation.
- T75: (DONE) Add a core-concepts section that explains PICARD phases, command actions, and holistic documentation in plain language so non-specialists can understand how the system hangs together.
- T76: (DONE) Add an artifacts section that explains the role of PLAN, README files, HLDs, AGENTS, rules/guidelines, and prompts as the durable surfaces the kit uses to keep work navigable.
- T79: (DONE) Add a companion-tools section that positions upstream helpers such as `sp-quick-github-starter` and other external setup aids as references around the kit rather than part of the stable core workflow truth.
- T80: Keep a later optional bridge-page example in reserve that turns a fuzzy product idea into a navigable plan, so the page can regain a stronger manager/PM lens if the audience balance later needs it.
- T81: Define a future `Set Priority` command or equivalent workflow surface so the bridge can guide impact-driven ordering and triage more explicitly.
- T82: Define a future `Get Heat Map` command or visualization surface so the bridge can expose strength, coverage, and guidance gaps across artifacts and workflow areas.
- T77: Add a flows-and-visualizations section that connects the bridge page to existing Golden Path, PICARD, architecture, and other atlas visual surfaces without duplicating their full content.
- D49: Validate that the bridge page roadmap covers examples, core concepts, artifacts, and linked visual flows in an order that stays newcomer-friendly and consistent with the rest of the atlas.
- D50: (DONE) Capture the bridge-page wireframe and TNG-inspired console design spec in a durable repo document so later redesign iterations can follow the same visual intent.
- T78: (DONE) Simplify the newcomer-facing bridge command center into a single-frame console by removing extra helper chrome, showing a full phase preview in the readout, and shrinking the command keys into a denser bridge-style control bank.
- D51: Validate that the bridge console now reads as one clean frame, that phase hover shows the full preview, and that the command bank remains compact and readable without the removed legends and action buttons.
- D52: Validate that the new bridge-page concept, artifact, and companion-tool sections stay newcomer-friendly, align with the kit source-of-truth boundaries, and do not imply that external bootstrap helpers are part of the stable core.

### P20: Introduce lightweight capability-based planning support

References: docs/kit-site/, .github/prompts/, sp-docs/hld/HLD-kit-agent-agnostic.md, sp-docs/sp-picard-principle-dev.md, sp-docs/sp-plan-workflow-contract.md, scripts/Test-SpCopilotKit.ps1, ..\capability-modeling-toolkit\

- T83: (DONE) Define a lightweight capability concept and capability-based planning framing for this kit so capability maps can act as an early direction-finding layer above features and tasks.
- T84: (DONE) Add the first capability-planning command surfaces for capability maps, prioritization, and heat maps, then integrate them into the bridge command center and supporting docs.
- T85: (DONE) Synchronize the bridge command-center buttons and detail panel with canonical prompt metadata so button titles use actual prompt names, prompt descriptions stay aligned, and the technical section derives from prompt headers and alias relationships.
- T86: (DONE) Generalize the visualization model and prompts beyond architecture so project owners can quickly visualize architecture, capabilities, plans, and other major project maps from one coherent workflow surface.
- T89: (DONE) Define a capability-map lifecycle model that makes the semantic map artefact, optional one-step visualization output, and derived visualization bundle transitions explicit for project use.
- T90: (DONE) Define a capability-map visualization-planning model that makes visual encodings and layout choices explicit before bundle drafts are produced, with a sensible default proposal for capability maps.
- T91: (DONE) Extend capability-planning guidance with hierarchy discovery, feature-level transition rules, and reusable visualization-template families for capability and feature maps.
- T92: (DONE) Create and publish a first project-level capability-map bundle for this repo, using the current capability-planning model and a PICARD-informed top structure where that improves navigation.
- T93: (DONE) Refine capability-map visualization rules and the repo's capability-map rendering so graphical maps stay readable, hierarchy placement is explicit, and detailed explanations live in a separate semantic/readout surface.
- T94: (DONE) Publish the repo capability-map page and its source bundle into `smilingpirate-site/kit-atlas`, and expose that page from the atlas so the external site includes the new project visualization surface.
- T95: (DONE) Make the command-center page the primary kit-atlas homepage, collapse the duplicate start-page situation, and link capability visualizations plus the broader visualization lane directly from that new main page.
- T96: (DONE) Add an owner-facing capability-visualizations gallery that shows the same repo capability map through multiple template families side by side and reuse the bridge visual language for that page.
- T97: (DONE) Reduce atlas navigation confusion by streamlining homepage and visualization navigation, collapsing redundant entry points, and aligning the derived capability-map route with the main visualization experience.
  - Status: Done
  - Owner: codex/main@20260316T121500Z-visualization-studio
  - Branch: main
  - Updated: 2026-03-16
- T98: (DONE) Replace the cramped multi-template capability preview grid with image-like template previews plus a large primary visualization surface that can switch templates without overlap.
  - Status: Done
  - Owner: codex/main@20260316T121500Z-visualization-studio
  - Branch: main
  - Updated: 2026-03-16
- T99: (DONE) Add a local-only capability-visualization edit mode with draggable layout customization and saved configuration export/import so project owners can tune layouts without a backend.
  - Status: Done
  - Owner: codex/main@20260316T121500Z-visualization-studio
  - Branch: main
  - Updated: 2026-03-16
- T100: (DONE) Refine the capability studio navigation and source-surface access by reverting to title-based page identity, making export/import clearer in edit mode, removing misleading breadth-width wording, and opening source assets in an in-page modal viewer instead of hard page jumps.
  - Status: Done
  - Owner: codex/main@20260316T153500Z-capability-studio-refine
  - Branch: main
  - Updated: 2026-03-16
- T101: (DONE) Generalize early map-selection guidance so the kit assumes a stable terrain by default, prefers a suitable domain-specific map type early, and keeps capability maps as one important specialization instead of the only framing.
  - Status: Done
  - Owner: codex/main@20260317T113500Z-map-selection-guidance
  - Branch: main
  - Updated: 2026-03-17
- D53: Validate that capability concepts stay lightweight, that the new command surfaces align with existing workflow semantics, and that bridge-page guidance distinguishes capability navigation from the narrower Golden Path.
- D54: Validate that command-center button labels now use canonical prompt names, that prompt descriptions and technical metadata are synchronized from the prompt surfaces, and that the command detail panel no longer shows redundant phase-prefix text.
- D55: Validate that the generalized visualization prompts and HLD preserve HLD authority, cover non-architecture project maps coherently, and provide a quick project-owner route to visualizing the current project landscape.
- D57: (DONE) Validate that the capability-map lifecycle stays coherent from `/sp-get-capability-map` through visualization handoff/application, preserves source-of-truth separation, and remains understandable for project owners.
- D58: (DONE) Validate that capability-map visualization planning now makes encoding choices and layout rationale explicit and that the documented default proposal remains coherent across HLDs and prompts.
- D59: (DONE) Validate that capability hierarchies, feature transition guidance, and visualization-template families stay coherent across HLDs, prompts, and visualization rules.
- D60: (DONE) Validate that the repo-level capability-map bundle reflects current project scope coherently, uses the intended hierarchy/template choices, and remains synchronized across semantic, visualization, canonical-source, and derived-page files.
- D61: (DONE) Validate that capability-map visuals now remain readable without overlapping nodes, that hierarchy placement rules are explicit, and that the graphical map is paired with a separate semantic/readout surface.
- D62: (DONE) Validate that the atlas and `smilingpirate-site/kit-atlas` both expose the capability-map page, publish its source artefacts, and keep local versus published links coherent.
- D63: (DONE) Validate that the command center is now the primary atlas homepage, that the capability-visualizations gallery is reachable from it, and that local versus published links stay coherent after the homepage switch.
- D64: (DONE) Validate that the streamlined visualization navigation, large-view capability page, derived-page alignment, and local edit-mode persistence stay coherent in both local and published atlas routes.
- D65: (DONE) Validate that the capability-studio follow-up keeps navigation simple, source assets open in a recoverable modal surface, and edit-mode controls remain understandable.
- D66: (DONE) Validate that the revised map-selection guidance consistently treats stable decomposition as the goal, keeps capabilities as one map type among several, and updates prompts/docs without reintroducing method-centric map structures.

### P21: Add prompt refactoring surfaces for split and merge workflows

References: .github/prompts/, .github/instructions/sp-copilot-kit.instructions.md, sp-docs/hld/, README-SP-COPILOT-KIT.md, 00-Development-Rules.md, scripts/Test-SpCopilotKit.ps1

- T87: (DONE) Define a prompt refactoring model that treats split, merge, rename, and alias-cleanup as governed transformations on prompt surfaces instead of ad hoc edits.
- T88: (DONE) Add the first prompt-refactoring command surfaces for prompt inventory, prompt refactor proposals, prompt refactor application, and split/merge aliases, then wire them into help, instructions, and validation.
- T104: (DONE) Standardize next-command recommendations so each `sp-*` command suggests the best likely full follow-up command line, with up to three alternatives only when the workflow branch is genuinely ambiguous.
- D56: (DONE) Validate that the prompt-refactoring surfaces preserve prompt-family coherence, alias strategy, help/instruction discoverability, and command-center metadata synchronization.
- D68: (DONE) Validate that shared workflow and adapter instructions now define the next-command recommendation contract, that prompt-local outputs no longer stop at bare selectors where a concrete command is knowable, and that derived prompt metadata stays synchronized.

### P22: Add prompt recording and demo capture support

References: .github/prompts/, .github/instructions/sp-copilot-kit.instructions.md, AGENTS.md, sp-docs/hld/, README-SP-COPILOT-KIT.md, scripts/Test-SpCopilotKit.ps1, docs/kit-site/

- T102: (DONE) Define a prompt-recording model that can capture prompt inputs and concise result summaries into durable demo-friendly artefacts while keeping recording state explicit and local to the repo.
- T103: (DONE) Add the first prompt-recording command surfaces, wire recording behavior into instruction/help surfaces, and document how active recordings should update log artefacts during normal `sp-*` prompt usage.
- D67: (DONE) Validate that prompt recording stays explicit and local, that start/stop surfaces and log artefacts are coherent, and that the kit preserves usable demo output without pretending to capture full hidden chat state.

### P23: Extend visualization templates and recording depth

References: sp-docs/hld/HLD-kit-project-visualization-model.md, sp-docs/hld/HLD-kit-architecture-visualization-model.md, sp-docs/hld/HLD-kit-prompt-recording-model.md, .github/prompts/, .github/instructions/sp-copilot-kit.instructions.md, AGENTS.md, README-SP-COPILOT-KIT.md, scripts/Test-SpCopilotKit.ps1

- T105: (DONE) Extend the generalized visualization model with reusable template families and default reading models for plan/execution views and architecture views, including a simple Gantt-style default for phase/task plan visualizations.
- T106: (DONE) Wire the new plan/architecture template guidance and the verbose prompt-recording mode through prompt, instruction, help, and README surfaces so project owners can discover and use them consistently.
- D69: (DONE) Validate that plan and architecture template guidance stays coherent with the generalized visualization model and that verbose prompt-recording remains explicit, local, and summary-first rather than pretending to become a hidden full transcript.

### P24: Add goal and outcome visualization support

References: `sp-docs/hld/HLD-kit-project-visualization-model.md`, `.github/prompts/`, `.github/instructions/sp-copilot-kit.instructions.md`, `README-SP-COPILOT-KIT.md`, `scripts/`

- T107: (DONE) Define a reusable goal/outcome visualization family for projects, including lightweight standard templates such as Goal Cross for purpose, outcome, stakeholders, and measures.
- T108: (DONE) Wire goal/outcome visualization guidance through the generic visualization prompts, instruction surfaces, and README so project owners can discover and propose goal maps consistently.
- D70: (DONE) Validate that goal/outcome visualization guidance stays coherent with the general project-visualization model, remains derived from semantic project truth, and gives usable early templates without drifting into method-only diagrams.

### P25: Add prompt-successor mapping and goal-map atlas surfaces

References: `sp-docs/hld/HLD-kit-project-visualization-model.md`, `sp-docs/hld/HLD-kit-goal-visualization-model.md`, `.github/prompts/`, `docs/kit-site/`, `docs/visualization/`, `docs/visualization-src/`, `scripts/`

- T109: (DONE) Define a durable prompt-successor model and repo-local successor map artefact so canonical `sp-*` prompts can name likely best follow-up commands in ordered form for later visualization and recording use.
- T110: (DONE) Create a first repo-level goal-map bundle and a small atlas subpage that lets owners inspect the goal semantics and switch between a few lightweight goal-visualization templates.
- T118: (DONE) Refine the goal studio so goal templates can render richer in-shape text from configurable semantic fields, fix incomplete matrix headers, and keep semantic/source/HLD guidance aligned with that display model.
  - Status: Done
  - Owner: codex/main@20260318T123900Z-goal-visual-content
  - Branch: main
  - Updated: 2026-03-18
- D71: (DONE) Validate that prompt successors now have one durable definition surface, that the repo goal-map bundle is complete across semantic and derived artefacts, and that the atlas links stay coherent.
- D74: (DONE) Validate that the goal studio now renders complete matrix headers, supports richer per-template in-box copy, and keeps semantic artefact, visualization properties, HLD guidance, and atlas output aligned.

### P26: Reconcile stale claims and extend atlas visualization studios

References: `sp-plan/PLAN.md`, `docs/kit-site/`, `docs/visualization/`, `docs/visualization-src/`, `sp-docs/hld/HLD-kit-project-visualization-model.md`, `sp-docs/hld/HLD-kit-architecture-visualization-model.md`, `sp-docs/hld/HLD-kit-prompt-successor-model.md`, `scripts/`

- T111: (DONE) Reconcile stale `InProgress` claims left behind in `P19` and `P20`, document why they were stale, and restore `PLAN.md` to one coherent current-work story.
- T112: (DONE) Add architecture visualization topics to the atlas studio model with a dedicated page or gallery that covers diagram families, flows, and canonical source formats such as Mermaid and PlantUML.
- T113: (DONE) Add a prompt-successor / Golden Path visualization surface that makes the main route and likely follow-up branches readable as both explanation and navigable map.
- T114: (DONE) Tighten atlas reading flow, shared copy, navigation, and shared button styling so the visualization pages feel coherent and avoid unreadable button variants.
- D72: (DONE) Validate that stale claims are cleared, that architecture and prompt-successor visualization topics are discoverable from the main atlas, and that shared atlas buttons stay readable across pages.

### P27: Generalize visualization patterns and refactor prompt-domain studios

References: `sp-docs/hld/HLD-kit-project-visualization-model.md`, `sp-docs/hld/HLD-kit-prompt-successor-model.md`, `sp-docs/hld/HLD-kit-architecture-visualization-model.md`, `docs/kit-site/`, `docs/visualization-src/`, `scripts/`

- T115: (DONE) Restructure the visualization model around reusable pattern families such as path, cycle, network, tree, matrix, layer, lanes, neural-network-like, and spider-web/radar, and document how domains choose among them.
- T116: (DONE) Refactor the prompt-route studio into a broader prompt visualization studio where Golden Path becomes one view among others such as successor network, PICARD cycle mapping, and family lanes.
- T117: (DONE) Streamline the atlas wording and navigation so prompt/command visualization reads as one domain with multiple patterns instead of one Golden Path-first special case.
- T119: (DONE) Unify visualization-studio edit attributes and local editing behavior across capability and goal surfaces, including semantic text tokens, relative sizing, and standard styling/connector controls.
- D73: (DONE) Validate that the pattern model is reflected consistently in the HLDs, that the prompt studio exposes multiple domain-appropriate views, and that the main atlas routes users into the correct studio and guide surfaces.
- D75: (DONE) Validate that capability and goal studios now expose the same standard edit fields where applicable, that relative font/border/connector sizing scales in fullscreen, and that the shared visualization core concept documents those rules.

### P28: Align SP Toolkit With Dual-Toolkit Sync Governance

References: external Capability Modeling Toolkit HLD authority surfaces, `README-SP-COPILOT-KIT.md`, `.github/instructions/sp-copilot-kit.instructions.md`, `sp-docs/hld/HLD-kit-project-visualization-model.md`, `sp-docs/hld/HLD-kit-goal-visualization-model.md`, `sp-docs/hld/HLD-kit-prompt-refactoring-model.md`, `sp-docs/hld/HLD-kit-prompt-recording-model.md`

Goal: Adapt the SP GitHub Copilot Toolkit to the dual-toolkit coexistence contract defined in the external Capability Modeling Toolkit so SP-owned workflow and visualization surfaces can evolve without overwriting CBP-owned, sample-owned, or Plane-C-owned artefacts in mixed repositories.

Context for future sessions:

- The external Capability Modeling Toolkit currently defines the mixed-plane reality more concretely than this repo because it contains:
  - SP toolkit surfaces
  - Capability Modeling Toolkit surfaces
  - a Plane C sample project (`samples/enterprise-commerce-capability-map.*`)
  - explicit plane-aware capability-map routing and CBP Plane C lifecycle rules
- This repository is currently ahead in generic SP visualization governance, prompt-recording depth, prompt-refactoring governance, goal visualization, visualization patterns, and atlas/studio behavior.
- The purpose of this phase is not to absorb CBP ownership into the SP toolkit. It is to make the SP toolkit explicitly safe to use in mixed-toolkit repositories by documenting what SP owns, what it does not own, and what may or may not be synchronized into external repositories.

Task order: T120 → T121 → T122 → T123 → T124 → T125 → D76.

- T120: (DONE) Adopt the external dual-toolkit coexistence contract
  - Create `sp-docs/hld/HLD-kit-external-toolkit-coexistence.md`
  - Document that in mixed repositories:
    - SP remains Plane A
    - CBP is a separate toolkit plane
    - Plane C domain/sample artefacts are neither SP toolkit self-description nor CBP toolkit self-description
  - Document that the external Capability Modeling Toolkit is authoritative for mixed-plane ownership and sample-specific rules
  - Update `README-SP-COPILOT-KIT.md` and `.github/instructions/sp-copilot-kit.instructions.md` to reference `HLD-kit-external-toolkit-coexistence.md`
  - Status: Done
  - Owner: codex/main@20260318T170500Z-dual-toolkit-coexistence
  - Branch: main
  - Updated: 2026-03-18

- T121: (DONE) Reconcile SP visualization governance with external CBP ownership
  - Update:
    - `sp-docs/hld/HLD-kit-project-visualization-model.md`
    - `sp-docs/hld/HLD-kit-goal-visualization-model.md`
    - `sp-docs/hld/HLD-kit-architecture-visualization-model.md`
    - `sp-docs/hld/HLD-kit-visualization-pattern-model.md`
  - State explicitly:
    - SP owns generic visualization workflow commands and orchestration
    - capability/domain-map visual bundles may be Plane C artefacts owned outside this repo
    - visualization governance must not imply ownership of CBP workbook-backed lifecycle or Plane C sample semantics
  - Add at least one worked example of a mixed repository where SP visualization commands operate without claiming ownership of the external capability-map lifecycle
  - Status: Done
  - Owner: codex/main@20260318T173500Z-visualization-ownership
  - Branch: main
  - Updated: 2026-03-18

- T122: (DONE) Update SP prompt/help/instruction surfaces for mixed-toolkit repositories
  - Update `.github/instructions/sp-copilot-kit.instructions.md`
  - Update `sp-help` and any capability-map-related SP prompts
  - Ensure SP surfaces explicitly describe:
    - toolkit self-description vs target-domain artefacts
    - mixed-repository coexistence with external CBP tooling
    - the fact that SP visualization commands may orchestrate a visualization bundle whose semantic/durable source is owned elsewhere
  - Ensure no SP surface implies that all capability-map requests are owned by SP or produce SP-owned durable artefacts
  - Status: Done
  - Owner: codex/main@20260318T175500Z-prompt-ownership-boundaries
  - Branch: main
  - Updated: 2026-03-18

- T123: (DONE) Define managed-payload protection rules for dual-toolkit sync
  - In `HLD-kit-external-toolkit-coexistence.md`, define which surfaces are:
    - safe to ship
    - safe to copy
    - merge-only
    - local-only
    - externally owned
  - Include explicit protection rules for:
    - external `README.md`
    - external `samples/*`
    - external CBP lifecycle HLDs
    - externally owned Plane C artefacts
  - Update maintainer/update workflow docs so a future import or export does not overwrite externally owned surfaces by mistake
  - Status: Done
  - Owner: codex/main@20260318T181500Z-payload-protection-rules
  - Branch: main
  - Updated: 2026-03-18

- T124: (DONE) Mark shared vs SP-only vs external-aware HLD surfaces explicitly
  - For each relevant SP HLD, mark whether it is:
    - SP-only
    - shared generic workflow
    - external-toolkit-aware
    - not authoritative for external CBP runtime/tooling
  - Ensure the distinction is visible in HLD intros or scope sections, not only implied by repo context
  - Ensure a future session can tell from the docs alone whether a given SP HLD may be synchronized into a mixed-toolkit target repo unchanged
  - Status: Done
  - Owner: codex/main@20260318T183500Z-hld-surface-classification
  - Branch: main
  - Updated: 2026-03-18

- T125: (DONE) Add a dual-toolkit sync verification checklist for SP maintainers
  - Add a checklist to `HLD-kit-external-toolkit-coexistence.md`
  - Add a short maintainer summary to `README-SP-COPILOT-KIT.md`
  - Verify at least:
    - SP-owned files are still SP-owned
    - external CBP-owned files are not claimed by SP docs
    - Plane C samples/domains are not treated as SP core payload
    - visualization commands remain SP-owned while durable Plane C lifecycle remains external
    - capability-map prompts do not erase external ownership boundaries in mixed repositories
    - any sync/import/update operation can be classified as copy, merge, re-apply, generate, or block
  - Status: Done
  - Owner: GitHub-Copilot/main@20260318T000000Z-dual-toolkit-sync-checklist
  - Branch: main
  - Updated: 2026-03-18

- D76: (DONE) Verify that the SP toolkit can be updated into a mixed repository without ownership confusion
  - Review README, instructions, prompts, and visualization HLDs from the perspective of a fresh maintainer session
  - Confirm that the repo can coexist with the external Capability Modeling Toolkit without implicit overwrite of external CBP or Plane C surfaces
  - Confirm that the docs clearly route mixed-toolkit ownership questions back to the external coexistence contract
  - Reviewed surfaces: `README-SP-COPILOT-KIT.md`, `.github/instructions/sp-copilot-kit.instructions.md`, `sp-help.prompt.md`, `sp-get-capability-map.prompt.md`, `sp-pro-visualization.prompt.md`, `sp-set-visualization.prompt.md`, `HLD-kit-project-visualization-model.md`, `HLD-kit-goal-visualization-model.md`, `HLD-kit-architecture-visualization-model.md`, `HLD-kit-visualization-pattern-model.md`, and the external dual-toolkit governance authority
  - Verification result: fresh-maintainer routing is sufficient; reviewed SP surfaces preserve SP ownership, avoid claiming external CBP or Plane C lifecycle ownership, and point mixed-toolkit questions back to the coexistence contract
  - Sync classification result: reviewed documentation surfaces remain unchanged; only `sp-plan/PLAN.md` was updated as repo-local verification evidence
  - Status: Done
  - Owner: GitHub-Copilot/main@20260318T000000Z-mixed-repo-maintainer-review
  - Branch: main
  - Updated: 2026-03-18

## Archive

(Archived items get moved here. Keep grouped by origin phase.)

### P18: Fix kit-atlas publishing fidelity and architecture discoverability

References: docs/kit-site/, docs/architecture/, docs/architecture-src/, scripts/Publish-KitAtlasToSmilingPirateSite.ps1, scripts/Test-SpCopilotKit.ps1

- T64: (DONE) Fix published `kit-atlas` text encoding so UTF-8 characters such as the PICARD middle dot survive export/update without mojibake.
- T65: (DONE) Surface the AgentAgnosticKit visualization coverage more explicitly on the main `kit-atlas` page so module/data/flow/sequence views are discoverable without opening the detail page first.
- D41: (DONE) Validate that the local kit-atlas and published `smilingpirate-site/kit-atlas` preserve UTF-8 PICARD labels and expose direct architecture coverage links/cards.

### P1: Agent-agnostic kit architecture

References: sp-docs/hld/HLD-kit-agent-agnostic.md

- T1: (DONE) Define the stable core artifact set that must remain identical across GitHub Copilot and Codex.
- T2: (DONE) Design the Codex adapter surface (`AGENTS.md`, skills, and helper routines) and map it to current `sp-*` workflow intents.
- T3: (DONE) Refactor installer/export packaging so host adapters can be added without duplicating the entire kit payload.
- T4: (DONE) Define how task claim metadata is created and maintained through the normal GitHub Copilot and Codex workflows.
- T5: (DONE) Define stale-claim release and cleanup rules for paused or abandoned work.
- T6: (DONE) Define how coordination-branch claim updates and feature-branch implementation flow interact in daily use.
- D1: (DONE) Verify that each PICARD workflow intent (`analyze`, `plan`, `implement`, `doc`) has a Codex-compatible entry point and record any gaps.
- D2: (DONE) Update README/kit docs with the migration rules once the first Codex adapter path is implemented and validated.
- D3: (DONE) Validate the shared-claim workflow for GitHub Copilot, Codex App, and multi-agent local execution.
- D4: (DONE) Document the contributor/agent claim protocol, including owner naming and claim release expectations.
- D5: (DONE) Validate that a claim pushed only to a feature branch is treated as non-authoritative in the documented workflow.
- D6: (DONE) Refresh Codex skill/helper catalog wording and validator expectations so they reflect the shipped adapter surface and the remaining reverse-import classification gap.

### P17: Add repo-root wrapper for kit-atlas publish flow

References: scripts/Publish-KitAtlasToSmilingPirateSite.ps1, scripts/Test-SpCopilotKit.ps1, README.md, docs/usage.md

- T63: (DONE) Add a repo-root wrapper script for publishing the kit-atlas bundle, aligned with the existing `Run-*.cmd` runner pattern.
- D40: (DONE) Validate that the root wrapper invokes the publish script correctly and is discoverable alongside the existing root runners.

### P16: Create AgentAgnosticKit visualization bundle and site sync flow

References: sp-docs/hld/HLD-kit-agent-agnostic.md, sp-docs/hld/HLD-kit-architecture-visualization-model.md, docs/architecture-src/, docs/architecture/, docs/kit-site/, scripts/Test-SpCopilotKit.ps1, scripts/

- T61: (DONE) Create a dedicated visualization bundle for `HLD-kit-agent-agnostic.md`, including canonical diagram sources and a derived static architecture page.
- T62: (DONE) Add a reproducible export/update script that publishes the AgentAgnosticKit visualization bundle into `smilingpirate-site/kit-atlas` and adapts homepage navigation for that target.
- D39: (DONE) Validate that the local derived page and the exported `kit-atlas` page stay synchronized and that the site-target homepage link is adjusted correctly.

### P15: Separate reusable plan workflow contract from mixed-role PLAN.md

References: README.md, README-SP-COPILOT-KIT.md, AGENTS.md, .github/instructions/sp-copilot-kit.instructions.md, sp-docs/sp-plan-workflow-contract.md, sp-docs/hld/HLD-kit-agent-agnostic.md, sp-docs/hld/HLD-kit-self-hosting-model.md, docs/usage.md, scripts/_common.ps1, scripts/Install-SpCopilotKit.ps1, scripts/Update-SpCopilotKit.ps1, scripts/Export-SpCopilotKit.ps1, scripts/Test-SpCopilotKit.ps1

- T56: (DONE) Create a toolkit-owned shared workflow contract document that holds the reusable plan-operating semantics now embedded in the explanatory header of `sp-plan/PLAN.md`.
- T57: (DONE) Reduce `sp-plan/PLAN.md` to a minimal mixed-role shell that keeps only repo-local plan state, a short usage pointer, and the plan/archive sections while referencing the shared workflow contract document.
- T58: (DONE) Update export/install/update payload generation so the shared workflow contract document is always shipped to target repos while existing target `sp-plan/PLAN.md` files remain preserved as mixed-role state.
- T59: (DONE) Define and implement a safe migration path for existing target repos whose `sp-plan/PLAN.md` does not yet reference the extracted workflow contract document.
- T60: (DONE) Refactor duplicated plan-usage explanation across `README.md`, `README-SP-COPILOT-KIT.md`, `AGENTS.md`, and `.github/instructions/sp-copilot-kit.instructions.md` into concise summaries that point to the shared workflow contract document.
- D36: (DONE) Document which surface is authoritative for reusable plan workflow contract versus repo-local active plan state.
- D37: (DONE) Validate that fresh install and update both leave target repos with the current workflow contract without overwriting repo-local `sp-plan/PLAN.md` state.
- D38: (DONE) Validate that `PLAN.md`, README files, `AGENTS.md`, and instruction surfaces reference the same shared workflow contract instead of re-defining it independently.

### P14: Standardize architecture visualizations and derived project architecture pages

References: README.md, README-SP-COPILOT-KIT.md, sp-example-README.md, 00-Development-Rules.md, sp-docs/hld/HLD-kit-architecture-visualization-model.md, sp-docs/hld/HLD-kit-overall.md, sp-docs/hld/HLD-kit-example-module.md, sp-docs/sp-picard-principle-dev.md, scripts/_common.ps1, scripts/Test-SpCopilotKit.ps1

- T49: (DONE) Define the active visualization contract for HLDs, including minimum coverage for module boundaries, data models, flow/branching, and sequence views.
- T50: (DONE) Update HLD and starter README templates so new projects inherit the visualization contract and derived architecture-page expectation.
- T51: (DONE) Define how each project's static architecture HTML page is produced as a derived artifact from HLD and diagram sources, including format guidance for Mermaid, PlantUML, and optional `draw.io` companions.
- T52: (DONE) Add a dedicated visualization-management prompt that can create, update, and remove visualization bundles across HLD sections, diagram sources, and static architecture-page mappings.
- T53: (DONE) Add a dedicated visualization-proposal prompt that emits a HANDOFF for synchronized HLD, diagram-source, and static-page visualization changes.
- T54: (DONE) Add visualization aliases such as `/sp-add-visualization` and `/sp-update-visualization` so the command language matches the rest of the object surfaces.
- T55: (DONE) Create a small end-to-end example with a real canonical diagram source, a derived static HTML page, and prompt walkthroughs for `/sp-pro-visualization` and `/sp-set-visualization`.
- D31: (DONE) Validate that active HLD templates require the minimum architecture visualization coverage instead of leaving diagram usage optional.
- D32: (DONE) Validate that the static architecture page is documented as derived output and that text-first diagram sources remain the canonical prompt-friendly source.
- D33: (DONE) Validate that the visualization-management prompt preserves HLD authority while synchronizing related diagram and static-page artifacts.
- D34: (DONE) Validate that visualization work now supports the normal propose-to-apply workflow instead of relying on apply-only commands.
- D35: (DONE) Validate that visualization aliases and the end-to-end example assets are present and referenced consistently.

### P2: Enforce explained-and-tested task workflow

References: sp-docs/hld/HLD-kit-agent-agnostic.md, sp-docs/sp-picard-principle-dev.md, .github/instructions/sp-copilot-kit.instructions.md, AGENTS.md

- T7: (DONE) Define the pre-implementation concept gate for `/sp-get-task-explanation` with alias `/sp-explain-task`, using only existing README, rules, HLD, and task description.
- T8: (DONE) Define the pre-implementation verification gate for `/sp-set-task-testing` with alias `/sp-ensure-testing`, with explicit automation-first expectations.
- T9: (DONE) Define the pre-closeout execution-evidence gate for `/sp-test-task-implementation` with alias `/sp-test-implementation`, including required command/result capture.
- T10: (DONE) Update prompt and instruction surfaces so `/sp-implement` refuses work that is unclaimed, under-specified, or not explainable from current documented sources.
- T11: (DONE) Update prompt and instruction surfaces so `/sp-doc` refuses final closeout without executed test evidence or an explicit blocked rationale.
- T12: (DONE) Require each implementation path to carry an explicit verification/documentation path, with automated tests as the default and manual-only validation as an exception.
- T13: (DONE) Extend kit validation to check for the new command surfaces and the required workflow-gating language.
- D6: (DONE) Validate that no official workflow path still allows claim-to-implementation without an explanation step.
- D7: (DONE) Validate that automated testing is the default expectation and that manual-only validation requires explicit justification.
- D8: (DONE) Validate that `Done` now means implemented, tested, and documented.
- D9: (DONE) Validate that claim, explanation, and testing gate language stays aligned across `PLAN.md`, `AGENTS.md`, prompt instructions, and HLD documentation.

### P4: Normalize D# semantics as documentation and verification work

References: README-SP-COPILOT-KIT.md, 00-Development-Rules.md, sp-docs/sp-picard-principle-dev.md, .github/instructions/sp-copilot-kit.instructions.md, AGENTS.md, .github/prompts/sp-help.prompt.md, .github/prompts/sp-implement.prompt.md, scripts/Test-SpCopilotKit.ps1

- T20: (DONE) Clarify payload workflow docs that `D#` items are documentation/verification checkpoints rather than decision storage.
- T21: (DONE) Update payload plan model documentation so `D#` semantics are documentation/verification only.
- T22: (DONE) Update prompt and instruction surfaces to describe `D#` items as documentation/verification checkpoints.
- T23: (DONE) Extend validation to reject `Decision:` wording on `D#` plan lines.
- D13: (DONE) Document that `D#` items capture documentation/verification work while decisions are routed to README files, HLDs, or rules.
- D14: (DONE) Validate that payload plan examples and active phases no longer use `Decision:`-style `D#` wording.

### P5: Add dedicated agent-session diagnosis workflow

References: .github/prompts/sp-diagnose-agent-session.prompt.md, docs/agent-tool-permission-troubleshooting.md, sp-docs/hld/HLD-kit-task-execution-gates.md, sp-docs/hld/HLD-kit-agent-agnostic.md, .github/instructions/sp-copilot-kit.instructions.md, AGENTS.md, scripts/Test-SpCopilotKit.ps1

- T24: (DONE) Add `/sp-diagnose-agent-session` to diagnose workspace trust, session approval state, per-request tool selection, organization policy, and session restart/compaction in a fixed order.
- T25: (DONE) Require `/sp-diagnose-agent-session` to emit a short incident summary with observed symptoms, likely cause class, evidence checked, and next recommended action.
- T26: (DONE) Wire the diagnose prompt to existing troubleshooting guidance and direct deeper evidence gathering to Agent Logs and Chat Debug.
- T27: (DONE) Extend validation so the diagnose prompt is checked for frontmatter, fixed-order diagnostics, and incident-summary requirements.
- D15: (DONE) Document agent-session diagnosis as a dedicated workflow step for tool and approval failures.
- D16: (DONE) Validate fixed-order diagnosis coverage for trust, session approvals, tool selection, organization policy, and session reset/compaction.
- D17: (DONE) Validate that diagnose output points users to Agent Logs and Chat Debug when deeper evidence is needed.

### P6: Simplify plan authority to one active workflow plan

References: README.md, README-SP-COPILOT-KIT.md, 00-Development-Rules.md, .github/instructions/sp-copilot-kit.instructions.md, .github/prompts/sp-help.prompt.md, .github/prompts/sp-implement.prompt.md, .github/prompts/sp-doc.prompt.md, AGENTS.md, sp-docs/hld/HLD-kit-agent-agnostic.md, sp-docs/hld/HLD-kit-task-execution-gates.md, sp-docs/hld/HLD-kit-self-hosting-model.md, scripts/Test-SpCopilotKit.ps1, PLAN.md

- T28: (DONE) Reclassify root `PLAN.md` as a non-authoritative historical/reference artifact instead of an active workflow plan.
- T29: (DONE) Remove dual-plan reconciliation requirements from instructions, prompts, HLDs, and rules so active workflow state lives only in `sp-plan/PLAN.md`.
- T30: (DONE) Update validation so only the canonical payload plan is checked for active workflow semantics while root `PLAN.md` is treated as a non-authoritative historical/reference artifact.
- D18: (DONE) Document the single-active-plan model and the non-authoritative role of any remaining root `PLAN.md` artifact.
- D19: (DONE) Validate that no prompt, instruction, HLD, or rule still requires dual-plan reconciliation for normal workflow execution.

### P7: Restore archived root plan history and formalize HLD scope boundaries

References: PLAN.md, sp-plan/PLAN.md, README.md, README-SP-COPILOT-KIT.md, 00-Development-Rules.md, sp-docs/sp-picard-principle-dev.md, sp-docs/hld/HLD-kit-agent-agnostic.md, sp-docs/hld/HLD-kit-task-execution-gates.md, sp-docs/hld/HLD-kit-self-hosting-model.md, sp-docs/hld/HLD-kit-multi-repo-analysis-and-transfer.md, scripts/Test-SpCopilotKit.ps1

- T31: (DONE) Restore the previously removed root `PLAN.md` phases as archived historical/reference content instead of leaving them deleted from the working tree.
- T32: (DONE) Redesign root `PLAN.md` as a non-authoritative historical/reference artifact that preserves prior phases while pointing all active workflow state to `sp-plan/PLAN.md`.
- T33: (DONE) Formalize the HLD scope boundary so active HLD documents live under `sp-docs/hld/`.
- T34: (DONE) Fix remaining routing references so plan updates target `sp-plan/PLAN.md` and active HLD routing targets `sp-docs/hld/`.
- D20: (DONE) Document that removed root-plan history must be archived rather than deleted.
- D21: (DONE) Validate that HLD routing is explicit by scope and no longer says solutions can land in either tree without a boundary rule.

### P8: Preserve verbatim historical root-plan snapshots

References: PLAN.md, sp-plan/PLAN.md, 00-Development-Rules.md, scripts/Test-SpCopilotKit.ps1

- T35: (DONE) Restore root `PLAN.md` historical content to the verbatim morning snapshot instead of normalized archive text.
- T36: (DONE) Update validation so archived root-plan snapshots are preserved verbatim and are not forced to match active-plan semantics.
- D22: (DONE) Document that archived historical plan snapshots must preserve original IDs, titles, and descriptions verbatim.

### P9: Consolidate active HLDs under sp-docs

References: sp-plan/PLAN.md, sp-docs/hld/HLD-kit-agent-agnostic.md, sp-docs/hld/HLD-kit-task-execution-gates.md, sp-docs/hld/HLD-kit-self-hosting-model.md, sp-docs/hld/HLD-kit-multi-repo-analysis-and-transfer.md, README.md, README-SP-COPILOT-KIT.md, AGENTS.md, .github/instructions/sp-copilot-kit.instructions.md, scripts/Test-SpCopilotKit.ps1

- T37: (DONE) Create active `sp-docs/hld/` versions of the task-execution, self-hosting, and multi-repo HLDs by consolidating the current active information from `docs/hld/`.
- T38: (DONE) Update active references so workflow docs, instructions, prompts, and plan entries point to `sp-docs/hld/` as the active HLD location.
- T39: (DONE) Mark retained `docs/hld/` files as deprecated instead of deleting them, with pointers to their active `sp-docs/hld/` counterparts.
- D23: (DONE) Document that active HLDs live under `sp-docs/` and deprecated retained copies in `docs/hld/` are not authoritative.
- D24: (DONE) Validate that active plan and instruction surfaces no longer route new architecture work to `docs/hld/`.

### P10: Define template asset model

References: sp-docs/hld/HLD-kit-self-hosting-model.md, sp-docs/hld/HLD-kit-agent-agnostic.md, README-SP-COPILOT-KIT.md, docs/usage.md, scripts/Install-SpCopilotKit.ps1, scripts/Update-SpCopilotKit.ps1

- T40: (DONE) Define and apply a single template asset model across active HLDs, README/usage docs, and installer/updater terminology without adding a new physical templates location.
- D25: (DONE) Validate that seed templates, managed payload, authoritative active assets, and deprecated/historical references are described consistently.

### P11: Make PICARD the micro-site guide

References: sp-docs/sp-picard-principle-dev.md, docs/kit-site/index.html, docs/kit-site/site.js, docs/kit-site/site.css

- T41: (DONE) Rework the kit micro-site so PICARD is the primary page guide and the implemented workflow is clearly presented as a derived operational path.
- D26: (DONE) Validate that the site makes PICARD more prominent and explicitly presents workflow execution as evolving from the PICARD cycle.
- T42: (DONE) Adjust the PICARD chart orientation so Problem starts at 12 o'clock and add a stronger chart-like compass/map background treatment to the micro-site.
- D27: (DONE) Validate that the PICARD chart now reads clockwise from Problem at the top and that the new background treatment does not introduce editor or validator errors.

### P12: Classify active docs by shipping role

References: sp-docs/hld/HLD-kit-agent-agnostic.md, sp-docs/hld/HLD-kit-self-hosting-model.md, README.md, README-SP-COPILOT-KIT.md, docs/usage.md, scripts/Install-SpCopilotKit.ps1, scripts/Update-SpCopilotKit.ps1, scripts/Export-SpCopilotKit.ps1, scripts/Test-SpCopilotKit.ps1

- T43: (DONE) Define a document-role model covering shared-workflow, maintainer-only, and mixed-role assets.
- T44: (DONE) Classify active HLDs so target repos receive the shared workflow subset without requiring a second active HLD tree.
- T45: (DONE) Refactor installer, updater, and exporter payload selection to use explicit document-role rules instead of copying whole `sp-docs/` and `sp-plan/` trees.
- T46: (DONE) Handle `sp-plan/PLAN.md` as a mixed-role document so target-repo plan state is preserved instead of being overwritten as a normal template.
- D28: (DONE) Validate that shipped HLD behavior, maintainer-only exclusions, and mixed-role plan handling are described consistently across docs and HLDs.
- D29: (DONE) Validate that install/update/export and `Test-SpCopilotKit.ps1` enforce the document-role model.

### P13: Externalize deprecated reference leftovers

References: README.md, README-SP-COPILOT-KIT.md, 00-Development-Rules.md, AGENTS.md, .github/instructions/sp-copilot-kit.instructions.md, .github/prompts/sp-help.prompt.md, sp-docs/hld/HLD-kit-agent-agnostic.md, sp-docs/hld/HLD-kit-task-execution-gates.md, sp-docs/hld/HLD-kit-self-hosting-model.md, sp-docs/hld/HLD-kit-multi-repo-analysis-and-transfer.md, docs/kit-site/index.html, docs/kit-site/site.js, scripts/Test-SpCopilotKit.ps1

- T47: (DONE) Move the in-repo historical root `PLAN.md` snapshot and deprecated `docs/hld/*` mirrors into in-repo archive folder `sp-gh-copilot-kit_deprecated/`.
- T48: (DONE) Update active docs, instructions, prompts, and site content so deprecated references point to the in-repo archive folder instead of the old live paths.
- D30: (DONE) Validate that the live repo no longer contains root `PLAN.md` or `docs/hld/` while `sp-gh-copilot-kit_deprecated/` preserves the historical files.
