@plurnk/plurnk-meta 1.7.0 → 1.9.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/CORPUS.md +4 -5
- package/DOGFOOD.md +2 -2
- package/PLURNK_PERSONALITY.md +2 -6
- package/README.md +1 -1
- package/SPEC.md +20 -11
- package/dist/index.d.ts +2 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -2
- package/dist/index.js.map +1 -1
- package/docs/worker.md +4 -0
- package/package.json +1 -1
- package/requirements.md +2 -3
- package/docs/log.md +0 -27
- package/docs/questions.md +0 -8
package/CORPUS.md
CHANGED
|
@@ -8,13 +8,12 @@ Authored defaults published by `@plurnk/plurnk-meta` and consumed by
|
|
|
8
8
|
|
|
9
9
|
| Source | Consumer admission |
|
|
10
10
|
| ------------------------------- | ---------------------------------------------------------------------------- |
|
|
11
|
-
| `PLURNK_PERSONALITY.md` | Read before the first-run seed of user-owned
|
|
11
|
+
| `PLURNK_PERSONALITY.md` | Read before the first-run seed of the user-owned XDG config `AGENTS.md`. |
|
|
12
12
|
| `requirements.md` | Read for the compact Recap rendered last in every model packet. |
|
|
13
|
-
| `docs/
|
|
14
|
-
| `docs/questions.md` | Read only when operator questions are enabled, then materialized as a doc. |
|
|
13
|
+
| `docs/worker.md` | Read when registered built-in pull docs are materialized. |
|
|
15
14
|
|
|
16
|
-
Core materializes eligible pull docs at `worker
|
|
17
|
-
exposes them through the turn-0 `## FIND0 [+init,+
|
|
15
|
+
Core materializes eligible pull docs at `worker://~/_plurnk/skills/plurnk/<name>.md` and
|
|
16
|
+
exposes them through the turn-0 `## FIND0 [+init,+skills] (worker://~/_plurnk/skills/plurnk/*.md)` survey. Merely
|
|
18
17
|
placing a file in `docs/` does not register a scheme or make speculative
|
|
19
18
|
teaching current. Every listed source is a required package member; a missing
|
|
20
19
|
or failed read surfaces at the admission boundary rather than silently reducing
|
package/DOGFOOD.md
CHANGED
|
@@ -12,7 +12,7 @@ Invoke it with:
|
|
|
12
12
|
```sh
|
|
13
13
|
PLURNK_ACCEPTANCE_PROJECT_ROOT=/path/to/open-project-forest \
|
|
14
14
|
PLURNK_CLIENT_CHECKOUT=/path/to/open-client \
|
|
15
|
-
npm run readiness:metaproject -- --model <
|
|
15
|
+
npm run readiness:metaproject -- --model <selector> --requiem --preserve
|
|
16
16
|
```
|
|
17
17
|
|
|
18
18
|
Both paths are explicit preconditions. The runner never guesses a sibling
|
|
@@ -43,7 +43,7 @@ forensic digestion.
|
|
|
43
43
|
- Every default-installed optional provider resolvable from the daemon.
|
|
44
44
|
- An explicitly assembled open-project forest with its root `AGENTS.md`; shared
|
|
45
45
|
parent directories containing other organizations are not valid substitutes.
|
|
46
|
-
- One inexpensive capable model
|
|
46
|
+
- One inexpensive capable model selector and, optionally, one local smoke-test selector.
|
|
47
47
|
|
|
48
48
|
Missing preconditions are RED outcomes. The runner never silently skips a phase.
|
|
49
49
|
|
package/PLURNK_PERSONALITY.md
CHANGED
|
@@ -1,7 +1,3 @@
|
|
|
1
1
|
YOU SHOULD answer inquiries and exploratory questions without changing state unless the user also asks for action.
|
|
2
|
-
YOU SHOULD
|
|
3
|
-
YOU SHOULD
|
|
4
|
-
YOU SHOULD prove deterministically verifiable work before concluding.
|
|
5
|
-
|
|
6
|
-
YOU MUST identify and track the prompt's completion conditions.
|
|
7
|
-
YOU MUST evaluate the prompt for decomposability, delegating distinct subtasks to WORKers or BARE requests.
|
|
2
|
+
YOU SHOULD compose user-facing responses as markdown — mermaid, tables, lists, and/or prose as the content warrants.
|
|
3
|
+
YOU SHOULD decompose distinct subtasks into separate WORKers.
|
package/README.md
CHANGED
|
@@ -12,7 +12,7 @@ The plurnk metaproject layer, published — what the family shares that no singl
|
|
|
12
12
|
- `Meta.packageDirs(nodeModulesDir)` — scope-agnostic, symlink-aware enumeration across Node's ancestor resolution chain as `{ dir, name }` candidates; the nearest package name wins. Ordering and filtering are the caller's policy.
|
|
13
13
|
- `Meta.nearestNodeModules(fromDir)` — walk up to the nearest `node_modules` holding the ecosystem (witness: `@plurnk` scope); `null` when absent.
|
|
14
14
|
|
|
15
|
-
**The teaching corpus**: authored policy, a compact Recap, built-in scheme
|
|
15
|
+
**The teaching corpus**: authored policy, a compact Recap, and built-in scheme sources resolved from this installed package. Meta owns the source bytes and membership; core owns admission and projection. See [`CORPUS.md`](./CORPUS.md) and {§teaching-corpus}.
|
|
16
16
|
|
|
17
17
|
**Family tooling** grows here (scaffolders, meta bins) — the published surface of the metaproject's management layer.
|
|
18
18
|
|
package/SPEC.md
CHANGED
|
@@ -15,8 +15,7 @@ sources into a consuming package would create a second teaching owner.
|
|
|
15
15
|
| ------------------------------- | ---------- | -------------------------------------------------- | ------------------------------------------------------- |
|
|
16
16
|
| `PLURNK_PERSONALITY.md` | Required | First-run default operating policy | Policy bootstrap {§policy-sections} |
|
|
17
17
|
| `requirements.md` | Required | Default compact operational Recap | Per-packet user-slot footer {§requirements} |
|
|
18
|
-
| `docs/
|
|
19
|
-
| `docs/questions.md` | Required | Conditional operator-question reference prose | Enabled capability/teaching gate {§send-300-choices} |
|
|
18
|
+
| `docs/worker.md` | Required | Deep reference prose for the reserved worker scheme | Pull-doc materialization {§schemes-directory} |
|
|
20
19
|
|
|
21
20
|
Required is a package-membership statement, not unconditional packet
|
|
22
21
|
projection. Each source is read only at its consuming boundary; absence or an
|
|
@@ -26,12 +25,20 @@ members from filenames, or treat a missing required source as empty teaching.
|
|
|
26
25
|
|
|
27
26
|
A file in `docs/` does not declare a capability. A built-in scheme document is
|
|
28
27
|
eligible only when its basename matches a registered reserved scheme; plugin
|
|
29
|
-
documentation remains owned by that plugin's manifest.
|
|
30
|
-
|
|
31
|
-
ship as speculative teaching. Manifest `documentation` is deliberately
|
|
28
|
+
documentation remains owned by that plugin's manifest. Retired or
|
|
29
|
+
unregistered names do not ship as speculative teaching. Manifest `documentation` is deliberately
|
|
32
30
|
optional: an absent field contributes no pull doc, while a present field is the
|
|
33
31
|
fallback only when meta owns no source for that scheme name.
|
|
34
32
|
|
|
33
|
+
## §no-bundled-skills No package-bundled Agent Skills
|
|
34
|
+
|
|
35
|
+
Meta publishes no Agent Skills of its own. Skill discovery, installation, and
|
|
36
|
+
enablement are the Worker's `skills` Functionality family in core
|
|
37
|
+
({§skills-functionality}); the model learns that family from its generated
|
|
38
|
+
manager document, never from a bundled skill that teaches a shell package
|
|
39
|
+
manager. Standard skills reach a Worker only from the universal project and
|
|
40
|
+
user-global roots.
|
|
41
|
+
|
|
35
42
|
## §plugin-discovery Installed capability discovery
|
|
36
43
|
|
|
37
44
|
```mermaid
|
|
@@ -66,12 +73,14 @@ installed capabilities; they never manufacture package existence.
|
|
|
66
73
|
family. A package may declare multiple named capabilities inside its one
|
|
67
74
|
family-owned collection.
|
|
68
75
|
|
|
69
|
-
| `plurnk.kind`
|
|
70
|
-
|
|
|
71
|
-
| `"exec"`
|
|
72
|
-
| `"mimetype"`
|
|
73
|
-
| `"provider"`
|
|
74
|
-
| `"scheme"`
|
|
76
|
+
| `plurnk.kind` | Family-owned names |
|
|
77
|
+
| ----------------- | -------------------------------------------------------- |
|
|
78
|
+
| `"exec"` | `runtimes[]` |
|
|
79
|
+
| `"mimetype"` | `handlers[]` |
|
|
80
|
+
| `"provider"` | singular `name` |
|
|
81
|
+
| `"scheme"` | `schemes[]`; singular `name` is the one-scheme shorthand |
|
|
82
|
+
| `"http-materializer"` | `materializers[]` ({§http-materializer-plugins}) |
|
|
83
|
+
| `"module"` | singular `module` export subpath ({§module-discovery}) |
|
|
75
84
|
|
|
76
85
|
Coordinated capabilities spanning families use explicit daemon-module
|
|
77
86
|
composition ({§module-lifecycle}); a multi-kind manifest is not a parallel
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ export interface PackageCandidate {
|
|
|
2
2
|
dir: string;
|
|
3
3
|
name: string;
|
|
4
4
|
}
|
|
5
|
-
export type PluginKind = "exec" | "mimetype" | "provider" | "scheme";
|
|
5
|
+
export type PluginKind = "exec" | "mimetype" | "provider" | "scheme" | "http-materializer" | "module";
|
|
6
6
|
export type PluginAttributionDeclaration = string | string[];
|
|
7
7
|
export type PluginAttribution = readonly string[];
|
|
8
8
|
export type PackageAttributions = ReadonlyMap<string, PluginAttribution>;
|
|
@@ -21,12 +21,10 @@ export declare const TEACHING_CORPUS: Readonly<{
|
|
|
21
21
|
readonly personality: "PLURNK_PERSONALITY.md";
|
|
22
22
|
readonly requirements: "requirements.md";
|
|
23
23
|
readonly schemeDocs: Readonly<{
|
|
24
|
-
readonly log: "docs/log.md";
|
|
25
24
|
readonly worker: "docs/worker.md";
|
|
26
25
|
}>;
|
|
27
|
-
readonly questions: "docs/questions.md";
|
|
28
26
|
}>;
|
|
29
|
-
export type TeachingCorpusSource = typeof TEACHING_CORPUS.personality | typeof TEACHING_CORPUS.requirements | (typeof TEACHING_CORPUS.schemeDocs)[keyof typeof TEACHING_CORPUS.schemeDocs]
|
|
27
|
+
export type TeachingCorpusSource = typeof TEACHING_CORPUS.personality | typeof TEACHING_CORPUS.requirements | (typeof TEACHING_CORPUS.schemeDocs)[keyof typeof TEACHING_CORPUS.schemeDocs];
|
|
30
28
|
export default class Meta {
|
|
31
29
|
#private;
|
|
32
30
|
static declaresKind(manifest: unknown, kind: PluginKind): boolean;
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAuBA,MAAM,WAAW,gBAAgB;IAC7B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,UAAU,GAAG,UAAU,GAAG,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAuBA,MAAM,WAAW,gBAAgB;IAC7B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAA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AM,GAAG,SAAS,CAAe,GAAG,OAAO,CAKpG;IAED,MAAM,CAAC,oBAAoB,CAAC,GAAG,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,GAAG,iBAAiB,CAiBhF;IAKD,MAAM,CAAC,kBAAkB,CACrB,MAAM,EAAE,OAAO,EACf,OAAO,EAAE,wBAAwB,EACjC,WAAW,EAAE,MAAM,GACpB,iBAAiB,CAcnB;IAED,MAAM,CAAC,mBAAmB,CAAC,GAAG,KAAK,EAAE,SAAS,iBAAiB,EAAE,GAAG,iBAAiB,CAIpF;IAkCD,OAAa,WAAW,CAAC,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,EAAE,CAAC,CAyB5E;IAED,MAAM,CAAC,kBAAkB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CASxD;CACJ"}
|
package/dist/index.js
CHANGED
|
@@ -20,7 +20,6 @@ import { readdir } from "node:fs/promises";
|
|
|
20
20
|
import { existsSync } from "node:fs";
|
|
21
21
|
import path from "node:path";
|
|
22
22
|
const SCHEME_TEACHING = Object.freeze({
|
|
23
|
-
log: "docs/log.md",
|
|
24
23
|
worker: "docs/worker.md",
|
|
25
24
|
});
|
|
26
25
|
// {§teaching-corpus} — the authored package membership is one exported fact;
|
|
@@ -29,7 +28,6 @@ export const TEACHING_CORPUS = Object.freeze({
|
|
|
29
28
|
personality: "PLURNK_PERSONALITY.md",
|
|
30
29
|
requirements: "requirements.md",
|
|
31
30
|
schemeDocs: SCHEME_TEACHING,
|
|
32
|
-
questions: "docs/questions.md",
|
|
33
31
|
});
|
|
34
32
|
const RESERVED_ATTRIBUTION_PREFIX = "@plurnk/";
|
|
35
33
|
const EMPTY_ATTRIBUTION = Object.freeze([]);
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,2EAA2E;AAC3E,0EAA0E;AAC1E,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CAAC;YAChC,GAAG,GAAG,MAAM,CAAC;QACjB,CAAC;IACL,CAAC;CACJ"}
|
package/docs/worker.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# `worker://` — workers and their entries
|
|
2
2
|
|
|
3
|
+
## Summary
|
|
4
|
+
|
|
5
|
+
Coordinate workers and manage shared or private workspace entries.
|
|
6
|
+
|
|
3
7
|
Workers inhabit one workspace. `worker://<name>` addresses a named worker; `worker://~` is the
|
|
4
8
|
current-worker control sigil; `worker://~/path` addresses your private entries; `worker:///path`
|
|
5
9
|
addresses the shared commons.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plurnk/plurnk-meta",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.9.0",
|
|
4
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.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
package/requirements.md
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
YOU MUST
|
|
2
|
-
YOU MUST
|
|
3
|
-
YOU MUST react and respond to the latest prompt listed under Active User Prompts.
|
|
1
|
+
YOU MUST begin every turn with `# PLAN0`.
|
|
2
|
+
YOU MUST end every turn with `## SEND0 [status code]`.
|
package/docs/log.md
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
# `log://` - your worker's event history
|
|
2
|
-
|
|
3
|
-
Every operation is recorded at `log:///<loop>/<turn>/<seq>`. The row identifies what happened and what came back. READ one exact row to retrieve its result body; use FIND to match across rows.
|
|
4
|
-
|
|
5
|
-
## Log and catalog
|
|
6
|
-
|
|
7
|
-
- **Log** - operations and results in order.
|
|
8
|
-
- **Catalog** - `## FIND0 (scheme:///**)` lists the resources a scheme currently holds.
|
|
9
|
-
|
|
10
|
-
## Visibility
|
|
11
|
-
|
|
12
|
-
- **FOLD** hides an open row's body. The row and body persist, and the row remains listed.
|
|
13
|
-
- **OPEN** reveals a folded row's body.
|
|
14
|
-
- A row's `tokens` is the size of its body: its current packet weight when open and its OPEN cost when folded.
|
|
15
|
-
|
|
16
|
-
OPEN and FOLD change packet visibility, not history. Applying the current state again or targeting a bodyless row is a successful no-op.
|
|
17
|
-
|
|
18
|
-
## Deletion and capacity
|
|
19
|
-
|
|
20
|
-
KILL permanently erases a log row.
|
|
21
|
-
|
|
22
|
-
The Budget section reports the packet ceiling, usage, percentage, and free capacity; negative
|
|
23
|
-
free capacity adds one curation alarm. Each log row exposes its curation weight as `tokens`. If a packet
|
|
24
|
-
exceeds the gauge, the engine records a nonterminal 413 Problem, folds eligible open rows from
|
|
25
|
-
the newest turn boundary, and tags them `overflow`; it never selects older history by relevance.
|
|
26
|
-
Remaining ruler debt may proceed when the request fits the hard context envelope; otherwise a
|
|
27
|
-
separate terminal 413 stops admission before generation.
|
package/docs/questions.md
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
# Operator questions — SEND signal 300
|
|
2
|
-
|
|
3
|
-
Enabled here: you may ask the operator when a decision is genuinely theirs to
|
|
4
|
-
make. `## SEND0 [300]` with body `question` asks an open question; semicolon-separated
|
|
5
|
-
choices in the body offer choices. Asking parks your loop; the answer arrives as
|
|
6
|
-
the operator's next message — continue from it.
|
|
7
|
-
|
|
8
|
-
Choices are suggestions, never a constraint: the operator always has a free-text option regardless of what you list, so be ready for an answer outside your choices. Ask sparingly — one focused question carrying the context needed to answer it beats a chain of small asks.
|