Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
133 changes: 133 additions & 0 deletions .egg-state/agent-outputs/integrator-output.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
{
"status": "pass",
"phase": "implement",
"pipeline_id": "issue-659",
"issue": 659,
"branch": "egg/issue-659",
"summary": "All coder and tester changes integrate cleanly. Shared prompt criteria unification works correctly across both GHA shell scripts and orchestrator Python code. One lint error (unused variable) was fixed by integrator.",
"test_results": {
"unit_tests": {
"status": "pass",
"passed": 3292,
"failed": 0,
"skipped": 5,
"deselected": 149,
"duration_seconds": 21.23,
"details": "Full unit test suite (tests/) passes. 3292 passed, 5 skipped, 149 deselected (integration/e2e/security markers)."
},
"orchestrator_tests": {
"status": "pass",
"passed": 403,
"failed": 0,
"pre_existing_failures": 1,
"collection_errors": 2,
"duration_seconds": 14.16,
"details": "403 passed. 1 pre-existing failure (TestAgentRole.test_all_roles expects 6 roles but 13 exist - upstream change, not related to #659). 2 collection errors (test_container_spawner.py, test_docker_client.py) due to missing docker Python library in sandbox - pre-existing."
},
"action_and_sandbox_tests": {
"status": "pass",
"passed": 821,
"failed": 0,
"skipped": 5,
"duration_seconds": 15.92,
"details": "All action/ and sandbox/ tests pass, including new tests for shared prompt criteria loading and shell script changes."
},
"pipeline_prompt_tests": {
"status": "pass",
"passed": 36,
"failed": 0,
"duration_seconds": 0.42,
"details": "All 36 pipeline prompt tests pass, covering _read_shared_criteria(), per-type criteria getters, edge cases, shared file content validation, and format-agnostic checks."
}
},
"lint_results": {
"ruff": {
"status": "pass",
"details": "All checks passed after fixing one unused variable (MockPath -> _MockPath) in test_pipeline_prompts.py."
},
"shell_syntax": {
"status": "pass",
"details": "All 4 modified shell scripts pass bash -n syntax check."
}
},
"integration_checks": {
"shared_prompt_files": {
"status": "pass",
"details": "All 4 shared prompt files exist in shared/prompts/ with correct content: agent-design-criteria.md (1976B), autofixer-rules.md (676B), code-review-criteria.md (2013B), contract-review-criteria.md (1233B)."
},
"shell_script_path_resolution": {
"status": "pass",
"details": "All GHA scripts use $SCRIPT_DIR/../shared/prompts/ pattern. Path resolution verified correct from action/ directory."
},
"python_path_resolution": {
"status": "pass",
"details": "Python _read_shared_criteria() correctly resolves to shared/prompts/ via Path(__file__).parent.parent.parent. Three-tier fallback: user override -> source tree -> docker path."
},
"dockerfile_copy": {
"status": "pass",
"details": "Orchestrator Dockerfile includes COPY shared/prompts/ ./prompts/ for production container support."
},
"inline_fallbacks": {
"status": "pass",
"details": "Inline fallback content in both shell scripts and Python code matches shared file content exactly."
},
"claude_md_conditional": {
"status": "pass",
"details": "sandbox/entrypoint.py conditionally includes contract.md and orchestrator.md only when EGG_PIPELINE_ID is set, reducing token usage for non-SDLC invocations."
}
},
"regressions": [],
"issues_found": [
{
"severity": "low",
"type": "lint",
"description": "Unused variable MockPath in test_pipeline_prompts.py line 307",
"resolution": "Fixed by renaming to _MockPath. Committed as 'Fix unused variable lint error in test_pipeline_prompts'."
}
],
"pre_existing_issues": [
{
"severity": "medium",
"description": "TestAgentRole.test_all_roles expects 6 roles but 13 exist. Upstream roles were added without updating the test.",
"location": "orchestrator/tests/test_models.py:307"
},
{
"severity": "low",
"description": "orchestrator/tests/test_container_spawner.py and test_docker_client.py fail to collect due to missing docker Python library in sandbox environment.",
"location": "orchestrator/tests/"
}
],
"notes": [
"The autofixer prompt builder in Python (pipelines.py line ~2019) hardcodes repo_path=None, preventing user overrides of autofixer rules via .egg/autofixer-rules.md when using the orchestrator pipeline. Shell script supports this override. This is a minor inconsistency but not a regression.",
"Agent-design criteria intentionally omits user override support in both shell scripts and Python code (consistent).",
"All inline fallbacks in both shell scripts and Python serve as rollout safety nets and match shared file content exactly."
],
"commits": {
"coder": [
{
"sha": "6ac7f70c",
"message": "Unify prompt criteria into shared files, trim CLAUDE.md for non-SDLC",
"files_changed": 15
},
{
"sha": "2138b40e",
"message": "Document shared prompt criteria and update CLI references",
"files_changed": 5
}
],
"tester": [
{
"sha": "fd87f7da",
"message": "Add tests for shared prompt criteria and shell script changes",
"files_changed": 4
}
],
"integrator": [
{
"sha": "588f3a59",
"message": "Fix unused variable lint error in test_pipeline_prompts",
"files_changed": 1
}
]
}
}
4 changes: 2 additions & 2 deletions .egg-state/checks/implement-results.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
{
"name": "lint",
"passed": true,
"output": "ruff check: All checks passed! (exit code 0)"
"output": "ruff check: All checks passed! (0 errors, 0 warnings)"
},
{
"name": "pytest",
"passed": true,
"output": "3310 passed, 81 skipped, 3 warnings in 23.79s (exit code 0)"
"output": "3366 passed, 80 skipped, 3 warnings in 24.48s"
}
]
}
160 changes: 160 additions & 0 deletions .egg-state/contracts/659.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,160 @@
{
"schemaVersion": "1.0",
"issue": {
"number": 659,
"title": "Issue #659",
"url": "https://github.com/jwbron/egg/issues/659"
},
"pipeline_id": null,
"current_phase": "refine",
"acceptance_criteria": [],
"phases": [
{
"id": "phase-1",
"name": "Implementation",
"status": "pending",
"review_cycles": 0,
"max_cycles": 3,
"escalated": false,
"escalation_reason": null,
"tasks": [
{
"id": "task-1",
"description": "Breakdown",
"status": "pending",
"commit": null,
"checkpoint_id": null,
"notes": "",
"acceptance_criteria": "",
"files_affected": [],
"review_cycles": 0,
"max_cycles": 3,
"escalated": false
},
{
"id": "task-2",
"description": "Risk Assessment",
"status": "pending",
"commit": null,
"checkpoint_id": null,
"notes": "",
"acceptance_criteria": "",
"files_affected": [],
"review_cycles": 0,
"max_cycles": 3,
"escalated": false
}
],
"review_feedback": []
}
],
"decisions": [],
"workflow_owner": null,
"audit_log": [],
"refine_review_cycles": 0,
"refine_review_feedback": "",
"plan_review_cycles": 0,
"plan_review_feedback": "",
"pr": null,
"feedback": null,
"phase_configs": null,
"agent_executions": [
{
"role": "coder",
"status": "complete",
"started_at": "2026-02-15T00:21:44.012414Z",
"completed_at": "2026-02-15T00:52:44.093792Z",
"commit": "884e1905",
"checkpoint_id": null,
"outputs": {},
"error": null,
"retry_count": 0,
"conflicts": []
},
{
"role": "tester",
"status": "complete",
"started_at": "2026-02-15T00:36:38.204561Z",
"completed_at": "2026-02-15T00:44:00.154834Z",
"commit": null,
"checkpoint_id": null,
"outputs": {},
"error": null,
"retry_count": 0,
"conflicts": []
},
{
"role": "documenter",
"status": "complete",
"started_at": "2026-02-15T00:36:38.206812Z",
"completed_at": "2026-02-15T00:40:53.155052Z",
"commit": null,
"checkpoint_id": null,
"outputs": {},
"error": null,
"retry_count": 0,
"conflicts": []
},
{
"role": "integrator",
"status": "complete",
"started_at": "2026-02-15T00:44:00.160268Z",
"completed_at": "2026-02-15T00:49:38.741964Z",
"commit": null,
"checkpoint_id": null,
"outputs": {},
"error": null,
"retry_count": 0,
"conflicts": []
},
{
"role": "reviewer_unified",
"status": "pending",
"started_at": null,
"completed_at": null,
"commit": null,
"checkpoint_id": null,
"outputs": {},
"error": null,
"retry_count": 0,
"conflicts": []
},
{
"role": "reviewer_code",
"status": "pending",
"started_at": null,
"completed_at": null,
"commit": null,
"checkpoint_id": null,
"outputs": {},
"error": null,
"retry_count": 0,
"conflicts": []
},
{
"role": "reviewer_contract",
"status": "pending",
"started_at": null,
"completed_at": null,
"commit": null,
"checkpoint_id": null,
"outputs": {},
"error": null,
"retry_count": 0,
"conflicts": []
},
{
"role": "reviewer_agent_design",
"status": "pending",
"started_at": null,
"completed_at": null,
"commit": null,
"checkpoint_id": null,
"outputs": {},
"error": null,
"retry_count": 0,
"conflicts": []
}
],
"multi_agent_config": null
}
Loading