AI coding decisions and constraints got lost in the chat

Decisions are usually tiny. Their absence is huge. The next AI needs to know not just what changed, but why a path was chosen.

Short version: A handoff is useful when it carries decisions, not just edits.

Why this hurts.

Without decisions and constraints, the next session can undo architecture choices, re-add rejected dependencies, or touch files that were intentionally out of scope.

How ShardStitch solves it.

01 / ShardStitch

Find durable decision records

Pin decisions, constraints, rejected approaches, and known truths.

02 / ShardStitch

Attach each decision to its source

Include the note, commit, issue, or file that supports each decision; mark a source as missing if no record survives.

03 / ShardStitch

Expose unknown rationale

If the reason for a constraint is unavailable, state that gap rather than inventing it; route risky uncertainty for review.

04 / ShardStitch

Carry constraints into the next change

Tell the next tool what not to touch and what assumptions must be verified.

What the next AI receives.

  • Decision summary
  • Constraints
  • Rejected approaches
  • Do-not-touch areas

What stays out.

  • Raw debate
  • Unresolved guesses
  • Old preferences that no longer apply
  • Verbose transcript history

Recover decisions without inventing rationale

Search project notes, review comments, commits, and issue records for the decision. A code change can reveal the chosen implementation without proving the reason.
Record where each constraint came from and whether it is still current. Keep a link, file path, or commit reference where possible.
If the original rationale is missing, say so. Do not present an inferred explanation as a confirmed decision.
Give the next AI the confirmed constraints and ask it to pause if the requested change conflicts with them. Revisit the source before relaxing a constraint.

FAQ.

Can the code reveal why a previous decision was made?

Sometimes comments or review history explain it, but the implementation alone is not reliable evidence of rationale. Mark the reason unknown unless a durable source supports it.

What should I include for a decision that may have changed?

Include the decision, its source and date if available, and what evidence would invalidate it. Ask the next session to verify that condition before relying on the decision.

Related pages.