feat: make Core reports commercially production-ready

This commit is contained in:
thanhnv
2026-07-29 13:12:11 +07:00
parent 67d482ae7f
commit 7f01cf980a
27 changed files with 1197 additions and 23 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 103 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 176 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

@@ -0,0 +1,52 @@
# Core-only commercial product audit
Audit date: 2026-07-29
Reference project: `Basic Design (Screen&Report)_v2.7`
## Problem reproduced
The previous empty-state overview displayed READY and operational-looking
zeroes before any governed run existed. Core, Domain Pipeline, and Provider
Telemetry were not separated, so a customer could not tell which capability
was installed, optional, or waiting for evidence.
Evidence:
- `00-init-empty-state.png`
- `01-assurance-overview.png`
- `02-run-dossier-h1-h7.png`
- `03-h6-trace-filtered.png`
## Corrected product contract
- `casan init --edition core` writes `.casan/discovery.json` and
`.casan/readiness.json`.
- Core can be `ready` while Domain Pipeline is `not_configured`/`discovered`
and Provider Telemetry is `optional_unavailable`.
- The overview hides operational KPIs until a governed run exists.
- The empty H6 view hides failure, latency, token, cost, coverage, chart and
export controls rather than displaying fabricated zeroes.
- HTML/JSON export remains on-demand.
- `casan pipeline --help` never executes a pipeline; a missing project runner
returns `CASAN_PIPELINE_NOT_CONFIGURED` without marking Core failed.
Evidence:
- `04-commercial-readiness-empty-state.png`
- `05-commercial-h6-empty-state.png`
- `06-basic-design-commercial-overview.png`
- `07-basic-design-commercial-h6.png`
## Acceptance evidence
- clean Core-only vendored init: Core `ready`, Domain Pipeline
`not_configured`, Provider Telemetry `optional_unavailable`;
- no application source or `apps/` directory created by Core init;
- Basic Design discovery: Core `ready_with_attention` because Claude/Codex are
healthy while the selected VS Code route lacks its extension; Domain
Pipeline `discovered`; Provider Telemetry `available`;
- Basic Design H1–H7 domain smoke: seven controls passed;
- Inspect latest run opens the interactive H1–H7 dossier;
- Open H6 opens the trace-filtered AgentOps dossier;
- Core and DevKit release artifacts build and pass extracted-artifact smoke;
- hybrid install suite: 104 pass, 0 fail.