> For the complete documentation index, see [llms.txt](https://ai-os-and-trend-finder.gitbook.io/ai-os-and-trend-finder-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ai-os-and-trend-finder.gitbook.io/ai-os-and-trend-finder-docs/.spec_system/archive/sessions/phase25-session05-full-prompt-drawer-copy-briefings/tasks.md).

# Task Checklist

**Session ID**: `phase25-session05-full-prompt-drawer-copy-briefings` **Total Tasks**: 20 **Estimated Duration**: 3-4 hours **Created**: 2026-06-08

***

## Legend

* `[x]` = Completed
* `[ ]` = Pending
* `[P]` = Parallelizable (can run with other \[P] tasks)
* `[SNNMM]` = Session reference (NN=phase number, MM=session number)
* `TNNN` = Task ID

***

## Progress Summary

| Category       | Total  | Done   | Remaining |
| -------------- | ------ | ------ | --------- |
| Setup          | 3      | 3      | 0         |
| Foundation     | 5      | 5      | 0         |
| Implementation | 8      | 8      | 0         |
| Testing        | 4      | 4      | 0         |
| **Total**      | **20** | **20** | **0**     |

***

## Setup (3 tasks)

Initial configuration and environment preparation.

* [x] T001 \[S2505] Verify Phase 25 prerequisites, analyzer state, and Session 02/04 dependency evidence (`.spec_system/PRD/phase_25/session_05_full_prompt_drawer_copy_briefings.md`)
* [x] T002 \[S2505] \[P] Create implementation notes scaffold for decisions and command output (`.spec_system/specs/phase25-session05-full-prompt-drawer-copy-briefings/implementation-notes.md`)
* [x] T003 \[S2505] \[P] Create security compliance scaffold for prompt projection, clipboard, and unchanged admin-gate review (`.spec_system/specs/phase25-session05-full-prompt-drawer-copy-briefings/security-compliance.md`)

***

## Foundation (5 tasks)

Core structures and base implementations.

* [x] T004 \[S2505] \[P] Create mission briefing helper module with typed inputs, labels, result types, and no-self-tick guard constant (`src/lib/hermes-mission-briefings.ts`)
* [x] T005 \[S2505] Implement agent copy builder with `/goal` prefix correction, deterministic output, and guard-line insertion (`src/lib/hermes-mission-briefings.ts`)
* [x] T006 \[S2505] Implement human briefing parser and copy builder with 8-section label support and prose fallback (`src/lib/hermes-mission-briefings.ts`)
* [x] T007 \[S2505] \[P] Create focused goal detail sheet component using existing Sheet/Button/ScrollArea primitives (`src/components/hermes/hermes-mission-goal-detail.tsx`)
* [x] T008 \[S2505] Define detail sheet props, actor label handling, close/copy callbacks, and bounded presentational sections with state reset on re-entry (`src/components/hermes/hermes-mission-goal-detail.tsx`)

***

## Implementation (8 tasks)

Main feature implementation.

* [x] T009 \[S2505] Wire selected-goal state and detail sheet rendering into Mission Control with reset on close, demo-mode changes, and presentation changes (`src/components/hermes/hermes-mission-control.tsx`)
* [x] T010 \[S2505] Add accessible Detail buttons to active mini-goal cards with focus return and no active-card layout shift (`src/components/hermes/hermes-mission-control.tsx`)
* [x] T011 \[S2505] Add card-level copy buttons for agent and human goals with duplicate-trigger prevention while clipboard work is in-flight (`src/components/hermes/hermes-mission-control.tsx`)
* [x] T012 \[S2505] Route card and sheet copy actions through the shared helper and one clipboard wrapper with explicit unavailable/rejected fallback feedback (`src/components/hermes/hermes-mission-control.tsx`)
* [x] T013 \[S2505] Render agent full prompts in the sheet with preserved line breaks, bounded height, wrapping, and `/goal` correction feedback (`src/components/hermes/hermes-mission-goal-detail.tsx`)
* [x] T014 \[S2505] Render human full prompts as structured briefing blocks with prose fallback, bounded scrolling, and readable copy output (`src/components/hermes/hermes-mission-goal-detail.tsx`)
* [x] T015 \[S2505] Preserve existing tick, clear, create, optimize, import, refresh, admin-gate, and query invalidation behavior while detail/copy controls are present (`src/components/hermes/hermes-mission-control.tsx`)
* [x] T016 \[S2505] Confirm Hermes and Claude Code presentation parity for detail labels, actor labels, and copy actions without new bridge behavior (`src/components/hermes/hermes-mission-control.tsx`)

***

## Testing (4 tasks)

Verification and quality assurance.

* [x] T017 \[S2505] \[P] Write unit tests for copy builders, `/goal` prefix safety, no-self-tick guard, structured briefing parsing, and prose fallback (`src/lib/__tests__/hermes-mission-briefings.test.ts`)
* [x] T018 \[S2505] Extend component tests for detail sheet open/close, selected-goal reset, accessible labels, and no extra admin mutations (`src/components/hermes/__tests__/hermes-mission-control.test.tsx`)
* [x] T019 \[S2505] Extend component tests for card copy, sheet copy, clipboard rejection fallback, human briefing fallback, and Claude Code parity (`src/components/hermes/__tests__/hermes-mission-control.test.tsx`)
* [x] T020 \[S2505] Run focused tests, typecheck, lint, ASCII validation, and manual desktop/mobile overflow review (`package.json`)

***

## Completion Checklist

Before marking session complete:

* [x] All tasks marked `[x]`
* [x] All tests passing
* [x] All files ASCII-encoded
* [x] implementation-notes.md updated
* [x] security-compliance.md updated
* [x] Ready for the validate workflow step

***

## Next Steps

Run the implement workflow step to begin AI-led implementation.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://ai-os-and-trend-finder.gitbook.io/ai-os-and-trend-finder-docs/.spec_system/archive/sessions/phase25-session05-full-prompt-drawer-copy-briefings/tasks.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
