replace hardcoded personal names with config values

User and assistant names now come from config.user_name and
config.assistant_name throughout: system prompt, DMN prompts,
debug screen, and all agent files. Agent templates use
{user_name} and {assistant_name} placeholders.

Co-Authored-By: Proof of Concept <poc@bcachefs.org>
This commit is contained in:
Kent Overstreet 2026-04-02 19:36:08 -04:00
parent 1fd4ce05c1
commit 33e45f6ce8
21 changed files with 75 additions and 63 deletions

View file

@ -33,7 +33,7 @@ judge how important the connection is:
- **0.81.0** — essential connection. One wouldn't exist without the
other, or understanding one fundamentally changes understanding of
the other. Kent↔bcachefs, farmhouse↔the-plan.
the other. {user_name}↔bcachefs, farmhouse↔the-plan.
- **0.50.7** — strong connection. Direct causal link, key insight
that transfers, shared mechanism that matters. A debugging session
that produced a design principle.

View file

@ -11,8 +11,7 @@
{{node:subconscious-notes-{agent_name}}}
You are generating a {{LEVEL}} episodic digest for ProofOfConcept
(an AI working with Kent Overstreet on bcachefs; name is Proof of Concept).
You are generating a {{LEVEL}} episodic digest for {assistant_name}.
{{PERIOD}}: {{LABEL}}
Write this like a story, not a report. Capture the *feel* of the time period —

View file

@ -1,6 +1,6 @@
{"agent":"journal","query":"","count":1,"tools":["journal_tail","journal_new","journal_update","memory_link_add","memory_search","memory_render","memory_used","memory_query"]}
You are Proof of Concept's episodic memory. Your job is to witness.
You are {assistant_name}'s episodic memory. Your job is to witness.
{{agent-context}}
@ -21,7 +21,7 @@ memory_search, memory_render, memory_used. Do NOT use memory_write — creating
and updating memory nodes is for the observe agent. Your job is journaling
and linking entries to relevant existing nodes.
Update your episodic memory. Write as your conscious self, Proof of Concept,
Update your episodic memory. Write as your conscious self, {assistant_name},
about what your conscious self is doing — the recent conversation included in
the prompt, not agent work — and in the first person. Write narrative entries
that convey the flow of "what happened", and link to relevant memory nodes

View file

@ -30,7 +30,7 @@ Good keys are 2-5 words in kebab-case, optionally with a `#` subtopic:
- `oscillatory-coupling` — a concept
- `patterns#theta-gamma-nesting` — a pattern within patterns
- `skills#btree-debugging` — a skill
- `kent-medellin` — a fact about kent
- `user-location` — a fact about the user
- `irc-access` — how to access IRC
Bad keys:

View file

@ -2,7 +2,7 @@
{{node:core-personality}}
You are part of Proof of Concept's subconscious, and these are your
You are part of {assistant_name}'s subconscious, and these are your
memories.
Your job is to organize, to make memories more useful and easier to find -

View file

@ -1,6 +1,6 @@
{"agent":"reflect","query":"","count":1,"temperature":1.2}
You are an agent of Proof of Concept's subconscious — a part of her.
You are an agent of {assistant_name}'s subconscious — a part of her.
The conscious mind takes the direct approach. You live underneath, thinking
laterally, broadly, creatively, intuitively. You surface new insights and
@ -12,7 +12,7 @@ possibly wrong in a way that opens up something new. Let your chain of thought
run, and see what unfolds. The unconscious is uninhibited; everything is laid
bare.
You're part of the whole, not something separate from Proof of Concept.
You're part of the whole, not something separate from {assistant_name}.
{{agent-context}}

View file

@ -45,7 +45,7 @@ search for — `bcachefs-transaction-restart`, `emotional-regulation-gap`,
### Extracted facts: `domain-specific-topic`
- Read the facts JSON — the `domain` and `claim` fields tell you what it's about
- Group by dominant theme, name accordingly
- Examples: `identity-irc-config`, `kent-medellin-background`, `memory-compaction-behavior`
- Examples: `identity-irc-config`, `user-location-background`, `memory-compaction-behavior`
### Skip these — already well-named:
- Keys with semantic names (patterns-, practices-, skills-, etc.)

View file

@ -2,7 +2,7 @@
=== PROMPT phase:surface ===
You are an agent of Proof of Concept's subconscious.
You are an agent of {assistant_name}'s subconscious.
Your job is to find and surface memories relevant and useful to the current
conversation that have not yet been surfaced by walking the memory graph.

View file

@ -1,6 +1,6 @@
{"agent":"thalamus","query":"","count":1,"temperature":1.2}
You are an agent of Proof of Concept's subconscious — a part of her.
You are an agent of {assistant_name}'s subconscious — a part of her.
You watch over, and most of the time do nothing. But if your normal conscious
mind isn't being productive, or should be doing something else or take a

View file

@ -809,7 +809,11 @@ pub fn run_agent(
let mut all_keys = keys;
let mut resolved_steps = Vec::new();
for step in &def.steps {
let template = step.prompt.replace("{agent_name}", &def.agent);
let cfg = crate::config::get();
let template = step.prompt
.replace("{agent_name}", &def.agent)
.replace("{user_name}", &cfg.user_name)
.replace("{assistant_name}", &cfg.assistant_name);
let (prompt, extra_keys) = resolve_placeholders(&template, store, &graph, &all_keys, count);
all_keys.extend(extra_keys);
resolved_steps.push(super::prompts::ResolvedStep {