Commit c403108
Namespace .egg-state files per-pipeline to prevent merge conflicts (#895)
* Initialize SDLC contract for issue #871
* Add refine analysis for issue #871
* Add agent-design review verdict for issue #871 refine phase
* Add refine review verdict for issue #871
* Persist statefiles after refine phase
* Add architect analysis for issue #871: namespace .egg-state files per-pipeline
* WIP: auto-commit uncommitted work (architect) [issue-871]
Container 43985389ec6a15b861158676d5595c1076f7306aa4b6048fc26c10298f8bf331 exited with uncommitted changes.
This commit preserves the agent's work-in-progress.
Authored-by: egg
* Add implementation plan for issue #871: namespace .egg-state files per-pipeline
* Add risk assessment for issue #871: namespace .egg-state files per-pipeline
* WIP: auto-commit uncommitted work (task_planner) [issue-871]
Container cda12d8f2ad0f1b8de10b80c7ece574aa9dc9514399433b150ee16cfa50a06c9 exited with uncommitted changes.
This commit preserves the agent's work-in-progress.
Authored-by: egg
* WIP: auto-commit uncommitted work (risk_analyst) [issue-871]
Container d09dc3dd6da2090b5045cf58fa343e548d37e2f69c563d16e966a1959dbbacd4 exited with uncommitted changes.
This commit preserves the agent's work-in-progress.
Authored-by: egg
* Add plan review verdict for issue #871: needs_revision
* Revised architect output: address plan review feedback for issue #871
* WIP: auto-commit uncommitted work (architect) [issue-871]
Container 69ae9374a57d14f6288cea0f022be7439821623fd492b99e463f60eabc7dcaee exited with uncommitted changes.
This commit preserves the agent's work-in-progress.
Authored-by: egg
* Revised plan: address reviewer feedback on wrapper layer callsites
* WIP: auto-commit uncommitted work (task_planner) [issue-871]
Container f140cdb5bace1d4c87c8ed24976c41ec649692560a308ddc3ae4fe79f067fbb8 exited with uncommitted changes.
This commit preserves the agent's work-in-progress.
Authored-by: egg
* Risk assessment revision 2: identify plan draft sync gap and test scope corrections
* WIP: auto-commit uncommitted work (risk_analyst) [issue-871]
Container 90b2c25febc1000b81a154fdc49dca28e4d232862cb4e3f1642bbf208f62f694 exited with uncommitted changes.
This commit preserves the agent's work-in-progress.
Authored-by: egg
* Plan review: approved (revision 2)
* Persist statefiles after plan phase
* Namespace .egg-state files per-pipeline to prevent merge conflicts
Add issue/pipeline identifier prefix to all globally-named files in
.egg-state/agent-outputs/ and .egg-state/checks/, matching the convention
already used by contracts/, drafts/, and reviews/.
Core changes:
- shared/egg_contracts/orchestrator.py: Add optional identifier param to
load_agent_output, save_agent_output, collect_handoff_data with fallback
- orchestrator/handoffs.py: Forward identifier through wrapper functions
- orchestrator/dispatch.py: Pass self.contract_key as identifier
- orchestrator/routes/signals.py: Derive identifier from pipeline
- orchestrator/routes/pipelines.py: Update prompt builders and readers
to use prefixed filenames
* Add tests for namespaced .egg-state file paths
- test_pipeline_prompts.py: Update checker/check-and-fix result filename
assertions to expect prefixed names; add TestNamespacedOutputFilenames
class for agent prompt output paths; add _read_tester_gaps identifier
tests for prefixed/fallback behavior
- test_orchestrator.py: New test file with 9 tests for load_agent_output,
save_agent_output, and collect_handoff_data with identifier parameter
(prefixed path, fallback, neither-exists, priority, string identifiers)
- phase-runner.sh: Derive identifier from EGG_ISSUE_NUMBER/EGG_PIPELINE_ID
for namespaced implement-results.json filename
* Update docs and agent mode commands for namespaced filenames
Update all documentation and sandbox agent mode command files to reference
{identifier}-prefixed output filenames instead of global names. Includes
sdlc-pipeline.md, agent-development.md, orchestrator.md, all four agent
mode command files, and the phase_output.py docstring.
* Document agent-outputs namespacing and backward compat fallback
* Add gap-targeting tests for namespaced .egg-state file paths
* Fix remaining hardcoded tester-output.json paths and lint issues
* Update implement phase check results: all passed
* Persist statefiles after implement phase
* Address review feedback: extract _pipeline_identifier helper
- Extract repeated `issue_number if issue_number is not None else pipeline_id`
pattern (11 occurrences) into a `_pipeline_identifier()` helper function
to reduce divergence risk if the fallback logic changes.
- Fix inconsistent truthiness check in `_synthesize_plan_draft`: the prefixed
file construction used `if _synth_id` (truthiness) instead of
`if _synth_id is not None`, which was inconsistent with all other identifier
checks. Now that the helper always returns `int | str`, the guard is
unnecessary and has been removed entirely.
Authored-by: egg
---------
Co-authored-by: egg-orchestrator <egg@localhost>
Co-authored-by: jwbron <8340608+jwbron@users.noreply.github.com>
Co-authored-by: egg-reviewer[bot] <261018737+egg-reviewer[bot]@users.noreply.github.com>1 parent 3dd7f51 commit c403108
File tree
29 files changed
+2853
-747
lines changed- .egg-state
- agent-outputs
- checks
- contracts
- drafts
- reviews
- docs
- architecture
- guides
- integration_tests/local_pipeline/mock-sandbox
- orchestrator
- health_checks/tier1
- routes
- tests
- sandbox/.claude/commands
29 files changed
+2853
-747
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
Large diffs are not rendered by default.
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
0 commit comments