Add repo-memory CLI test docs

This commit is contained in:
2026-03-20 15:42:35 +08:00
parent e32c81db12
commit a6ffc376e3
43 changed files with 1583 additions and 17 deletions
+21 -6
View File
@@ -83,7 +83,7 @@ Examples:
│ ├─ inbox-runtime/ # inbox CLI runtime
│ ├─ orch-runtime/ # orch CLI runtime
│ ├─ operator-api/ # operator HTTP + query/web backend runtime
│ ├─ repo-memory-runtime/ # briefdb / repo-memory runtime
│ ├─ repo-memory-runtime/ # repo-memory runtime
│ └─ ... # future skill runtimes
├─ skills/
│ ├─ inbox/
@@ -97,6 +97,9 @@ Examples:
│ ├─ skill-bundles.json
│ └─ ...
└─ docs/tests/
├─ inbox/
├─ orch/
├─ repo-memory/
├─ inbox-skill/
├─ orch-skill/
├─ council-review-skill/
@@ -182,7 +185,7 @@ This package owns the repo-memory implementation.
It should contain:
- `cmd/briefdb/main.go`
- `cmd/repo-memory/main.go`
- markdown ingest/parser logic
- knowledge store and verification logic
- its own schema and runtime tests
@@ -290,8 +293,8 @@ Example mapping:
{
"skill": "repo-memory",
"type": "go-binary",
"package": "./packages/repo-memory-runtime/cmd/briefdb",
"output": "skills/repo-memory/assets/briefdb"
"package": "./packages/repo-memory-runtime/cmd/repo-memory",
"output": "skills/repo-memory/assets/repo-memory"
}
]
}
@@ -310,6 +313,17 @@ Each runtime package owns:
- integration tests
- package-local fixtures
### CLI Markdown Test Plans
Standalone CLIs with user-facing contracts should also keep a Markdown test-plan
set under `docs/tests/<cli>/`.
Examples:
- `docs/tests/inbox/`
- `docs/tests/orch/`
- `docs/tests/repo-memory/`
### Skill Forward Tests
`docs/tests/*-skill/` remains skill-oriented.
@@ -320,7 +334,7 @@ Examples:
- `docs/tests/inbox-skill/`
- `docs/tests/orch-skill/`
- `docs/tests/council-review-skill/`
- future `docs/tests/repo-memory-skill/`
- `docs/tests/repo-memory-skill/`
### Cross-Package Validation
@@ -406,9 +420,10 @@ Exit criteria:
Changes:
- move the exploratory `tmp/briefdb` runtime into `packages/repo-memory-runtime`
- move the exploratory repo-memory runtime into `packages/repo-memory-runtime`
- normalize module pathing, tests, and packaging
- add `skills/repo-memory`
- add `docs/tests/repo-memory/`
- add `docs/tests/repo-memory-skill/`
Exit criteria: