Pointer doc for AI agents working in this repository. Read this first; then follow the links to the authoritative material.
LIF (Learner Information Framework) — an open-source ecosystem of microservices for aggregating learner information from SIS, LMS, HR, and other source systems into a standardized data record. Polylith monorepo, Python services, AWS deployment.
For a full overview of architecture, build commands, schema conventions, and deployment, see CLAUDE.md. It's the authoritative repo guide for AI tools.
| If you need… | Go to |
|---|---|
| How much you may change — scope, verification, stop-and-ask | agent-behavioral-guidelines.md |
| Repo-wide guidance (build, test, schema, deployment) | CLAUDE.md |
| Documentation structure, layer rules, where docs go | docs/README.md |
| Curated list of every doc in the repo | docs/INDEX.md |
| Code-contribution rules (commits, PRs, style) | CONTRIBUTING.md |
| MCP servers, LLM integration patterns, agent conventions | docs/agents/ |
| Design decisions and rationale | docs/design/adr/ |
- Classify before you write. Use the decision tree in
docs/README.mdto pick the right layer. If nothing fits, that's a signal — open an issue rather than inventing a category. - Filenames are kebab-case. Acronyms lowercased as single words (
mdr,mcp-server). Drop theLIF_prefix unless it's part of the proper name. Seedocs/README.mdfor the full convention. - One-line summary at the top of every markdown doc. That summary becomes the entry in
docs/INDEX.md. - Update INDEX.md when you add, remove, or significantly rewrite a doc. The
docs-indexskill automates this; manual updates are also fine. - Don't duplicate. Cross-link between
CLAUDE.md,docs/README.md, and per-layer READMEs rather than copying content. If you find yourself wanting to duplicate, the structure is wrong. - ADRs are immutable once Accepted. To revise an accepted ADR, write a new ADR that supersedes the old one.
- Match the layer rule. Each layer's README states its rule (e.g., "Operations docs reflect reality, not intent"). If your doc violates the rule of its layer, it's in the wrong layer.
Scope discipline comes first — see agent-behavioral-guidelines.md: touch only what the task requires, don't "improve" adjacent code, and stop and ask before Flyway migrations, shared components/lif/ bricks, live-env/promotion paths, or reference_data/transformations/.
The rest are summarized from CLAUDE.md; see that file for the authoritative version.
- Commit messages follow
Issue #XXX: Brief description. Multi-issue:Issue #123, Issue #456: Description. - PR commits append, don't force-push on PRs under review. Force-pushes invalidate reviewer "viewed" state and break inline-comment threading. See
feedback_pr_commit_stylememory for the rule and rationale. - Idempotent migrations. V1.2+ Flyway migrations must be safely re-runnable (
CREATE OR REPLACE,CREATE TABLE IF NOT EXISTS) because local docker-compose loads them viapsqlnot real Flyway. SeeCLAUDE.md§ "MDR Schema Migrations". - Pre-commit must pass.
uv run pre-commit run --files <changed files>before committing. ruff, cspell, ty, pytest.
- Detailed repo architecture, build instructions, deployment specifics, schema conventions — those are in
CLAUDE.md. - Specific service designs — those are in
docs/design/components/. - Data model rules — those are in
docs/specs/.
This file is intentionally short. If it grows past ~80 lines, content has leaked from somewhere else and should move.