Factory harness - #10
Draft
sergenes wants to merge 7 commits into
Draft
Conversation
…tion loop State machine gating describe -> remember -> pattern -> move -> see -> survive -> run one milestone. Gate checks are plain file/content checks, no model call, same discipline as feature-pipeline/pipeline_check.py. run-milestone is not reimplemented, it imports core.run_agent and providers.create_provider directly, so it calls the real Part 1 loop. Not a competitor to github/spec-kit or hmzisb/software-factory, both credited in the README. This is the naive/illustrative version, the Part 1 move applied one level up. 22 unit tests (stdlib only) plus a no-API-key demo script walking all seven stations end to end.
scaffold writes a real starter file with proposed sections for whatever station is blocked (SPEC.md, CLAUDE.md, a release.py stub, visual-testing/README.md, SURVIVE.md), never overwriting an existing file. It does not dodge the presence-not-quality limit, it demonstrates it: a freshly scaffolded SPEC.md passes the describe gate immediately. status/advance gained --json, printing a fenced factory-gate-result block (schema_version, status, blockers, suggested_next) adapted from ai-factory's aif-gate-result schema to this project's seven stations. Both ideas are taken directly from lee-to/ai-factory: /aif-docs generates real project files, and its quality gates emit the same kind of structured, parseable result instead of plain pass/fail text. 30 tests total, up from 22.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.