Concept Audit
Focus: can the concept and application designs fulfill their respective purposes, and does the
implementation conform? Run only on explicit $concept-audit invocation and remain read-only.
Design can be reviewed without code; without specifications, review only observable code properties.
Mark conclusions unsupported by missing material as unverified.
Model
A concept is a behavioral unit designed for one purpose. A concept argument connects its purpose
to its operational principle (OP), state, and actions. An application argument connects the
application purpose to concept selection, synchronizations, and end-to-end scenarios. Conformance to
an unsuitable model does not establish fitness; successful OP tests do not prove the purpose, and
locally sound concepts do not prove the application purpose.
Review five dimensions:
- Fitness: behavior meets the real need under stated assumptions.
- Independence: concept definitions do not depend on other concepts; this repository also
requires concept modules not to reference one another.
- Composition: synchronizations coordinate public actions without expanding or corrupting
allowed concept behavior.
- Drift: implementation differs from a confirmed behavioral contract; distinguish omissions from
contradictions.
- Product subsets: each subset preserves its purpose, entry points, required synchronizations,
and resources.
Evidence means a fact supported by inspected requirements, models, code, or tests. Missing evidence
is not evidence of absence.
Audit
- Scope — Read
references/spec-format.md, requirements, concept and synchronization
specifications, the overall PRD, and staged links. With code, trace real entry points, calls,
state/schema, migrations, and tests. Record versions, terms, facts, inferences, coverage, and
gaps.
- Design arguments — State concept and application purposes. For every concept, test the
contract → OP → purpose argument and specificity, completeness, independence, and familiarity.
Review application selection and synchronizations against end-to-end scenarios. Novelty or
infrastructure identity alone is not a defect.
- Drift and independence — When code exists, use
references/drift-checklist.md to compare
signatures, outputs, invariants, state, and dependencies, including public calls, shared mutable
state, private access, and DTO/protocol leakage. Same-named local type parameters are not
semantic dependencies.
- Composition — Use
references/composition-checklist.md to trace each action and
synchronization from the application purpose. Check completion events, bindings, isolation,
failure, replay, loops, under-synchronization, and over-synchronization.
- Dependencies and subsets — Check product inclusion dependencies separately from code
restrictions. A product graph need not mirror a code graph.
- Aggregate — Cross-check includes, actions and queries, parameters, outputs, bindings, and
diagrams. Merge findings by root cause and report all five dimensions; an unexecuted check cannot
pass.
Report
# Audit Report <date>
Scope: <requirements/spec/code versions; verified and unverified material> Summary: <coverage,
finding count, severity>
| Proposition or finding | Scenario and evidence | Failed relation or assumption | Impact/severity | Fix route |
| ---------------------- | --------------------- | ----------------------------- | --------------- | --------- |
Coverage: <five dimensions and every concept, entry point, or rule group> Fix order: <merged root
causes, affected locations, current fix, dependencies>
Medium or higher severity needs current specification or code evidence; pure design review is a
specification-level projection. Separate missing OP tests from purpose failure. Without
implementation, do not report implementation violations. Attach a scenario to every under- or
over-synchronization claim.
Route model defects to concept-design, transcription/index errors to concept-prd, and code
violations to concept-implementation. Read references/sources.md when source definitions or
criteria must be verified. Do not write specifications, code, or history.
1---2name: concept-audit-23description: Audits concept and application design arguments and optional code conformance only when the user explicitly invokes $concept-audit. Read-only; use for purpose fitness, independence, composition, drift, and product-subset review.4---56# Concept Audit78Focus: can the concept and application designs fulfill their respective purposes, and does the9implementation conform? Run only on explicit `$concept-audit` invocation and remain read-only.10Design can be reviewed without code; without specifications, review only observable code properties.11Mark conclusions unsupported by missing material as unverified.1213## Model1415A **concept** is a behavioral unit designed for one purpose. A concept argument connects its purpose16to its operational principle (OP), state, and actions. An application argument connects the17application purpose to concept selection, synchronizations, and end-to-end scenarios. Conformance to18an unsuitable model does not establish fitness; successful OP tests do not prove the purpose, and19locally sound concepts do not prove the application purpose.2021Review five dimensions:2223- **Fitness:** behavior meets the real need under stated assumptions.24- **Independence:** concept definitions do not depend on other concepts; this repository also25 requires concept modules not to reference one another.26- **Composition:** synchronizations coordinate public actions without expanding or corrupting27 allowed concept behavior.28- **Drift:** implementation differs from a confirmed behavioral contract; distinguish omissions from29 contradictions.30- **Product subsets:** each subset preserves its purpose, entry points, required synchronizations,31 and resources.3233Evidence means a fact supported by inspected requirements, models, code, or tests. Missing evidence34is not evidence of absence.3536## Audit37381. **Scope** — Read `references/spec-format.md`, requirements, concept and synchronization39 specifications, the overall PRD, and staged links. With code, trace real entry points, calls,40 state/schema, migrations, and tests. Record versions, terms, facts, inferences, coverage, and41 gaps.422. **Design arguments** — State concept and application purposes. For every concept, test the43 contract → OP → purpose argument and specificity, completeness, independence, and familiarity.44 Review application selection and synchronizations against end-to-end scenarios. Novelty or45 infrastructure identity alone is not a defect.463. **Drift and independence** — When code exists, use `references/drift-checklist.md` to compare47 signatures, outputs, invariants, state, and dependencies, including public calls, shared mutable48 state, private access, and DTO/protocol leakage. Same-named local type parameters are not49 semantic dependencies.504. **Composition** — Use `references/composition-checklist.md` to trace each action and51 synchronization from the application purpose. Check completion events, bindings, isolation,52 failure, replay, loops, under-synchronization, and over-synchronization.535. **Dependencies and subsets** — Check product inclusion dependencies separately from code54 restrictions. A product graph need not mirror a code graph.556. **Aggregate** — Cross-check includes, actions and queries, parameters, outputs, bindings, and56 diagrams. Merge findings by root cause and report all five dimensions; an unexecuted check cannot57 pass.5859## Report6061```markdown62# Audit Report <date>6364Scope: <requirements/spec/code versions; verified and unverified material> Summary: <coverage,65finding count, severity>6667| Proposition or finding | Scenario and evidence | Failed relation or assumption | Impact/severity | Fix route |68| ---------------------- | --------------------- | ----------------------------- | --------------- | --------- |6970Coverage: <five dimensions and every concept, entry point, or rule group> Fix order: <merged root71causes, affected locations, current fix, dependencies>72```7374Medium or higher severity needs current specification or code evidence; pure design review is a75specification-level projection. Separate missing OP tests from purpose failure. Without76implementation, do not report implementation violations. Attach a scenario to every under- or77over-synchronization claim.7879Route model defects to `concept-design`, transcription/index errors to `concept-prd`, and code80violations to `concept-implementation`. Read `references/sources.md` when source definitions or81criteria must be verified. Do not write specifications, code, or history.