Reconcile Forge decisions and implementation backlog

This commit is contained in:
rob
2026-11-17 13:30:52 +00:00
parent 1c1ed1f3aa
commit d01b4c0f06
4 changed files with 88 additions and 15 deletions
+1 -1
View File
@@ -1,3 +1,3 @@
# Current state
FORGE-F001 foundation is accepted for integration. The repo initially contained only a five-byte README on `main`; no prior local task or decision files existed. Four skill directories are reserved with README files, so no Forge skills are installable. The installer, validator, specifications, profiles, and automated tests are present. No generator, design integration, or active skill migration has been implemented. Linux tests passed locally; Windows has not been tested.
FORGE-F001 foundation was human accepted and is present on `main` and `codex`. The repo initially contained only a five-byte README on `main`; no prior local task or decision files existed. Four skill directories are reserved with README files, so no Forge skills are installable. The installer, validator, specifications, profiles, and automated tests are present. No generator, design integration, or active skill migration has been implemented. Linux tests passed locally; Windows has not been tested. Decisions FORGE-001 through FORGE-006 and planning tasks FORGE-F002 through FORGE-F010 are recorded; none of those implementation tasks has been authorised or started.
+13 -10
View File
@@ -1,18 +1,21 @@
# Architecture decisions
All five decisions were supplied as approved planning inputs on 2026-11-17. No earlier Forge decision records existed. None supersedes an earlier decision.
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. None supersedes an earlier decision.
## FORGE-001 — Technology-Agnostic 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; templates own stack-specific behavior. Supersedes: none.
## 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.
## FORGE-002 — Centralised Skill Management
Status: Accepted. Date: 2026-11-17. Rationale: one canonical source avoids divergent skill copies. Consequences: Forge will maintain `bortstack-context`, `bortstack-new`, `bortstack-contributor`, and `bortstack-design`; existing `roborto-*` skills remain until validated migration. Supersedes: none.
## FORGE-002 — Centralised Codex Skill Management and Consolidation
Status: Accepted. Date: 2026-11-17. Rationale: one canonical source avoids divergent skill copies. Consequences: Forge is the canonical source for `bortstack-context`, `bortstack-new`, `bortstack-contributor`, and `bortstack-design`. All support appropriate business and personal workflows. Existing `roborto-*` skills remain operational until replacements are tested and distributed, including to Commander JJ. Supersedes: none.
## FORGE-003 — Penpot Integration
Status: Accepted. Date: 2026-11-17. Rationale: Penpot is the selected visual design platform. Consequences: integration is optional and outside Core. Supersedes: none.
## FORGE-003 — Penpot Visual Design Integration
Status: Accepted. Date: 2026-11-17. Rationale: Penpot is the selected visual design platform. Consequences: integration is optional and outside Core, supporting local and future self-hosted instances. Supersedes: none.
## FORGE-004 — Retrofittable Visual Design Workflow
Status: Accepted. Date: 2026-11-17. Rationale: new and existing projects need the same design lifecycle. Consequences: context owns design references and approvals; design owns Penpot operations and handoffs; implementation needs approved design or recorded override; PitchInvader is the initial pilot. Supersedes: none.
Status: Accepted. Date: 2026-11-17. Rationale: new and existing projects need the same design lifecycle. Consequences: `bortstack-context` owns design references, approvals, explicit overrides, and task lifecycle integration; `bortstack-design` owns Penpot operations, handoffs, and visual validation. Design-dependent implementation needs approved design or documented explicit override. PitchInvader is the initial pilot. Supersedes: none.
## FORGE-005 — Business/Personal Profiles
Status: Accepted. Date: 2026-11-17. Rationale: project settings vary by development context. Consequences: profile, ownership, branding, and contributor permissions are distinct; neither profile implies ownership. Supersedes: none.
## FORGE-005 — Business/Personal Project Context Profiles
Status: Accepted. Date: 2026-11-17. Rationale: project settings vary by development context. Consequences: business and personal profiles are supported; profile, ownership, branding, and contributor permissions are distinct. Neither profile implies ownership. Supersedes: none.
## FORGE-006 — Project-Prefixed Task Identification and Collision Prevention
Status: Accepted. Date: 2026-11-17. Rationale: project-prefixed sequential IDs distinguish tasks across repositories. Consequences: new tasks use project prefixes such as `FORGE-002`, `PI-042`, and `RB-018`. Historical IDs, including `FORGE-F001` and `TASK-001`, remain valid. During reconciliation, the context system detects duplicate identifiers and reports possible collisions before merging records. This is lightweight detection, not a central allocation service. Forge retains its `FORGE-F###` convention for this backlog. Supersedes: none.
+2 -2
View File
@@ -1,5 +1,5 @@
# Handoff
Task: FORGE-F001. Worktree: `/tmp/bortstack-forge-f001`; branch: `codex-forge-f001`. Foundation implementation was accepted by the user for commit and merge into `main`. Run `python3 -m unittest discover -s tests -v`, `python3 scripts/validate-skills.py`, and `python3 scripts/install-skills.py --list`. No Forge skill can currently be installed. Do not migrate or replace existing `roborto-*` skills. Windows installer behavior remains unverified on Windows. Next: review this foundation, then separately authorize the first skill implementation.
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.
No `testtask` or snapshot adapter was present in this new repository. The installed Roborto context skill normally provisions those for application repositories; Forge has no application runtime or Docker test environment yet. A separate task should resolve a Forge-specific manual-test adapter before treating this repository as enrolled in that full workflow.
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.
+72 -2
View File
@@ -1,7 +1,77 @@
# Tasks
The following backlog entries are planning records, not implementation authorisation. Retain `FORGE-F###` for this backlog. Dependencies are prerequisites, not permission to begin work.
## FORGE-F001 — Repository Foundation & Shared Skill Architecture
Status: Complete; human acceptance received 2026-11-17. Approved scope: structure, specifications, portable installer and validation. Acceptance: documented architecture and decisions; safe installer that ignores reserved skills; tests pass; legacy skills and external repositories remain untouched. Task branch/worktree: `codex-forge-f001` at `/tmp/bortstack-forge-f001`. Skill implementation and migration are excluded.
## Suggested next task
Implement `bortstack-context` as the first canonical skill, including compatibility checks against the existing `roborto-project-context`; authorize and scope separately.
## FORGE-F002 — Implement `bortstack-context`
Status: Planned. Priority: High. Dependencies: FORGE-F001.
Migrate `roborto-project-context` into the canonical skill for new and existing repositories. Preserve overview, current state, decisions, tasks, handoffs, isolated task branches/worktrees, and legacy Roborto compatibility. Support project-prefixed IDs with duplicate detection, business/personal contexts, and design references, approvals, and explicit overrides. Define the shared task finalisation lifecycle.
Lifecycle states: In Progress, Ready to Finalise, Ready for Review, Merged, Closed, Blocked / Suspended. Implementation working in a worktree is not completion. Before another implementation task begins, previous work must be committed and submitted for review, integrated, or explicitly suspended with its state documented. Detect unfinished worktrees, uncommitted changes, and incomplete handoffs. Never automatically delete worktrees with unfinished work.
Acceptance: demonstrate lifecycle and collision checks with new and legacy repository examples; preserve historical IDs and unfinished work. Reconcile context ownership of `testtask` and ChatGPT snapshot entry points without claiming Forge has an application runtime.
## FORGE-F003 — Implement `bortstack-design`
Status: Planned. Priority: High. Dependencies: FORGE-F002.
Track the Penpot integration workstream. Implement visual design for existing and generated repositories, local and future self-hosted Penpot, Codex integration through Penpot MCP where available, and documented fallback when unavailable. Support concept creation, refinement, approval, design-to-code handoffs, and visual validation on Linux and Windows. Use `bortstack-context` for approvals and task lifecycle records. Pilot PitchInvader's new homepage. Detailed planning belongs to the dedicated Penpot discussion; no implementation is authorised here.
Acceptance: pilot an approved concept, design handoff, and visual validation, including the MCP fallback.
## FORGE-F004 — Implement `bortstack-contributor`
Status: Planned. Priority: High. Dependencies: FORGE-F002.
Migrate the contributor skill while preserving Commander JJ's established workflow, Captain/Commander terminology, independently created contributor tasks, isolated branches/worktrees, manual testing, disposable Docker conventions, Windows installation, legacy Roborto task reconciliation, and GitHub/Gitea workflows where available.
When JJ reports completion, Codex identifies the task/worktree, inspects changed and untracked files, verifies required automated and manual tests, stages only intended files, commits, pushes, creates a PR where supported, records its reference, and sets Ready for Review. Tell JJ Captain approval is pending. Captain approval is mandatory before merging; Codex must not merge JJ's PR automatically. If validation, commit, push, or PR creation fails, preserve work and report the blocker. JJ need not operate Git manually. A new task may begin after the previous task is submitted for review. Clean a worktree only after verified integration and recorded acceptance.
Acceptance: test two consecutive contributor tasks. Submit the first for review before implementing the second; abandon no uncommitted work and merge neither without Captain approval.
## FORGE-F005 — Implement `bortstack-new`
Status: Planned. Priority: High. Dependencies: FORGE-F002, FORGE-F006, FORGE-F007.
Orchestrate technology-independent generation: template selection, project configuration, business/personal profile selection, initial context, optional Git configuration, and delegation to `bortstack-context`. Generated projects remain independently maintainable without Forge as a runtime dependency.
Acceptance: generate and validate a project from the migrated template with either profile and a local-only Git option.
## FORGE-F006 — Migrate Flask/React Bootstrap Template
Status: Planned. Priority: High. Dependencies: FORGE-F001.
Migrate `flask-react-auth-base` into Forge's template architecture. Preserve Flask backend/authentication, React/Vite frontend, Docker configuration, database support, automated tests, and documentation. Remove mandatory GitHub and immediate production-deployment assumptions. Validate generated applications before retiring the existing bootstrap workflow. No additional framework templates yet.
Acceptance: a generated application passes relevant checks and retains the listed capabilities before the existing bootstrap is retired.
## FORGE-F007 — Implement Business/Personal Profiles
Status: Planned. Priority: Medium. Dependencies: FORGE-F002.
Implement FORGE-005 for new and existing repositories: profile-specific documentation and conventions, independent ownership and branding, contributor access, and configurable testing/deployment expectations. Business profile does not imply Bortstack ownership.
Acceptance: both profiles work with separately configured ownership and branding.
## FORGE-F008 — Standardise Local Testing and `act`
Status: Planned. Priority: Medium. Dependencies: FORGE-F006.
Provide simple local test commands, Docker testing where appropriate, optional GitHub Actions-compatible `act`, clear results, separation of test failures from infrastructure failures, safeguards against publishing/deployment, and bounded automated repair. Remote CI must not be required for local verification.
Acceptance: validate a generated template locally and demonstrate failure classification and deployment protection.
## FORGE-F009 — Optional Gitea Integration
Status: Planned (deferred). Priority: Deferred. Dependencies: FORGE-F005.
Support optional SSH remotes including nonstandard ports, authorised repository creation, existing repositories, branch/PR workflows, and contributor integration. Preserve GitHub and local-only Git. Gitea server administration and CI runner deployment are outside initial scope.
Acceptance: exercise the optional flow without making Gitea mandatory.
## FORGE-F010 — Cross-Platform Skill Distribution and Validation
Status: Planned. Priority: Medium. Dependencies: FORGE-F002, FORGE-F004.
Extend the foundation installer and validator, not a second installation system. Support safe Linux/Windows installs and updates, versions, conflict detection, explicit updates, migration from legacy `roborto-*`, JJ's Windows validation, documented rollback, and no duplicate active skill discovery after cutover.
Acceptance: validate Linux and JJ's Windows installation, update, and rollback; report conflicts and retain legacy skills until cutover.
## Scheduling
Start with F002. F003 and F004 can follow F002 independently; F006 can proceed after F001. F007 follows F002. F005 follows F002, F006, and F007. F008 follows F006. F010 follows F002 and F004. F009 remains deferred until after F005. Dependency readiness does not authorise implementation.