> 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/phase37-session03-g5-boss-presentation/tasks.md).

# Task Checklist

**Session ID**: `phase37-session03-g5-boss-presentation` **Total Tasks**: 22 **Estimated Duration**: 3-4 hours **Created**: 2026-06-29

***

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

***

## Progress Summary

| Metric              | Value     |
| ------------------- | --------- |
| Tasks Completed     | 22 / 22   |
| Estimated Remaining | 3-4 hours |
| Blockers            | 0         |

***

## Setup (3 tasks)

* [x] T001 \[S3703] Verify G5 source, alpha derivative, current crop manifest, atlas outputs, and packer prerequisites before edits (`docs/ongoing-projects/generated/ai-rogue-visual-audio-assets/source/ai-rogue-boss-final-defense-source.png`, `docs/ongoing-projects/generated/ai-rogue-visual-audio-assets/alpha/ai-rogue-boss-final-defense-alpha.png`, `docs/ongoing-projects/generated/ai-rogue-visual-audio-assets/crop-manifest.json`, `scripts/extensions/ai-rogue/pack-visual-assets.py`)
* [x] T002 \[S3703] Create the G5 implementation ledger with candidate review, manifest decisions, validation commands, and browser evidence sections (`.spec_system/specs/phase37-session03-g5-boss-presentation/implementation-notes.md`)
* [x] T003 \[S3703] Baseline current boss frame contracts, gameplay/UI atlas counts, final-defense tests, and browser scenario hooks before modifying assets (`src/extensions/ai-rogue/runtime/assets.ts`, `src/assets/ai-rogue/gameplay-atlas.json`, `src/assets/ai-rogue/ui-atlas.json`, `src/extensions/ai-rogue/runtime/__tests__/biome-final.test.ts`, `tests/e2e/ai-rogue-runtime.spec.ts`)

***

## Foundation (5 tasks)

* [x] T004 \[S3703] Extend accepted and rejected G5 crop decisions for boss idle, charge, telegraph, line-fire, shielded, hit, shutdown, arena, payload, objective progress, activation, and win-unlock frames with no-baked-text review (`docs/ongoing-projects/generated/ai-rogue-visual-audio-assets/crop-manifest.json`)
* [x] T005 \[S3703] Run the visual packer and refresh gameplay/UI atlas outputs plus the docs preview while preserving the two-atlas model (`scripts/extensions/ai-rogue/pack-visual-assets.py`, `src/assets/ai-rogue/gameplay-atlas.png`, `src/assets/ai-rogue/gameplay-atlas.json`, `src/assets/ai-rogue/ui-atlas.png`, `src/assets/ai-rogue/ui-atlas.json`, `docs/extensions/ai-rogue/generated/ai-rogue-production-atlas-preview.png`)
* [x] T006 \[S3703] Update typed G5 boss-state, final-defense, objective, and payload frame-name unions, constants, and required-frame contracts with types matching declared contracts; exhaustive enum handling (`src/extensions/ai-rogue/runtime/types-assets.ts`, `src/extensions/ai-rogue/runtime/assets.ts`)
* [x] T007 \[S3703] Add typed boss/final-defense presentation helpers for shared event-to-frame logic, with deterministic fallbacks for missing or expired events (`src/extensions/ai-rogue/runtime/boss-presentation.ts`)
* [x] T008 \[S3703] Add focused boss-presentation tests for idle, charge, attack, shield, hit, shutdown, payload, objective, win-unlock, and fallback selections (`src/extensions/ai-rogue/runtime/__tests__/boss-presentation.test.ts`)

***

## Implementation (9 tasks)

