FORGE-F008 Add unified testing toolkit for generated projects
This commit is contained in:
+5
-1
@@ -78,12 +78,16 @@ 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: Planned. Priority: Medium. Dependencies: FORGE-F006.
|
||||
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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user