@karmaniverous/jeeves-meta 0.1.0 → 0.2.0

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # @karmaniverous/jeeves-meta
2
2
 
3
- Core synthesis engine for the Jeeves platform. Provides schemas, filesystem discovery, weighted staleness scheduling, and the three-step orchestrator (architect builder → critic).
3
+ Core synthesis engine for the Jeeves platform. Provides schemas, filesystem discovery, weighted staleness scheduling, three-step orchestration, and a full CLI.
4
4
 
5
5
  ## Features
6
6
 
@@ -10,14 +10,12 @@ Core synthesis engine for the Jeeves platform. Provides schemas, filesystem disc
10
10
  - **Three-step orchestration** — architect, builder, critic with conditional re-architecture
11
11
  - **Archive management** — timestamped snapshots with configurable pruning
12
12
  - **Structure hashing** — detect scope changes (file additions/removals)
13
- - **Lock management** — filesystem locks with stale timeout
13
+ - **Lock management** — filesystem locks with 30-minute stale timeout
14
14
  - **Pluggable executor** — `SynthExecutor` interface for runtime-agnostic subprocess spawning
15
- - **Pluggable watcher client** — `WatcherClient` interface with HTTP implementation included
15
+ - **Pluggable watcher client** — `WatcherClient` interface with HTTP implementation (3-retry exponential backoff)
16
16
  - **Token tracking** — per-step token counts with exponential moving averages
17
-
18
- ## Architecture
19
-
20
- ![System Architecture](assets/system-architecture.png)
17
+ - **CLI** — 10 commands for status, listing, synthesis, debugging, and maintenance
18
+ - **Config loader** — `loadSynthConfig()` with `@file:` reference resolution
21
19
 
22
20
  ## Install
23
21
 
@@ -27,30 +25,37 @@ npm install @karmaniverous/jeeves-meta
27
25
 
28
26
  ## Quick Start
29
27
 
28
+ ### Library usage
29
+
30
30
  ```typescript
31
- import { createSynthEngine, HttpWatcherClient } from '@karmaniverous/jeeves-meta';
32
-
33
- const watcher = new HttpWatcherClient('http://localhost:1936');
34
-
35
- const engine = createSynthEngine({
36
- config: {
37
- watchPaths: ['j:/domains'],
38
- watcherUrl: 'http://localhost:1936',
39
- defaultArchitect: '...',
40
- defaultCritic: '...',
41
- },
42
- executor: myExecutor,
43
- watcher,
44
- });
45
-
46
- const results = await engine.orchestrate();
31
+ import {
32
+ createSynthEngine,
33
+ HttpWatcherClient,
34
+ loadSynthConfig,
35
+ } from '@karmaniverous/jeeves-meta';
36
+
37
+ const config = loadSynthConfig('/path/to/jeeves-meta.config.json');
38
+ const watcher = new HttpWatcherClient({ baseUrl: config.watcherUrl });
39
+
40
+ const engine = createSynthEngine(config, myExecutor, watcher);
41
+ const results = await engine.synthesize();
47
42
  ```
48
43
 
49
- ## Documentation
44
+ ### CLI usage
50
45
 
51
- Full docs, guides, and API reference:
46
+ ```bash
47
+ export JEEVES_META_CONFIG=/path/to/jeeves-meta.config.json
48
+
49
+ npx @karmaniverous/jeeves-meta status # summary stats
50
+ npx @karmaniverous/jeeves-meta list # list all metas
51
+ npx @karmaniverous/jeeves-meta synthesize # run synthesis cycle
52
+ npx @karmaniverous/jeeves-meta help # all commands
53
+ ```
54
+
55
+ ## Documentation
52
56
 
53
- **[docs.karmanivero.us/jeeves-meta](https://docs.karmanivero.us/jeeves-meta)**
57
+ - **[Engine Guides](guides/index.md)** — concepts, configuration, orchestration, scheduling, architecture patterns
58
+ - **[CLI Reference](guides/cli.md)** — all 10 commands with examples
54
59
 
55
60
  ## License
56
61