Use direct codex workflow for initial Forge tasks
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# Forge repository instructions
|
||||
|
||||
Read `docs/PROJECT_OVERVIEW.md`, `CURRENT_STATE.md`, `DECISIONS.md`, `TASKS.md`, and `HANDOFF.md` before task work. Inspect Git status and relevant code. One accepted implementation task uses a dedicated branch and separate worktree. Preserve unrelated changes and legacy skills. Task IDs use `FORGE-F###`; record implementation, validation, limitations, and handoff. Only mark a task complete after human acceptance. Never commit secrets. Do not modify external projects, production infrastructure, or installed skills as part of foundation work.
|
||||
Read `docs/PROJECT_OVERVIEW.md`, `CURRENT_STATE.md`, `DECISIONS.md`, `TASKS.md`, and `HANDOFF.md` before task work. Inspect Git status and relevant code. Under Captain's FORGE-008 direction, work directly on `codex` and commit scoped Forge changes there until Captain says otherwise; do not create task branches or worktrees as routine setup. Preserve existing worktrees, unrelated changes, and legacy skills. Task IDs use `FORGE-F###`; record implementation, validation, limitations, and handoff. Only mark a task complete after human acceptance. Never commit secrets. Do not modify external projects, production infrastructure, or installed skills as part of foundation work.
|
||||
|
||||
Script commands: `scripts/create-chatgpt-snapshot.sh` creates a current-worktree ZIP under ignored `snapshots/`; inspect contents before sharing. `scripts/testtask.sh FORGE-F###` is the task-ID entry point, currently provisioned but blocked because Forge has no application runtime or manual-test hook.
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# Current state
|
||||
|
||||
FORGE-F001 and FORGE-F002 were human accepted and are present on `codex`; F002's context dependency for F003 is satisfied. FORGE-F004 implementation is merged into `codex`, with human acceptance pending JJ's external validation; it is not an F003 dependency. `bortstack-context` and `bortstack-contributor` are integrated; `bortstack-design` is an implementation candidate on the F003 branch only. The repository `testtask` entry point is provisioned but blocked because Forge has no application runtime or manual-test hook. One skill directory remains reserved. No generator or active legacy-skill migration has been implemented. Captain reports successful external validation of local Penpot 2.18 Docker and its integrated MCP connection, including editable shape/text creation and preservation of existing design elements during modification. The MCP container runs locally, but no Penpot connector or browser is exposed to this session, so current-session Penpot edits have not been verified. Windows and JJ's hands-on workflow have not been tested. Decisions FORGE-001 through FORGE-007 remain accepted.
|
||||
FORGE-F001 and FORGE-F002 were human accepted and are present on `codex`. FORGE-F004 and FORGE-F003 implementation candidates are merged into local `codex`, with their external validation and human acceptance pending. `bortstack-context`, `bortstack-contributor`, and `bortstack-design` packages are present. The repository `testtask` entry point is provisioned but blocked because Forge has no application runtime or manual-test hook. One skill directory remains reserved. No generator or active legacy-skill migration has been implemented. Captain reports successful external validation of local Penpot 2.18 Docker and its integrated MCP connection, including editable shape/text creation and preservation of existing design elements during modification. The MCP container runs locally, but no Penpot connector or browser is exposed to this session, so current-session Penpot edits have not been verified. Windows and JJ's hands-on workflow have not been tested. Decisions FORGE-001 through FORGE-008 remain accepted. Captain has authorised direct `codex` work for future Forge tasks until further notice.
|
||||
|
||||
+4
-1
@@ -1,6 +1,6 @@
|
||||
# Architecture decisions
|
||||
|
||||
FORGE-001 through FORGE-005 were approved planning inputs on 2026-11-17 and are retained with subsequent approved details. FORGE-006 records the approved task identification policy. FORGE-007 supersedes only the PitchInvader pilot clause of FORGE-004; its design ownership and approval policy remain in force.
|
||||
FORGE-001 through FORGE-005 were approved planning inputs on 2026-11-17 and are retained with subsequent approved details. FORGE-006 records the approved task identification policy. FORGE-007 supersedes only the PitchInvader pilot clause of FORGE-004; its design ownership and approval policy remain in force. FORGE-008 records Captain's temporary direct-`codex` workflow.
|
||||
|
||||
## FORGE-001 — Technology-Agnostic Project Bootstrap Architecture
|
||||
Status: Accepted. Date: 2026-11-17. Rationale: project lifecycle must apply across stacks. Consequences: Core has no Flask, React, React Native, or other framework dependency; independently maintained templates own stack-specific behavior. Generated projects have no Forge runtime dependency. Supersedes: none.
|
||||
@@ -22,3 +22,6 @@ Status: Accepted. Date: 2026-11-17. Rationale: project-prefixed sequential IDs d
|
||||
|
||||
## FORGE-007 — Keep Forge Design Validation Within Forge
|
||||
Status: Accepted. Date: 2026-11-17. Rationale: PitchInvader has its own repository and project workflow; Forge skill development must not perform application work there. Consequences: FORGE-F003 uses a Forge-owned disposable design example to validate concepts, refinement, approval, handoff, and visual comparison. Any future PitchInvader design or homepage work belongs to a separately authorised task in the PitchInvader project. The design ownership and approval rules in FORGE-004 remain unchanged. Supersedes: the PitchInvader pilot clause of FORGE-004 only.
|
||||
|
||||
## FORGE-008 — Direct `codex` Work During Initial Forge Development
|
||||
Status: Accepted. Date: 2026-11-17. Rationale: Captain wants initial Forge tasks committed directly on `codex` without routine task branches or worktrees until further notice. Consequences: inspect status and keep each task's changes scoped, validated, committed, and documented on `codex`; preserve existing worktrees and unfinished work. Task acceptance, design approval, manual validation, and completion gates remain separate from a commit. Do not push, deploy, or modify external projects without their own authority. Supersedes: Forge's mandatory task branch/worktree rule for future Forge work only, until Captain changes direction.
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
# Handoff
|
||||
|
||||
FORGE-F003 is In Progress on `codex-forge-f003` at `/tmp/bortstack-forge-f003`, based on local `codex` commit `b8f3920` plus the cherry-picked Forge-only reconciliation. The separate planning branch remains intact. F002 is Complete and does not block F003; F004's pending JJ validation also does not block it. No external application project, installed skill, distribution tooling, or production service was modified.
|
||||
FORGE-F003's candidate was committed on `codex-forge-f003` and merged into local `codex` at Captain's request. It remains open pending Captain design approval and Penpot/Windows/visual validation. The separate planning branch remains intact. F002 is Complete and does not block F003; F004's pending JJ validation also does not block it. No external application project, installed skill, distribution tooling, or production service was modified. Captain authorised direct `codex` work for future Forge tasks until further notice; FORGE-008 and `AGENTS.md` record this.
|
||||
|
||||
Candidate: `bortstack-design` skill and references; a Forge-owned task-overview example with editable SVG concepts A and B, refined A, PNG previews, and an unapproved handoff draft. The example is not an application feature. Captain approval is pending and no design approval has been recorded in `bortstack-context`.
|
||||
|
||||
@@ -8,4 +8,4 @@ Validation: `python3 -m unittest discover -s tests -v` passed 9 tests; `python3
|
||||
|
||||
Limitations: Local Penpot containers run, including MCP, but this Codex session exposes no Penpot connector or browser. Current-session MCP edits and Penpot SVG import were not possible to verify. The non-MCP fallback is documented and its source files were exercised locally, but Penpot UI import remains pending. Windows setup and a post-approval implementation comparison remain unverified. Existing repository `testtask` remains blocked by lack of application runtime.
|
||||
|
||||
Next actions: Captain reviews the concepts and explicitly approves a named version or requests refinement; record that approval through `bortstack-context`. Once Penpot MCP or UI access is available, import/edit the Forge example and record file/board references, exercise the fallback, then perform the approved-source visual comparison. Keep F003 open until those acceptance gates pass. The candidate is committed on its task branch for preservation; no push or merge of F003 implementation has occurred.
|
||||
Next actions: Captain reviews the concepts and explicitly approves a named version or requests refinement; record that approval through `bortstack-context`. Once Penpot MCP or UI access is available, import/edit the Forge example and record file/board references, exercise the fallback, then perform the approved-source visual comparison. Keep F003 open until those acceptance gates pass. No push or deployment has occurred.
|
||||
|
||||
+1
-1
@@ -17,7 +17,7 @@ Acceptance: demonstrate lifecycle and collision checks with new and legacy repos
|
||||
Implementation record (2026-11-17): Added the canonical skill, snapshot command reference, read-only task ID/worktree audit, ZIP snapshot entry point, and explicit blocked `testtask` entry point. Tests cover collision handling for new and legacy IDs and safe snapshots of edited/untracked files. The skill defines lifecycle gates and preservation of unfinished work. Runtime manual testing remains unavailable until Forge has a task-specific hook; Windows is untested.
|
||||
|
||||
## FORGE-F003 — Implement `bortstack-design`
|
||||
Status: In Progress (engaged 2026-11-17). Priority: High. Dependency: FORGE-F002, Complete and integrated into local `codex`; no dependency blocker. Implementation branch/worktree: `codex-forge-f003` at `/tmp/bortstack-forge-f003`. Planning reconciliation remains preserved separately at `/tmp/bortstack-forge-f003-reconciliation`.
|
||||
Status: Merged into local `codex`; Captain design approval and external validation pending. Priority: High. Dependency: FORGE-F002, Complete and integrated into local `codex`; no dependency blocker. Implementation was committed on `codex-forge-f003` at `/tmp/bortstack-forge-f003` and fast-forward merged into `codex` on 2026-11-17. Planning reconciliation remains preserved separately at `/tmp/bortstack-forge-f003-reconciliation`.
|
||||
|
||||
Implement the canonical `bortstack-design` skill for existing and generated repositories. Support AI-assisted concept generation and comparison of multiple distinct, editable Penpot concepts; refinement of a selected concept without flattening or losing existing editable elements; and explicit Captain approval before design-dependent implementation. `bortstack-context` owns the design reference, version, approval authority/date, explicit override, and task lifecycle record. `bortstack-design` owns Penpot operations, concept/refinement guidance, structured design-to-code handoffs, and visual validation. A handoff identifies the approved design/version, relevant screens and states, layout/responsive behavior, assets, interaction details, implementation task, and known gaps. Visual validation compares implementation against that approved source and records deviations or approved changes.
|
||||
|
||||
|
||||
@@ -19,9 +19,11 @@ Use a project-specific prefix and sequential number for new tasks (for example `
|
||||
|
||||
## Task lifecycle
|
||||
|
||||
Use the repository's accepted scope and authority. The shared states are **In Progress**, **Ready to Finalise**, **Ready for Review**, **Merged**, **Closed**, and **Blocked / Suspended**. A planned task is not authorised merely because its dependencies are ready. `lock on` briefs objective, scope, acceptance, dependencies, risks, validation, and unresolved decisions; `engage` implements the briefed accepted task. One accepted implementation task uses its own branch and separate worktree. Do not check the same branch out twice or switch another console's worktree.
|
||||
Use the repository's accepted scope and authority. The shared states are **In Progress**, **Ready to Finalise**, **Ready for Review**, **Merged**, **Closed**, and **Blocked / Suspended**. A planned task is not authorised merely because its dependencies are ready. `lock on` briefs objective, scope, acceptance, dependencies, risks, validation, and unresolved decisions; `engage` implements the briefed accepted task. Use the repository's current branch policy. For a simple scoped task, direct integration-branch work is valid when the Captain or repository explicitly authorises it, the checkout is clean or explained, no other console is changing that branch, and the task can be kept as a reviewable commit. Use a dedicated branch and separate worktree when required by repository policy, concurrent work, unresolved changes, or risk of mixing tasks. Do not check the same branch out twice or switch another console's worktree.
|
||||
|
||||
Before starting another implementation task, audit active worktrees, changes, and handoffs. Previous work must be committed and submitted for review, integrated, or explicitly suspended with its exact state documented. Detect and report unfinished worktrees, uncommitted or untracked files, and missing or incomplete handoffs. Never automatically delete an unfinished worktree. An implementation passing automated tests is at most Ready to Finalise. Ready for Review requires the repository's review submission; Merged requires verified integration; Closed requires human acceptance and recorded cleanup. Blocked / Suspended preserves the branch, worktree, and resumption instructions. Commit, push, merge, rebase, reset, and deployment require repository-defined authority; do not infer it from `engage`.
|
||||
Before starting another implementation task, audit active worktrees, changes, and handoffs. Previous work must be committed and submitted for review, integrated, or explicitly suspended with its exact state documented. Detect and report unfinished worktrees, uncommitted or untracked files, and missing or incomplete handoffs. Never automatically delete an unfinished worktree. A dedicated branch/worktree is the default unless the repository's current `AGENTS.md` or Captain's explicit direction authorises direct integration-branch work; preserve task scope and status gates in either mode. An implementation passing automated tests is at most Ready to Finalise. Ready for Review requires the repository's review submission; Merged requires verified integration; Closed requires human acceptance and recorded cleanup. Blocked / Suspended preserves the branch, worktree, and resumption instructions. Commit, push, merge, rebase, reset, and deployment require repository-defined authority; do not infer it from `engage`.
|
||||
|
||||
For authorised direct-branch work, record the active task and starting commit, inspect status before editing, keep unrelated changes untouched, and finish with a scoped diff and validation before committing. Record the resulting commit and pending acceptance in the task and handoff. Do not create a test worktree merely for branch ceremony; use the repository's manual-test adapter only when the task actually needs it. If another task or console changes the checkout, stop and reconcile before continuing. Direct commits do not bypass review, design approval, or human completion gates.
|
||||
|
||||
## Profiles and design
|
||||
|
||||
|
||||
Reference in New Issue
Block a user