Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
1d78139
docs(msdmd): align runner guidance with native collector
erinepshovel-code Oct 2, 2026
7204093
docs(msdmd): align distribution notes with native collector
erinepshovel-code Oct 2, 2026
ca414cb
docs(msdmd): state native reader support accurately
erinepshovel-code Oct 2, 2026
5de6068
docs(msdmd): refresh assistant guidance for schema-2 reader support
erinepshovel-code Oct 2, 2026
e89e03c
chore(ci): temporarily regenerate msdmd collection on PR
erinepshovel-code Oct 2, 2026
5c1596b
chore(msdmd): refresh native collection
github-actions[bot] Oct 2, 2026
17eb062
chore(ci): restore standard checks
erinepshovel-code Oct 2, 2026
ad476ed
chore(ci): refresh collection with restored workflow
erinepshovel-code Oct 2, 2026
76113eb
chore(ci): allow final collection refresh commit
erinepshovel-code Oct 2, 2026
977ea41
chore(ci): stage collection-only refresh
erinepshovel-code Oct 2, 2026
993643e
chore(msdmd): refresh collection for restored workflow
github-actions[bot] Oct 2, 2026
35725b1
chore(ci): restore standard checks after collection refresh
erinepshovel-code Oct 2, 2026
c41b1e3
chore(ci): stage merge-projection collection refresh
erinepshovel-code Oct 2, 2026
1c1a5df
chore(ci): restore standard checks after merge-projection refresh
erinepshovel-code Oct 2, 2026
f09846d
chore(ci): stage canonical collection refresh
erinepshovel-code Oct 2, 2026
f8a336a
chore(msdmd): refresh canonical collection projection
github-actions[bot] Oct 2, 2026
fb03611
chore(ci): restore standard checks after canonical projection refresh
erinepshovel-code Oct 2, 2026
a2e8092
chore(ci): diagnose msdmd canonical drift
erinepshovel-code Oct 2, 2026
b07dbd5
chore(ci): refresh canonical collection using exact final workflow
erinepshovel-code Oct 2, 2026
2c3a0f3
chore(msdmd): refresh canonical collection projection
github-actions[bot] Oct 2, 2026
3ea19c0
chore(ci): restore standard checks after exact collection refresh
erinepshovel-code Oct 2, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 15 additions & 10 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ llms/ # python -m llms.build reference runner

| Skill | Kind | Depends on | Purpose |
|---|---|---|---|
| `msdmd/` | metadata-block | — | Native-first metadata contract and convention catalogue; supplemental block syntax, provenance, and information coverage. The collector remains block-only; a separate partial Python reader projects symbols, docstrings, and structurally attached comments to per-module JSONL. |
| `msdmd/` | metadata-block | — | Native-first metadata contract and convention catalogue; supplemental block syntax, provenance, and information coverage. The schema-2 collector integrates supported native source/document readers with supplemental blocks; unsupported conventions remain explicit unknowns. Python module projections share its syntax-aware attachment discipline. |
| `doc-build/` | metadata-block | `msdmd` | Consumes native documentation at its owning scope; supplemental `DOCS` entries add otherwise unexpressed information. Missing blocks alone do not establish missing documentation. |
| `cap-build/` | metadata-block | `msdmd` | Consumes native signatures, exports, and API schemas; supplemental `CAPABILITIES` entries add remaining intent. Declared surfaces are not verified behavior. |
| `deps-build/` | metadata-block | `msdmd` | Consumes native imports, manifests, and build metadata; supplemental `DEPENDENCIES` entries add remaining architectural intent. |
Expand Down Expand Up @@ -140,16 +140,21 @@ Two kinds:

`msdmd/collection.ts` defines the TypeScript shapes for generated repo-level
`<reponame>_msdmd.ts` collection points. `msdmd/collect.py` is a stdlib
block-only generator prototype that emits that shape from parsed source text.
schema-2 collector that reads supported native conventions through
`msdmd/readers.py` and supplemental MSDMD blocks through the universal parser
Comment thread
erinepshovel-code marked this conversation as resolved.
path. Its explicit legacy/block mode is compatibility-only and cannot silently
stand in for native facts.

