Repository navigation
[issue-3364][slice-3/3] PR D — Slim the skill (GATED... - #3574
Merged
Merged
Conversation
…detection (#3364) Coverage-map GATE (task-3-1, cq-4): 4/5 host detector blocks map to a confirmed overseer OVERSEER_ALERT emitter the skill already surfaces generically (Stall/NACK -> incomplete_consensus_stall; Silent agent -> action:{action} via heartbeat_timeout; Stuck-Rescue trigger -> post_consensus_stall). The 5th, Long-Running Phase Detection, maps to NO emitter (phase-duration affordance, not an anomaly) -> per operator cq-4 it is RETAINED host-side. SKILL.md (task-3-2): delete Host-detector-migration(#1962) section, Overseer-Absent Fallback, Stall/Silent-agent/Post-nudge/State-tracking host-detection blocks + short-flow Stall block; rewire the Unresolved-NACK render-on-alert flow onto incomplete_consensus_stall and the Stuck-Pipeline-Rescue trigger onto post_consensus_stall (Steps 1-3 kept, AC-D1/D3); keep Long-Running Phase Detection (cq-4). Add last-resort debugging section with the two backstop rules (AC-D5). overseer_owns_host_detection removed (task-3-3, AC-D2): Field in models/_config.py + both getattr refs in _routes_status.py, plus stale flag prose in the coder-owned sandbox/agent-config/rules/overseer.md. git grep clean on code + SKILL.md + rules. The 3 docs/ files that also mention the flag are documenter-owned (restricted path for coder) and are handed off to the documenter for the same scrub. Tests: ruff clean; 211 orchestrator config/status/models tests pass. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Verification tests for AC-D2, closing task-3-5: - test_config_overseer_flag_removed.py: the calibration flag is gone from PipelineConfig (field absent, no attr on a default instance), a stale persisted key is dropped not resurrected (extra='ignore'), and the retained overseer threshold knobs survive. - test_routes_status.py: the GET /status config subset no longer advertises overseer_owns_host_detection but still surfaces the retained threshold knobs (drives the real route body, nothing mocks the subset itself). Also verified out-of-band (grep-clean): overseer_owns_host_detection / run_migrated_detectors clean across code + SKILL.md (remaining refs are documenter-owned docs/); removed detector headings gone from SKILL.md; preserved AskUserQuestion / Stuck-Pipeline-Rescue / OVERSEER_ALERT flows and cq-4-retained Long-Running Phase Detection intact. make lint + targeted suites green (180 tests). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The slice-3 code change removes overseer_owns_host_detection and the host-side detector blocks from SKILL.md, concluding the #1962 calibration window. Update the docs that still described the flag / migration as live so AC-D2's repo-wide grep-clean of overseer_owns_host_detection and run_migrated_detectors holds and no stale documentation ships: - docs/architecture/orchestrator.md: reframe the migration paragraph as concluded; drop the calibration-flag / run_migrated_detectors narrative. - docs/architecture/overseer.md: drop the flag reference from the legacy-LLM-monitor note. - docs/guides/pipeline-health-monitoring.md: delete the config-table row for the removed flag; replace the calibration-window flag-semantics and overseer-unresponsive fallback prose with a 'migration concluded' note. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.
Deletion / medium risk with a HARD internal gate (TASK-3-1 gates TASK-3-2 and TASK-3-3). TASK-3-1 (GATE, first): produce the coverage-map — for EACH of the five host-detector blocks in skills/sdlc/SKILL.md name the concrete overseer emitter (deterministic _broadcast_alert structural check OR the classifier action:{action} path) and the OVERSEER_ALERT subject the skill already surfaces; any block with NO confirmed emitter is raised as a HITL at point of discovery, NOT a silent delete. TASK-3-2 (after gate): delete the host-detector blocks + migration section + Overseer-Absent Fallback + Stuck-Rescue host trigger + short-flow Stall block, PRESERVING the Long-Running Implement Phase and Unresolved NACK AskUserQuestion render-on-alert flows and the user-initiated Rescue Steps 1-3. TASK-3-3 (after gate): remove overseer_owns_host_detection ENTIRELY (field in orchestrator/models/_config.py + both refs in orchestrator/routes/pipelines/_routes_status.py; grep-clean). Independent of slices 1 and 2 (disjoint files: slice 1 edits routes/pipelines/ init.py, this edits _routes_status.py — same package, different regions, flagged for merge-seam awareness).
Base PR: #3524
What's in this PR
Commits (15):
This slice
PR D — Slim the skill (GATED): coverage-map, then delete host detectors, then remove overseer_owns_host_detection
Files affected:
skills/sdlc/SKILL.mdorchestrator/models/_config.pyorchestrator/routes/pipelines/_routes_status.pyorchestrator/tests/test_config_overseer_flag_removed.pyorchestrator/tests/test_routes_status.pyTasks (5) + acceptance criteria
Stack
issue-3364egg/issue-3364/work