Skip to content

task #1521: verify_task_body check 46 — Context-row follow-up provenance vs followup-scope markers#1293

Merged
superkaiba merged 4 commits into
mainfrom
issue-1521
Jul 18, 2026
Merged

task #1521: verify_task_body check 46 — Context-row follow-up provenance vs followup-scope markers#1293
superkaiba merged 4 commits into
mainfrom
issue-1521

Conversation

@superkaiba

Copy link
Copy Markdown
Owner

Closes task #1521. Check 46 + 18 pinned tests + SPEC.md inline note. Review: epm:code-review v1/v2 PASS; test-verdict PASS.

superkaiba and others added 3 commits July 18, 2026 12:51
…nce vs followup-scope markers

Cross-checks the **Context:** row's follow-up provenance tokens against each
scope-armed followup_label's latest epm:followup-scope note fields (incident
#1426: a fold clause claimed "proposer cost_class free-analysis" while the
scope marker recorded source: proposer-9b-cheap, est_gpu_hours: 14).

- C1 (source slug mismatch) + C2 (free-analysis claim vs GPU-band marker):
  FAIL on v4 / WARN on grandfathered v3-v2; W1 (est mismatch > 0.5 GPU-h)
  WARN-only. Per-label missing tokens skip; StaleTaskPathError propagates.
- Claim windows: per-line, bounded at the next any-label mention, at `; `/`. `
  clause delimiters (#1092 truthful-row shape), and at the first unmatched
  close paren (#922 corpus shape); multi-word inline-code spans stripped as
  quotations; source claims vocabulary-gated on the 4-slug workflow.yaml enum.
- C2 suppressed when an explicit in-enum body source claim matches the marker.
- Dispatched in verify_text (needs the issue id — the check-20/#921 precedent);
  16 new tests incl. pinned #1426 pre-fix/corrected, #1092 + #922 truthful
  rows, S3 user-chat zero-est skip, C2 suppression, v3 WARN grandfathering.
- SPEC.md § **Context:** row gains the inline enforcement note (44/45 register).
- Corpus sweep (1101 awaiting_promotion+completed bodies, 94 label
  comparisons across 55 bodies): zero FAILs / zero WARNs.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Shorten the two >100-char local-import comments (E501) and replace the
docstring MINUS SIGN with ASCII '-' (RUF002) so the worktree's
test_ruff_policy full-ruleset finding set matches main's 8 pre-existing
findings exactly (0 introduced by the check-46 diff).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
…osing-span quotation strip

Closes CONCERN check46-residual-comma-and-clause (paren-less comma-joined
next-round narration no longer attributes to the scope-armed label) and the
r1 reviewer Minor (a window beginning inside a multi-word backtick span has
its quoted remainder stripped through the enclosing closer, so a quoted
scope-note source token cannot false-fire C1). Two pinned tests, each
verified to FAIL pre-fix (C2 / C1 respectively).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@superkaiba
superkaiba marked this pull request as ready for review July 18, 2026 21:27
…race-path check stays 46, #1521's Context-followup-scope check renumbered to 47 (count pin 61, both by-name asserts, SPEC note updated)
@superkaiba
superkaiba merged commit a8e69c5 into main Jul 18, 2026
superkaiba added a commit that referenced this pull request Jul 18, 2026
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