@@ -31,7 +31,7 @@ Today, agent workflow reliability is fragmented on three axes:
3131 "what already happened." Those invariants belong in deterministic local packages,
3232 not in repeatedly re-tokenized instructions.
3333
34- Fourteen packages solve that in one pipeline with runtime control and a
34+ Fifteen packages solve that in one pipeline with runtime control and a
3535feedback loop:
3636
3737- ** Four build-time tools** turn your authored source into every harness's file layout:
@@ -41,13 +41,15 @@ feedback loop:
4141 [ ` @razroo/iso-route ` ] ( ./packages/iso-route ) compiles * one model policy* into each harness's config.
4242- ** One wrapper** runs the whole build chain:
4343 [ ` @razroo/iso ` ] ( ./packages/iso ) chains the above into a single ` iso build ` .
44- - ** Six runtime-control libraries** handle durable execution, context selection, artifact caching, role capabilities, artifact shape, and operational truth:
44+ - ** Seven runtime-control libraries** handle durable execution, context selection, artifact caching, artifact lookup , role capabilities, artifact shape, and operational truth:
4545 [ ` @razroo/iso-orchestrator ` ] ( ./packages/iso-orchestrator ) provides resumable
4646 steps, keyed mutexes, and bounded fan-out for side-effectful agent workflows,
4747 [ ` @razroo/iso-context ` ] ( ./packages/iso-context ) resolves context bundles,
4848 estimates tokens, checks budgets, and renders deterministic context packs,
4949 [ ` @razroo/iso-cache ` ] ( ./packages/iso-cache ) stores and verifies
5050 content-addressed local artifacts with TTL-aware reads and pruning,
51+ [ ` @razroo/iso-index ` ] ( ./packages/iso-index ) builds and queries compact
52+ local indexes that point to authoritative facts across artifacts,
5153 [ ` @razroo/iso-capabilities ` ] ( ./packages/iso-capabilities ) resolves,
5254 checks, and renders role-level tool/MCP/command/filesystem/network policy,
5355 [ ` @razroo/iso-contract ` ] ( ./packages/iso-contract ) validates, parses, and
@@ -70,6 +72,7 @@ feedback loop:
7072 │ │ iso-guard ─▶ policy pass / fail
7173 │ │ iso-context ─▶ context bundle plan
7274 │ │ iso-cache ─▶ artifact reuse
75+ │ │ iso-index ─▶ artifact lookup
7376 │ │ iso-capabilities ─▶ role permission policy
7477 ┌────────────────────┐ │ .codex/config.toml │
7578 │ models.yaml │ ───────────────────── iso-route build ─────────────────────────────────────▶│ opencode.json │
@@ -121,6 +124,8 @@ the repo now supports a tighter loop:
121124 instead of repeating context-loading matrices in prompts.
122125- ` iso-cache put/get/verify ` keeps reusable artifacts local instead of
123126 refetching or rederiving safe inputs on every run.
127+ - ` iso-index build/query/has ` keeps artifact lookup local instead of
128+ grepping and loading growing state/report trees into prompts.
124129- ` iso-capabilities check/render ` keeps role permission matrices local
125130 instead of repeating tool/MCP/filesystem boundaries in prompts.
126131- ` iso-trace model-score ` catches tool-schema failures that weaker routes
@@ -148,6 +153,9 @@ of the prompt:
148153- ` iso-cache ` makes artifact reuse executable: stable keys,
149154 content-addressed blobs, TTL-aware reads, integrity verification, and
150155 pruning without asking a model to refetch safe inputs.
156+ - ` iso-index ` makes artifact lookup executable: text/TSV/markdown-table/JSONL
157+ sources compile into a compact queryable index, so agents can ask where a
158+ fact lives without repeatedly grepping or loading growing files.
151159- ` iso-capabilities ` makes role boundaries executable: resolve inherited
152160 tool/MCP/command/filesystem/network policy, check proposed actions, and
153161 render compact harness guidance without asking a model to remember a
@@ -245,6 +253,13 @@ of the prompt:
245253 expired/orphaned artifacts so domain packages can reuse safe inputs
246254 without model calls or MCP overhead.
247255
256+ - ** [ ` packages/iso-index ` ] ( ./packages/iso-index ) ** — [ ` @razroo/iso-index ` ] ( https://www.npmjs.com/package/@razroo/iso-index )
257+ Deterministic local artifact index for agent workflows. Builds compact
258+ lookup indexes from configured text, TSV, markdown-table, and JSONL
259+ sources, then supports ` query/has/verify ` so domain packages can find
260+ authoritative facts without loading whole artifact trees into prompt
261+ context.
262+
248263- ** [ ` packages/iso-contract ` ] ( ./packages/iso-contract ) ** — [ ` @razroo/iso-contract ` ] ( https://www.npmjs.com/package/@razroo/iso-contract )
249264 Deterministic artifact contracts for agent workflows. Loads JSON
250265 contract catalogs, validates records, and parses/renders JSON, TSV,
@@ -401,6 +416,16 @@ iso-cache verify
401416iso-cache prune --expired
402417```
403418
419+ ### ` @razroo/iso-index ` — where is the authoritative fact?
420+
421+ ``` bash
422+ iso-index build --config index.json --root . --out .iso-index.json
423+ iso-index query " example labs" --index .iso-index.json
424+ iso-index has --index .iso-index.json --key " company-role:example-labs:staff-agent-engineer"
425+ iso-index verify --index .iso-index.json
426+ iso-index explain --config index.json
427+ ```
428+
404429### ` @razroo/iso-contract ` — what shape must this artifact have?
405430
406431``` bash
439464 ├── iso-ledger/ # append-only operational event/state ledger
440465 ├── iso-context/ # deterministic context bundle policy
441466 ├── iso-cache/ # deterministic content-addressed artifact cache
467+ ├── iso-index/ # deterministic local artifact lookup index
442468 ├── iso-contract/ # deterministic artifact contracts
443469 └── iso-capabilities/ # deterministic role capability policy
444470```
@@ -459,6 +485,7 @@ npm --workspace @razroo/iso-guard run test # iso-guard policy engine tests
459485npm --workspace @razroo/iso-ledger run test # iso-ledger event/state tests
460486npm --workspace @razroo/iso-context run test # iso-context bundle/budget tests
461487npm --workspace @razroo/iso-cache run test # iso-cache artifact cache tests
488+ npm --workspace @razroo/iso-index run test # iso-index artifact lookup tests
462489npm --workspace @razroo/iso-contract run test # iso-contract artifact contract tests
463490npm --workspace @razroo/iso-capabilities run test # iso-capabilities policy tests
464491
@@ -496,7 +523,7 @@ build, and `npm publish --provenance`.
496523## End-to-end example
497524
498525[ ` examples/pipeline/ ` ] ( ./examples/pipeline ) is an executable demonstration
499- that exercises ** seven of the fourteen packages end-to-end** in one `npm run
526+ that exercises ** seven of the fifteen packages end-to-end** in one `npm run
500527test: pipeline ` invocation: ` agentmd lint` + ` render` → ` isolint lint` →
501528` iso-route build ` (from a bundled ` models.yaml ` that extends the
502529` standard ` preset) → ` iso-harness build ` (which consumes iso-route's
@@ -515,7 +542,7 @@ downstream repo would use.
515542
516543` npm run test:pack ` goes one level further: it packs the local workspaces into
517544tarballs, installs them into fresh temp projects, and smoke-tests the packaged
518- ` iso-harness ` , ` iso ` , ` iso-eval ` , ` iso-trace ` , ` iso-route ` , ` iso-guard ` , ` iso-ledger ` , ` iso-context ` , ` iso-cache ` , ` iso-contract ` , and ` iso-capabilities `
545+ ` iso-harness ` , ` iso ` , ` iso-eval ` , ` iso-trace ` , ` iso-route ` , ` iso-guard ` , ` iso-ledger ` , ` iso-context ` , ` iso-cache ` , ` iso-index ` , ` iso- contract` , and ` iso-capabilities `
519546CLIs. This guards against packaging regressions that workspace-only tests can
520547miss.
521548
0 commit comments