Skip to content

Develop Software Factory with its own workflow - #5

Merged
AnkitTheCoder merged 1 commit into
mainfrom
factory/self-hosting-development
Oct 27, 2026
Merged

AnkitTheCoder merged 1 commit into
mainfrom
factory/self-hosting-development

Conversation

@AnkitTheCoder

@AnkitTheCoder AnkitTheCoder commented Oct 27, 2026 •

Copy link
Copy Markdown
Collaborator

Why

Software Factory can operate on its own repository, but that self-hosting boundary was implicit. This change makes the released plugin the documented operator for its own development and keeps candidate skills isolated until they have been reviewed and qualified.

How self-hosting works

installed stable Factory
        |
        v
isolated task worktree
        |
        v
candidate Factory release
        |
        +--> independent review
        +--> local behavioral evals when skill behavior changes
        +--> deterministic PR quality
        |
        v
human ready and merge decision

What changed

  • Adds a canonical self-hosting guide.
  • Adds repository-owned review and verification policy.
  • Requires non-trivial Factory development to use the released Factory workflow.
  • Keeps the running task on its installed release while fresh eval sessions may load the candidate explicitly.
  • Keeps model-based evals on trusted machines with configured coding agents and out of GitHub Actions.
  • Makes PR quality the authoritative complete deterministic suite for submitted candidates.
  • Ignores .factory/ task state and raw evidence in every clone.
  • Grants an authorized, independently reviewed task standing authority to commit, push and open or update its draft so remote verification can run.
  • Keeps ready state, approval, merge and deployment separately authorized.

No shipped skill or plugin manifest changed, so this does not require a plugin version bump.

Verification

Submitted revision: 182186c

  • PR quality / Validate plugin repository passed on the submitted revision in 10 seconds.
  • The remote job ran validator unit tests, repository validation against the PR base, patch whitespace and pinned plugin packaging validation.
  • Focused local repository validation and ignore checks passed before publication.
  • Active documentation was checked for contradictory skill-loading, CI and merge statements.
  • Independent review found one conflict in generic draft-authorization wording. The wording was fixed, and scoped re-review resolved F-001 with no new findings.
  • Behavioral evals were not run because this candidate changes documentation and repository policy without changing shipped skill behavior.

Acceptance

  • R-001 supported: Factory development uses the same released Factory workflow as consumer work.
  • R-002 supported: the stable installed release operates the task; the candidate cannot replace it mid-run.
  • R-003 supported: behavioral evals run locally on trusted configured machines, outside PR CI.
  • R-004 supported: active docs distinguish review, local behavioral qualification, remote deterministic verification, human merge and post-merge refresh.
  • R-005 supported: .factory/ is ignored by tracked repository policy.
  • D-004 supported: reviewed tasks may publish their draft automatically, while merge authority remains separate.
Focused local checks
python3 scripts/validate_repository.py --base-ref origin/main
git diff --check
git check-ignore -v .factory/probe

The pull request workflow owned the complete deterministic matrix, so that matrix was not duplicated locally on the same candidate.

Make the released Factory plugin the operator for its own non-trivial development, keep candidate skills isolated, run behavioral qualification on trusted configured machines, and use PR quality as the deterministic remote verifier. Add repository review policy, ignore local .factory artifacts, and grant reviewed tasks standing authority to commit, push, and open a draft while preserving explicit merge authority.

Verification: repository validation passed for all 12 skills; git diff and ignore checks passed; independent review found F-001 in conflicting draft-authorization wording, the wording was fixed, and scoped re-review resolved it with no new findings. Behavioral evals were not run because shipped skill behavior did not change. Remote PR quality is pending draft publication.
@AnkitTheCoder
AnkitTheCoder marked this pull request as ready for review October 27, 2026 04:15
@AnkitTheCoder
AnkitTheCoder merged commit 2c561ba into main Oct 27, 2026
1 check passed
@AnkitTheCoder
AnkitTheCoder deleted the factory/self-hosting-development branch October 27, 2026 04:15
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