@karmaniverous/jeeves-meta 0.1.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 ADDED
@@ -0,0 +1,57 @@
1
+ # @karmaniverous/jeeves-meta
2
+
3
+ Core synthesis engine for the Jeeves platform. Provides schemas, filesystem discovery, weighted staleness scheduling, and the three-step orchestrator (architect → builder → critic).
4
+
5
+ ## Features
6
+
7
+ - **Zod schemas** — validated `meta.json` and config structures with open schema support
8
+ - **Filesystem discovery** — glob `.meta/` directories, build ownership trees, compute scopes
9
+ - **Weighted staleness** — depth-aware scheduling formula with emphasis multipliers
10
+ - **Three-step orchestration** — architect, builder, critic with conditional re-architecture
11
+ - **Archive management** — timestamped snapshots with configurable pruning
12
+ - **Structure hashing** — detect scope changes (file additions/removals)
13
+ - **Lock management** — filesystem locks with stale timeout
14
+ - **Pluggable executor** — `SynthExecutor` interface for runtime-agnostic subprocess spawning
15
+ - **Pluggable watcher client** — `WatcherClient` interface with HTTP implementation included
16
+ - **Token tracking** — per-step token counts with exponential moving averages
17
+
18
+ ## Architecture
19
+
20
+ ![System Architecture](assets/system-architecture.png)
21
+
22
+ ## Install
23
+
24
+ ```bash
25
+ npm install @karmaniverous/jeeves-meta
26
+ ```
27
+
28
+ ## Quick Start
29
+
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();
47
+ ```
48
+
49
+ ## Documentation
50
+
51
+ Full docs, guides, and API reference:
52
+
53
+ **[docs.karmanivero.us/jeeves-meta](https://docs.karmanivero.us/jeeves-meta)**
54
+
55
+ ## License
56
+
57
+ BSD-3-Clause