Specs ↔ Code Alignment

Check a feature’s implementation against directly linked specifications, one Software Unit at a time. Review alignment states, checked revisions, and Findings before choosing a correction.

A traceable layer between intent and implementation

One Unit can be aligned with one specification and misaligned with another. Each result is tied to the two revisions used in the check. Inspect the AI Task for the full report.

Specifications connect to Software Units through individual relations. REQ-24 and D-12 are aligned with U-18, while API-8 is misaligned. UI-7 is aligned with U-21. The expanded API-8 to U-18 relation shows the explanation, checked specification and Unit revisions, check date and AI Task. Each Unit maps to its source files.
PR-38 · 1 / 6
Start from product intent
1 of 6

Start from product intent

REQ-1 links technician assignment rules to U-43, the backend action that implements them.

How alignment verification works

When you enable the AI Automation rules, Reqode runs discovery and alignment checks automatically after syncing code changes.

  1. Code update Reqode syncs new and changed files from the repository.
  2. Unit Discovery Maps files to existing or new Units and refreshes their direct dependencies and specification links.
  3. Unit Alignment Verifier Checks the Unit’s implementation against its directly linked specifications.
  4. Result for each link Each link gets a status, explanation, check date, and the revisions compared.
  5. Findings Reqode creates or updates Findings as needed so the team can investigate and fix issues.

One Unit, clear relation states

The result shows whether implementation matches the linked specifications, needs more specification detail, or contains confirmed drift.

Aligned

The implementation agrees with the linked specification for the responsibility of the target Unit.

Underspecified

The Unit contains significant behavior that belongs to its responsibility but is not fully described by the linked specifications.

Misaligned

Confirmed implementation behavior contradicts or fails to satisfy a directly linked specification.

Choose the right repair

When Reqode detects a misalignment, you decide whether to update the code or the specifications.

Duplicate order on retry

Finding for API-8 ↔ U-18

Expected
Return the existing order
Observed
Creates a second order
  • Fix code

    The API contract is correct. Return the existing order on retry.

  • Fix specifications

    Update the specification when the code reflects a change the team has agreed to.

Verify the correction

Recheck the Software Unit to confirm the fix and resolve the Finding.

API-8 ↔ U-18
Misaligned changes to Aligned

Contact Us

Fields marked * are required.

0 / 5,000

Prefer regular e-mail? info@reqode.com