feat: make Core reports commercially production-ready
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
# CASAN Domain Pack Guide
|
||||
|
||||
A **Domain Pack** is the per-project data the harness needs to govern YOUR domain. It lives
|
||||
at `apps/<project>/domain/` and is selected via `CASAN_DOMAIN_ROOT`. The harness code
|
||||
A **Domain Pack** is optional per-project data the harness needs for a
|
||||
project-specific SRS→test pipeline. Core prompt assurance and visual reporting
|
||||
do not require it. A pack commonly lives at `apps/<project>/domain/`. The harness code
|
||||
(`packages/casan-harness/`) never contains domain data — this is what makes it reusable.
|
||||
|
||||
Scaffold template: `packages/casan-devkit/templates/domain-pack/`.
|
||||
@@ -39,9 +40,18 @@ apps/<project>/domain/
|
||||
|
||||
## Wire it up
|
||||
```bash
|
||||
casan domain discover
|
||||
casan domain configure apps/<project>/domain/project.manifest.json
|
||||
casan domain status
|
||||
|
||||
# Existing automation remains supported
|
||||
export CASAN_PROJECT_MANIFEST=apps/<project>/domain/project.manifest.json
|
||||
bin/casan gate # runs domain-dependent suites against your pack
|
||||
```
|
||||
`casan domain configure` writes only `.casan/domain.json`; it references an
|
||||
existing in-project manifest and never copies, rewrites or invents application
|
||||
requirements, source mappings or tests.
|
||||
|
||||
`domain_root` is also recorded per-project in `packages/casan-harness/config/project-registry.json`
|
||||
so `bin/casan reuse` can prove multi-project reuse.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user