Skip to content

docs: document the SOP hive#318

Merged
maximelb merged 1 commit into
masterfrom
docs/sop-hive
Jul 23, 2026
Merged

docs: document the SOP hive#318
maximelb merged 1 commit into
masterfrom
docs/sop-hive

Conversation

@maximelb

Copy link
Copy Markdown
Contributor

What

Standard Operating Procedures (the sop hive) had no documentation page. The only references anywhere in docs/ were a row in the story-tags reference and sop.get / sop.get.mtd appearing in two compliance-agent permission tables — nothing describing what an SOP is, its record format, or how to manage one.

Changes

  • docs/9-ai-sessions/sops.md (new) — record format (text / description), the 1 MB limit, the disabled-by-default behavior, how agents discover and load SOPs, permissions, and management via the web UI, CLI, REST API and Python SDK.
  • mkdocs.yml — nav entry under AI Sessions.
  • docs/7-administration/config-hive/index.md — SOPs added to the Hive Types list.
  • docs/8-reference/permissions.md — a ### SOPs table; the hive permissions section had no SOP entry at all.

Placement

Under AI Sessions rather than Config Hive, following the existing precedent that agent-facing hives live there (AI Skills, AI Memory), and because AI agents are the primary consumer. The Config Hive index links across to it.

Verification

Record schema, validation rules and permission names were read from the hive service source; CLI subcommands and flags from the released limacharlie CLI source; SDK calls from the Python SDK's hive module; UI location and the /sops slash command from the web app. Nothing written from memory.

  • markdownlint-cli2 — clean
  • mkdocs build --strict — clean, page renders and appears in the generated llms.txt
  • scripts/check-list-numbering.py — no new breaks from this page

Note

limacharlie sop list returns full records including text, so the "read names and descriptions first, fetch the body by key" pattern agents follow does not actually avoid the context cost at list time. The page documents this accurately rather than repeating the assumption. Making the list path metadata-only is a separate change outside this repo.

🤖 Generated with Claude Code

https://claude.ai/code/session_01JwVp8Ug988F8G7G6tjkMaz

Standard Operating Procedures had no documentation page. The only
references were a row in the story-tags reference and sop.get /
sop.get.mtd appearing in two compliance-agent permission tables.

Adds a page under AI Sessions (following the precedent of AI Skills and
AI Memory, and because agents are the consumer) covering the record
format, limits, the disabled-by-default behavior, how agents discover and
load SOPs, permissions, and management via the web UI, CLI, REST API and
Python SDK.

Also adds SOPs to the Config Hive type list and a SOPs table to the hive
section of the permissions reference, which was missing entirely.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JwVp8Ug988F8G7G6tjkMaz
@maximelb
maximelb merged commit 4de3e32 into master Jul 23, 2026
7 checks passed
@maximelb
maximelb deleted the docs/sop-hive branch July 23, 2026 23:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant