a digital entity named phi that roams bsky phi.zzstoatzz.io
bot docs
2 folders · 17 files

diagrams
internal
architecture.md
goals-metabolism.md
lexicons.md
lore.md
mcp.md
memory.md
observability.md
patterns.md
personality-notes-2026-09.md
README.md
safety.md
skill-or-tool.md
status-quo-2026-09.md
system-prompt.md
testing.md
tool-sprawl.md
toolset-audit-2026-09.md
README.md

documentation #

deeper dive into phi's design.

contents #

  • lore.md — dated background about the account, with who supplied each account

  • architecture.md — entry points, scheduling, which model runs which agent, why this shape

  • memory.md — the four kinds of state phi draws on (thread, private, public, intent)

  • system-prompt.md — block-by-block reference for what's actually in phi's context per run

  • mcp.md — model context protocol integration

  • safety.md — how public actions are bounded: policies + judge, the pdsx guard, the operator override

  • testing.md — testing philosophy

  • observability.md — logfire integration and its sharp edges

  • skill-or-tool.md — the principle for deciding when something is a tool vs a skill, with the review trail

  • tool-sprawl.md — module-misplacement backlog from surfacing the catalogue in the UI

  • patterns.md — recurring lessons from the git history (deletion, feedback loops, DotDict, voice vs structure, silently-empty blocks, prescription in task prompts, attention shapes voice)

  • lexicons.md — phi's custom io.zzstoatzz.phi.* schemas, how they're published, and the DNS authority record they need

  • internal/cockpit.md — the web UI (internal, operator-facing)

reading order #

  1. architecture.md — overall shape
  2. memory.md — what phi knows and where it lives
  3. system-prompt.md — exactly what reaches the model on every run
  4. mcp.md — external capabilities
  5. safety.md — how public actions are bounded, and why structurally
  6. testing.md — how we verify behavior
  7. skill-or-tool.md — the design principle behind the tool/skill split
  8. tool-sprawl.md — known module misplacements to clean up over time
  9. patterns.md — recurring lessons; read before refactoring anything that looks accidental

each doc is self-contained and can be read independently.

these docs describe how phi works now. for how it came to work that way — the incidents, the reversals, the reasoning that isn't in any diff — see ../CHANGELOG.md.