Files
bortstack-forge/docs/DECISIONS.md
T

31 lines
5.0 KiB
Markdown

# 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-008 records Captain's temporary direct-`codex` workflow. FORGE-009 records the approved template migration defaults.
## 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 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 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: `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 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.
## 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.
## FORGE-009 — Optional Email and Hosting Foundations in Migrated Template
Status: Accepted. Date: 2026-11-17. Rationale: generated applications must remain useful without a GitHub account, a production host, or a Bortstack email identity. Consequences: FORGE-F006 preserves the template's email and hosting foundations as optional configuration, uses neutral project-specific defaults, and does not publish or deploy during generation. GitHub, Resend, Cloudflare, SWAG, and production setup require separate project choices; the original template repository remains unchanged. Supersedes: mandatory provider and immediate-deployment assumptions for the Forge migration only.