/dpf-platform:dpf-route-learning-to-commonsfrom dpf-platform
Routes confirmed findings and durable learnings from a DPF task or session into the shared commons (Hive) so all agents and installs benefit. Invoked at task/session boundaries or when capturing insights.
Ships in dpf-platform. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Turn a confirmed finding into durable, shared knowledge for every DPF agent and install. The default destination is the shared commons, not the client's local memory. Local memory is a staging/origin record at most.
~/.claude memory, a Codex note) and stop there — that is the smell this skill exists to catch.Do not use this for install-specific configuration (secrets, host paths, this machine's GPU count, COMPOSE_PROJECT_NAME). Those are correctly local. Do not use it for a single session's scratch state — that belongs in execution evidence or a backlog comment.
kernel/principles/learnings-belong-in-the-shared-commons — the principle this skill operationalizes.kernel/principles/single-source-of-truth — the commons is the one canonical home; everything else points at it.kernel/principles/governance-approves-evidence-not-provenance — a learning from the local model is as promotable as one from Claude; the gate reads evidence, not which client found it.Confirm and state the finding in one sentence, with the evidence that confirmed it (a log line, a DB query result, a passing test, an observed behavior). No evidence -> it is not yet a learning; gather evidence first (compose dpf-evidence-before-diagnosis).
Classify the learning into exactly one commons lane:
Route through the governed channel for that lane (reuse existing tools — never invent a parallel store):
| Lane | Primary tool(s) | Notes |
|---|---|---|
| WWMD | PR a docs/founder-kernel/wiki/principles/*.md page; or mcp__dpf__save_build_notes + dpf-capture-kernel-gap when the kernel can't yet answer | Kernel pages are PR-only (ratified on merge). Do not invent a principle in-place; draft it for review. |
| WWWD | mcp__dpf__propose_improvement (files a reviewable proposal + indexes platform knowledge); or mcp__dpf__doc_save for a managed document; flag a superseded fact with mcp__dpf__flag_stale_knowledge | Org-overlay WikiPages go draft -> review -> publish. |
| WSID | mcp__dpf__propose_skill_improvement against the target skill; or author a SKILL.md in packages/dpf-skill-pack/skills/ | Techniques seed as governed skills for both surfaces. |
| code+AGENTS.md | mcp__dpf__create_backlog_item (BI) then PR the code + doc together | A code contract isn't real until it's in the tree and the rulebook. |
Contribute it to the hive so other installs inherit it. This is the step that turns install-local knowledge into platform-wide knowledge; skipping it leaves the learning true on one install only. Pick by what you are contributing:
| You are contributing | Tool | Needs |
|---|---|---|
A durable FINDING you captured with propose_improvement | mcp__dpf__contribute_finding_to_hive (pass the IP-... id) | nothing else — no build, no diff |
| SHIPPED CODE | mcp__dpf__contribute_to_hive | an active FeatureBuild and its extracted diff |
A quality report already filed as a PIR-... | mcp__dpf__escalate_feedback_upstream | the report id |
If you are an external session — Claude Code, Codex, Grok — you almost certainly want the first row. contribute_to_hive resolves an active build before doing anything else and answers "No active build" without one, which is why findings raised outside Build Studio used to stop here. That was a structural dead end, not a discipline failure, and it is why one install accumulated 239 proposals and contributed none.
Everything sends under the install's pseudonym, redacted, and behind the same private / fork-only refusals. A refusal saying the install keeps everything local is a CORRECT answer, not a failure — record it and move on rather than retrying.
Record the route so the boundary is auditable: note which lane, which tool, the proposal/PR/BI id, and the hive contribution id. If local memory was the origin record, leave a pointer from it to the commons entry — do not leave the local copy as the source of truth.
insufficient_token_scope, stop and surface the required scope (per AGENTS.md §8); issue a scoped token, then retry through MCP.single-source-of-truth).The local model confirms, from docker logs, that single-GPU local inference must be serialized or builds time out. Classification: durable platform fact -> WWWD. Route: mcp__dpf__propose_improvement with the log evidence and the fix (serialize local inference), which files a reviewable proposal and indexes it in platform knowledge. Then mcp__dpf__contribute_to_hive so other single-GPU installs inherit the constraint. Record: proposal id + hive contribution id noted in the session's route log; the local note is reduced to a pointer at the WWWD entry. The next build on any install reads the constraint instead of timing out — the platform got robust on its own.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub opendigitalproductfactory/opendigitalproductfactory --plugin dpf-platform88 skills in this plugin
/asset-inventory-reconciliationReconcile recorded against observed assets.Other plugins' skills for the same job