docs: add module documentation in AsciiDoc with PlantUML diagrams
Generated by per-group subagents covering all 52 modules across: core (18), infrastructure (10), apps (5), interfaces (3), plugins (7), testing (9) Documentation format: - AsciiDoc (.adoc) files in docs/modules/<group>/ - PlantUML (.puml) files in docs/diagrams/ - .adoc files reference diagrams via include:: directives Each doc covers: purpose, responsibilities, non-responsibilities, key types, event flow, integration points, invariants, PlantUML diagram, known issues, and open questions.
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
= core-policies
|
||||
|
||||
== purpose
|
||||
|
||||
Placeholder module reserved for the policy evaluation layer. Policy evaluation determines whether a proposed operation is permitted based on configured rules. Currently contains no source files — the module is a Gradle subproject with no implementation.
|
||||
|
||||
== responsibilities
|
||||
|
||||
* Intended: evaluate operational policies against proposed actions
|
||||
* Intended: enforce policy denials as terminal failures for the operation path
|
||||
|
||||
== non-responsibilities
|
||||
|
||||
* Does not perform risk assessment — that belongs to `core:risk`
|
||||
* Does not gate approvals — that belongs to `core:approvals`
|
||||
* Does not define workflow transitions — that belongs to `core:transitions`
|
||||
|
||||
== key types
|
||||
|
||||
*None.* The module has no source files.
|
||||
|
||||
== event flow
|
||||
|
||||
*None.* No events are consumed or emitted. This is a placeholder.
|
||||
|
||||
== integration points
|
||||
|
||||
No integration points. The module has no dependencies beyond `core:events`.
|
||||
|
||||
== invariants
|
||||
|
||||
None — module is empty.
|
||||
|
||||
== PlantUML diagram
|
||||
|
||||
[plantuml, core-policies, "png"]
|
||||
----
|
||||
include::../../diagrams/core-policies.puml[]
|
||||
----
|
||||
|
||||
|
||||
|
||||
|
||||
== known issues
|
||||
|
||||
Module is a placeholder — no policy evaluation logic exists.
|
||||
|
||||
== open questions
|
||||
|
||||
* What policy rule format will be used (declarative, scriptable, etc.)?
|
||||
* Will policies be loaded from config or from the event store?
|
||||
Reference in New Issue
Block a user