@plurnk/plurnk-meta 1.21.0 → 1.22.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
  # @plurnk/plurnk-meta
2
2
 
3
- The plurnk metaproject layer, published — what the family shares that no single member owns.
3
+ What plurnk's packages share that no single package owns: plugin discovery and trust, and the teaching material the service gives models.
4
4
 
5
5
  **Membership primitives** (`import Meta from "@plurnk/plurnk-meta"`): the shared implementation of exact family identity, trust, attribution normalization, enumeration, and root resolution consumed by the four family-owned scanners (schemes, mimetypes, providers, execs). [SPEC.md](./SPEC.md) owns the complete contract ({§plugin-discovery}).
6
6
 
@@ -14,6 +14,4 @@ The plurnk metaproject layer, published — what the family shares that no singl
14
14
 
15
15
  **The teaching corpus**: authored policy, an optional Recap, the Plurnk skill entry, and built-in scheme references resolved from this installed package. Meta owns the source bytes and membership; core owns admission, resource composition, and projection. See [`CORPUS.md`](./CORPUS.md) and {§teaching-corpus}.
16
16
 
17
- [`DOGFOOD.md`](./DOGFOOD.md) defines the whole-product, outside-client acceptance gate for daily-driver and release readiness.
18
-
19
17
  Third-party plugin authors: your package is discovered under any scope through one string `plurnk.kind`, enumerated by these primitives, and gated before import by the operator's trust knob — no registration with us required. An admitted package may declare always-on `plurnk.attribution` tags and its loaded plugin object may decide per provider attempt whether to return additional tags from `attributions(context)` ({§plugin-attribution}). MIT.
package/docs/worker.md CHANGED
@@ -9,10 +9,10 @@ an entry rather than controlling that worker.
9
9
 
10
10
  | Address | Meaning | Model access |
11
11
  | --- | --- | --- |
12
- | `worker://alice` | Named worker | WORK/FORK create; SEND messages; READ collects; KILL terminates. |
13
- | `message://alice/ab3d5678` | Retained message | READ/FIND/COPY inspect; SEND replies. Neither EDIT nor KILL changes its source. |
14
- | `ops://alice/1` | What that loop said, or how it ended | READ/FIND/COPY inspect; source is immutable. |
15
- | `worker://alice/example.md` | Named scratch entry | Read and write from any worker in the workspace. |
12
+ | `worker://exampleWorkerName` | Named worker | WORK/FORK create; SEND messages; READ collects; KILL terminates. |
13
+ | `message://exampleWorkerName/ab3d5678` | Retained message | READ/FIND/COPY inspect; SEND replies. Neither EDIT nor KILL changes its source. |
14
+ | `ops://exampleWorkerName/1` | What that loop said, or how it ended | READ/FIND/COPY inspect; source is immutable. |
15
+ | `worker://exampleWorkerName/example.md` | Named scratch entry | Read and write from any worker in the workspace. |
16
16
  | `worker:///example.md` | Shared commons entry | Read and write. |
17
17
 
18
18
  The packet's `## Worker` block, below the log, names your worker, its parent
@@ -67,11 +67,11 @@ is empty when an already-delivered answer stands. While live work remains, that
67
67
  KILL joins it without cancelling it and delivers no final answer.
68
68
 
69
69
  Each child task's conclusion wakes its waiting parent and arrives once, as an
70
- `_plurnk` READ of `ops://alice/1` carrying what the child said: the
70
+ `_plurnk` READ of `ops://exampleWorkerName/1` carrying what the child said: the
71
71
  execution outcome, not another message, and not delivered again as a reply. A
72
72
  failure retains its status and Problem. READ that address with a scope to
73
73
  inspect more of the exact result, even after the child starts another task.
74
- Bare `READ (worker://alice)` collects the current result instead, naming its
74
+ Bare `READ (worker://exampleWorkerName)` collects the current result instead, naming its
75
75
  exact source in `resource`; while the child is running it returns `425`. A
76
76
  result does not imply that every task in that worker has finished.
77
77
 
@@ -123,11 +123,11 @@ The worker name is required. Any worker in the workspace can READ these
123
123
  sources; `log:///` remains your own context. READ brings the selected source
124
124
  into your log, and KILL of that READ curates only its log projection, never the
125
125
  original evidence. The current turn's reasoning exists when its OPs execute, so
126
- `READ (reasoning://alice/1/3) <1,-1>` from `worker://alice` on loop 1,
126
+ `READ (reasoning://exampleWorkerName/1/3) <1,-1>` from `worker://exampleWorkerName` on loop 1,
127
127
  turn 3 retains it; a turn that produced no reasoning reads empty, and a turn
128
128
  that has not happened returns a missing-source result. READ never requests
129
129
  inference. NOTE retains working memory without changing the loop state; only
130
130
  NOTE also executes from exposed reasoning, while quoted examples and other
131
131
  reasoned operations remain data. Notes are ordinary log items whose read-only
132
- sources stay searchable (`FIND (note://alice/**) /parser/`) and READable
132
+ sources stay searchable (`FIND (note://exampleWorkerName/**) /parser/`) and READable
133
133
  after curation or a FORK.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@plurnk/plurnk-meta",