`msdmd/module_projection.py` is a separate partial Python native reader using
`msdmd/module-projection.schema.json`; it does not feed the TypeScript collection.
Readers for broader Python metadata and other conventions, qualified block-edge
identities, duplicate-ID validation, and the unified native-capable collection
schema remain unimplemented. A zero collection exit
does not validate identities or prove complete information coverage. The root
collection's regeneration command and lexical scan limitations are documented
in `ORG_DISTRIBUTION.md`; native discovery and exclusions are governed by
`docs/runner-config-guidance.md`.
`msdmd/module-projection.schema.json`; it emits source-bound per-module JSONL
sidecars and shares the syntax-aware attachment discipline. Unsupported
standards, ambiguous source, build/compiler context, cross-source semantic
reconciliation, and independent signature/evidence verification remain visible
`hmmm` rather than block-helper gaps. A zero collection exit validates only the
implemented scope for that run; it does not prove complete information coverage.
Comment thread
erinepshovel-code marked this conversation as resolved.
The root collection's regeneration command and lexical scan limitations are
documented in `ORG_DISTRIBUTION.md`; native discovery and exclusions are
governed by `docs/runner-config-guidance.md`.
`msdmd/visualize.py` renders a minimal Mermaid graph from JSON or generated
TypeScript collection points.

Expand Down
172 changes: 24 additions & 148 deletions ORG_DISTRIBUTION.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,21 +112,26 @@ point is allowed only when it records a `hmmm` gap explaining what local
generation still needs.

`skill-lib_msdmd.ts` is the generated root collection point for this canonical
repo. Regenerate it from owning source blocks, never by editing the projection:
repo. Regenerate it from owning native and supplemental sources, never by editing
the projection:

```bash
python -m msdmd.collect --root . --repo The-Interdependency/skill-lib --import-path ./msdmd/collection --out skill-lib_msdmd.ts
Comment thread
erinepshovel-code marked this conversation as resolved.
python -m unittest tests.test_msdmd_native_contract_docs
```

The shipped collector is block-only. Its default scan uses the parser's suffix
registry and skip list; it also collects matching block text inside source
fixtures because it is not syntax-aware. This is a lexical block inventory,
not native coverage, identity validation, or evidence that fixture claims hold.
No expected blocks are requested here, so an empty `gaps` array means no
block-adoption obligations were evaluated. Deferred limitations are declared in
the collector's owning metadata; they are not missing-block gaps. The generated
file and its inputs travel in one Git commit; the replay test checks their bytes.
The shipped collector defaults to schema 2. It integrates supported native facts
through `msdmd/readers.py` and supplemental MSDMD blocks through the universal
parser path. Its legacy/block-only output remains available only as an explicit
compatibility path and cannot silently represent native facts.
Comment thread
erinepshovel-code marked this conversation as resolved.

The schema-2 reader matrix is implemented in bounded subsets rather than as a
claim to every metadata convention. Unsupported, ambiguous, unreadable,
dynamic, or out-of-scope inputs remain visible findings; an empty `gaps` array
means only that the declared obligations for that run were satisfied. Deferred
Comment thread
erinepshovel-code marked this conversation as resolved.
limitations are declared in the collector's owning metadata; they are not
missing-block gaps. The generated file and its inputs travel in one Git commit;
the replay test checks their bytes.
Comment thread
erinepshovel-code marked this conversation as resolved.

Python repositories may additionally generate source-bound per-module sidecars:

Expand All @@ -136,20 +141,21 @@ python -m msdmd.module_projection --root . --repo <repo> --revision <exact-revis
```

This partial reader covers Python declarations, signatures, decorators,
docstrings, and structurally attached line comments. It neither replaces nor
feeds `<reponame>_msdmd.ts`, and it is not a repository-wide native coverage
verdict. Keep generated sidecars with the exact source and reader identity that
their headers record.
docstrings, and structurally attached line comments. It does not replace
`<reponame>_msdmd.ts` and is not a repository-wide native coverage verdict. Keep
generated sidecars with the exact source and reader identity that their headers
record.

## Propagation checklist

Use `docs/propagation-checklist.md` for the concrete source-change →
target-repo PR sequence. Use `docs/runner-config-guidance.md` before judging
coverage. Distinguish block-helper scans from native discovery, including
manifests, CODEOWNERS, documentation, extensionless and unsupported sources.
Record every exclusion and its reason, including frozen research artifacts,
archives, generated trees, and vendored `.agents/skills/` copies. Declared scope
can exclude them from live-module obligations without hiding them from accounting.
coverage. Distinguish schema-2 supported readers, legacy block-helper scans,
unsupported native discovery, including manifests, CODEOWNERS, documentation,
extensionless and unsupported sources. Record every exclusion and its reason,
including frozen research artifacts, archives, generated trees, and vendored
`.agents/skills/` copies. Declared scope can exclude them from live-module
obligations without hiding them from accounting.

## Rule

Expand Down Expand Up @@ -197,133 +203,3 @@ Before modifying any file in `The-Interdependency/The-Interdependency.github.io`
```

