mirror of
https://github.com/openprose/prose.git
synced 2026-09-19 05:55:05 +08:00
66fe7a85e6
Ships the 13 wired tier-1/tier-2 examples under skills/open-prose/examples
with a hermetic offline gate at zero model spend:
- skills/open-prose/examples/{agent-observatory, basic-unit-suite,
forme-fixpoint, github-star-enricher, implementation-pipeline,
inbox-triage, masked-relay, monorepo-ci, oblique-weave, renewal-risk,
research-tree, surprise-cost, tamper-forge}: source .prose.md contracts,
committed replay/ state-dirs, and co-located deterministic tier-2
ledger-replay tests driving the real @openprose/reactor reconciler.
- tests/open-prose/examples/intelligent-react-examples-corpus.test.ts:
tier-1 doc-conformance over the 13 OWNED examples (agent-observatory
and forme-fixpoint normalized to lead each ### Continuity body with the
canonical input-driven/self-driven token; gateways stay external-driven).
- tools/eval-harness/: deterministic offline eval checker (10/10).
- vitest.config.ts: aliases @openprose/reactor public subpaths to the
prebuilt workspace dist; collects example *.test.ts; excludes key-gated
*.live.test.ts so the gate stays hermetic.
- package.json: adds test:examples (REACTOR_OFFLINE=1 vitest + eval
harness) and folds it into test.
- .github/workflows/ci-examples-gate.yml: runs the offline gate on
example/test path changes (no judge key).
- prune: removes the superseded packages/std/examples/{composed-reviewer,
confident-writer} .prose.md set.
Gates green: pnpm build clean; REACTOR_OFFLINE=1 pnpm test:examples =
17 vitest files / 214 tests + eval-harness 10/10; REACTOR_OFFLINE=1
pnpm test:skill = 14 files / 252 tests.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
19 lines
1.3 KiB
JSON
19 lines
1.3 KiB
JSON
{
|
|
"name": "openprose-prose",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"packageManager": "pnpm@9.15.0",
|
|
"scripts": {
|
|
"build": "pnpm --filter @openprose/reactor build && pnpm --filter @openprose/reactor-cli build && pnpm --filter @openprose/reactor-devtools build && pnpm --filter @openprose/prose-cli build",
|
|
"test": "pnpm --filter @openprose/reactor test && pnpm --filter @openprose/reactor-cli test && pnpm --filter @openprose/reactor-devtools test && pnpm --filter @openprose/prose-cli test && pnpm test:skill && pnpm test:examples",
|
|
"test:reactor:offline": "REACTOR_OFFLINE=1 pnpm --filter @openprose/reactor test && REACTOR_OFFLINE=1 pnpm --filter @openprose/reactor-cli test && REACTOR_OFFLINE=1 pnpm --filter @openprose/reactor-devtools test",
|
|
"test:skill": "vitest run tests/open-prose",
|
|
"test:examples": "REACTOR_OFFLINE=1 vitest run tests/open-prose/examples skills/open-prose/examples && pnpm test:eval:offline",
|
|
"test:eval:offline": "REACTOR_OFFLINE=1 node --test tools/eval-harness/eval-harness.test.mjs",
|
|
"lint": "pnpm --filter @openprose/reactor run lint --if-present && pnpm --filter @openprose/reactor-cli run lint --if-present && pnpm --filter @openprose/reactor-devtools run lint --if-present && pnpm --filter @openprose/prose-cli run lint --if-present"
|
|
},
|
|
"devDependencies": {
|
|
"vitest": "^3.2.4"
|
|
}
|
|
}
|