* [x] T009 \[S3703] Wire Kernel Sentinel render-model frame overrides for charge, attack, shield, hit, and shutdown windows without changing entity footprint, sprite scale, pathing, or simulation state (`src/extensions/ai-rogue/runtime/render-model.ts`)
* [x] T010 \[S3703] Wire final-defense arena, target, compile payload, objective progress, and payload activation sprites with deterministic ordering and product-facing labels only (`src/extensions/ai-rogue/runtime/render-model.ts`, `src/extensions/ai-rogue/runtime/render-hud.ts`)
* [x] T011 \[S3703] Wire transient boss charge/fire/hit/shutdown and payload activation effects from existing event audio cues with cleanup on scope exit for all acquired resources (`src/extensions/ai-rogue/runtime/effects.ts`)
* [x] T012 \[S3703] Wire final-defense cinematic activation and win-unlock presentation without baked gameplay text or route-visible diagnostics (`src/extensions/ai-rogue/runtime/effects-cinematics.ts`)
* [x] T013 \[S3703] Update renderer sprite animation so idle cycling preserves G5 overrides and stale boss/final-defense transient sprites are cleaned up on scope exit (`src/extensions/ai-rogue/runtime/renderer-sprites.ts`)
* [x] T014 \[S3703] Verify combat and final-defense ownership by documenting that boss visuals derive from existing snapshots, pending threats, combat log events, status, and audio metadata only (`src/extensions/ai-rogue/runtime/combat.ts`, `src/extensions/ai-rogue/runtime/simulation.ts`, `.spec_system/specs/phase37-session03-g5-boss-presentation/implementation-notes.md`)
* [x] T015 \[S3703] \[P] Update focused atlas contract tests for accepted G5 frames, atlas counts, required-frame lists, and TexturePacker metadata (`src/extensions/ai-rogue/runtime/__tests__/assets.test.ts`)
* [x] T016 \[S3703] \[P] Update focused render-model tests for boss override frames, final-defense markers, objective progress descriptors, and deterministic sprite ordering (`src/extensions/ai-rogue/runtime/__tests__/render-model.test.ts`)
* [x] T017 \[S3703] \[P] Update combat and final-defense tests proving boss metadata, shield-piercing, compile payload, win, and loss behavior do not drift (`src/extensions/ai-rogue/runtime/__tests__/combat.test.ts`, `src/extensions/ai-rogue/runtime/__tests__/biome-final.test.ts`)

***

## Testing (5 tasks)

* [x] T018 \[S3703] Run the packer, typecheck, and asset-size validation and record command results (`scripts/extensions/ai-rogue/pack-visual-assets.py`, `bun run typecheck`, `scripts/check-asset-sizes.sh`)
* [x] T019 \[S3703] Run focused Vitest suites for assets, boss-presentation, render-model, combat, and biome-final behavior touched by G5 changes (`src/extensions/ai-rogue/runtime/__tests__/assets.test.ts`, `src/extensions/ai-rogue/runtime/__tests__/boss-presentation.test.ts`, `src/extensions/ai-rogue/runtime/__tests__/render-model.test.ts`, `src/extensions/ai-rogue/runtime/__tests__/combat.test.ts`, `src/extensions/ai-rogue/runtime/__tests__/biome-final.test.ts`)
* [x] T020 \[S3703] Run desktop AI Rogue browser proof for visible boss charge, attack, shield, hit, shutdown, final-defense target, and payload activation with product-facing copy only (`tests/e2e/ai-rogue-runtime.spec.ts`)
* [x] T021 \[S3703] Run mobile AI Rogue browser proof for boss/final-defense readability, compact input, no horizontal overflow, and no layout overlap (`tests/e2e/ai-rogue-mobile.spec.ts`)
* [x] T022 \[S3703] Update visual asset documentation and validate ASCII, LF line endings, diff whitespace, and completion notes before handoff (`docs/extensions/ai-rogue/visual-assets.md`, `git diff --check`, `.spec_system/specs/phase37-session03-g5-boss-presentation/implementation-notes.md`)

***

## Completion Checklist

* [x] All tasks marked `[x]`
* [x] All tests and checks passing
* [x] All files ASCII-encoded with LF line endings
* [x] implementation-notes.md updated
* [x] Ready for `implement` to start the implement -> creview -> validate sequence

***

## Next Steps

Run the `creview` workflow step.


---

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

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

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

```
GET https://ai-os-and-trend-finder.gitbook.io/ai-os-and-trend-finder-docs/.spec_system/archive/sessions/phase37-session03-g5-boss-presentation/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.
