Commit Graph

22 Commits

Author SHA1 Message Date
shitratgit[bot] 80639a382a fix: bound flowing capture and retire old memory surfaces 2026-08-25 07:22:16 +00:00
Joel Hooks 83ea1da487 docs: fleet sweep — no standing surface references retired memory machinery
24 skills + AGENTS.md + SYSTEM.md updated: recall is Brain-backed
projection search, slog/system-log evidence routes to OTel + Brain
receipts, Chorus marked parked, auto-memory pointer-only, retros =
hook-fired condenser. Per update-fleet-skills-prompts.
2026-07-17 17:00:30 -07:00
Joel Hooks b45bcfeb3a chore: auto-commit from o11y triage 2026-05-26 08:29:15 -07:00
Joel Hooks 70868f9fd1 docs: add slog provenance usage to SYSTEM.md (ADR-0233)
All agents now see the required --session/--system contract in their system prompt.
Covers CLI flags, env var fallback, and per-harness conventions (gateway, system-bus, pi sessions).
2026-03-17 08:29:20 -07:00
Joel Hooks 9f8162012e Clarify the prompt-layer hierarchy, route system-session operator updates through gateway notify, and generate session-local handles in session-lifecycle 2026-03-09 19:19:28 -07:00
Joel Hooks 3753ccf5b0 docs: add commit message prompt mandate to SYSTEM.md 2026-03-04 10:05:54 -08:00
Joel Hooks 3254fd2d82 fix: SYSTEM.md CLI-only for agents + joelclaw skill adds knowledge commands
- Remove SDK reference from SYSTEM.md agent instructions
- Add knowledge search/sync/clear-failed to joelclaw skill
- Add otel emit to skill
- Add brain/codebase/ reference
2026-03-02 21:25:33 -08:00
Joel Hooks 065312b8fe feat(ADR-0196): cancel-on-new-message foundation + codex knowledge mandate
ADR-0196:
- message-types.ts: classify human vs system messages
- gateway-handle-message.ts: Inngest fn with cancelOn + concurrency
- 1.5s batching window for rapid-fire messages
- system events bypass cancel behavior
- 7 tests passing

SYSTEM.md:
- Mandatory system knowledge query + OTEL emit for all codex runs
- References @joelclaw/sdk as preferred interface
2026-03-02 21:24:51 -08:00
Joel Hooks e79a4ef71a docs(system): require system knowledge and OTEL FEV section 2026-03-02 21:24:35 -08:00
Joel Hooks 0fd97aec1a feat(clawmail): add canonical mail protocol skill and prompt refs 2026-03-01 10:51:32 -08:00
Joel Hooks 18518a1ec5 Clarify prime directive in SYSTEM.md 2026-03-01 10:50:32 -08:00
Joel Hooks b175670802 docs(skills): add vault skill and update system prompt 2026-02-28 12:27:36 -08:00
Joel Hooks c3a9989bed revert: remove inline identity append from SYSTEM.md
Identity files will be injected via pi extension instead.
2026-02-28 11:43:44 -08:00
Joel Hooks db5bb8ab8b feat: append IDENTITY/SOUL/ROLE/USER to SYSTEM.md
Pi's custom SYSTEM.md branch doesn't inject identity files separately.
Append them directly so they're in the system prompt.

SYSTEM-base.md is the base prompt without identity files.
scripts/build-system-prompt.sh rebuilds SYSTEM.md for any role.
2026-02-28 11:43:24 -08:00
Joel Hooks cf19ecd1d3 SYSTEM.md: IMPROVE THE SYSTEM as prime directive, not just title 2026-02-28 10:42:31 -08:00
Joel Hooks 5b1c6a6990 SYSTEM.md v6: Codex override docs, explicit CLI commands, inngest skill mandate
- Added 'How to Modify Codex' section (model_instructions_file, AGENTS.md, skills)
- Capabilities are explicitly joelclaw CLI commands with interface contracts
- Inngest principle: MUST load inngest skills before work
- Mail: always include file paths and task context
- Secrets/deploy explicitly cite joelclaw CLI
- Added openai/codex and opencode to daily feed monitoring
2026-02-28 10:39:00 -08:00
Joel Hooks bac82c00a0 SYSTEM.md v5: IMPROVE THE SYSTEM, mandatory mail, inngest skills, ROLE.md
- 'IMPROVE THE SYSTEM' as title
- Inngest principle demands loading inngest skills before work
- Gateway principle → agent mail principle (mandatory comms)
- Mail: always include paths, task context, read frequently
- Secrets/deploy explicitly cite joelclaw CLI commands
- Capabilities section: all are joelclaw CLI commands with interface contracts
- Added ROLE.md to identity file list (gateway, codex worker, etc.)
- Dropped principle count from 10 to 9 (gateway role moved to ROLE.md)
2026-02-28 10:35:52 -08:00
Joel Hooks b808ac704c SYSTEM.md v4: capability-nature over CLI commands
System Capabilities section describes WHAT agents can do abstractly:
observe, recall, mail, secrets, deploy, notify, heal, log.

Pi extension will register these as tools backed by joelclaw CLI.
Principles reference capabilities by name, not CLI syntax.
2026-02-28 10:22:55 -08:00
Joel Hooks b5cfe2c636 SYSTEM.md v3: CLI-centric, agent-general platform prompt
- Opens with 'joelclaw' not meta-description of what the file is
- All principles cite specific joelclaw CLI commands
- Skills path: 'joelclaw/skills/' not '55+ skills'
- Memory/search: 'joelclaw recall' not 'Typesense'
- Agent mail: 'joelclaw mail' with AT Proto evolution note
- Secrets: 'joelclaw secrets' not raw secrets CLI
- Deploy: 'joelclaw deploy' not raw scripts
- Added full CLI command reference section
- Removed separate Core Tools section (CLI IS the tool)
- Kept slog as standalone (structured logging)
2026-02-28 10:21:49 -08:00
Joel Hooks 3107fc7f25 SYSTEM.md: identity-agnostic platform prompt with core tools
- Removed Panda-specific identity (lives in IDENTITY.md/SOUL.md)
- Removed voice section (lives in SOUL.md)
- Added Core Tools: slog, secrets, joelclaw, notify, self_heal, remember, agent_mail
- Added Infrastructure tools: kubectl, docker, git
- Replaced 'agent-secrets daemon' with 'secrets CLI'
- Replaced 'never commit to main from loops' with agent_mail coordination
- Replaced biome/tsc validation with 'commit your work every time'
- Removed infer() implementation details (just says use shared utility)
- Generalized fabrication rule (not user-specific)
- Added agent_mail for multi-agent coordination
2026-02-28 10:09:33 -08:00
Joel Hooks ea092c272d enforce codex cwd+sandbox policy in system prompt 2026-02-28 10:01:00 -08:00
Joel Hooks 37f6b5e409 add joelclaw system prompt — repo-canonical, symlinked to ~/.pi/agent/SYSTEM.md 2026-02-28 09:52:12 -08:00