Retrofit default and model re-pin for the agent-memory variant spec - #14
Open
bluegreenstone wants to merge 1 commit into
Open
Conversation
D1's default project is now a retrofit — give persistent memory to an existing chat application in place — rather than a greenfield CLI/REPL build; the from-scratch path stays available as the course default. D4 re-pins the models to what the environment actually serves (gpt-5.6-luna for the agent loop, gpt-5.6-terra for augmentation and extraction), reads credentials from the process environment at runtime, and offers an honestly-costed Anthropic option. Consequential fixes bring §1 Not Included, §2 Secrets, and the §7 test plan in line with the retrofit default; cleanups remove the stale Oracle variant note, dangling cross-references, and give R12 an explicit UNKNOWN entity fallback.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates
courses/agent-memory-building-memory-aware-agents/spec.coding-agent-lab.md.Two substantive decision changes (D1, D4), plus the coherence fixes they forced and a
cleanup of dangling cross-references.
D1 — the default project is now a retrofit, not a greenfield build
Previously the default was a standalone CLI/REPL research assistant built from nothing. It is now
a memory-aware research assistant created by giving persistent memory to a chat application
that already exists — modify it in place, keep its interface and the address it already serves,
replace its in-process history with the seven memory stores.
This matches how the lab actually runs: the learner builds a deliberately forgetful chatbot first,
then uses the spec to give it memory. The old wording pushed a build agent toward scaffolding a
second app alongside it, so the default now says explicitly not to.
The spec stays generic — it describes "an existing chat application," not the lab's specific app.
The from-scratch CLI/REPL path remains an option and keeps the
(course default)label.D4 — models re-pinned to what the environment actually serves
gpt-5-minigpt-5.6-lunagpt-5gpt-5.6-terraAlso in D4:
claude-sonnet-5,claude-sonnet-4-6) is offered as an option but honestly costed:it is reached through an Anthropic-shaped endpoint, so it needs that SDK and its tool-call
message shape rather than the OpenAI-style calls §3 specifies.
gpt-5-mini+gpt-5pairing stays in Options as the(course default)anchor.against whichever model is pinned, rather than asserted as fact.
Consequential fixes
a web UI) and covers both D1 paths. The integration bullet previously excluded "refactoring your
app's own code to use these memory mechanisms", which ruled out D1's new default; it now permits
in-place retrofit while still excluding redesigning the app or porting the mechanisms into a
different application later.
.envdescribed as one way to populatethe environment rather than as the source of truth. Resolves a contradiction with D4.
environment and add only what is missing. Dropped the
cp .env.example .envstep.Cleanups
CTXas context on first use;reworded the "zero intake" claim, which read as licence to skip the §0 interview six lines
before that interview is declared mandatory.
question + described options). Tool availability only decides how it is rendered, not whether
the format applies.
EntityRecordallowed a fourth type,UNKNOWN, that no rule mentioned. R12 nownames it as an
[H]fallback for entities the model cannot classify, so a build can't satisfythe schema while violating the rule.
§5 cited a nonexistent "§10 four-way encoding"; D14 referred to "this variant" after the
variant note was deleted.
as a build option.
Unchanged
The seven-store topology, R1–R16, the AC1–AC20 oracle and its rule mapping, the fixture corpus,
and the Course Context Pack are untouched.
🤖 Generated with Claude Code