[experimental] Add knowledge document artifact with trust lifecycle#111
Draft
mk2427 wants to merge 14 commits intopsi-oss:mainfrom
Draft
[experimental] Add knowledge document artifact with trust lifecycle#111mk2427 wants to merge 14 commits intopsi-oss:mainfrom
mk2427 wants to merge 14 commits intopsi-oss:mainfrom
Conversation
Add a reviewed knowledge artifact (GPD/knowledge/NNN-slug.md) with lifecycle: Draft → Under Review → Stable → Superseded. GPD's RESEARCH.md is "what the agent found." A knowledge doc is "what we've verified is correct." No existing GPD artifact has a trust lifecycle. - specs/templates/knowledge.md — artifact template with frontmatter schema - commands/digest-knowledge.md — /gpd:digest-knowledge <topic or arXiv-ID> - specs/workflows/digest-knowledge.md — light path: research → review → Stable - constants.py — KNOWLEDGE_DIR_NAME + ProjectLayout.knowledge_dir - registry.py — skill category entry for digest-knowledge
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a new artifact type: knowledge documents (
GPD/knowledge/NNN-slug.md) with a trust lifecycle (Draft → Under Review → Stable → Superseded).GPD's RESEARCH.md is "what the agent found." A knowledge doc is "what we've verified is correct." No existing GPD artifact has a trust lifecycle.
Why
In real physics research with AI agents, wrong understanding of the problem setup causes more wasted computation than bugs in the solver. A knowledge doc forces the agent to articulate its understanding in a reviewable form before computing.
Changes (5 files, 248 lines added)
specs/templates/knowledge.md— template with frontmatter schema and structured sectionscommands/digest-knowledge.md—/gpd:digest-knowledge <topic or arXiv-ID>specs/workflows/digest-knowledge.md— light path: research → user review → Stablecore/constants.py—KNOWLEDGE_DIR_NAME+ProjectLayout.knowledge_dir(+9 lines)registry.py— skill category entry (+1 line)What it does NOT change
Future phases (separate PRs)
knowledge_depson results/plans)knowledge_gate: off | warn | block)Test plan
uv run ruff checkclean