agentleFS
weijiafu14weijiafu14/pi2dsh/AGENTS.md

pi2dsh

AGENTS.md220 starsChanged 27 days 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 code style.

    Of the AGENTS.md files we read, the 35,337 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.

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
  1. Very specific:

    Use docs/architecture-mapping-matrix.md for the evolving Pi/DSH branches, docs/plugin-validation-matrix.md for real plugin evidence, and

    line 10
  2. Distinctive:

    Every real plugin validation references existing mapping IDs and traces five layers:

    line 29
  3. Distinctive:

    Do not give a whole package one blanket result when it exercises multiple capabilities.

    line 43
  4. Distinctive:

    When adding or changing a capability, update in the same change:

    line 58

≈ “Common” is an estimate: at least 1 in 5 of the 45,344 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

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 result

Grade each mapping independently:

  1. native;
  2. reliable translation;
  3. sidecar/workaround;
  4. degraded or missing;
  5. 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:

  1. src/compatibility.ts for the concrete runtime behaviour;
  2. the relevant Markdown architecture branch and real-plugin validation record;
  3. contract tests and, for user workflows, real DSH CLI/Web evidence;
  4. 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.