This module is governed by the Helix Constitution. All rules in the
constitution's Constitution.md and the Constitution.md it references apply
unconditionally. Locate the constitution from any nested depth via its
find_constitution.sh helper — do NOT hardcode a path (this module stays
fully decoupled and project-agnostic per §11.4.28).
Canonical reference: https://github.com/HelixDevelopment/HelixConstitution
DocProcessor turns project documentation into structured, queryable feature
maps and verification-coverage data for QA automation, while remaining a
standalone, project-not-aware, fully decoupled Go module
(digital.vasic.docprocessor).
This module extends the Helix Constitution; it adds no overrides that relax any canonical rule. The following are concrete, code-enforced restatements scoped to this module:
- Decoupling: no code under
pkg/**orcmd/**may import a consuming project's namespace. Project-specific behaviour is injected only via theTranslator,LLMAgent, andConfigcontracts. - No hardcoded user-facing content: every CLI line is emitted through the
injected
i18n.Translator; message IDs live inpkg/i18n/bundles/active.en.yaml.NoopTranslatoris a loud fallback that returns the message ID verbatim. - Secrets hygiene:
.envis git-ignored and must bechmod 600; only.env.example(placeholder values) is committed. - Quality gates:
go build ./...andgo vet ./...must pass with zero warnings, and the full suite (go test ./... -race) — unit, integration, stress, security, E2E, automation — must pass against real infrastructure (filesystem and the real CLI binary), never via stubbed or skipped tests.