Skip to content

Guide: learner-first ledger order, example-swap framing, no-restating, Options tagging - #6

Merged
Carr1005 merged 1 commit into
mainfrom
guide-improvements
Jul 19, 2026
Merged

Guide: learner-first ledger order, example-swap framing, no-restating, Options tagging#6
Carr1005 merged 1 commit into
mainfrom
guide-improvements

Conversation

@Carr1005

@Carr1005 Carr1005 commented Jul 19, 2026

Copy link
Copy Markdown
Collaborator

Why

Reviewer feedback from a real build against the agent-memory course spec surfaced problems that trace back to the spec-generation guide:

  1. Design/realization rows were asked before the learner's project/data/goal — the answers that give every later question its context ("rows 1-9 should be placed after the learner questions").
  2. The knowledge-toolset row read as an irrelevant "arXiv tools?" question for learners building their own project — nothing said it's the course's example, expected to be swapped.
  3. Two rows both read as "how many tools to retrieve, k=5" because one row restated the other's value.
  4. A substituted default (SQLite+Chroma) could be presented as the course's choice because nothing marks, in the table itself, which Options entry the course actually used (Oracle).

What changed (all rules course-agnostic)

  • Row order: learner → design → realization → contradicted (context first, dependents after); the §0 gate presents rows in table order, so project/data/goal answers exist before the rows that depend on them.
  • Carry-forward framing: gate step 3 tells the build agent to use answers already given to frame later questions in the learner's own terms — with a guardrail: never skip a row, alter an Option, or move the "(course default)" label because of an earlier answer.
  • Example-swap framing: any row whose Default is the course's example realization must say so and mark itself as expected to be swapped when the learner's project differs.
  • No cross-row restating: a row never restates another row's decided value; it cross-references the owning row ("k: pinned in row N").
  • Options tagging: on substitution rows, the course's own technology in Options carries the literal tag "(course default)", making build-time labeling deterministic.
  • §14 pre-handoff checklist updated to audit all of the above.

(The express-lane gate and "(Recommended)"/"(course default)" labeling rules this builds on reached main earlier via #5.)

Validation

The updated guide was validated end-to-end: an isolated agent (fresh context, forbidden from reading the old spec) regenerated the agent-memory course spec from the guide + materials alone. The regenerated spec fixed every reviewer point — learner rows first, Oracle tagged "(course default)" in Options, the tool-suite row framed as a swappable course example, k cross-referenced instead of restated. The regenerated spec itself is not part of this PR; where it lands is still being decided.

🤖 Generated with Claude Code

…, Options course-default tag

- Row order becomes learner -> design -> realization -> contradicted:
  context first, dependents after; the gate presents in table order, so
  project/data/goal answers exist before the rows that depend on them.
- Gate step 3: carry earlier answers into later questions' framing, with
  a guardrail (never skip/alter a row or move labels because of one).
- Rows defaulting to the course's example realization must say so and
  mark themselves as expected to be swapped for the learner's project.
- No cross-row restating of decided values; cross-reference the owner.
- On substitution rows, Options tags the course's own technology
  "(course default)" so build-time labeling is deterministic.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@Carr1005
Carr1005 force-pushed the guide-improvements branch from 215b1ce to 91a3718 Compare July 19, 2026 14:21
@Carr1005 Carr1005 changed the title Guide: decision-ledger overhaul — gate, ordering, labeling, framing rules Guide: learner-first ledger order, example-swap framing, no-restating, Options tagging Jul 19, 2026
@Carr1005
Carr1005 merged commit 407513e into main Jul 19, 2026
@Carr1005
Carr1005 deleted the guide-improvements branch July 23, 2026 09:14
bluegreenstone pushed a commit to bluegreenstone/spec-build-lab that referenced this pull request Jul 27, 2026
Full regeneration by an isolated agent (inputs: guide + course materials
only) against the guide as of PR https-deeplearning-ai#6 (merged) + PR https-deeplearning-ai#7 (guide-pins@fdf3b6f):
learner-first ledger order, express-lane gate, honest course-default
labeling, example-swap framing, invariant->AC coverage, precise
heavy-dependency bar, mining-completeness audits.

Highlights vs the previous spec: 19-row Decision Ledger with stable D-IDs
(learner rows first); restart tested by a real new-OS-process AC; arXiv
toolset restored as course-faithful default (keyless != heavy) with
live-marked ACs; discovery JSON shape tested; all mined course parameters
present; contradictions carried in-row; 16 rules / 20 ACs; full §14
self-check completed by the generating run (4 items self-fixed).

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