3
- "version": "1.21.0",
4
- "description": "The plurnk metaproject layer, published: plugin-membership primitives (the ONE trust rule, scope-agnostic symlink-aware enumeration, deployment-root resolution), the project teaching corpus (personality, Recap, scheme docs), and the home for family tooling.",
3
+ "version": "1.22.0",
4
+ "description": "Plugin discovery and trust primitives shared by plurnk plugin families, and the teaching material the plurnk service gives models: policy, Recap, the plurnk skill and scheme references.",
5
5
  "keywords": [
6
6
  "plurnk",
7
7
  "agent-skills",
@@ -18,7 +18,6 @@
18
18
  "dist/**/*",
19
19
  "README.md",
20
20
  "SPEC.md",
21
- "DOGFOOD.md",
22
21
  "CORPUS.md",
23
22
  "POLICY.md",
24
23
  "recap.md",
package/DOGFOOD.md DELETED
@@ -1,94 +0,0 @@
1
- # Metaproject orientation-readiness gate
2
-
3
- This opt-in capstone asks a floor model to inspect an assembled open-project
4
- forest through the outside client and deliver an evidence-bearing orientation
5
- report. It is intentionally expensive: a fresh campaign semantically prepares
6
- the complete forest. Execute it only after the focused package, integration,
7
- demo, live-model, and modest-candidate paths are healthy—not as a routine
8
- debugging loop or release gate.
9
-
10
- Invoke it with:
11
-
12
- ```sh
13
- PLURNK_ACCEPTANCE_PROJECT_ROOT=/path/to/open-project-forest \
14
- PLURNK_CLIENT_CHECKOUT=/path/to/open-client \
15
- npm run readiness:metaproject -- --model <selector> --requiem --preserve
16
- ```
17
-
18
- Both paths are explicit preconditions. The runner never guesses a sibling
19
- checkout or treats another organization under a shared parent directory as
20
- part of the open project.
21
-
22
- This gate does not replace the evidence ladder that qualifies it:
23
-
24
- 1. Deterministic package and integration coverage proves owned contracts.
25
- 2. An assembled modest-repository candidate smoke proves the production client
26
- and daemon can work together.
27
- 3. Focused `live/demo` stories are toy tasks that establish the system is sane
28
- enough to test seriously.
29
- 4. The separate bench lane runs real third-party agentic benchmarks and preserves
30
- their digest, reasoning, and requiem evidence.
31
- 5. Only after those layers are healthy does this full-forest campaign ask whether
32
- PLURNK is ready to develop PLURNK itself.
33
-
34
- The canonical `plurnk-service` checkout owns this gate. Its doctrine lives in
35
- `plurnk-meta` because the report crosses service, contracts, plugins, the
36
- outside client, project membership, AG-UI, model routing, persistence, and
37
- forensic digestion.
38
-
39
- ## Preconditions
40
-
41
- - A clean canonical `plurnk-service` checkout with its gate green.
42
- - The explicit outside open-client checkout built from its repository head.
43
- - Every default-installed optional provider resolvable from the daemon.
44
- - An explicitly assembled open-project forest with its root `AGENTS.md`; shared
45
- parent directories containing other organizations are not valid substitutes.
46
- - One inexpensive capable model selector and, optionally, one local smoke-test selector.
47
-
48
- Missing preconditions are RED outcomes. The runner never silently skips a phase.
49
-
50
- ## Contract
51
-
52
- One campaign proves the following through production client and AG-UI surfaces:
53
-
54
- 1. **Candidate build.** The exact service and explicit outside-client checkouts build.
55
- 2. **Clean bootstrap.** A canonical daemon starts on a new database and the
56
- client creates a user-named workspace over the explicit forest.
57
- 3. **Inspection.** The model performs successful retrievals, including READ,
58
- before answering and names multiple inspected repository artifacts.
59
- 4. **Comprehension.** The report covers service, contracts/DSL, client/AG-UI,
60
- repository topology, current-work evidence, and confidence-limiting gaps.
61
- If the canonical forge is unavailable inside the run, it must say that the
62
- current goal is unverified rather than promote archived GitHub history.
63
- 5. **Forensics.** The supported digest captures the database, packet, reasoning,
64
- usage, and operation evidence used by the deterministic verdict.
65
-
66
- Proposal modes, reconnect, model hot-swap, and restart/resume are not asserted
67
- by this executable slice. Expansion of the capstone remains tracked in #3.
68
-
69
- Passing individual package tests or receiving HTTP 200 is insufficient. The user-visible client must remain usable and the requested terminal deliverable must be present.
70
-
71
- ## Evidence
72
-
73
- Each preserved campaign atomically claims `benchmarks/run<N>-orientation/` and writes:
74
-
75
- - `workspace` — the generated workspace name;
76
- - `prompt.md` — the exact orientation request;
77
- - `client.json` and `client.stderr.log` — the client result and diagnostics;
78
- - `service.stdout.log` and `service.stderr.log`;
79
- - `phases.json` — commands, timings, and exit statuses without secrets;
80
- - `verdict.json` — lifecycle, publication, inspection, evidence, and coverage checks;
81
- - `plurnk.db` — the preserved database;
82
- - `digest/` — `digest.md`, `digest.json`, `reasoning.md`, and packet sections;
83
- - requiem artifacts in `digest/` when `--requiem` is requested.
84
-
85
- The database is evidence, never the diagnostic interface. Assertions consume client output, AG-UI events, and digest artifacts.
86
-
87
- ## Posture
88
-
89
- - Execute in the foreground and fail hard.
90
- - Preserve every failing specimen; preserve passing specimens when requested.
91
- - Never reuse a database for a clean-bootstrap comparison.
92
- - A provider/configuration/install failure is a gate failure, not a skipped model test.
93
- - Never infer current work from an archived issue or an uninspected forge reference.
94
- - File every cross-family defect on the canonical forge with its owning lane label and specimen path.