Files
stack/tasks/ng-goal-footer-implementation.json

20 lines
2.0 KiB
JSON

{
"taskVersion": 1,
"id": "t-ng-goal-footer-implementation",
"prompt": "Implement issue #54 in an isolated exact copy of the Mosaic Stack repository. Read docs/plans/2026-09-06_ng-goal-footer-dev.md before changing files. Scope is limited to extensions/goal, its required extensions/mosaic-core/lib support, and focused tests; .pi/extensions is generated only through scripts/sync-dev-extensions.sh. Do not read, modify, symlink, reload, or write through to ~/.mosaic. Do not change Docker, release, credentials, repository policy, CURRENT.md, BUILD-LOG.md, or docs/SESSIONS.md. Preserve the copied mosaic-core dependency unless a demonstrated compile defect requires a separately reported change. Requirements: remove the above-editor goal widget; compose with Pi's default footer using setStatus; render textual Active, Waiting, Paused, Blocked, Complete, and optional None states with the plan's semantic theme roles; keep meaning independent of color; make bare /goal return the complete goal text without truncation; register a non-conflicting direct recall shortcut, initially Alt+G, using the same full formatter; preserve a bounded terminal outcome so completed goal text remains recallable without restarting the loop; distinguish blocked from ordinary pause; preserve version-1 state loading and all continuation, report, wait, abort, persistence, and incarnation-fencing behavior. Add or update focused unit/runtime tests. Self-check with the extension test suite, TypeScript checking available in the exact workspace, searches proving no goal setWidget call remains, searches proving no absolute ~/.mosaic dependency, and git diff --check. Return a concise change summary, exact commands and results, known limitations, and the complete diff. Do not commit or push.",
"workspace": "stack-repo",
"capabilities": {
"tools": [
"read",
"write",
"edit",
"bash",
"grep",
"find",
"ls"
]
},
"session": "worker-ng-goal-footer-author",
"timeoutSeconds": 600
}