Genericize owner: prompt placeholders, ask_owner, neutral examples #136
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "glen/genericize-owner"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-up to 0054. Removes author/environment-specific text from everything the model or a user sees.
Bug fixed — owner name frozen into sqlite.
GIT_DEFAULT_SECTIONS.baseinterpolatedownerName()at build time, soseedSection(and Reset) stored the literal name; changingSWEATSHOP_OWNER_NAMEor editing in Settings froze it.{{owner}}/{{owner's}}placeholders;renderOwnerPlaceholders(lib/agent/owner.ts) renders them at turn time inbuildInstructions(all sections + skill body) and inuse_skill's returned body.repairStaleBaseupgrades abaserow only ifeditedBy = "git"AND its body is byte-identical to the old "Chad" default (verified equal to the pre-changeGIT_DEFAULT_SECTIONS.baseoutput) — written as a new version, note "owner placeholders". User/agent-edited text is never touched. Runtime idempotent repair rather than a SQL migration (multi-paragraph exact-match + versioning).ask_chad→ask_owner. Tool, prompt text, budget nudge, attention/inbox toolName, mock model, AGENTS.md.AskOwnerCardrenders bothtool-ask_ownerand legacytool-ask_chad, so old transcripts still display.Other strings.
propose_prompt_changedescription/denial useownerName();ghtool examples,docs/agent/projects.md, and the new-project placeholder useacme/widgetsinstead of TangoGroup/360-gpl.Left alone: code comments, numbered design docs, AGENTS.md process notes (who merges), the frozen comparison constant.
Verified: typecheck, lint (2 pre-existing warnings), 937 tests pass.