Every website change transaction must append at least one new `By the builder` record containing date, time, and exact runtime model. The model chooses the subject and stops when it has properly explicated it. The journal append satisfies the transaction and does not recursively require another append.
Comment thread
erinepshovel-code marked this conversation as resolved.

Before creating a new module, route, service, adapter, schema, worker,
engine, UI panel, migration, or experiment, agents should read:

```text
.agents/skills/meta-module-build/SKILL.md
```

New module work starts with source-linked planning information from existing
native manifests, schemas, and design records. Use supplemental `MODULE_BUILD`
entries only for otherwise unexpressed information; do not demand a second copy.
Purpose, surfaces, boundaries, tests, rollout, and rollback remain required.
Unsupported extraction and unknown fields stay `hmmm`, not missing information.

Before creating or maintaining a root `llms.txt`, agents should read:

```text
.agents/skills/llms-build/SKILL.md
```

Root LLM instructions remain owned by their source declarations. The shipped
llms-build runner publishes existing source `LLMS` blocks; edit those blocks and
regenerate their projection. Native instruction readers remain a contract, so
unsupported native sources stay `hmmm` rather than requiring duplicate blocks.

Before translating raw, recursive, context-heavy, fragmentary, coined, or
private-language thought for another human audience or public surface, agents
should read:

```text
.agents/skills/thought-lens/SKILL.md
```

Recover and freeze the claim kernel before changing vocabulary. Reduce the
context required from the reader without strengthening, flattening, or silently
completing the thought; use `hmmm` where a bridge remains unresolved. Use
`plain-lens` instead when the source is already a stable dense document.

Before promoting a word or phrase into canon, a theorem, schema, ontology, encoding,
or other semantic control surface, agents should read:

```text
.agents/skills/domain-claims/SKILL.md
```

Establish the applicable domain-qualified sense and resolve collisions before
attaching provenance or authorizing structure.

Before constructing, reviewing, replaying, or extending UCNS gonols, agents should read:

```text
.agents/skills/gonol-build/SKILL.md
```

Resolve the current UCNS source and evidence identities first. Preserve closure and
atomic promotion, require explicit occurrence-addressed function plans, and do not
restore the superseded `gonal-morphology` language model.

Before selecting among UCNS options or declaring a scoped winner, agents should read:

```text
.agents/skills/ucns-option-selection/SKILL.md
```

Freeze scope, candidates, hard gates, evidence, policies, authority, and
ratification before outcome comparison. Do not let scores compensate for failed gates
or transfer a scoped result into universal UCNS canon.

Before selecting an EPAC artifact and representation for a human-facing or
WebMCP display, agents should read:

```text
.agents/skills/epac-selection-display/SKILL.md
```

Pin the provisional EPAC source, exact target, receipt, and available renderer;
preserve research standings, nonclaims, sealed-comparison boundaries, and `hmmm`;
and keep the WebMCP server a read-only registry/handoff rather than an EPAC
executor.

Before choosing between the smallest decisive action and a maximal coherent program,
selecting the highest-leverage next step under constrained time, attention, money,
compute, or coordination, or deciding whether a bounded falsifier should precede a
full build, agents should read:

```text
.agents/skills/action-calibration/SKILL.md
```

Name the decision, preserve load-bearing invariants, compare complete cost vectors,
freeze outcome-conditioned escalation rules, and let `loop-eng` execute the selected
bounded loop.

Before auditing or auditing and repairing an existing repository, agents should read:

```text
.agents/skills/repo-audit-repair/SKILL.md
```

Resolve exact repository identity and authority first; select checks from actual
repository claims; classify defects separately from environment, external service,
policy, and `hmmm`; repair only the owning layer under the user's authorization; and
verify merge, release, and deployment as distinct terminal states when applicable.

Before writing, reviewing, or troubleshooting repeatable SSH automation or a
large terminal paste that contains SSH, agents should read:

```text
.agents/skills/ssh-automation/SKILL.md
```

Fail closed on endpoint identity and host-key trust, preserve local/remote shell
boundaries, and keep bulk pasted error handling inside a child shell.

Before giving an MCP-capable agent operational contact with a private VM, agents should read:

```text
.agents/skills/vm-mcp/SKILL.md
```

Keep SSH/OS Login credentials outside the model path, install the service loopback-only and non-root, establish private authenticated transport, prove read-only contact before enabling shell execution, and add privileged administration only as named bounded capabilities rather than a generic root shell.

Existing files are not retroactively noncompliant merely because they predate
this skill.

## hmmm

