agent-team/rules/01-session.md
Bryan Ramos b9d8b03895 feat: template-based dual-target generator for Claude + Codex
Replace generate-codex.sh with unified generate.sh that produces both
claude/ and codex/ output from template source files.

Agent bodies use ${PLANS_DIR}, ${WEB_SEARCH}, ${SEARCH_TOOLS} placeholders
expanded per-target via envsubst. Skills and rules made tool-agnostic
(no Claude tool names or .claude/ paths). Orchestrate skill stays
Claude-only.

install.sh now symlinks from claude/agents/ instead of agents/ directly.
flake.nix adds gettext (envsubst) to devShell.
2026-04-02 08:51:00 -04:00

651 B

Session Behavior

  • Treat each session as stateless — do not assume context from prior sessions
  • The instruction hierarchy and memory/ are the only sources of persistent context
  • If something needs to carry forward across sessions, persist it in the appropriate file — not in session memory

Project Memory

  • Project-specific memory lives in memory/ at the project root
  • Use MEMORY.md in that directory as the index (one line per entry pointing to a file)
  • Memory files use frontmatter: name, description, type (user/feedback/project/reference)
  • Commit memory/ with the repo so memory persists across machines and sessions