Skip to content

🍒 [v1.207] fix(uipath-planner): keep requested case drafts on the template; one SLA trigger per entry row - #4931

Merged
RaduAna-Maria merged 1 commit into
release/v1.207from
fix-planner-codex-case-draft-and-graders-CP-to-release-v1-207
Nov 18, 2026
Merged

RaduAna-Maria merged 1 commit into
release/v1.207from
fix-planner-codex-case-draft-and-graders-CP-to-release-v1-207

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Summary

  • Lighter SDD requests keep the template's shape (every product). sdd-writing-guide.md Step 0: a draft, first pass or "keep it compact" request sets detail per block, not which blocks exist — per-item blocks (stages, steps, projects, gateways) and executable rules stay; no summary-table collapse.
  • One sla-status-change trigger per entry row. case-product-guide.md § Secondary-lane entry shapes and case-data-and-time-guide.md layer-closure item 1 no longer read as "merge them into one OR'd cell".
  • Fixtures: drop the legacy Tasks file handoff row from the sdd_build_routing, genome_from_sdd and genome_from_solution_sdd_case_child input SDDs (the planner stopped writing it in Make the planner SKILL.md a verb router and finalise plan and decompose (4/6) [PILOT-9071] #4330); case child SDD hash re-pinned.
  • Grader: Rule 13 anchored at .md (finalize_from_draft_loan.yaml) — rm sdd.md.orig sdd.md.rej (patch leftovers) no longer counts as deleting the SDD.
  • Grader: check_procurement_sla_interrupts.py counts every call on a line and names an OR-joined WHEN cell, instead of reporting four phases as unrouted.

Trigger

Nightly Codex runs 2026-11-16_04-24-39 and 2026-11-18_04-25-00 (gpt-6.1-sol) failed 5 of 40 planner tasks; the Claude run on 11-17 failed none of them.

Task Failure Fix
case-design-loan-origination, case-design-candidate-interview free-form draft, stages in one table, no ### Stage N: blocks, >$5M gate only in prose draft keeps template
case-design-procurement-sla-interrupts five phase SLAs OR-joined in one WHEN cell; checker saw only the first one row per SLA + checker
case-finalize-draft-loan rm sdd.md.orig matched Rule 13; both SDDs survived regex anchor
smoke-sdd-build-routing fixture's legacy Tasks file row → inventory-sync-tasks.md written row removed from fixtures

Testing

  • pytest test_check_procurement_sla_interrupts.py — 10 passed (2 new: every call per line counted; OR-joined cell rejected)
  • Rule 13 pattern replayed on 11 cases (incl. the run's command and JSON-serialized \n) — all as expected
  • Checker replayed on the 11-18 artifact: now fails with sdd.md:760: one WHEN cell OR-joins several sla-status-change triggers
  • pytest tests/tasks/uipath-planner/_shared — 240 passed; case child hash pin verified against the edited fixture
  • npm run skills:validate / skills:build OK (no flavor blocks touched); check-sensitive-content.py OK; every edited guide < 40,000 bytes
  • Not yet run: coder-eval on the 5 tasks under Codex and Claude

🤖 Generated with Claude Code


Automatically cherry-picked from #4924 to release/v1.207 by @RaduAna-Maria.

…SLA trigger per entry row (#4924)

* fix(uipath-planner): keep requested case drafts on the template; one SLA trigger per entry row

Codex runs (2026-11-16, 2026-11-18) failed five planner tasks:

- A requested `sdd.draft.md` ("keep it compact, don't polish") was written
  as a free-form summary with stages in one table, so stage blocks and the
  >$5M gate condition were missing. sdd-writing-guide Step 0 now says a draft
  sets depth, not shape.
- "ONE sla-status-change entry" read as "merge them": five phase SLAs were
  OR-joined into one WHEN cell. case-product-guide and case-data-and-time-guide
  now say one entry row per SLA.
- A legacy `Tasks file` handoff row made the agent write `*-tasks.md` beside
  the genome. genome-from-sdd-guide now says to ignore it.

Graders:
- finalize_from_draft_loan Rule 13 matched `rm sdd.md.orig sdd.md.rej`
  (patch leftovers); the operand must now end at `.md`.
- check_procurement_sla_interrupts counted only the first
  sla-status-change per line; it now counts every call and names an
  OR-joined WHEN cell instead of reporting the other phases as unrouted.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* test(uipath-planner): drop the legacy Tasks file row from planner SDD fixtures

The planner stopped writing the `Tasks file` handoff row in #4330, so the
only remaining source of a `*-tasks.md` reference was the test inputs.
Remove the row from the sdd_build_routing, genome_from_sdd and
genome_from_solution_sdd_case_child fixtures instead of teaching the skill
to ignore it, and re-pin the case child SDD hash.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(uipath-planner): make the draft-keeps-template rule product-neutral

Any effort-limiting SDD request (draft, first pass, compact, outline) keeps
every template block; Case Management is no longer singled out.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
@RaduAna-Maria
RaduAna-Maria merged commit 35bf44c into release/v1.207 Nov 18, 2026
1 check passed
@RaduAna-Maria
RaduAna-Maria deleted the fix-planner-codex-case-draft-and-graders-CP-to-release-v1-207 branch November 18, 2026 15:46
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