Requirement-linked semantic operations for cross-file changes
Teams automating repository-wide changes should bind each semantic edit operation to the requirements and design elements it is expected to satisfy. TraceDev shows how a traceability graph can expose missing links among requirements, designs, and files, while SCAS applies deterministic operations such as renaming a symbol or adding a parameter across affected locations. Combined, these mechanisms could prevent an operation that is structurally complete but implements the wrong requirement—or a requirement-aligned plan that leaves dispersed edits unfinished.
A practical implementation would require every operation to declare the traceability nodes it affects, update the graph after execution, and block completion when a required node has no implementation or test evidence. The cheapest useful check is a set of multi-file API changes with seeded omissions: compare text patches, unconstrained semantic operations, and requirement-linked operations on token use, missed call sites, and unmet acceptance criteria. TraceDev does not isolate the graph’s causal contribution, and SCAS reports only a preliminary synthetic rename probe, so this combination needs direct ablation before production use.