pi2dsh
AGENTS.md213 starsChanged 4 months agoMITView on GitHub
pi2dsh is both an ecosystem bridge and an executable architecture test for DeepSeek Harness. Any agent changing compatibility behaviour must follow the single mapping standard in docs/architecture-mapping-standard.md. Architecture knowledge is maintained as ordinary Markdown, not a JSON ledger or generated verdict. Use docs/architecture-mapping-matrix.md for the evolving Pi/DSH branches, docs/plugin-validation-matrix.md for real plugin evidence, and docs/dsh-architecture-conformance.md for conclusions. Do not create a parallel taxonomy. src/compatibility.ts is the leaf-level runtime inventory, not an architectural verdict by itself. Organize Pi as capability domain…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repositoryOne other file it gives its agents.
- CLAUDE.mdCLAUDE.md
The file
We split this AGENTS.md into the rules it gives an agent
4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 10
Use docs/architecture-mapping-matrix.md for the evolving Pi/DSH branches, docs/plugin-validation-matrix.md for real plugin evidence, and
- Distinctive: line 29
Every real plugin validation references existing mapping IDs and traces five layers:
- Distinctive: line 43
Do not give a whole package one blanket result when it exercises multiple capabilities.
- Distinctive: line 58
When adding or changing a capability, update in the same change:
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AGENTS.md
Architecture mapping is a required deliverable
pi2dsh is both an ecosystem bridge and an executable architecture test for DeepSeek Harness.
Any agent changing compatibility behaviour must follow the single mapping standard in
docs/architecture-mapping-standard.md.
Architecture knowledge is maintained as ordinary Markdown, not a JSON ledger or generated verdict.
Use docs/architecture-mapping-matrix.md for the evolving
Pi/DSH branches, docs/plugin-validation-matrix.md for real
plugin evidence, and docs/dsh-architecture-conformance.md
for conclusions. Do not create a parallel taxonomy. src/compatibility.ts is the leaf-level runtime
inventory, not an architectural verdict by itself.
Required model
Organize Pi as capability domain → capability contract → concrete interface, and DSH as architecture domain → carrying mechanism → public seam. Concrete leaves are an open inventory: add newly found interfaces and modules under the appropriate branch, and revise the abstraction when a leaf does not fit. Counts such as 111 Pi rules or 45 DSH subsystems are versioned observations, never invariants or proof of completeness.
The theoretical mapping compares five semantic dimensions: user goal, intervention timing, authoritative state, lifecycle and native presentation. Matching names are not sufficient.
Required validation
Every real plugin validation references existing mapping IDs and traces five layers:
Pi call → pi2dsh translation → public DSH seam → DSH authority → user-visible/restorable resultGrade each mapping independently:
- native;
- reliable translation;
- sidecar/workaround;
- degraded or missing;
- host-specific and not scored.
Do not give a whole package one blanket result when it exercises multiple capabilities.
Required attribution
- A suitable public DSH seam exists but the bridge has not used it: pi2dsh debt.
- The correct data or decision point is outside every public seam, with a real consumer and a
minimal reproduction: confirmed DSH gap and a stable
DSH-ARCH-*ID. - A terminal/CLI implementation should be re-expressed for DSH rather than copied: host difference.
- A theoretical mapping without a real plugin run: theoretically viable, not yet verified.
A second authority store or sidecar is grade 3 even when the user workflow works. An alternate adapter that bypasses a broken seam does not prove the original seam is fixed.
Same-change documentation rule
When adding or changing a capability, update in the same change:
src/compatibility.tsfor the concrete runtime behaviour;- the relevant Markdown architecture branch and real-plugin validation record;
- contract tests and, for user workflows, real DSH CLI/Web evidence;
- generated capability pages only when the runtime inventory changed.
pnpm check:docs must stay green, but automation may only check facts derived directly from runtime
code. Do not generate architecture classifications, theoretical mappings, grades or attribution, and
do not hard-code interface/module totals into CI.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

