Repository navigation
feat: deliver governed local full-stack MVP - #118
Merged
Merged
Conversation
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.
Linked Issues
Closes #113
Closes #114
Closes #115
Closes #116
Closes #117
Project Owner approved AF-R04 through AF-R08 as one dependency-closed batch. Human review and human merge remain required.
Objective
Deliver one reproducible local full-stack AegisFlow business loop through the existing production-shaped boundaries:
PRD / Issue → tenant-scoped FastAPI Run → Temporal durable workflow → LangGraph six-Agent computation → Policy Gate → Docker Sandbox → Reviewer → separate Human Approval → dry-run Draft PR candidate → Evaluation / Trace / Cost / Audit.
Non-Goals
Design Note
docs/design-notes/LOCAL-MVP-BACKEND-BUNDLE.mddocs/design-notes/AF-R07-NEXTJS-CONSOLE.mddocs/adr/0014-local-mvp-execution-profile.mdChanges
Architecture Impact
No frozen architecture boundary changes:
Security Impact
Local credentials are server-only, distinct, constant-time compared, default-off, and rejected in production. The Developer cannot approve its own Run. Approval binds repository scope, base SHA, changed paths, digest, effect mode, and risk. No real Secret is committed or returned to the browser.
Tests
Commands and results:
.\.venv\Scripts\python.exe -m coverage run -m pytest -q -p no:cacheprovidernpm.cmd run test:runnpm.cmd run lintnpm.cmd run typechecknpm.cmd run build56e35374-fd5d-4229-b8fd-23e168ab4e4acompleted 10/10 with Sandbox PASS, separate Reviewer approval, and an explicitly dry-run candidategit diff --cached --checkReliability
Clarification and approval Signals resume the existing Temporal workflow. Duplicate Run creation, Human Signals, Activities, and Draft PR candidate effects are bounded by deterministic identities and ledgers.
Documentation
Updated README, START_HERE, architecture, configuration, decision log, traceability, repository layout, manifest, documentation index, runbook, production-readiness plan, test plans, and Handoff.
Evidence
docs/reports/LOCAL_MVP_RUNBOOK.mddocs/handoffs/2026-08-18-AF-R04-R08.mddocs/26_PRODUCTION_READINESS_PLAN.mdTruthful limitation: this PR proves a local full-stack MVP. It does not certify production identity, hosted-provider failover, live GitHub mutation, backup/restore, HA, or production deployment.
Rollback
Disable the local profile and Ollama route, remove the local Console/Compose overlay, and downgrade migration 0010 if complete removal is required. Existing M1–M5 and standard fail-closed production configuration remain intact.
Checklist