Implement FORGE-F002 context skill and snapshot commands

This commit is contained in:
rob
2026-11-17 14:19:59 +00:00
parent d01b4c0f06
commit 6217b9e8fd
12 changed files with 198 additions and 4 deletions
+8 -2
View File
@@ -1,5 +1,11 @@
# Handoff
Current work: documentation-only planning reconciliation in `/tmp/bortstack-forge-planning-reconciliation` on `codex-forge-planning-reconciliation`. FORGE-F001 was human accepted and is present on `main` and `codex`; its separate worktree remains at `/tmp/bortstack-forge-f001`. Decisions FORGE-001 through FORGE-006 and planned tasks FORGE-F002 through FORGE-F010 are recorded. No implementation task has been authorised by this planning work. Review the decision and task diff before separately accepting any implementation task. No Forge skill can currently be installed; existing `roborto-*` skills remain operational. Windows installer behavior remains unverified on Windows.
FORGE-F002 was human accepted for commit and merge on 2026-11-17. Its task branch/worktree is `codex-forge-f002` at `/tmp/bortstack-forge-f002`; integration target is `codex`. Previous F001 and planning worktrees remain intact.
No `testtask` or ChatGPT snapshot adapter is present. The installed Roborto context skill requires both for enrolled repositories; Forge has no application runtime or Docker test environment yet. F002 must reconcile ownership and the Forge-specific adapter; this documentation reconciliation does not provision one or claim manual-test readiness.
Implementation: canonical `bortstack-context` skill, lifecycle/profile/design/snapshot contract, `scripts/context_audit.py`, safe current-worktree ZIP command, and a Forge `testtask` entry point that reports its runtime blocker. No installed Roborto skills or external projects were changed.
Validation: `python3 -m unittest discover -s tests -v` passed 7 tests; `python3 scripts/validate-skills.py` validated the new package; `python3 scripts/context_audit.py docs/TASKS.md --worktrees` reported no ID collision and detected this changed worktree; shell syntax checks passed. A ZIP was generated from the uncommitted task worktree. Temporary-repository tests verified edited and untracked inclusion and `.env`/prior snapshot exclusion. The ZIP predates final documentation edits and is stale for sharing; refresh it if needed.
Limitations: `scripts/testtask.sh FORGE-F002` is provisioned but blocked because Forge has no application runtime or task-specific manual-test hook. Windows behavior has not been checked. Inspect archive contents before sharing. No push or deployment was performed.
Next action: F003 and F004 can be briefed separately after integration; neither is authorised for implementation by this merge.