> 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/phase17-session03-pantheon-upgrade-write/tasks.md).

# Task Checklist

**Session ID**: `phase17-session03-pantheon-upgrade-write` **Total Tasks**: 20 **Estimated Duration**: 3-4 hours **Created**: 2026-06-02

***

## 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 confirmation and planning notes.

* [x] T001 \[S1703] Resolve and document the GitHub sync auth assumption before enabling sync UI (`.spec_system/specs/phase17-session03-pantheon-upgrade-write/implementation-notes.md`)
* [x] T002 \[S1703] Verify existing template query, persona mutations, and sync mutation contracts for reuse (`src/hooks/use-hermes.ts`)
* [x] T003 \[S1703] Map the current Pantheon component state paths and admin gating entry points (`src/components/hermes/hermes-pantheon.tsx`)

***

## Foundation (5 tasks)

Core structures, props, and helpers.

* [x] T004 \[S1703] Define Pantheon presentation helpers for avatars, bounded metadata, status copy, and exhaustive view states (`src/components/hermes/hermes-pantheon.tsx`)
* [x] T005 \[S1703] Extend Pantheon props to accept templates, models, and admin actions with disabled-state derivation (`src/components/hermes/hermes-pantheon.tsx`)
* [x] T006 \[S1703] Build persona YAML draft helpers for persona/template selection with state reset on re-entry (`src/components/hermes/hermes-pantheon.tsx`)
* [x] T007 \[S1703] \[P] Add GitHub sync step metadata and result formatting with bounded error display (`src/components/hermes/hermes-pantheon.tsx`)
* [x] T008 \[S1703] \[P] Add Pantheon template, admin, sync, and mutation-state fixtures for component tests (`src/components/hermes/__tests__/hermes-sections.test.tsx`)

***

## Implementation (8 tasks)

Main Pantheon upgrade.

* [x] T009 \[S1703] Wire `HermesReadOnlyPage` to pass `pantheonTemplates`, `models`, and `admin` into Pantheon (`src/components/hermes/hermes-read-only-page.tsx`)
* [x] T010 \[S1703] Upgrade persona catalog cards with rich metadata, fallbacks, selection, and explicit loading/empty/error/offline states (`src/components/hermes/hermes-pantheon.tsx`)
* [x] T011 \[S1703] Add persona edit controls for validate/create/update/delete/install with duplicate-trigger prevention while in-flight (`src/components/hermes/hermes-pantheon.tsx`)
* [x] T012 \[S1703] Add template picker and add-persona tile that seeds drafts and revalidates or resets on reopen (`src/components/hermes/hermes-pantheon.tsx`)
* [x] T013 \[S1703] Add model dropdown/default-model controls using declared model contracts and exhaustive fallback handling (`src/components/hermes/hermes-pantheon.tsx`)
* [x] T014 \[S1703] Add GitHub sync panel with confirm step, optional mirror-root input, step cards, and admin-gated action states (`src/components/hermes/hermes-pantheon.tsx`)
* [x] T015 \[S1703] Preserve demo-mode templates and live/admin gating across Pantheon tab transitions (`src/components/hermes/hermes-read-only-page.tsx`)
* [x] T016 \[S1703] Add accessible labels, focus behavior, and keyboard-safe controls for edit/delete/template/sync interactions (`src/components/hermes/hermes-pantheon.tsx`)

***

## Testing (4 tasks)

Verification and quality assurance.

* [x] T017 \[S1703] Extend component tests for rich catalog, templates, edit controls, disabled admin hints, and sync confirmation (`src/components/hermes/__tests__/hermes-sections.test.tsx`)
* [x] T018 \[S1703] Add or confirm admin hook tests for sync confirmation payload and duplicate-trigger guard (`src/hooks/__tests__/use-hermes-admin.test.tsx`)
* [x] T019 \[S1703] Run focused Hermes tests, typecheck, and lint; record failures and fixes (`.spec_system/specs/phase17-session03-pantheon-upgrade-write/implementation-notes.md`)
* [x] T020 \[S1703] Record manual mode-matrix coverage and ASCII validation results (`.spec_system/specs/phase17-session03-pantheon-upgrade-write/implementation-notes.md`)

***

## 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] 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/phase17-session03-pantheon-upgrade-write/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.
