---ci---
project: atelier
phase: 0
milestone: v0.4
status: complete
phase_role: pre_execution
decisions:
- id: D-054
decision: "v0.4 scope = edge + messaging + language-derived docs"
- id: D-055
decision: "NFR milestone type — all phases docs/chore"
- id: D-056
decision: "6 execution phases P1-P5 + final phase P6"
- id: D-057
decision: "Edge domain groups CDN + offline-first + IoT + sync"
- id: D-058
decision: "Messaging domain covers queues + pub/sub + streams + delivery-semantics"
- id: D-059
decision: "Language-derived docs trace to existing domain P-rules, no new matrix rows"
- id: D-060
decision: "4 derived docs per language, 16 total, per-language picks"
- id: D-061..D-069
decision: "9 clarify resolutions (boundary, persona, examples, manifest, matrix)"
- id: D-070..D-072
decision: "Research findings — edge P1-P10, messaging P1-P10, persona roster"
- id: D-073
decision: "13 ideation recommendations accepted (12 refinements + 1 new req ATELIER-117)"
- id: D-074..D-075
decision: "46-task vertical-slice plan, persona lifecycle"
- id: G-013..G-018
decision: "Grill conditional proceed — G-014 false-premise fix applied"
requirements:
covered: [ATELIER-92, ATELIER-93, ATELIER-94, ATELIER-95, ATELIER-96, ATELIER-97, ATELIER-98, ATELIER-99, ATELIER-100, ATELIER-101, ATELIER-102, ATELIER-103, ATELIER-104, ATELIER-105, ATELIER-106, ATELIER-107, ATELIER-108, ATELIER-109, ATELIER-110, ATELIER-111, ATELIER-112, ATELIER-113, ATELIER-114, ATELIER-115, ATELIER-116, ATELIER-117]
partial: []
---/ci---
Atelier
A first-principles, docs-as-code engineering framework for AI agents and humans.
What This Is
Atelier is a hierarchical document tree of engineering principles. Eight universal core principles (C1–C8) govern eleven domains (API, Security, Data, Testing, Performance, Observability, Errors, Documentation, Concurrency, DevOps, UI/UX), each with ten derived principles (P1–P10). A principles matrix maps every domain rule back to the core rule it derives from, making conflict resolution deterministic.
This is not a style guide. This is not a linter. This is a principle hierarchy with cross-references, consumed by AI agents as pre-completion guidance and by humans as engineering canon.
Who It's For
- AI agents — read
core/then the relevantdomains/before completing a coding task. Runreview/agent-checklist.mdbefore finishing. - Human engineers — read
README.md→MANIFEST.md→core/for onboarding, then the domains relevant to your work. - Reviewers — use
review/peer-review-checklist.mdandreview/anti-patterns.md.
Quickstart
For Agents
- Read
core/first-principles.md(the 8 axioms) - Read
core/conflict-resolution.md(how to resolve rule conflicts) - Read
domains/<your-task-domain>/first-principles.md - Read
domains/<your-task-domain>/<topic>.mdas needed - Run
review/agent-checklist.mdbefore completing
For Humans
- Read this README
- Read
MANIFEST.md(the authoritative document index) - Read
core/first-principles.md→core/conflict-resolution.md→core/reading-order.md - Pick a domain of interest and read its
first-principles.md - Skim
matrix/principles-matrix.mdto see how everything connects
The Eight Core Principles
| # | Principle | One-line |
|---|---|---|
| C1 | Correctness | The system does what it is supposed to do, and nothing else. |
| C2 | Clarity | The intent of the code is obvious to its reader. |
| C3 | Simplicity | The solution is as simple as possible, and no simpler. |
| C4 | Locality | Decisions and their consequences live near each other. |
| C5 | Reversibility | Every decision can be undone, and the cost of undoing is known. |
| C6 | Composability | Parts combine into wholes, and the parts are reusable. |
| C7 | Observability | The system's behavior is visible to those who must understand it. |
| C8 | Economy | The system uses no more resources than the task requires. |
Precedence: C1 > C2 > C3 > C4 > C5 > C6 > C7 > C8. Correctness is never sacrificed.
The Domains
| Domain | First Principles | Derived Docs |
|---|---|---|
| UI/UX | ✓ | components, accessibility, tokens, copywriting |
| API | ✓ | rest, graphql, versioning, error-responses, pagination |
| Security | ✓ | authentication, authorization, input-validation, secrets, supply-chain |
| Data | ✓ | schema-design, migrations, indexing |
| Testing | ✓ | pyramid, fixtures |
| Performance | ✓ | frontend, backend |
| Observability | ✓ | logging, metrics, tracing |
| Errors | ✓ | patterns |
| Documentation | ✓ | doc-templates |
| Concurrency | ✓ | patterns |
| DevOps | ✓ | ci-cd, environments |
Repository Structure
atelier/
├── core/ # The 8 universal principles (read first)
├── domains/ # 11 domains, each with first-principles + derived docs
├── languages/ # Language-specific application of domain rules
├── review/ # Checklists and anti-patterns
├── matrix/ # Cross-reference: domain ↔ core
├── examples/ # Worked examples (good + bad)
├── MANIFEST.md # Authoritative document index
└── README.md # This file
License
MIT. See LICENSE.
Contributing
See CONTRIBUTING.md.
Version
This is v0.1. See CHANGELOG.md for version history.