@karmaniverous/jeeves-meta 0.15.7 → 0.15.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/dist/cli/jeeves-meta/index.js +465 -254
- package/dist/discovery/getAncestorMeta.d.ts +16 -0
- package/dist/discovery/index.d.ts +1 -0
- package/dist/index.js +462 -239
- package/dist/interfaces/MetaContext.d.ts +2 -0
- package/dist/phaseState/derivePhaseState.d.ts +0 -2
- package/dist/phaseState/index.d.ts +2 -2
- package/dist/phaseState/invalidate.d.ts +5 -7
- package/dist/phaseState/phaseScheduler.d.ts +5 -0
- package/dist/phaseState/phaseTransitions.d.ts +1 -1
- package/dist/routes/metasUpdate.d.ts +1 -1
- package/dist/routes/status.d.ts +1 -1
- package/dist/rules/index.d.ts +1 -3
- package/dist/scheduler/index.d.ts +5 -0
- package/dist/schema/config.d.ts +9 -0
- package/dist/schema/meta.d.ts +4 -0
- package/dist/seed/createMeta.d.ts +6 -0
- package/package.json +58 -58
package/README.md
CHANGED
|
@@ -4,12 +4,12 @@ HTTP service for the Jeeves knowledge synthesis engine. Provides a Fastify API,
|
|
|
4
4
|
|
|
5
5
|
## Features
|
|
6
6
|
|
|
7
|
-
- **Fastify HTTP API** — `/status`, `/metas`, `/preview`, `/synthesize`, `/synthesize/abort`, `/seed`, `/unlock`, `/config`, `/config/apply`, `/queue`, `/queue/clear`
|
|
7
|
+
- **Fastify HTTP API** — `/status`, `/metas`, `/metas/:path` (GET + PATCH), `/preview`, `/synthesize`, `/synthesize/abort`, `/seed`, `/unlock`, `/config`, `/config/apply`, `/queue`, `/queue/clear`
|
|
8
8
|
- **Phase-state machine** — per-meta `_phaseState` tracking `{ architect, builder, critic }` × `{ fresh, stale, pending, running, failed }`
|
|
9
9
|
- **Built-in scheduler** — croner-based cron with adaptive backoff; picks one phase per tick across entire corpus
|
|
10
10
|
- **Three-layer synthesis queue** — `current` (running phase) + `overrides` (explicit triggers) + `automatic` (scheduler candidates)
|
|
11
11
|
- **Three-phase orchestration** — architect, builder, critic with surgical retry of failed phases
|
|
12
|
-
- **Discovery via watcher** — filesystem-based meta discovery
|
|
12
|
+
- **Discovery via watcher** — filesystem-based meta discovery (no Qdrant dependency)
|
|
13
13
|
- **Ownership tree** — hierarchical scoping with child meta rollup
|
|
14
14
|
- **Cross-meta references** — `_crossRefs` declares relationships to other metas; referenced `_content` included as architect/builder context
|
|
15
15
|
- **Archive management** — timestamped snapshots with configurable pruning
|
|
@@ -55,8 +55,8 @@ jeeves-meta service install --config /path/to/jeeves-meta/config.json
|
|
|
55
55
|
| Method | Path | Description |
|
|
56
56
|
|--------|------|-------------|
|
|
57
57
|
| GET | `/status` | Service health, queue state, dependency checks, phase-state summary |
|
|
58
|
-
| GET | `/metas` | List metas with
|
|
59
|
-
| GET | `/metas/:path` |
|
|
58
|
+
| GET | `/metas` | List metas with summary stats and per-meta projection. Response includes `_phaseState` and `owedPhase` per meta. |
|
|
59
|
+
| GET | `/metas/:path` | Full detail for a single meta, with optional archive history. Response includes `_phaseState` and `owedPhase`. |
|
|
60
60
|
| GET | `/preview` | Dry-run: preview inputs for next synthesis |
|
|
61
61
|
| POST | `/synthesize` | Enqueue synthesis (stalest or specific path) |
|
|
62
62
|
| POST | `/synthesize/abort` | Abort the currently running synthesis |
|
|
@@ -66,7 +66,7 @@ jeeves-meta service install --config /path/to/jeeves-meta/config.json
|
|
|
66
66
|
| POST | `/config/apply` | Apply a config patch (merge or replace) |
|
|
67
67
|
| GET | `/queue` | Queue state: current (with phase), overrides, automatic, pending |
|
|
68
68
|
| POST | `/queue/clear` | Remove all override queue entries |
|
|
69
|
-
| PATCH | `/metas/:path` | Update user-settable reserved properties (`_steer`, `_emphasis`, `_depth`, `_crossRefs`, `_disabled`) |
|
|
69
|
+
| PATCH | `/metas/:path` | Update user-settable reserved properties (`_steer`, `_emphasis`, `_depth`, `_crossRefs`, `_disabled`, `_architectTimeout`, `_builderTimeout`, `_criticTimeout`) |
|
|
70
70
|
|
|
71
71
|
## Configuration
|
|
72
72
|
|