Repository navigation
fix(auto-ticket): RV-198 file follow-ups on every outcome, a park included - #125
Merged
Merged
Conversation
…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.
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.
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 forFollow-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 listsFiled: {id}orNot filed: {item}: {reason}per item, andTo fileonly under prompt-relay. The parked record examples show afollow_upsentry. 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.mdStep 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 withticket: nulland a reason startingto fileorcreate failed, so a rerun that does not review again still files them. Fixed reasons:to file: no create API under prompt-relayandcreate failed: {error}. A failed create is still not a park (error-table row updated). The route-and-stop summary names the filing step.plugin.jsonandmarketplace.json.tests/run.sh: newskills_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.diffregenerated.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_baselinefailed because I edited two lines after regenerating the diff; regenerated, it passes, and all 33skills_tests pass.validate_dead_run_is_reported_failedfailed once under load (Docker shellcheck running at the same time) and passes alone; this change does not touchccm-validate.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:reviewonly), and no live run has exercised the park filing path.bin/ccm-followup-checkand the run record keys are unchanged.