Skip to content

Factory harness - #10

Draft
sergenes wants to merge 7 commits into
mainfrom
factory-harness
Draft

Factory harness#10
sergenes wants to merge 7 commits into
mainfrom
factory-harness

Conversation

@sergenes

Copy link
Copy Markdown
Owner

No description provided.

…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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant