Skip to content

agent-memory spec: remove tool-exposure & contradicted rows (round-2 review)#10

Merged
Carr1005 merged 1 commit into
mainfrom
review-round-2
Jul 22, 2026
Merged

agent-memory spec: remove tool-exposure & contradicted rows (round-2 review)#10
Carr1005 merged 1 commit into
mainfrom
review-round-2

Conversation

@Carr1005

Copy link
Copy Markdown
Collaborator

Why

Round-2 reviewer feedback on the agent-memory spec's Decision Ledger:

  • Tool exposure (old D11) presented semantic tool retrieval as an optional decision with "pass all tools" as an equal option — but the course teaches semantic retrieval as best practice, and whether it matters depends on the learner's tool count. Not a neutral choice.
  • The three contradicted rows (distance strategy, index type, toolbox k) were low-stakes levers surfaced only because the course contradicted itself across lessons — near-equivalent or trivial choices, not architectural decisions the learner must make at build start.

What changed

Removes all four Ledger rows and renumbers the remaining rows to a contiguous D1–D15. No behavior is lost — only relocated:

Removed Relocated to
tool exposure / semantic retrieval R4 (baked-in) + AC4; toolbox store still D7
distance strategy §2 default (cosine); consistency invariant kept in R15 + AC17
index type §2 default (exact at fixture scale); exact-top-k kept in AC3
toolbox k R4/§4 (k=5); single-config-point kept in R15 + AC17
the contradictions themselves CTX-C4/C5/C6 as provenance

No business rule or AC was deleted (16 rules / 20 ACs unchanged); the rule↔AC bijection holds. The spec now has zero contradicted rows.

⚠️ Deviation from the generation guide — sequencing matters

This is a hand-edit that runs ahead of the guide: the guide still promotes contradicted decisions to Ledger rows, so regenerating this spec before the guide is updated will re-introduce all four rows. Do not regenerate until the follow-up guide issue lands. That issue (a stakes filter for the contradicted category + how design-argued rows should encode taught best-practice) will be filed and linked.

🤖 Generated with Claude Code

Round-2 review: the tool-exposure row (old D11) presented semantic tool
retrieval as an optional decision with 'pass all tools' as an equal
option, when the course teaches it as best practice; and the three
contradicted rows (distance strategy, index type, toolbox k) were
low-stakes levers surfaced only because the course contradicted itself.

Removes all four Ledger rows and renumbers to a contiguous D1-D15. No
behavior lost, only relocated:
- semantic retrieval stays baked into R4 (+AC4); toolbox store still D7
- distance strategy (cosine) & index (exact at fixture scale) -> §2,
  with the consistency invariant kept in R15/AC17 and exact-top-k in AC3
- toolbox k=5 -> R4/§4; single-config-point kept in R15/AC17
- the contradictions themselves stay as CTX-C4/C5/C6 provenance
This spec now has zero contradicted rows.

DEVIATION: this hand-edit runs ahead of the generation guide, which
still promotes contradicted decisions to rows. Regenerating before the
guide issue lands will re-introduce these rows -- do not regenerate
until then. Tracked in a follow-up issue.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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