Skip to content

docs(artifacts): file REQ-091 (rowan-yaml link-loss) + REQ-092 (source-code linker)#323

Merged
avrabe merged 1 commit into
mainfrom
docs/req-091-092-rowan-bug-and-source-linker
May 24, 2026
Merged

docs(artifacts): file REQ-091 (rowan-yaml link-loss) + REQ-092 (source-code linker)#323
avrabe merged 1 commit into
mainfrom
docs/req-091-092-rowan-bug-and-source-linker

Conversation

@avrabe
Copy link
Copy Markdown
Contributor

@avrabe avrabe commented May 24, 2026

Summary

REQ-091 — Clean-room verification of a parallel agent's sphinx-needs corpus bug report falsified the original attribution (`GenericYamlAdapter` / `parse_generic_yaml`) and pinpointed the real offender: `yaml_hir::extract_schema_driven` — the default `rowan-yaml` salsa load path — silently returns 0 artifacts + 0 diagnostics for flush-left YAML, while `parse_generic_yaml` returns 1 artifact + 1 link from the same file.

Probe matrix (against the bug fixture):

Path flush.yaml indent.yaml
`parse_generic_yaml` 1 art, 1 link ✓ 1 art, 1 link ✓
`rivet list` 1 art, 1 link ✓ 1 art, 1 link ✓
`rivet validate --direct` broken-link ERR ✓ broken-link ERR ✓
`extract_schema_driven` (rowan) 0 art, 0 diag 1 art, 1 link ✓
`rivet validate` default (rowan) silent broken-link ERR ✓

Contributing factor: `extract_links_via_serde` silently `Vec::new()`s on parse errors — F2 ethos violation in the fallback. baseline: `v0.13.1-track`.

REQ-092 — Eclipse S-CORE `score_source_code_linker` (per-line) vs rivet `commits` (per-commit, REQ-051). Files `rivet source-link` as a new capability for S-CORE → rivet migration. baseline: `v0.14.0-track`.

Test plan

  • `rivet validate` PASS (144 warnings baseline preserved).
  • CI green (artifact-only).

🤖 Generated with Claude Code

…e-code linker)

REQ-091 — clean-room verification of a parallel agent's sphinx-needs
bug report falsified the original attribution (`GenericYamlAdapter` /
`parse_generic_yaml`) and pinpointed the actual offender:
`yaml_hir::extract_schema_driven` — the default rowan-yaml salsa
load path — silently returns 0 artifacts + 0 diagnostics for
flush-left YAML, while `parse_generic_yaml` returns 1 artifact + 1
link from the same file. The link graph the default validator should
grade is invisible.

Contributing factor: `extract_links_via_serde` (the rowan parser's
fallback) silently `Vec::new()`s on `serde_yaml::from_str` parse
errors — F2 silent-failure ethos violation even at the fallback.

Acceptance set covers both: same-output parity for both fixture
shapes, default `rivet validate` reporting link errors for flush-
left, parse-error diagnostic from the fallback, and re-grading the
parallel agent's sphinx-needs corpus against the Python reference
(~2500 warnings) once the fix lands. baseline: v0.13.1-track.

REQ-092 — Eclipse S-CORE ships `score_source_code_linker` (per-line
`// req-Id: <id>` traceability). Rivet has per-commit links via
`rivet commits` trailers (REQ-051). Different granularity, both
auditable. Files the new capability — `rivet source-link` — so
projects converging from S-CORE → rivet have a clean migration
path; baseline: v0.14.0-track.

Refs: REQ-051, FEAT-135
@github-actions
Copy link
Copy Markdown

📐 Rivet artifact delta

Change Count
Added 2
Removed 0
Modified 0
Downstream impacted (depth ≤ 5) 0

Graph

graph LR
  REQ_091["REQ-091"]:::added
  REQ_092["REQ-092"]:::added
  classDef added fill:#d4edda,stroke:#28a745,color:#155724
  classDef removed fill:#f8d7da,stroke:#dc3545,color:#721c24
  classDef modified fill:#fff3cd,stroke:#ffc107,color:#856404
  classDef overflow fill:#e2e3e5,stroke:#6c757d,color:#495057,stroke-dasharray: 3 3
Loading
Added
  • REQ-091
  • REQ-092

📎 Full HTML dashboard attached as workflow artifact rivet-delta-pr-323download from the workflow run.

Posted by rivet-delta workflow. The graph shows only changed artifacts; open the HTML dashboard (above) for full context.

Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'Rivet Criterion Benchmarks'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.20.

Benchmark suite Current: a11a585 Previous: 75ce3fa Ratio
traceability_matrix/1000 60986 ns/iter (± 405) 45376 ns/iter (± 365) 1.34

This comment was automatically generated by workflow using github-action-benchmark.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 24, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@avrabe avrabe merged commit e36ac48 into main May 24, 2026
20 of 39 checks passed
@avrabe avrabe deleted the docs/req-091-092-rowan-bug-and-source-linker branch May 24, 2026 12:53
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