Repository navigation
run_cycle pasa el ID de la PR a las etapas de revisión - #57
Conversation
Initial review — PR #57 (
|
| Command | Result |
|---|---|
python3 scripts/validate-package.py |
VALID: 13 skills (6 cycle, 7 supporting), shared sections in sync |
python3 -m unittest discover -s tests |
Ran 615 tests … OK |
python3 -m unittest tests.test_run_cycle.ChangeRequestHandoffTests tests.test_run_cycle.PromptContractTests -v |
6 tests OK |
git diff --check origin/main...HEAD |
clean |
Direct probe of Reported.change_request_id / compose() |
"4", 4 → "4"; pr_number: True → None; "a`b", "4 x", a 129-character value → None; a PR URL → accepted; {"change_request_id": "bad\n", "pr_number": 9} → "bad", because the value is stripped before it is validated, which is harmless; compose("resolve", …, change_request_id="4") → Run cc-resolve-comments for change request `4` in o/r (work item API-7). …; implement prompt unchanged |
Unverified: there was no real end-to-end run_cycle.py run against a live sandbox repository (acceptance criterion 1, "in a real cycle"). The fake-agent driver tests cover it, but not a live code host.
CI (head 7c96e74)
| Workflow / job | Event | State |
|---|---|---|
| Validate package / Skills, manifests, and Bash installer | push | pass |
| Validate package / PowerShell installer | push | pass |
| Validate package / Skills, manifests, and Bash installer | pull_request | pass |
| Validate package / PowerShell installer | pull_request | pass (run 35927825240; it had been pending at first review) |
All four checks defined for this PR pass on 7c96e74.
Residual risks
- When
change_request_idis present but rejected, the code silently falls back topr_number. Skills emit both with the same value, so the risk is low. - The prompt now puts the change request before the work item. Downstream skills take it as the target, which is the intended fix, but that has not been observed in a live cycle.
Project review verdict: APPROVED — there are no blocking findings, and CI passes. REV-001 and REV-002 are optional.
Resumen
change_request_iddevuelto porimplementareview,resolveyrereview; aceptapr_numbercomo alias heredado.reviewsi falta un identificador válido.Verificación
python3 scripts/validate-package.pypython3 -m unittest discover -s tests— 615 pruebas aprobadas.git diff --checkCloses #50