Skip to content

Latest commit

 

History

History
60 lines (43 loc) · 1.68 KB

File metadata and controls

60 lines (43 loc) · 1.68 KB

Agent Instructions for caseum

This file (AGENTS.md) is the canonical agent configuration. CLAUDE.md is a symlink to this file.

Documentation for the Caseum software architecture methodology. Combines C4, Actors, Stories, Events, UI, and Models views.

Quick Reference

  • Build docs: uv run mkdocs build
  • Serve locally: uv run mkdocs serve
  • Deploy: uv run python publish_index.py

Structure

  • docs/ - MkDocs documentation source
    • components/ - C4 component views
    • actors/ - Role definitions
    • stories/ - User stories and Gherkin
    • events/ - Event storming
    • ui/ - Wireframes
    • models/ - TLM diagrams
    • guides/ - Usage guides

Commit Message Convention

Follow Conventional Commits:

Format: type(scope): description

Types: feat, fix, docs, style, refactor, test, build, ci, perf, revert, improvement, chore

Session Completion

Work is NOT complete until every change is committed, pushed, and CI passes.

  1. Quality gates (if docs changed):

    uv run mkdocs build
  2. Commit: stage and commit every change from this session. Do not leave the working tree dirty.

    git status              # review untracked and unstaged files
    git add <files>
    git commit -m "<type>(<scope>): <description>"
  3. Push:

    git pull --rebase && git push
    git status  # must show "up to date with origin"
  4. Verify CI:

    mise run ci-watch

    On failure, inspect with gh run view --log-failed, fix, commit, push, and re-watch.

Never stop before CI is green. If anything fails, resolve and retry.