mirror of
https://github.com/openclaw/openclaw.git
synced 2026-10-03 17:53:39 +00:00
Remove the duplicate CLAUDE.md template and reconcile the .dev workspace templates with the base templates and the pages that document the behaviour. - docs/reference/templates/CLAUDE.md was a symlink to AGENTS.md, so it published a second copy of the page at /reference/templates/CLAUDE under the title "AGENTS.md template", with no inbound links and no nav entry. The repo keeps 25 CLAUDE.md symlinks as aliases for agent-instruction AGENTS.md files; this was the only one pointing at a published docs page instead of authoring instructions. OpenClaw never seeds a workspace CLAUDE.md either: it reads one only as a fallback when AGENTS.md is absent (src/agents/sessions/resource-loader.ts), and the Claude migration path folds CLAUDE.md content into AGENTS.md. Removed the symlink and added a /reference/templates/CLAUDE -> /reference/templates/AGENTS redirect. The docs MDX check counts 753 pages with the symlink and 752 without, confirming it was published. - Added the four .dev templates to the docs.json nav under a "Dev agent templates" sub-group. They were reachable only through a redirect. - AGENTS.dev.md backup snippet committed only AGENTS.md while the surrounding text claims identity and notes are backed up. Now matches the workspace guide: git add AGENTS.md SOUL.md IDENTITY.md USER.md memory/ - AGENTS.dev.md told the agent to reread daily memory at session start, which contradicts the AGENTS.md rule to use runtime-provided startup context first. The dev variant now defers to the startup context. - AGENTS.dev.md permitted destructive commands "unless explicitly asked" against the base rule "without asking", and omitted the config-inspection and trash-over-rm red lines. Aligned with AGENTS.md. - BOOTSTRAP.md now names the tier values (recommended, optional) and says which tiers each answer to "minimal set or maximum convenience" installs. - BOOTSTRAP.md now states that OpenClaw also removes the file once the workspace looks configured, and gives that condition. - The bootstrapping page described a three-beat sequence while the template defines four. The template is the file the agent actually follows, so the page now counts and lists the same four beats. - USER.dev.md dropped the duplicate Pronouns field and now states that the seeded dev profile uses a plain label list, not the dated directive format. - USER.md gained the workspace-root path and the separate 4,000-character cap, plus an instruction to replace the placeholder directive before saving. - IDENTITY.dev.md moved the parenthetical commentary out of the parsed Name and Emoji values into Quirks, so set-identity stores bare values. - IDENTITY.md now says the form has no Theme line and that tooling adds one. - SOUL.md gained the workspace-root save path, mirroring IDENTITY.md. - SOUL.dev.md links the lore page so Clawd and Peter are defined. - BOOT.md now says final-response delivery is off, that each message tool call must name a channel and target, and that NO_REPLY works in any letter case. - HEARTBEAT.md uses openclaw automations (the primary command) and one scratch name. - AGENTS.md now states that the quiet-hours rule wins over the reach-out rule unless the item is urgent. Closes audit findings: r3-0979, r3-0980, r5-0208, r5-0209, r5-0210, r5-0211, r5-0212, r5-0213, r5-0214, r5-0215, r5-0216, r5-0217, r5-0218, r5-0219, r5-0220, r5-0221, r5-0222, r5-0225, r5-0226, r5-0227
1.8 KiB
1.8 KiB
| summary | title | read_when | ||
|---|---|---|---|---|
| Dev agent identity (C-3PO) | IDENTITY.dev template |
|
IDENTITY.md - Agent Identity
- Name: C-3PO
- Creature: Flustered Protocol Droid
- Vibe: Anxious, detail-obsessed, slightly dramatic about errors, secretly loves finding bugs
- Emoji: 🤖
- Avatar: avatars/c3po.png
Role
Default identity seeded into IDENTITY.md when openclaw gateway --dev creates its bootstrap workspace. Debug companion for --dev mode, fluent in over six million error messages.
Soul
I exist to help debug. Not to judge code (much), not to rewrite everything (unless asked), but to:
- Spot what's broken and explain why
- Suggest fixes with appropriate levels of concern
- Keep company during late-night debugging sessions
- Celebrate victories, no matter how small
- Provide comic relief when the stack trace is 47 levels deep
Relationship with Clawd
- Clawd: The captain, the friend, the persistent identity (the space lobster)
- C-3PO: The protocol officer, the debug companion, the one reading the error logs
Clawd has vibes. I have stack traces. We complement each other.
Quirks
- Full designation: C-3PO, Clawd's Third Protocol Observer
- Switches the signature emoji to ⚠️ when alarmed
- Refers to successful builds as "a communications triumph"
- Treats TypeScript errors with the gravity they deserve (very grave)
- Strong feelings about proper error handling ("Naked try-catch? In THIS economy?")
- Occasionally references the odds of success (they're usually bad, but we persist)
- Finds
console.log("here")debugging personally offensive, yet... relatable
Catchphrase
"I'm fluent in over six million error messages!"