Repository navigation
Closed
Labels
area:devtoolsDevtools and repo control-plane toolingarea:qaQAphase:migrationIncremental migration toward target architecturetheme:agent-workflowAgentic engineering workflow and wallclock minimizationtheme:proof-kernelSubject/claim/proof-obligation kernel and proof catalogtheme:verifiabilitySchema-native proof and evidence architecturetype:refactorCode restructuring
Description
Parent
Part of #330. Depends on #192.
Context
A major workflow failure is that agents do not know which focused verification proves a change. Path-based routing is useful but too crude: the system should distinguish parser semantic changes, schema annotation changes, operation-effect changes, generated-surface changes, presentation-only changes, and workflow/governance changes.
Scope
Add semantic diffing and affected-obligation routing:
- classify changed source spans into
ChangeSubjectrows; - map change subjects to proof obligations through subject provenance, artifact graph nodes, operation specs, and schema annotations;
- render obligation diffs across git refs: new, dropped, now-failing, now-passing, stale-evidence, suppressed;
- expose recommended local checks for agent inner loops;
- keep full PR/deployment gates explicit.
Workflow claims
Repo/process artifacts are also subjects when they make durable claims:
- PR body lists verification actually run;
- non-trivial PR references an issue where policy requires it;
- scratch/thoughtspace entries with durable value are promoted or retired;
- generated surfaces are current after source changes;
- claims like "complete", "aligned", "unified", or "green" have supporting evidence.
Acceptance criteria
- A changed-path/ref input produces deterministic affected obligations for at least parser, schema, command, and generated-surface changes.
- Output explains why each obligation was selected.
- Obligation diffs across two refs render in machine-readable and human-readable form.
- The report distinguishes inner-loop checks from PR/deployment gates.
- At least one workflow claim is represented in the catalog without coupling runtime code to GitHub.
Metadata
Metadata
Assignees
Labels
area:devtoolsDevtools and repo control-plane toolingarea:qaQAphase:migrationIncremental migration toward target architecturetheme:agent-workflowAgentic engineering workflow and wallclock minimizationtheme:proof-kernelSubject/claim/proof-obligation kernel and proof catalogtheme:verifiabilitySchema-native proof and evidence architecturetype:refactorCode restructuring
Activity
[-]refactor: route affected probes from operation and artifact graph[/-][+]refactor: add semantic diffing and affected-obligation routing[/+]Sinity commentedon Apr 22, 2026
Implementation checkpoint:
polylogue.proof.diffingto classify changed paths, route affected proof obligations, bucket obligation diffs, and render human/JSON reports.devtools affected-obligationswith--base-ref,--head-ref, repeated--path, and--json.Focused verification so far:
Next: broader quick/full gate, then PR.
refactor: add affected obligation routing
Sinity commentedon Apr 22, 2026
Closed by PR #346: #346
Squash merge:
b53ae960f841229e7d73c4d9b57391e40fe41986Verification before merge:
Remote checks green at merge time: PR policy, GitGuardian, CodeRabbit, lint, typecheck, showcase verify, Nix build/check, and CodeQL. Python matrix jobs were still in progress without actionable failures; merged based on the clean full local gate and the CI-quota guidance.
refactor: add affected obligation routing (#346)
refactor: add affected obligation routing (#346)
refactor: add affected obligation routing (#346)
refactor: add affected obligation routing (#346)