Define contributor finalisation and integration lifecycle
This commit is contained in:
+5
-5
@@ -1,11 +1,11 @@
|
||||
# Handoff
|
||||
|
||||
Current work: FORGE-F006 migrated the tracked `flask-react-auth-base` source at `ff139bf5f28f4604b4a7108f4ee26608dea9924e` into Forge on `codex`, starting from `bc6b6d2`. Captain accepted F006 on 2026-11-17; its status is Complete. The original source repository was read and remained clean/unchanged. Direct `codex` work follows FORGE-008. No external application, provider, or production infrastructure was modified.
|
||||
Current work: Captain authorised a contributor integration lifecycle follow-up to the existing FORGE-F004 candidate and FORGE-F002 context contract. F002 is Complete and remains so. F004 is still pending external validation and acceptance. This follow-up uses branch `codex-forge-f004-lifecycle`, worktree `/tmp/bortstack-forge-f004-lifecycle`, baseline `934e62c`, and integration target `codex`; it remains unmerged pending review. The original F004 worktree is preserved.
|
||||
|
||||
Implementation: `templates/flask-react/` now contains a descriptor, independent source payload, Python generator, fresh neutral context boilerplate, and optional GitHub workflow. Generated projects do not need GitHub, SWAG, Resend, a production host, or Forge at runtime. Email is disabled by default, branding is project-specific, and optional SWAG uses a separate Compose overlay. Under FORGE-010, the generated Compose base uses persistent SQLite; PostgreSQL, MySQL, and MariaDB have opt-in database overlays and example environment files. The API image includes psycopg and PyMySQL. Existing `roborto-*` skills and Forge distribution tooling are untouched.
|
||||
Implementation: `bortstack-context/references/task-lifecycle.md` is the canonical state, transition, evidence, identifier and integration contract. Context points to it; Contributor owns automatic conversational finalisation and the review handoff. Shared specifications and F004 requirements now distinguish isolated implementation/testing, verified review submission, Captain-approved integration with combined checks, and human-accepted closure. Docker test resources remain until Commander requests cleanup. `docs/validation/contributor-lifecycle.md` covers acceptance scenarios A-I. No external project, provider setting, production infrastructure or installed skill was modified.
|
||||
|
||||
Validation: Forge `python3 -m unittest discover -s tests -v` passed 15 tests and `python3 scripts/validate-skills.py` passed. A disposable `Orion Starter` generated at `/tmp/forge-f006-orion2` passed 14 backend tests in an ephemeral Docker container, SQLite migration upgrades, Compose configuration, and API/nginx image builds. A fresh `/tmp/forge-f006-orion3` passed base and optional SWAG-overlay Compose configuration, clean `npm ci`, 16 frontend tests, lint, and build in a Node container. A further disposable `/tmp/forge-f006-browser-trial` passed 23 Playwright checks with one intentional skip after Chromium OS libraries were installed in the ephemeral runner. A new `Matrix Trial` generation passed base and all database-overlay Compose configuration, API image build, and live Alembic upgrades on SQLite, PostgreSQL, MySQL, and MariaDB. Disposable database containers, networks, and volumes were removed. Generator tests cover local-only mode, optional local Git, collision refusal, copied capabilities, neutral identity, no active GitHub workflow, and the database overlays. `git diff --check` passed.
|
||||
Validation: `python3 -m unittest discover -s tests -v` passed 17 tests, `python3 scripts/validate-skills.py` accepted all three implemented skills, `python3 scripts/install-skills.py --dry-run --dest /tmp/forge-f004-lifecycle-install-check` planned all three without installation, and `git diff --check` passed. Local Git fixtures cover sequential tasks, failed combined checks, failed push preservation and paths with spaces; context fixtures cover historical and conflicting IDs. These tests cannot prove actual provider PR submission or JJ's conversational/Windows Docker workflow.
|
||||
|
||||
Limitations: Host Python lacked Flask, so a direct host test failed; an initial network-disabled pip install and API build also failed on dependency resolution. Container validation succeeded using available dependency/image cache and normal Docker networking. Host npm was absent, but a clean generated-project `npm ci` and subsequent checks passed inside Node Docker. `npm ci` reported 14 advisories in development dependencies (5 moderate, 7 high, 2 critical); `npm audit --omit=dev` reported zero production advisories. The first Playwright attempt failed because the minimal runner lacked Chromium libraries; after installing those libraries inside an ephemeral container, the suite passed. The full backend test suite has not been run separately on PostgreSQL, MySQL, or MariaDB; live migration checks passed on each. Windows generation and live email/hosting remain unverified. The original bootstrap remains available; retiring it would require a separate change outside Forge. Forge `testtask` remains blocked because Forge has no application runtime.
|
||||
Limitations: Windows and JJ hands-on testing remain mandatory before F004 is production-ready. A real provider push/PR and full combined-application UI/API verification are not available in this Forge-only exercise. The local `testtask` wrapper remains provisioned but blocked without an application runtime/hook. F003 retains its separate pending approval. The F006 template is accepted; its original source repository remains untouched.
|
||||
|
||||
Next action: F005 may use the accepted descriptor and generator. F008's F006 dependency is also satisfied. F003 and F004 still await their separate external validation and acceptance. No push or deployment has occurred.
|
||||
Next action: review the scoped branch and validation evidence, then obtain any required approval before integration into `codex`. After integration, run combined Forge checks and record the integration commit. F004 still needs JJ's Windows, Docker, provider and conversational acceptance exercises before Complete. Do not push or merge by assumption.
|
||||
|
||||
Reference in New Issue
Block a user