Skip to content

Commit 381f140

Browse files
committed
Apply codex-kit v1.6.0 to optimize instructions and guides
1 parent 2c35eac commit 381f140

13 files changed

Lines changed: 244 additions & 182 deletions

File tree

‎.agents/plans/account.md‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Account Plan
2+
3+
Read this plan for account, authentication, Google Drive backup, sync, conflict, or recovery behavior. Do not load it for unrelated feature work that does not affect persistence or accounts. Also read every affected feature plan when Drive or account work changes that feature's durable data or behavior.
4+
5+
## Account
6+
7+
- [x] Serialize Google Drive uploads with latest-state-wins queuing, bounded retry, recoverable failure status, monotonic local revisions, unload protection, and generation-safe conflict handling.
8+
- [x] Renew expired Google access tokens for Drive requests, replay one unauthorized request, refresh before manual Retry Sync, harden invalid session responses, and expose the Cloudflare diagnostic marker in Account failure state (verified with focused sync/auth tests and repository checks).
9+
- [x] Isolate MSD Google Drive backups under `msd-tracker-state.json`, migrate legacy `state.json` files in place, prefer the canonical file, and surface safe Drive operation/status failures in Account.
10+
- [x] Highlight the newer backup date and larger serialized size independently when choosing between local and Google Drive copies during a sync conflict.
11+
- [x] Resolve Google Drive conflicts atomically with transient conflict state, guarded Drive responses, deduplicated sync lifecycle, and exact remote-copy restoration.
12+
- [x] Offer an explicit Keep Local recovery upload when the canonical Drive backup is unreadable, preserving the local dataset and retrying safely on upload failure.
13+
- [x] Confirmation dialogs for destructive data-clearing actions are implemented; automated behavior verification is pending.
14+
- [x] Link to the public GitHub repository from the Account page.

‎.agents/plans/checklist.md‎

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Checklist Plan
2+
3+
Read this plan for checklist behavior, permanent activities, limited events, player-created tasks/events, scheduling, completion, or checklist event imports. Do not load it for unrelated inventory, loadout, account, or site-experience work. Also read the account plan when durable checklist or Drive behavior changes.
4+
5+
## Chunk 1: Checklist and Event Tracking
6+
7+
- [x] Keep checklist orchestration, focused row and page components, task-form conversion, fixed-daily reset anchors at 00:00 UTC by default with published reset exceptions, and persisted normalization colocated under the checklist feature without changing rolling, weekly, interval, sync, completion, analytics, or accessibility behavior (verified with focused tests, repository checks, and a production build).
8+
- [x] Use single-check completion indicators, switch completed actions to undo, hide disabled category filters while keeping All available, and align toolbar controls with shared page button styling.
9+
10+
- [x] Define typed limited events with non-displayed notice-title metadata, UTC source timestamps, recurring reset schedules, expiry behavior, and player-created UTC Start/End times verified across daily and weekly UTC boundaries.
11+
- [x] Version completion keys independently from schedule changes, add the Monster Race permanent reset, and mark Discord participation on its two notice entries.
12+
- [x] Share the current game version between Dimensional Rift, seasonal activities, and rebuildable stat-option caches; increment it manually for official refreshes without adding seasonal recurrence or countdown behavior.
13+
- [x] Default new player-created Task and Event starts to the current UTC date at 00:00 while preserving saved times when editing.
14+
- [x] Add the 100-Day Anniversary Check-In Pass and Bonus Time daily event schedules using their published UTC periods.
15+
- [x] Add the First Summer Dive event set and Cool Summer Vacation login reward using their published UTC periods and explicit daily-reset behavior.
16+
- [x] Retire the July 28 event set and add the Mabel and Discord events using the completed maintenance time and published UTC periods.
17+
- [x] Import official checklist notices, including the Brisshell event set with official source links and verified metadata, using the project skill; preserve published non-midnight reset boundaries; and remove expired limited events during each import without changing completion records.
18+
- [x] Show Event alongside Daily or Weekly badges when an event also has a recurring reset, and hide expired events at the shared checklist view boundary.
19+
- [x] Distinguish event rows with daily teal, weekly violet, one-time fuchsia, and Discord blue gradients; align their badges; dim upcoming official and player-created events to 40% opacity without dimming upcoming custom tasks; and reserve amber row styling for ending-soon status and destructive styling for overdue items (verified with focused checklist tests).
20+
- [x] Show player-created Task and Event notes beneath item names with a compact two-line limit.
21+
- [x] Add editable 500-character notes to permanent checklist items, persisted locally and through Google Drive.
22+
- [x] Track Request Board as a permanent daily activity resetting at 00:00 UTC.
23+
- [x] Keep single occurrence checks and grouped full-event checks, sort non-completed before completed and then by event > permanent > custom and weekly > daily > other, and show reset/End countdowns beside status.
24+
- [x] Sort same-group checklist events by upcoming start time, then active or ending-soon end time, before alphabetical fallback.
25+
- [x] Show occurrence and full-event completion controls for daily events, while non-daily events use only one full-event completion control for their full duration.
26+
- [x] Design the durable checklist data model and evaluate local and Google Drive persistence.
27+
- [x] Build an accessible, responsive Checklist page with compact horizontal event and task rows, plus relevant tests.
28+
- [x] Separate incomplete and completed checklist items with a labeled divider that follows the Show completed preference.
29+
- [x] Hide expired official and player-created events at the shared checklist view boundary while preserving stored tasks and completion keys.
30+
- [x] Independently control ordinary and fully completed checklist visibility, with legacy local and Drive preferences defaulting to visible.
31+
- [x] Expose the Checklist navigation item after the feature is release-ready.
32+
- [x] Use the shared compact collection empty state titled “No ongoing or upcoming items.” for history-only, hidden-history, and disabled-category empty results, with a visible “Completed” separator before retained completed history.

