diff --git a/AGENTS.md b/AGENTS.md index 8127ce1..1412114 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1,5 +1,11 @@ # GovOPlaN Wiki Codex Guide +## Documentation Contract + +- Treat documentation as part of every behavior change. Update this module's manifest-driven `DocumentationTopic` contributions for affected user and administrator behavior. +- Keep feature content here; `govoplan-docs` projects it without importing Wiki internals. +- Maintain a static user/admin baseline and run `/mnt/DATA/git/govoplan/tools/checks/check-manifest-shapes.py` after behavior or manifest changes. + ## Scope This repository owns collaborative, revisioned Wiki spaces and pages. diff --git a/src/govoplan_wiki/backend/manifest.py b/src/govoplan_wiki/backend/manifest.py index d31f1f3..f9fb00a 100644 --- a/src/govoplan_wiki/backend/manifest.py +++ b/src/govoplan_wiki/backend/manifest.py @@ -11,6 +11,7 @@ from govoplan_core.core.modules import ( PermissionDefinition, RoleTemplate, ) +from govoplan_core.core.provider_governance import declared_module_architecture MODULE_ID = "wiki" @@ -86,8 +87,8 @@ DOCUMENTATION = ( "MediaWiki/BlueSpice synchronization." ), layer="available", - documentation_types=("admin",), - audience=("operator", "module_admin", "product_owner"), + documentation_types=("admin", "user"), + audience=("user", "operator", "module_admin", "product_owner"), related_modules=OPTIONAL_DEPENDENCIES, links=( DocumentationLink( @@ -127,6 +128,15 @@ manifest = ModuleManifest( permissions=PERMISSIONS, role_templates=ROLE_TEMPLATES, documentation=DOCUMENTATION, + architecture=declared_module_architecture( + layer="content_records_evidence", + kind="domain", + maturity="scaffold", + documentation_ref="docs/WIKI_DOMAIN_BOUNDARY.md", + known_limits=("Wiki spaces, pages, revisions, publishing, and search projection are not implemented yet.",), + owned_concepts=("wiki space", "wiki page", "page revision", "page link"), + non_owned_concepts=("binary attachment", "record disposition", "external MediaWiki page"), + ), )