17 lines
1 KiB
Markdown
17 lines
1 KiB
Markdown
# ADR 0001: V1 Bootstrap Architecture
|
|
|
|
## Status
|
|
|
|
Accepted
|
|
|
|
## Decision
|
|
|
|
Artifex V1 is a Django deterministic control plane backed by PostgreSQL. It persists projects, plans, hierarchy, tasks, agents, events, resources, secrets metadata, artifacts, worktrees, commits, knowledge graph records and verification results. LangGraph is isolated behind `GraphRuntime`; model calls are isolated behind `ModelRouter`; secret access is mediated through metadata, grants and audit records.
|
|
|
|
## Rationale
|
|
|
|
The bootstrap spec requires canonical state outside prompts, a persisted Event Bus, a hierarchical project model, explicit verification, Git worktree isolation and first-class agents. Django provides the fastest trustworthy path to durable state, migrations, admin inspection and a minimal dashboard.
|
|
|
|
## Consequences
|
|
|
|
M1 prioritizes deterministic persistence and inspectability before autonomous execution. M2 can implement the first autonomous loop by consuming these models and interfaces without migrating canonical state into LangGraph or agent prompts.
|