‎.agents/plans/inventory.md‎

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# Inventory Plan
2+
3+
Read this plan for Characters, Monsterlings, Artifacts, or Equipment inventory work. Do not load it for unrelated account, checklist, site-experience, or loadout-only work. Also read the account plan when durable inventory or Drive behavior changes, and the loadouts plan when inventory integration changes.
4+
5+
## Characters: Available
6+
7+
- [x] Add Brisshell as a Tier 5 Earth Assassin with her catalog images.
8+
- [x] Stage Vivian and her signature artifact as hidden catalog records outside local development, with local-development catalog counts, until official metadata is available.
9+
- [x] Filter owned and selectable characters by Tier 4 and Tier 5.
10+
- [x] Sort owned characters by name or awakening level in either direction.
11+
- [x] Show owned/total roster progress and disable additions when every character is owned.
12+
- [x] Highlight max-level skills in green so awakening styling never obscures a stored level 12.
13+
- [x] Place Characters first in the Inventory navigation section.
14+
- [x] Add portrait-selectable Mina, Jiwon, and Ophelia costumes with hidden-catalog development navigation details.
15+
16+
## Monsterlings: Available
17+
18+
- [x] Search owned monsterlings by name and filter them across Tier 1 through Tier 5.
19+
- [x] Track one shared, editable Link Chain Level per capable Monsterling species across owned copies, forms, portraits, loadouts, local migrations, and Drive backups; saving a species corrects its exact level (with level one implicit), levels survive copy deletion and owned-data resets, with verified names, triggers, and effects.
20+
- [x] Manage every Link Chain-capable species on a dedicated searchable, level-filterable page, with portrait-driven level editing independent of Monsterling ownership.
21+
- [x] Group Link Chain rows by immutable unlock level in ascending order after search and upgrade-level filters, using optional in-game sort order before alphabetical fallback within each row.
22+
- [x] Pin Link Chain Monsterlings into a dedicated section before Level 1, with a clear empty state and Drive-backed persistence.
23+
- [x] Show the shared Link Chain badge in the Monsterling form preview for eligible species without mutating shared levels.
24+
- [x] Group Monster Codex and Link Chains under a Monsterlings navigation section after Inventory.
25+
- [x] Open accessible Monster Codex detail dialogs from cards with mutation-first navigation and source-only fallback, show published abilities and dialog-contained, independently scrollable, drag-to-pan reverse-hierarchy mutation trees with occurrence-based shared-ingredient duplication, automatically framed selected recipes, subtree centering, final mutations above their paired ingredients, straight connectors, and stacked navigation, use full-width source accordions with capture-only location placeholders, hide unavailable mutation tabs, and filter by multiple source categories with OR semantics.
26+
- [x] Show a detached close-all control for stacked Monster Codex dialogs while keeping X and Escape navigation level-aware.
27+
28+
## Chunk 2: Artifacts Inventory
29+
30+
- [x] Add Brisshell's Tier 5 Earth Assassin artifact, Monstrous Longing.
31+
- [x] Define typed artifact data, owned-artifact fields, images, and validation from the game source.
32+
- [x] Add owned-artifact create, edit, delete, reset, local persistence, and mutation timestamps.
33+
- [x] Build the Artifacts page with cards, search, filters, empty states, and accessible forms.
34+
- [x] Keep artifact cards fixed-size with tier frames and fusion shields; use card-driven editing with a shared add/edit form and compact controls.
35+
- [x] Add Drive backup selection, legacy defaults, conflict metadata/UI, and behavioral tests.
36+
- [x] Expose the Artifacts navigation item after the page is release-ready.
37+
- [x] Sort artifact catalogs, owned copies, and loadout picker results with Tier 5 artifacts first.
38+
39+
## Chunk 3: Equipments Inventory
40+
41+
- [ ] Define typed equipment data, owned-equipment fields, slot categories, images, and validation from the game source.
42+
- [ ] Add owned-equipment create, edit, delete, reset, local persistence, and mutation timestamps.
43+
- [ ] Build the Equipments page with cards, search, filters, empty states, and accessible forms.
44+
- [ ] Add Drive backup selection, legacy defaults, conflict metadata/UI, and behavioral tests.
45+
- [ ] Expose the Equipments navigation item after the page is release-ready.

0 commit comments

Comments
 (0)