# 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. ## FORGE-F002 — Implement `bortstack-context` Status: Complete; human acceptance received 2026-11-17 through instruction to commit and merge. Priority: High. Dependencies: FORGE-F001. Branch/worktree: `codex-forge-f002` at `/tmp/bortstack-forge-f002`; integration target: `codex`. 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. 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: 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. Use the optional Penpot adapter for local Penpot 2.18 and future self-hosted instances. Support its integrated MCP server when configured and a documented non-MCP path for preparing editable concepts, approval records, handoffs, and validation when MCP is unavailable. Keep Penpot and MCP outside framework-independent Core; do not require either for unrelated tasks. Describe Linux and Windows setup, connection checks, and fallback. Preserve existing skill distribution tooling and `roborto-*` compatibility; installable package must meet `docs/specifications/skill-contract.md` and declare its dependency on `bortstack-context` and optional Penpot/MCP integration. No application code, installed skills, or external projects are changed by this planning record. Validate the workflow with a Forge-owned disposable design example: multiple editable concepts, a refinement round, Captain approval recorded via `bortstack-context`, a structured implementation handoff, and visual comparison against a small example implementation or reference rendering. Keep the example outside application projects and production infrastructure. Design approval and implementation approval are separate lifecycle gates. Do not mark F003 Complete merely because a Penpot connection or a concept works. Acceptance: demonstrate concept generation, at least two distinct editable concepts, preservation of existing elements during refinement, explicit recorded Captain approval for the Forge-owned example, a structured handoff, and visual validation for that example. Exercise MCP and documented fallback, and verify Linux and Windows instructions or report platform-specific limits. Validate the skill package with Forge's existing validator and installer without replacing distribution tooling or retiring legacy skills. A documented explicit override may permit a different design-dependent implementation task under the context contract, but does not substitute for the example's required approval. Evidence available at reconciliation: Captain reports a validated local Penpot 2.18 Docker deployment and integrated MCP server; Codex connected, created editable shapes/text, and modified an existing design while preserving elements. This confirms the local MCP path is feasible; it does not by itself validate the full F003 workflow, fallback, Windows path, or Forge-owned example. Open decisions for implementation briefing: choose the scope and Penpot file for a disposable Forge-owned example, the Captain's preferred approval artifact/record, and the practical non-MCP editing path. These do not block this planning reconciliation; resolve them before claiming example acceptance. No PitchInvader project work is in F003 scope. Implementation record (2026-11-17): Added the `bortstack-design` skill, Penpot/MCP and non-MCP operation reference, structured handoff template, and a Forge-owned task-overview example with two distinct SVG concepts and a refined A variant. The SVG source retains separately editable text/shapes and original A element IDs; rendered previews were visually inspected. Nine repository tests pass, the skill validator accepts all three implemented packages, and installer dry-run includes design. Captain approval, Penpot import/editing in this session, current-session MCP mutation, Windows verification, and comparison with an approved implementation remain pending. The local MCP container is running, but no Penpot MCP connector or browser is exposed to this session. Do not claim F003 Complete. ## FORGE-F004 — Implement `bortstack-contributor` Status: Merged into `codex`; acceptance pending JJ's external validation. Priority: High. Dependencies: FORGE-F002. Branch/worktree: `codex-forge-f004` at `/tmp/bortstack-forge-f004`. 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. Implementation record (2026-11-17): Added the canonical contributor skill and review-handoff reference. A disposable Git test exercised two consecutive task branches/worktrees, selective staging, preserved untracked work, and no merge into the integration branch. The first review was represented by a local marker, not a provider PR. Real PR submission, JJ's Windows installation, manual Docker testing, and JJ's hands-on workflow remain unverified; do not mark Complete until the required human acceptance and external checks are resolved. ## 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.