Skip to content
Closed
Show file tree
Hide file tree
Changes from 25 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
43e08ee
Add issue #133 specification document
jwbron Feb 7, 2026
ffceb08
Add implementation plan for issue #133
jwbron Feb 7, 2026
8bfcfef
Address review feedback: fix gateway language, add configurable thres…
jwbron Feb 7, 2026
f0dfe53
Revise implementation plan based on current main branch
jwbron Feb 7, 2026
a9f2c91
Remove pre-commit hook references due to sidecar limitations
jwbron Feb 7, 2026
2f91f24
Integrate issue #202 context into SDLC pipeline spec
jwbron Feb 7, 2026
f4f72e0
Remove motivation section regarding #202 incident
jwbron Feb 7, 2026
324c5e3
Rework implementation plan to be linear and executable
jwbron Feb 7, 2026
e1a4dce
Replace pre-commit hooks with reviewer kick-back pattern
jwbron Feb 7, 2026
8562cd4
Add document standards for pipeline phases
jwbron Feb 7, 2026
c1b8bbd
Phase 1: Contract schema and core library
jwbron Feb 7, 2026
d2fa4d7
Phase 2: Gateway phase enforcement
jwbron Feb 7, 2026
b885c85
Phase 3: Agent CLI and prompt integration
jwbron Feb 7, 2026
094f777
Phase 4: Pipeline workflows
jwbron Feb 7, 2026
d95ce23
Phase 5: Escalation script
jwbron Feb 7, 2026
541c484
Phase 6: Tests for SDLC pipeline
jwbron Feb 7, 2026
f4bd845
Phase 6: Documentation and ADR
jwbron Feb 7, 2026
fe20b27
Fix test import errors by removing shadowing __init__.py
james-in-a-box[bot] Feb 7, 2026
106c6ff
Fix lint errors: unused imports, formatting, use StrEnum
james-in-a-box[bot] Feb 7, 2026
e193df1
Address review feedback for SDLC pipeline PR
jwbron Feb 7, 2026
33a27e7
Fix TypeError in contract_api.py when egg_contracts not installed
james-in-a-box[bot] Feb 7, 2026
a55ff22
Fix mypy type errors in SDLC contracts code
james-in-a-box[bot] Feb 7, 2026
751c411
Fix import formatting lint error in gateway.py
james-in-a-box[bot] Feb 7, 2026
d1fa8cf
Fix mypy errors: refactor contract_api import to avoid name redefinition
james-in-a-box[bot] Feb 7, 2026
10a4342
Fix ruff format: add blank line before function definition
james-in-a-box[bot] Feb 7, 2026
d806b2d
Fix actionlint errors in SDLC workflows
james-in-a-box[bot] Feb 7, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
108 changes: 108 additions & 0 deletions .egg/phase-permissions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
{
"schemaVersion": "1.0",
"phases": {
"refine": {
"description": "Analysis phase - refine requirements and produce analysis document",
"allowed": [
{"type": "gh", "pattern": "issue comment *", "description": "Comment on issue"},
{"type": "gh", "pattern": "issue edit *", "description": "Edit issue"},
{"type": "gh", "pattern": "issue view *", "description": "View issue"},
{"type": "gh", "pattern": "api *", "description": "Read-only GitHub API calls"},
{"type": "git", "pattern": "fetch *", "description": "Fetch from remote"},
{"type": "git", "pattern": "log *", "description": "View git log"},
{"type": "git", "pattern": "diff *", "description": "View diffs"},
{"type": "git", "pattern": "show *", "description": "Show objects"},
{"type": "git", "pattern": "status", "description": "Check status"},
{"type": "egg-contract", "pattern": "show", "description": "View contract state"},
{"type": "egg-contract", "pattern": "add-decision *", "description": "Create HITL decision"}
],
"blocked": [
{"type": "git", "pattern": "push *", "description": "Cannot push during refinement"},
{"type": "git", "pattern": "commit *", "description": "Cannot commit during refinement"},
{"type": "gh", "pattern": "pr create *", "description": "Cannot create PR during refinement"},
{"type": "egg-contract", "pattern": "add-commit *", "description": "Cannot link commits"},
{"type": "egg-contract", "pattern": "mark-task *", "description": "Cannot mark tasks"}
],
"exit_requires": "human"
},
"plan": {
"description": "Planning phase - produce implementation plan document",
"allowed": [
{"type": "gh", "pattern": "issue comment *", "description": "Comment on issue"},
{"type": "gh", "pattern": "issue edit *", "description": "Edit issue"},
{"type": "gh", "pattern": "issue view *", "description": "View issue"},
{"type": "gh", "pattern": "api *", "description": "GitHub API calls"},
{"type": "git", "pattern": "fetch *", "description": "Fetch from remote"},
{"type": "git", "pattern": "log *", "description": "View git log"},
{"type": "git", "pattern": "diff *", "description": "View diffs"},
{"type": "git", "pattern": "show *", "description": "Show objects"},
{"type": "git", "pattern": "status", "description": "Check status"},
{"type": "egg-contract", "pattern": "show", "description": "View contract state"},
{"type": "egg-contract", "pattern": "add-decision *", "description": "Create HITL decision"}
],
"blocked": [
{"type": "git", "pattern": "push *", "description": "Cannot push during planning"},
{"type": "git", "pattern": "commit *", "description": "Cannot commit during planning"},
{"type": "gh", "pattern": "pr create *", "description": "Cannot create PR during planning"},
{"type": "egg-contract", "pattern": "add-commit *", "description": "Cannot link commits"},
{"type": "egg-contract", "pattern": "mark-task *", "description": "Cannot mark tasks"}
],
"exit_requires": "human"
},
"implement": {
"description": "Implementation phase - execute tasks and push code",
"allowed": [
{"type": "git", "pattern": "push *", "description": "Push to remote"},
{"type": "git", "pattern": "commit *", "description": "Create commits"},
{"type": "git", "pattern": "add *", "description": "Stage changes"},
{"type": "git", "pattern": "fetch *", "description": "Fetch from remote"},
{"type": "git", "pattern": "log *", "description": "View git log"},
{"type": "git", "pattern": "diff *", "description": "View diffs"},
{"type": "git", "pattern": "show *", "description": "Show objects"},
{"type": "git", "pattern": "status", "description": "Check status"},
{"type": "git", "pattern": "checkout *", "description": "Checkout files"},
{"type": "git", "pattern": "reset *", "description": "Reset changes"},
{"type": "gh", "pattern": "issue comment *", "description": "Comment on issue"},
{"type": "gh", "pattern": "issue view *", "description": "View issue"},
{"type": "gh", "pattern": "api *", "description": "GitHub API calls"},
{"type": "egg-contract", "pattern": "show", "description": "View contract state"},
{"type": "egg-contract", "pattern": "add-commit *", "description": "Link commit to task"},
{"type": "egg-contract", "pattern": "update-notes *", "description": "Add implementation notes"}
],
"blocked": [
{"type": "gh", "pattern": "pr create *", "description": "Cannot create PR until implementation complete"},
{"type": "egg-contract", "pattern": "mark-task *", "description": "Only reviewer can mark tasks"},
{"type": "egg-contract", "pattern": "mark-phase *", "description": "Only reviewer can mark phases"}
],
"exit_requires": "reviewer"
},
"pr": {
"description": "PR phase - create and update pull request",
"allowed": [
{"type": "gh", "pattern": "pr create *", "description": "Create pull request"},
{"type": "gh", "pattern": "pr edit *", "description": "Edit pull request"},
{"type": "gh", "pattern": "pr view *", "description": "View pull request"},
{"type": "gh", "pattern": "pr comment *", "description": "Comment on PR"},
{"type": "gh", "pattern": "issue comment *", "description": "Comment on issue"},
{"type": "gh", "pattern": "api *", "description": "GitHub API calls"},
{"type": "git", "pattern": "push *", "description": "Push updates"},
{"type": "git", "pattern": "commit *", "description": "Create commits"},
{"type": "git", "pattern": "add *", "description": "Stage changes"},
{"type": "git", "pattern": "fetch *", "description": "Fetch from remote"},
{"type": "git", "pattern": "log *", "description": "View git log"},
{"type": "git", "pattern": "diff *", "description": "View diffs"},
{"type": "git", "pattern": "show *", "description": "Show objects"},
{"type": "git", "pattern": "status", "description": "Check status"},
{"type": "egg-contract", "pattern": "show", "description": "View contract state"},
{"type": "egg-contract", "pattern": "add-commit *", "description": "Link commit to task"},
{"type": "egg-contract", "pattern": "update-notes *", "description": "Add notes"}
],
"blocked": [
{"type": "gh", "pattern": "pr merge *", "description": "Cannot merge - human must merge via UI"},
{"type": "egg-contract", "pattern": "mark-task *", "description": "Only reviewer can mark tasks"},
{"type": "egg-contract", "pattern": "mark-phase *", "description": "Only reviewer can mark phases"}
],
"exit_requires": "human"
}
}
}
Loading
Loading