[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AVNQMJ6KJMNPYNP13CQHTA":3,"skill-same:01M7AVNQMJ6KJMNPYNP13CQHTA":52},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":14,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M7AVNQMJ6KJMNPYNP13CQHTA","context-type-system",null,"Govern LLM prompt context through four partitioned semantic channels with immutable provenance ledgers, tool output elevation, and quota-budgeted assembly. Do not use for generic text summarization, unpartitioned prompt concatenation, or ad-hoc string formatting.","SpectreDeath\u002FBrain-Harness","SpectreDeath","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F207463416?v=4","01M7AVGR1D4X8ADT47APKGVH2Z","JL","01M7AVGR2HSGD23BA5DBTJJTVN",0,"MIT","https:\u002F\u002Fgithub.com\u002FSpectreDeath\u002FBrain-Harness\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcontext-type-system\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: context-type-system\ndescription: Govern LLM prompt context through four partitioned semantic channels with immutable provenance ledgers, tool output elevation, and quota-budgeted assembly. Do not use for generic text summarization, unpartitioned prompt concatenation, or ad-hoc string formatting.\ncluster: memory_and_epistemics\n---\n\n# Context Type System & Semantic Provenance Ledger\n\n## Overview\n\nThe `context-type-system` skill governs the assembly, provenance tracking, and type enforcement of LLM context windows. It segregates prompt inputs into four immutable semantic channels:\n1. `instruction`: High-priority operational directives and developer task goals.\n2. `evidence`: Formally validated observations, grep extracts, and test results.\n3. `memory`: Long-term or working-memory state recalled from external stores.\n4. `tool_output`: Unsanitized raw outputs from shell commands, APIs, or subprocess tools.\n\nCross-channel transitions are strictly governed by policy: raw `tool_output` can **never** be injected as `instruction` (preventing indirect prompt injection), and can only elevate to `evidence` after passing structural or schema validation.\n\n```\n┌─────────────────────────────────────────────────────────────┐\n│                       Context Pipeline                      │\n└──────────────────────────────┬──────────────────────────────┘\n                               │\n       ┌───────────────────────┼───────────────────────┐\n       ▼                       ▼                       ▼\n┌──────────────┐        ┌──────────────┐        ┌──────────────┐\n│ Instruction  │        │    Memory    │        │ Tool Output  │\n│  (Protected) │        │  (Recalled)  │        │ (Unverified) │\n└──────┬───────┘        └──────┬───────┘        └──────┬───────┘\n       │                       │                       │\n       │                       │                       ▼ validate_tool_output\n       │                       │                ┌──────────────┐\n       │                       │                │   Evidence   │\n       │                       │                │  (Elevated)  │\n       │                       │                └──────┬───────┘\n       │                       │                       │\n       └───────────────────────┼───────────────────────┘\n                               ▼\n               ┌───────────────────────────────┐\n               │    Context Assembler (Quota)  │\n               └───────────────┬───────────────┘\n                               ▼\n               ┌───────────────────────────────┐\n               │   Rendered Budgeted Prompt    │\n               └───────────────────────────────┘\n```\n\n---\n\n## Visual Brief\n\n### Architecture\n- **Provenance Ledger**: Tracks initial item registration and subsequent transformation hops back to the root observation.\n- **Budget Allocator**: Ensures context windows do not exceed token caps while allocating reserved quotas to each semantic channel.\n- **Policy Enforcement**: Prevents unauthorized channel hops and logs audit trails.\n\n### Verification Flow\n1. Register inputs via `harness context add`.\n2. Inspect or elevate tool results via `harness context validate-tool`.\n3. Assemble budgeted prompt with `harness context assemble`.\n4. Audit lineage via `harness context ledger`.\n\n---\n\n## Workflow Steps\n\n### Phase 1: Context Ingestion and Channel Tagging\nRegister inputs into their designated channels:\n```bash\nharness context add --session my-run --type instruction --content \"Refactor auth module\"\nharness context add --session my-run --type memory --content \"Previous fix in commit abc1234\"\n```\n\n### Phase 2: Tool Execution and Validation\nStage raw tool output and promote to evidence:\n```bash\nharness context validate-tool --session my-run --tool-name \"git-status\" --output-json '{\"status\": \"clean\"}'\n```\n\n### Phase 3: Budgeted Assembly\nRender the assembled prompt partitioned by semantic headers:\n```bash\nharness context assemble --session my-run --budget-tokens 4000 --json\n```\n\n### Phase 4: Provenance Audit\nTrace multi-hop Isnad provenance:\n```bash\nharness context ledger --session my-run --json\n```\n\n---\n\n## Mandatory Checkpoints\n\n- [ ] **Channel Isolation**: Verify that raw `tool_output` cannot be registered as `instruction`.\n- [ ] **Validation Gate**: Verify that `validate-tool` promotes items with a newly generated `evidence` ID.\n- [ ] **Budget Cap**: Verify that assembled tokens do not exceed the specified budget ceiling.\n\n---\n\n## Anti-Patterns\n\n- **Raw String Splice** — Concatenating untyped raw tool outputs directly into agent instructions.\n- **Unverified Promotion** — Elevating tool output to evidence without structural or schema validation.\n- **Unbudgeted Assembly** — Rendering prompts without token ceilings or channel quotas.\n- **Unlinked Transformations** — Mutating item types without recording parent lineage in the provenance ledger.\n\n---\n\n## Related Skills & Docs\n\n- [Ebbinghaus Memory Governor](..\u002Febbinghaus-memory-governor\u002FSKILL.md)\n- [Learning Core Lifecycle Narrative](..\u002F..\u002F..\u002Fdocs\u002Fexplanation\u002Flearning-core-lifecycle.md)\n- [Context Command Reference](..\u002F..\u002F..\u002Fdocs\u002Freference\u002Fcli.md)\n\n","# Context Type System & Semantic Provenance Ledger\n\n## Overview\n\nThe `context-type-system` skill governs the assembly, provenance tracking, and type enforcement of LLM context windows. It segregates prompt inputs into four immutable semantic channels:\n1. `instruction`: High-priority operational directives and developer task goals.\n2. `evidence`: Formally validated observations, grep extracts, and test results.\n3. `memory`: Long-term or working-memory state recalled from external stores.\n4. `tool_output`: Unsanitized raw outputs from shell commands, APIs, or subprocess tools.\n\nCross-channel transitions are strictly governed by policy: raw `tool_output` can **never** be injected as `instruction` (preventing indirect prompt injection), and can only elevate to `evidence` after passing structural or schema validation.\n\n```\n┌─────────────────────────────────────────────────────────────┐\n│                       Context Pipeline                      │\n└──────────────────────────────┬──────────────────────────────┘\n                               │\n       ┌───────────────────────┼───────────────────────┐\n       ▼                       ▼                       ▼\n┌──────────────┐        ┌──────────────┐        ┌──────────────┐\n│ Instruction  │        │    Memory    │        │ Tool Output  │\n│  (Protected) │        │  (Recalled)  │        │ (Unverified) │\n└──────┬───────┘        └──────┬───────┘        └──────┬───────┘\n       │                       │                       │\n       │                       │                       ▼ validate_tool_output\n       │                       │                ┌──────────────┐\n       │                       │                │   Evidence   │\n       │                       │                │  (Elevated)  │\n       │                       │                └──────┬───────┘\n       │                       │                       │\n       └───────────────────────┼───────────────────────┘\n                               ▼\n               ┌───────────────────────────────┐\n               │    Context Assembler (Quota)  │\n               └───────────────┬───────────────┘\n                               ▼\n               ┌───────────────────────────────┐\n               │   Rendered Budgeted Prompt    │\n               └───────────────────────────────┘\n```\n\n---\n\n## Visual Brief\n\n### Architecture\n- **Provenance Ledger**: Tracks initial item registration and subsequent transformation hops back to the root observation.\n- **Budget Allocator**: Ensures context windows do not exceed token caps while allocating reserved quotas to each semantic channel.\n- **Policy Enforcement**: Prevents unauthorized channel hops and logs audit trails.\n\n### Verification Flow\n1. Register inputs via `harness context add`.\n2. Inspect or elevate tool results via `harness context validate-tool`.\n3. Assemble budgeted prompt with `harness context assemble`.\n4. Audit lineage via `harness context ledger`.\n\n---\n\n## Workflow Steps\n\n### Phase 1: Context Ingestion and Channel Tagging\nRegister inputs into their designated channels:\n```bash\nharness context add --session my-run --type instruction --content \"Refactor auth module\"\nharness context add --session my-run --type memory --content \"Previous fix in commit abc1234\"\n```\n\n### Phase 2: Tool Execution and Validation\nStage raw tool output and promote to evidence:\n```bash\nharness context validate-tool --session my-run --tool-name \"git-status\" --output-json '{\"status\": \"clean\"}'\n```\n\n### Phase 3: Budgeted Assembly\nRender the assembled prompt partitioned by semantic headers:\n```bash\nharness context assemble --session my-run --budget-tokens 4000 --json\n```\n\n### Phase 4: Provenance Audit\nTrace multi-hop Isnad provenance:\n```bash\nharness context ledger --session my-run --json\n```\n\n---\n\n## Mandatory Checkpoints\n\n- [ ] **Channel Isolation**: Verify that raw `tool_output` cannot be registered as `instruction`.\n- [ ] **Validation Gate**: Verify that `validate-tool` promotes items with a newly generated `evidence` ID.\n- [ ] **Budget Cap**: Verify that assembled tokens do not exceed the specified budget ceiling.\n\n---\n\n## Anti-Patterns\n\n- **Raw String Splice** — Concatenating untyped raw tool outputs directly into agent instructions.\n- **Unverified Promotion** — Elevating tool output to evidence without structural or schema validation.\n- **Unbudgeted Assembly** — Rendering prompts without token ceilings or channel quotas.\n- **Unlinked Transformations** — Mutating item types without recording parent lineage in the provenance ledger.\n\n---\n\n## Related Skills & Docs\n\n- [Ebbinghaus Memory Governor](..\u002Febbinghaus-memory-governor\u002FSKILL.md)\n- [Learning Core Lifecycle Narrative](..\u002F..\u002F..\u002Fdocs\u002Fexplanation\u002Flearning-core-lifecycle.md)\n- [Context Command Reference](..\u002F..\u002F..\u002Fdocs\u002Freference\u002Fcli.md)\n\n",{"name":5,"cluster":24,"description":7},"memory_and_epistemics","main","eff3b00e36d1d233ad4a4389605c82fbfa0326d3",".agents\u002Fskills\u002Fcontext-type-system","https:\u002F\u002Fgithub.com\u002FSpectreDeath\u002FBrain-Harness","https:\u002F\u002Fgithub.com\u002FSpectreDeath","I'm here to manage stress so I wouldn't expect earth shattering break throughs I'm just an enthusiast that likes making stuff. ","2026-11-15 05:32:58",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add SpectreDeath\u002FBrain-Harness --skill context-type-system",{"tool":38,"command":39},"bunx","bunx skills add SpectreDeath\u002FBrain-Harness --skill context-type-system",{"tool":41,"command":42},"pnpm","pnpm dlx skills add SpectreDeath\u002FBrain-Harness --skill context-type-system","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSpectreDeath\u002FBrain-Harness\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcontext-type-system\u002FSKILL.md",true,[46],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"CARD.md","REFERENCE","参考文档",2418,"https:\u002F\u002Fgithub.com\u002FSpectreDeath\u002FBrain-Harness\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcontext-type-system\u002FCARD.md",[53,60,67,74,81,88],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M7E0W6FR68J2N9CXCZTAQJFX","ui-behavior-primitive-architect","Architect, audit, and verify zero-dependency headless UI behavior primitives, WebMCP agent bridges, WAI-ARIA\u002FSSR\u002FRTL tri-modal checks, and framework expert routing. Do not use for static CSS theme styling or backend database migrations.","https:\u002F\u002Fgithub.com\u002FSpectreDeath\u002FBrain-Harness\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fui-behavior-primitive-architect\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M7E0VZ7JQNW34G271DENFGYP","trustgraph-ontology-governor","Govern knowledge graphs, SHACL-AF triple policies, OntologyRAG subclass validation, PROV-O dual named graphs, and Laya entropy decision scoring. Do not use for relational SQL queries or generic web scraping.","https:\u002F\u002Fgithub.com\u002FSpectreDeath\u002FBrain-Harness\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftrustgraph-ontology-governor\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M7E0VQ6Z7R45Q8QAZ4MT39EK","shim-harness-governor","Govern universal CLI agent loops, 4-tier tool permissions, ancestor-symlink workspace sandboxes, deterministic-first command routing, collision-safe MCP namespacing, and layered skill loading. Do not use for static UI styling or external SQL analytics.","https:\u002F\u002Fgithub.com\u002FSpectreDeath\u002FBrain-Harness\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fshim-harness-governor\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M7E0VC18NMP1QBSRJ3TPQ7MB","graphiti-zep-memory-governor","Govern bi-temporal knowledge graphs with Graphiti future-edge clamping, MinHash\u002FLSH entity dedup, RRF\u002FMMR reranking, and Zep typed ontologies. Do not use for static SQL joins or generic web crawling.","https:\u002F\u002Fgithub.com\u002FSpectreDeath\u002FBrain-Harness\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fgraphiti-zep-memory-governor\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M7E0V12ABE1RW3ZRCST8VH5Z","agora-mcp-workbench-architect","Architect, audit, and orchestrate Agora Workbench MCP servers, loopback sidecars, unified state graphs, gateway\u002Fdispatcher connectors, and policy-enforced data lakes. Do not use for static frontend CSS styling or non-MCP desktop GUI automation.","https:\u002F\u002Fgithub.com\u002FSpectreDeath\u002FBrain-Harness\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fagora-mcp-workbench-architect\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M7BFYG6QT3484VC57TZ19V7P","skill-eval-assurance-runner","Evaluate and assure agent skills using small-N Wilson confidence intervals, unbiased pass^k reliability, deterministic trajectory graders, preflight boundary honesty, and sealed digest verification. Do not use for subjective prose review or unconstrained production deployment.","https:\u002F\u002Fgithub.com\u002FSpectreDeath\u002FBrain-Harness\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fskill-eval-assurance-runner\u002FSKILL.md",[],[]]