31 KiB
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.
Contributor integration follow-up (2026-11-17): F002 remains Complete. Its accepted context skill is being extended with the canonical state-transition and evidence reference under the Captain-authorised F004 lifecycle follow-up; this does not reopen or renumber F002. The reference owns collision resolution and combined-integration gates for other skills.
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.
Contributor integration follow-up (2026-11-17): Captain authorised a dedicated codex-forge-f004-lifecycle branch at /tmp/bortstack-forge-f004-lifecycle, based on 934e62c, to strengthen the existing F004 candidate and shared context contract. Commit c2d4561 was merged into codex as 727a64e after 17 combined Forge tests, skill validation, installer dry-run and diff check passed; the newer F011 planning records were preserved. The contributor skill now initiates finalisation from natural completion language and uses context's canonical lifecycle; review submission, Captain-controlled integration, combined checks, recoverable failure handling, task-ID conflict resolution, Docker retention, and nontechnical messaging have explicit gates. Acceptance scenarios A-I are recorded in docs/validation/contributor-lifecycle.md; Windows and real provider/JJ exercises remain open. F004 stays pending external validation and human acceptance; do not mark it Complete from this follow-up alone.
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: Complete; Captain accepted 2026-11-17. Priority: High. Dependencies: FORGE-F001. Implemented directly on codex under FORGE-008, starting from bc6b6d2. Migration defaults accepted in FORGE-009 and database scope in FORGE-010.
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. Explicitly support SQLite, PostgreSQL, MySQL, and MariaDB under FORGE-010.
Accepted migration boundary (2026-11-17): preserve email and hosting foundations as optional configuration with neutral project-specific defaults. Generation must work locally without GitHub or production infrastructure and must not publish or deploy. Keep the source flask-react-auth-base repository unchanged.
Implementation record (2026-11-17): Copied the tracked source at ff139bf5f28f4604b4a7108f4ee26608dea9924e into Forge's independent template package without changing the original repository. Added a descriptor and Python generator, fresh neutral project context, optional GitHub workflow and SWAG overlay, disabled email by default, and removed mandatory external-network and Roborto branding defaults. Generated projects passed 14 backend tests, 16 frontend tests, frontend lint/build, 23 Playwright checks (one intentional skip), SQLite migrations, Compose base/optional-overlay configuration, and API/nginx image builds. Forge's 15 tests and skill validation passed. A fresh generated frontend passed npm ci; the install reported 14 advisories in development dependencies, while npm audit --omit=dev reported zero production advisories. A clean host Python install and Windows generation remain unverified in this session; prior source-repository evidence does not substitute for those generated-project checks.
Database follow-up (2026-11-17): Under FORGE-010, generation now defaults to persistent SQLite in Docker, with separate PostgreSQL, MySQL, and MariaDB Compose overlays and example environment files. The API image includes psycopg and PyMySQL. A fresh generated Matrix Trial project passed Compose configuration for the base and all three overlays, API image build, and live Alembic upgrades against each of the four engines in disposable containers. All test containers, networks, and volumes were removed. Forge's 15 tests passed. This validates migration compatibility; the full backend test suite has not been repeated separately on all three server databases. Captain accepted F006 after reviewing the multi-database follow-up. The original bootstrap remains available; retiring it is a separate change outside Forge.
FORGE-F007 — Implement Business/Personal Profiles
Status: Complete; human acceptance received 2026-11-17. Priority: Medium. Dependencies: FORGE-F002. Implemented directly on codex under FORGE-008 in commit d3a88fd.
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.
Implementation record (2026-11-17): Added a dependency-free flat profile configurator and read/write module, updated the profile contract and context skill, and tested business and personal records in temporary new/existing directories with different owners and brands. The command requires explicit contributor, testing, and deployment values, preserves existing project files, and refuses to overwrite an existing profile. Linux tests passed; Windows command and filesystem behavior have not been exercised on Windows. No real external project was changed. Captain accepted F007 on 2026-11-17.
FORGE-F008 — Standardise Local Testing and act
Status: Implementation Complete on codex; Captain acceptance pending. Priority: Medium. Dependencies: FORGE-F006. Captain explicitly authorised implementation on 2026-11-19 under FORGE-008's direct-codex policy; baseline b9cc143.
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.
Implementation scope (2026-11-19): One canonical toolkits/testing package supplies separate manual testtask.sh and automated testrunner.sh entry points with shared read-only target resolution. Generated Flask/React projects receive the package, explicit .bortstack/testing.json, Docker Compose manual environment settings, a local account provisioner, and unit/integration commands. Existing-project installation and legacy Roborto migration remain outside F008. The older Forge distribution/testtask stays in place for its accepted F014 scope; it is not the manual launcher. Local fixtures cover branch/task resolution, worktree paths with spaces, manual Compose lifecycle boundaries, credential selection failure, suite selection/failure, and safe act allowlisting. Docker daemon access and Windows validation are pending; do not claim live Compose or GitHub-hosted success. Human acceptance is required before Complete.
Validation: 29 Forge tests passed, including generated-project inclusion and invocation, branch/task/worktree resolution, isolated Compose fixture lifecycle, credential privacy and selection, suite results, and fake-runtime safe act. A generated Flask/React project's docker compose config --quiet passed. context_audit.py, installer dry-run, Python compilation, and git diff --check passed. act is installed (0.2.91) but the Docker daemon denied access, so live Compose startup, real local Actions execution, and account provisioning remain unverified. Windows is untested. No existing application repository or production resource was changed.
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.
FORGE-F011 — Visual Design Quality Pipeline
Status: Planned; task preparation only, implementation not authorised. Priority: High. Dependency: FORGE-F003's existing design workflow; its outstanding acceptance checks remain separate and open.
Enhance bortstack-design with a visual-first concept exploration stage using curated references and optional image generation. Keep direct native Penpot design as a supported alternative. Present distinct visual directions for Captain selection, then refine the chosen direction through iterative visual inspection. Assess typography, layout, spacing, hierarchy, colour, imagery, responsive behaviour, and finish. Label each artifact clearly as a wireframe, styled mockup, or implementation-ready design, with criteria for advancing between levels.
Investigate and validate reconstruction of an approved visual direction into native, editable Penpot elements where technically feasible. Preserve traceability from reference and generated imagery to the resulting design, identify any raster-only or manually rebuilt portions, and do not promise automatic image-to-editable conversion. Reuse bortstack-context for design references, versions, Captain approvals, explicit overrides, task status, and handoffs rather than creating a second approval system. Preserve optional Penpot MCP and a practical non-MCP path, with Linux and Windows instructions. Do not rebuild the F003 MCP integration or alter external applications.
Acceptance proposed: demonstrate at least two visually distinct styled directions for a Forge-owned example, with reference provenance and an optional image-generation path; show Captain selection and a documented refinement round; evaluate each iteration against the visual quality criteria and responsive states; distinguish wireframe, styled mockup, and implementation-ready outcomes; reconstruct an approved direction into editable Penpot text, shapes, and other feasible native elements while recording fidelity, traceability, and remaining raster/manual elements; demonstrate the direct-Penpot alternative and MCP/fallback paths; produce an existing-context approval record and structured handoff without duplicate workflow; validate package and Linux/Windows guidance, reporting platform limits. Human acceptance is required before Complete. F003's own approval, fallback, Windows, and approved-implementation comparison checks are not closed by this task.
Open technical decisions for implementation briefing: define permitted reference sources and provenance/usage recording; choose whether and when image generation improves exploration; set measurable quality and fidelity review criteria; determine the reconstruction method and limits for text, vectors, imagery, components, and responsive variants; select the Forge-owned example and approval artifact; decide what evidence can validate Windows and non-MCP operation. Treat reconstruction feasibility as an investigation outcome, not an assumed capability.
FORGE-F012 — Penpot Editor Connection Reliability
Status: Integrated into local codex; human acceptance pending. Priority: Small maintenance improvement. Owner: Codex. Dependency: FORGE-F003 design skill; its separate acceptance remains pending. Branch/worktree: codex-forge-f012 at /tmp/bortstack-forge-f012; baseline 68432c2; implementation commit a9350ac; record commit and integration tip 075e2f3; integration target codex. Captain's explicit request for an isolated task worktree was a task-specific exception to FORGE-008. Provider remote/PR: not applicable to this Captain-authorised local integration. Human acceptance: pending.
Scope: Document MCP service availability, active editor connection, and successful inspection of the intended design as separate states. Require the verified inspection before mutation, and give contributors browser guidance and a safe recovery sequence for editor disconnection. Keep Penpot operations runtime-discovered and optional. Do not edit PitchInvader, installed skills, or Penpot designs as part of this maintenance task.
Implementation: The design skill and Penpot operations reference now require a target-verified, non-destructive inspection before edits and after interruptions. Recovery stops edits, preserves the last confirmed state and references, asks the contributor to reactivate/reconnect the intended editor, checks uncertain writes, and resumes only after inspection succeeds. Focused contract tests cover these requirements. No live editor session was exercised for this documentation change.
Validation (isolated branch and combined codex, 2026-11-18): 20 unittest tests passed on both trees, including three focused connection-contract checks; the skill validator accepted all three implemented packages; installer dry-run included bortstack-design; task ID audit and git diff --check passed. Captain authorised the fast-forward integration. Manual Penpot/browser validation and Windows behavior remain unverified; this task does not close F003's existing external acceptance gates. Next action: obtain human acceptance before marking F012 Complete. The task worktree remains preserved.
FORGE-F013 — Resolve testtask by Task ID or Branch
Status: Integrated into local codex; human acceptance pending. Owner: Codex. Baseline: 30f6a69; branch/worktree: codex-forge-f013 at /tmp/bortstack-forge-f013; implementation and fast-forward integration commit: 0d67619; target: codex. The Captain requested isolation and a validation report before merging, then authorised commit and merge, as a task-specific exception to FORGE-008.
Scope: Resolve an existing task ID, including legacy IDs, or an exact local branch name to one task, branch, and worktree. Detect unknown and ambiguous references and missing worktrees. Preserve Forge's blocked manual-test result without creating worktrees, switching branches, or adding a runtime. Update usage and add focused tests. Human acceptance remains pending.
Implementation and validation (2026-11-18): testtask.sh delegates read-only lookup to resolve_testtask.py; task headings and local branch/worktree inventory are checked before the unchanged blocked-runtime outcome. Tests cover both formats, historical IDs, unknown and malformed input, ambiguous task/branch references, and a missing worktree. On the isolated candidate and merged codex, 21 tests passed, all three skills validated, installer dry-run passed, and task ID audit passed; diff check passed on the candidate. A live testtask.sh FORGE-F013 resolved the current task and exited 3 with the expected blocked-runtime message. Windows and a manual-test runtime remain unverified. Human acceptance is pending; preserve the task worktree.
FORGE-F014 — Reusable testtask for Existing Projects
Status: Complete; Captain accepted and requested merge to codex on 2026-11-19. Owner: Codex. Branch/worktree: codex-forge-f014 at /tmp/bortstack-forge-f014; baseline 860d6d4; implementation commit 17660d8. This maintenance task extends F013 resolution and F001 distribution without changing their accepted scope. Added a portable runner and conflict-safe existing-repository installer, leaving Forge's own blocked runtime and bortstack-context task ownership intact. A disposable PitchInvader-shaped repository validated its local codex worktree, configured command, execution location, and failure propagation. No PitchInvader repository was modified or tested. All 23 Forge tests and git diff --check passed. Windows and a real PitchInvader run remain unverified.
FORGE-F015 — Mission Commands and Contributor Workflow
Status: Implementation Complete on codex; Captain review and acceptance pending. Owner: Codex. Baseline: 9dc4420; separate worktree not applicable under FORGE-008 direct-codex policy. Scope: add one conversational mission grammar to bortstack-context, route bortstack-contributor through it, and preserve the canonical task lifecycle, task IDs, worktree rules, review gates and legacy skills. set course/lock on, engage, status, help, missions, mission status, and complete variants distinguish selection, implementation, review, integration and verified closure. No CLI/parser, repository migration, application changes, provider mutation or installed-skill changes. Validation: 29 Forge tests, all three skill packages, task-ID audit, isolated-destination installer dry-run, and git diff --check passed. Default installer dry-run found expected conflicts with existing user installations; none was changed. Human acceptance is required before Complete.
FORGE-F016 — Contributor Application Integration Safeguards
Status: Implementation Complete on codex; Captain acceptance pending. Owner: Codex. Baseline: 835a164; separate worktree not applicable under FORGE-008. Scope: require destination discovery, implementation in the authoritative application, real-route manual evidence before contributor review, and post-integration combined validation. Preserve existing mission commands, context states, Git authority, testtask semantics, manual-test resources, prototypes, and legacy skills. No PitchInvader or other external application work is authorised.
Failure audit: bortstack-context/references/mission-commands.md briefed scope and acceptance without establishing the application boundary, route, or navigation destination before engage. bortstack-contributor/SKILL.md sent engage into an authorised worktree and required general checks and manual snapshots, but did not say that feature files must live in the authoritative app or distinguish prototype acceptance from feature delivery. bortstack-contributor/references/review-handoff.md accepted an exact-candidate manual-test statement without checking the real route, backend, permissions, or navigation, then permitted review submission on Git/test evidence. bortstack-context/references/task-lifecycle.md required manual and combined evidence in generic terms but did not explicitly reject preview-only implementation, isolated Docker success, or a conflict-free merge for an application feature. These are destination and functional-evidence gaps; the existing branch/worktree preservation, selective staging, PR, Captain-merge and cleanup safeguards already addressed Git lifecycle. The PitchInvader failure described in this task is primarily preview work standing in for application screens, not lost Git history.
Corrective requirements: Record the authoritative application, route, navigation, backend/data, auth, environment, design, baseline and acceptance in the existing mission briefing; resolve ambiguity before implementation. Require actual app files, route and navigation integration and real development-application testing before Ready for Review. Record isolated validation, manual-route evidence, submission, Captain approval, integration and combined checks separately. Allow explicit prototype missions with Prototype Complete as an outcome, without treating them as app features. Keep tasks open and source work recoverable on missing or failed integration evidence. Use docs/validation/application-delivery.md for the 18 repeatable scenarios.
Implementation and validation (2026-11-21): Updated the canonical context command/lifecycle references and contributor skill/handoff, plus disposable decision and Git-preservation validation fixtures in implementation commit 7365d3c on codex. All 32 Forge unit tests passed; the three implemented skill packages validated; isolated-destination installer dry-run, task ID audit and git diff --check passed. The Python fixture exercises destination, preview, navigation, backend, auth, environment, review, integration, closure and sequential-mission decisions. Existing Git tests preserve branches/worktrees after failed checks. No live application route, provider submission or JJ Windows session was exercised; those remain external acceptance checks. Human acceptance is required before Complete.
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. F011 builds on F003 without closing its separate acceptance checks. F009 remains deferred until after F005. Dependency readiness does not authorise implementation.