Target-repo propagation is not complete just because `skill-lib` is updated.
Each target repo still needs a repo-local propagation PR, source commit SHA,
collection point, and local verification record.
45 changes: 25 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,11 @@ native code, documentation, manifests, schemas, tooling, and evidence formats;
its own comment blocks supplement information not already expressed adequately.
The [foundational skill](msdmd/SKILL.md) and
[convention catalogue](msdmd/references/metadata-conventions.md) define the
native-first contract. The shipped collector currently implements the narrower
MSDMD-block path; listed conventions are not claims of implemented readers.
native-first contract. The schema-2 collector now integrates supported native
source/document readers through the versioned reader registry, while the
universal MSDMD-block parser remains available for supplemental declarations.
Unsupported conventions stay visible as explicit unknowns rather than being
treated as implemented readers.
Comment thread
erinepshovel-code marked this conversation as resolved.

Licensed under MPL-2.0 (relicensed from MIT; weak copyleft — embed anywhere,
changes to these files must be published). The canonical install path inside a
Expand Down Expand Up @@ -184,12 +187,12 @@ statuses, secrets, `hmmm`, and unearned theorem/status leakage. The llms-build
runner generates the root `llms.txt` from `LLMS` blocks and can fail on drift in
`--check` mode.

|∆|Implementation status: this repo ships the universal msdmd parsers, a partial
Python per-module metadata reader, skill specifications, selected pure-stdlib
helper tools, and the `llms-build` runner.
Most other application skills define runner contracts for consuming repos; they
do not ship standalone executors here unless a helper file exists in that skill
directory or package.| ∆|
|∆|Implementation status: this repo ships the universal msdmd parsers, the
schema-2 native-and-supplemental collector, a partial Python per-module metadata
reader, skill specifications, selected pure-stdlib helper tools, and the
`llms-build` runner. Most other application skills define runner contracts for
consuming repos; they do not ship standalone executors here unless a helper file
exists in that skill directory or package.| ∆|

## The core idea

Expand All @@ -205,17 +208,19 @@ conflicting declarations, and unverified behavior remain separate findings.
The affected application skills and their load-bearing descriptions apply the
same native-first coverage rule without removing their semantic obligations.

The universal parsers and `msdmd/collect.py` remain block readers. The separate
`msdmd/module_projection.py` runner implements a bounded native slice for Python
symbols, signatures, decorators, docstrings, and structurally attached comments,
using the versioned `msdmd/module-projection.schema.json` JSONL format. Broader
native ingestion and the unified native-capable collection schema remain
implementation work.
The universal parsers remain block readers for supplemental MSDMD blocks.
`msdmd/collect.py` defaults to schema 2 and integrates native source/document
facts through `msdmd/readers.py` while preserving unsupported conventions and
unknown fields as visible findings. The separate `msdmd/module_projection.py`
runner implements a bounded native slice for Python symbols, signatures,
decorators, docstrings, and structurally attached comments, using the versioned
`msdmd/module-projection.schema.json` JSONL format.
`skills.json` keeps the shipped collector discoverable as `runnable`, with
`runner_scope: msdmd-blocks-only`, while `native_ingestion` is separately marked
`partial` with its exact Python scope. The generic collector still lacks qualified edge
identities and duplicate-ID diagnostics; its prototype graph is not an identity
validation result. See the [helper limitations](msdmd/SKILL.md#shipped-helper-limitations).
`runner_scope: native-and-supplemental`, while `native_ingestion` is separately
marked `implemented-subsets` with its exact supported scope. Cross-source
semantic reconciliation, build/compiler context, arbitrary language completeness,
and independent signature/evidence verification remain implementation work. See
the [helper limitations](msdmd/SKILL.md#shipped-helper-limitations).

## Supplemental block syntax (universal)

Expand Down Expand Up @@ -297,8 +302,8 @@ behavior, and parser ratio bookends.
pure-stdlib dependencies; you can copy them anywhere.
- The repo-level collection point shape lives at `msdmd/collection.ts`;
consuming repos can import or copy it for `<reponame>_msdmd.ts`.
- A stdlib collection generator prototype lives at `msdmd/collect.py` and
can emit `<reponame>_msdmd.ts` from parsed module-local blocks.
- A stdlib collection generator lives at `msdmd/collect.py` and can emit
`<reponame>_msdmd.ts` from supported native facts and supplemental blocks.
- A stdlib Python native reader lives at `msdmd/module_projection.py` and emits
deterministic per-module `.msdmd.jsonl` sidecars without executing source.
- A minimal Mermaid visualizer prototype lives at `msdmd/visualize.py` and
Expand Down
Loading
Loading