Skip to content

fix(auto-ticket): RV-198 file follow-ups on every outcome, a park included - #125

Merged
devondragon merged 3 commits into
mainfrom
devon/rv-198
Nov 23, 2026
Merged

devondragon merged 3 commits into
mainfrom
devon/rv-198

Conversation

@devondragon

Copy link
Copy Markdown
Owner

What changed

  • skills/auto-ticket/autonomous-contract.md §4: route-and-stop has a new step 4, File the follow-ups, before the comment step (now 5). It runs Step 6's follow-up routine over the run's list and the items earlier runs left unfiled, with the RV-89 dedupe (search for Follow-up key: in open team tickets and earlier run summaries, "Also raised by run ..." on a match). The parked-comment template's Follow-ups line now lists Filed: {id} or Not filed: {item}: {reason} per item, and To file only under prompt-relay. The parked record examples show a follow_ups entry. The prompt-relay subsection names step 4, §6 gets a "Follow-ups are filed on every outcome" invariant, and the §7 and §8 rows say the same.
  • skills/auto-ticket/SKILL.md Step 6: Follow-ups first, on every outcome. A new Carried over from earlier runs paragraph adds every item an earlier summary or parked note on the ticket or PR left under "To file", or a record entry with ticket: null and a reason starting to file or create failed, so a rerun that does not review again still files them. Fixed reasons: to file: no create API under prompt-relay and create failed: {error}. A failed create is still not a park (error-table row updated). The route-and-stop summary names the filing step.
  • README auto-ticket paragraph, CHANGELOG 3.30.1, version 3.30.0 to 3.30.1 in plugin.json and marketplace.json.
  • tests/run.sh: new skills_auto_ticket_follow_ups_filed_on_park (route-and-stop files before it comments, the template's Follow-ups line and record, carry-over and reason wording, the old "to file under prompt-relay" line and the old Step 6 park sentence are gone). tests/every-ticket-since-baseline.diff regenerated.

Why

On cclens CCL-20 the run parked at finish with seven review follow-ups and listed them under "to file" without filing them, since route-and-stop let a park only list them. A rerun that skipped review raised no items, so they were never filed.

How it was tested

  • bash tests/run.sh: 539 passed, 2 failed on the full run. skills_non_spec_tickets_unchanged_since_baseline failed because I edited two lines after regenerating the diff; regenerated, it passes, and all 33 skills_ tests pass. validate_dead_run_is_reported_failed failed once under load (Docker shellcheck running at the same time) and passes alone; this change does not touch ccm-validate.
  • shellcheck 0.11.0 and 0.9.0 (Docker, as CI) clean.

Left

The change is skill text only, so the tests check the wording and order. No eval covers auto-ticket (the eval suite covers /ccmagic:review only), and no live run has exercised the park filing path. bin/ccm-followup-check and the run record keys are unchanged.

…luded

Route-and-stop gains a step that runs Step 6's follow-up routine before the parked note, with the RV-89 dedupe. Every run also files what earlier runs left under to file, so a rerun that skips review still files them. To file remains only for prompt-relay. Bumps to 3.30.1.
A failed search or comment still files; a parked run runs the routine once; unfiled items print their key and draft; carried-over items are checked at the head, retired when filed by hand, and commented on only when this run raised them; pre-3.30.1 raw-error reasons carry over.
@devondragon
devondragon merged commit 826c4e6 into main Nov 23, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant