Context
ADR 005 (Doctrine and Policy Separation) defines a clear distinction:
- Doctrine is axiomatic and universal — applies to all Julee solutions
- Policy is strategic and adoptable — represents implementation choices
The ADR specifies infrastructure that doesn't yet exist:
[tool.julee] configuration in pyproject.toml for policy adoption
- Framework-default policies auto-adopted when
[tool.julee] is present
skip_policies configuration to opt out of defaults
- CLI commands:
julee-admin policy list, policy verify, policy adopt, policy skip
- Policy packages under
core/policies/ with metadata (slug, name, description, framework_default, requires)
Some policies are already mentioned as candidates: sphinx-documentation, test-organization, mcp-framework, temporal-pipelines, postgresql-patterns.
This is the enabler for all future strategic architectural rules. Without it, everything must be either universal doctrine (too rigid) or undocumented convention (too loose).
Acceptance criteria
Related
- ADR 005:
docs/ADRs/005-doctrine-and-policy.md
- Tier 4 priority (infrastructure enabler for iterative refinement)
Context
ADR 005 (Doctrine and Policy Separation) defines a clear distinction:
The ADR specifies infrastructure that doesn't yet exist:
[tool.julee]configuration in pyproject.toml for policy adoption[tool.julee]is presentskip_policiesconfiguration to opt out of defaultsjulee-admin policy list,policy verify,policy adopt,policy skipcore/policies/with metadata (slug, name, description, framework_default, requires)Some policies are already mentioned as candidates:
sphinx-documentation,test-organization,mcp-framework,temporal-pipelines,postgresql-patterns.This is the enabler for all future strategic architectural rules. Without it, everything must be either universal doctrine (too rigid) or undocumented convention (too loose).
Acceptance criteria
core/entities/core/policies/packages)[tool.julee]configuration reading from pyproject.tomltemporal-pipelinesorsphinx-documentation)julee-admin policy listandjulee-admin policy verifycommandsRelated
docs/ADRs/005-doctrine-and-policy.md