Edictum oss

From edictum-ai/edictum · View interactive version

Edictum oss is an AI agent skill from the GitHub repository edictum-ai/edictum. Implement features in the Edictum OSS core (src/edictum/). Use when the task touches pipeline, adapters, YAML engine, CLI, audit, envelope, or session. Core NEVER imports from ee/.

How to use this skill

Skill file

Edictum Core Implementation

Read CLAUDE.md first. Understand the boundary principle before writing code.

Scope

Everything under src/edictum/ is the core library (MIT). This includes:

Architecture

Two deployment units:

Core provides protocols and interfaces. The server SDK provides HTTP-backed implementations.

What needs the server

Most features work without the server. These require it:

| Feature | Core | Server |

|---|---|---|

| Rule evaluation (all 4 types) | Yes | -- |

| outside: block / action: block | Yes | -- |

| outside: ask / action: ask (dev) | Yes (LocalApprovalBackend) | -- |

| outside: ask / action: ask (production) | -- | Yes (ServerApprovalBackend) |

| Audit to stdout/file/OTel | Yes | -- |

| Centralized audit dashboard | -- | Yes (ServerAuditSink) |

| Session tracking (single process) | Yes (MemoryBackend) | -- |

| Session tracking (multi-process) | -- | Yes (ServerBackend) |

| Hot-reload rules | -- | Yes (ServerRuleSource) |

Workflow

  1. Read CLAUDE.md — understand boundaries and dropped features
  2. Read the Linear ticket or user description
  3. Read relevant source files before proposing changes
  4. Scenarios & use cases — before implementing, write down:
  1. Scope with user — confirm approach before writing code
  2. Implement — small, focused changes
  3. Behavior test — every new/changed API parameter gets a test in tests/test_behavior/test_{module}_behavior.py
  4. Docs-code sync — pytest tests/test_docs_sync.py -v
  5. Adapter parity — if touching adapters: pytest tests/test_adapter_parity.py -v
  6. Test — pytest tests/ -v then ruff check src/ tests/
  7. Commit — conventional commits, no Co-Authored-By

Conventions

Do NOT

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.