[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AW3VB2GFG28P5AQGARHZHZ":3,"skill-same:01M7AW3VB2GFG28P5AQGARHZHZ":61},{"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":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":29,"updatedAt":30,"install":31,"resources":44},"01M7AW3VB2GFG28P5AQGARHZHZ","temp-artifact-miner",null,"Extract, triage, and synthesize architecture decision records, visual DAG briefs, and ephemeral test diagnostics from system temporary directories and pytest sandboxes. Do not use for relational SQLite queries, persistent brain workspaces, or destructive temp purging.","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\u002Ftemp-artifact-miner\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: temp-artifact-miner\ndescription: Extract, triage, and synthesize architecture decision records, visual DAG briefs, and ephemeral test diagnostics from system temporary directories and pytest sandboxes. Do not use for relational SQLite queries, persistent brain workspaces, or destructive temp purging.\n---\n\n# Temp Artifact Miner\n\n`temp-artifact-miner` is the ephemeral runtime archaeology and visual architecture salvage engine for autonomous coding agents. It extracts, triages, and synthesizes architecture decision records, visual DAG briefs, and test diagnostics from system temporary stores (`%TEMP%` \u002F `C:\\Users\\spectre\\AppData\\Local\\Temp\\`) and ephemeral pytest sandbox environments (`pytest-of-spectre\u002F`).\n\nWhile `conversations\u002F*.db` contains relational execution step records (addressed by [conversation-trajectory-miner](..\u002Fconversation-trajectory-miner\u002FSKILL.md)) and `brain\u002F\u003Ccid>\u002F` contains persistent workspace scratch scripts and plans (addressed by [brain-artifact-miner](..\u002Fbrain-artifact-miner\u002FSKILL.md)), the temporary directory hosts the **ephemeral visual and runtime deliverables**: interactive HTML briefs mandated by Pillar I of the deep-module craft standards (Mermaid workflows, diagnostic scorecards, topology graphs), alongside temporary pytest sandbox test environments.\n\nBecause `%TEMP%` is subject to periodic operating system purges and restart wipes, high-value visual architecture briefs and sandbox mock fixtures risk permanent loss unless an agent can proactively discover, inventory, parse, and salvage them into permanent repository documentation (`docs\u002F`) or the Knowledge Vault (`.harness\u002Fknowledge\u002F`).\n\nThe miner executes an automated 5-stage mining progression across ephemeral runtime stores:\n\n```\n[1. Ephemeral Store Discovery & Census Handshake] → [2. Visual Brief & Topology Parsing] → [3. Test Sandbox & Diagnostics Triage] → [4. Dual-Lens Cognitive Bifurcation] → [5. Skill SDLC Validation & Knowledge Graph Commit]\n```\n\nSee [CARD.md](CARD.md) for the companion summary card, prompt catalog, and verification rubrics.\nConsult [book-to-skill-forge](..\u002Fbook-to-skill-forge\u002FSKILL.md) for literature-to-skill distillation and [epistemic-memory-lifecycle](..\u002Fepistemic-memory-lifecycle\u002FSKILL.md) for knowledge item promotion.\n\n---\n\n## 1. Ephemeral Store Discovery & Census Handshake\n\nEnumerate, validate, and establish non-modifying connections to candidate visual briefs, reports, and sandbox environments in `%TEMP%`:\n\n```\n┌─────────────────────────────────────────────────────────────┐\n│             NON-MODIFYING EPHEMERAL DISCOVERY PROTOCOL      │\n├─────────────────────────────────────────────────────────────┤\n│ 1. Codec: sys.stdout.reconfigure(encoding='utf-8')          │\n│ 2. Safety: Strictly read-only; never delete files in %TEMP%.│\n│ 3. Resilience: Gracefully tolerate disappearing temp files. │\n│ 4. Paging: Pipe commands with Out-File -Encoding utf8.      │\n│ 5. Inventory: Enumerate HTML briefs, sizes, and mtimes.     │\n└─────────────────────────────────────────────────────────────┘\n```\n\n1. **Configure Standard Streams**:\n   - Reconfigure standard output and error streams to UTF-8 at module entrypoint to eliminate `cp1252` encoding crashes on Unicode DAG symbols (Rule 23, Rule 50).\n2. **Execute Non-Modifying Ephemeral Reads**:\n   - The miner is strictly read-only. Never execute destructive deletion commands (`Remove-Item`, `rm -rf`) across `%TEMP%`. Active proactor IPC pipes, live test runs, and un-salvaged briefs must never be disrupted (Rule 46).\n3. **Handle Ephemeral Volatility Defensively**:\n   - Batch discovery loops must anticipate race conditions with external processes or OS cleanup. Wrap file reads in defensive handlers that log unexpected errors at `logger.warning()` and reraise programming errors (`NameError`, `TypeError`, `AttributeError`, Rule 32).\n4. **Piping & Redirection Hygiene**:\n   - Never rely on bare PowerShell `>` redirects for machine-parsed logs; enforce UTF-8 streams via `Out-File -Encoding utf8` or native subprocess piping to prevent UTF-16 LE BOM null-byte corruptions (Rule 26).\n\nConsumes artifact: temp_directory\nPrimary artifact: temp_manifest.json\n\n> **Completion criterion**: All candidate visual briefs, reports, and sandbox directories in `%TEMP%` enumerated via non-blocking, non-destructive reads; codec invariants initialized; and manifest emitted without file locks.\n\n---\n\n## 2. Visual Brief & Topology Parsing\n\nExtract structured decision logic, Mermaid DAG workflows, and diagnostic scorecards from ephemeral HTML files without context flooding:\n\n1. **Multi-Pass Structured HTML Extraction**:\n   - Apply a multi-pass regex and DOM boundary parsing pipeline to isolate embedded `\u003Cdiv class=\"mermaid\">` or `\u003Cpre class=\"mermaid\">` flowcharts, Diagnostic Scorecard Tables (`\u003Ctable>`), and Anti-Pattern Defense Matrices (Rule 42, Rule 51).\n   - Extract title, subtitle, empirical census metrics, and generating skill signatures.\n2. **Context Window Economy & Heavy Topology Bounding**:\n   - Ephemeral snapshots generated by skill graph introspection tools (e.g. `skill-graph-*.html`) contain full interactive Cytoscape or SVG DOM graphs exceeding 400 KB each.\n   - The parser must detect payloads exceeding the configured size threshold (default: 100 KB) and synthesize high-density topological summaries (node count, edge count, cluster density) rather than flooding the LLM context window with raw DOM blobs (Rule 9, Rule 48).\n3. **Artifact Attribution & Isnād Tracking**:\n   - Compute the SHA-256 checksum, last modification timestamp, and source path for each extracted brief to support cryptographically grounded provenance verification (Rule 40).\n\nConsumes artifact: temp_manifest.json\nPrimary artifact: brief_catalog.json\n\n> **Completion criterion**: Structured brief catalog compiled; Mermaid DAGs and evaluation scorecards extracted intact; heavy topology graphs bounded; and zero raw Cytoscape DOM bloat injected into context.\n\n---\n\n## 3. Test Sandbox & Diagnostics Triage\n\nInspect ephemeral subprocess test environments and diagnostic logs to extract failure patterns and isolated mock architectures:\n\n1. **Bounded Traversal of Pytest Sandboxes**:\n   - Inspect temporary pytest directories (`pytest-of-spectre\u002Fpytest-*`) using strictly bounded directory traversal (depth $\\le 3$, Rule 52).\n   - Actively prune noise directories (`.git`, `.venv`, `node_modules`, `__pycache__`) to prevent CPU spin and proactor pipe exhaustion.\n2. **Mock Fixture Topology Archaeology**:\n   - Inspect temporary mock skill directories generated during test runs (e.g. `test_corpus_idf_routing0`, `test_feeds_edge_acyclicity0`) via AST parsing to catalog synthesized test topologies and contract edge definitions.\n3. **Bounded Ring-Buffer Stderr Diagnostics**:\n   - When triaging crash logs (`cv_debug.log`, `mat-debug-*.log`, `LEG10N-*.log`), stream trailing lines into a bounded ring buffer (`deque(maxlen=50)`) to isolate root-cause stack traces without loading multi-megabyte log files into memory (Rule 53).\n\nConsumes artifact: temp_manifest.json\nPrimary artifact: sandbox_triage_report.json\n\n> **Completion criterion**: Pytest sandbox fixtures triaged to bounded depth; noise roots pruned; trailing diagnostic stderr lines isolated; and zero untrusted test script executions.\n\n---\n\n## 4. Dual-Lens Cognitive Bifurcation\n\nPer **Rule 41 (Dual-Lens Cognitive Distillation)**, strictly bifurcate salvaged ephemeral intelligence into two distinct architectural seams:\n\n```\n┌─────────────────────────────────────────────────────────────┐\n│             DUAL-LENS COGNITIVE BIFURCATION SEAM            │\n├──────────────────────────────┬──────────────────────────────┤\n│ 1. Epistemic Seam            │ 2. Procedural Seam           │\n│ - Knowledge Vault retention  │ - Reusable agent tooling     │\n│ - Canonical dual-file format │ - Salvaged repo documentation│\n│ - Verified isnad claim trace │ - Diagnostic scorecard rules │\n└──────────────────────────────┴──────────────────────────────┘\n```\n\n1. **Epistemic Seam (Knowledge Vault Retention)**:\n   - Extract enduring architectural breakthroughs, design heuristics, and tri-store relationship models.\n   - Commit to `.harness\u002Fknowledge\u002F\u003Cki_id>\u002F` using the canonical dual-file directory format (`metadata.json` + `summary.md`, Rule 40).\n   - Declare explicit isnād claim chains with verified status referencing source brief timestamps and sha256 hashes.\n2. **Procedural Seam (Skill & Documentation Salvage)**:\n   - Identify visual architecture reviews that represent approved system designs and export them into permanent repository documentation (`docs\u002Farchitecture\u002F`).\n   - Scaffolding executable helper tools and automated cron jobs to periodically archive ephemeral briefs before OS purges.\n\nConsumes artifact: brief_catalog.json\nPrimary artifact: epistemic_procedural_spec.json\n\n> **Completion criterion**: Cognitive outputs strictly separated into a verified dual-file Knowledge Vault item and persistent documentation or procedural code.\n\n---\n\n## 5. Skill SDLC Validation & Knowledge Graph Commit\n\nValidate the synthesized capabilities and register the new intelligence node in the active workspace ecosystem:\n\n1. **Execute Diagnostic Craft Validation**:\n   - Assert that YAML frontmatter length is bounded between 100 and 350 characters with action verbs and explicit negative boundaries (Rule 44).\n   - Assert single-pipe `│` borders in `CARD.md` with exact `SKILL: temp-artifact-miner` header tag and `- [ ]` checklist rules (Rule 37).\n   - Assert `## Anti-Patterns` heading with `- **Name** — Description` formatting (Rule 37).\n   - Assert relative links across all documents (Rule 47).\n2. **Index into Skill Knowledge Graph**:\n   - Run `harness skills graph` to register the `temp-artifact-miner` node and map `FEEDS` relationships to `book-to-skill-forge` and `epistemic-memory-lifecycle`.\n3. **Register in Context Map**:\n   - Add the skill under **1. Agent Orchestration** in `CONTEXT-MAP.md` with explicit negative boundaries.\n\nConsumes artifact: epistemic_procedural_spec.json\nPrimary artifact: skill_validation_report.json\n\n> **Completion criterion**: `SkillValidator` passes with `report.valid == True` and zero warnings; knowledge graph indexed; and context map updated.\n\n---\n\n## The Three Core Pillars\n\n### Pillar I: The Visual Brief (%TEMP%)\nThe miner operates with the core understanding that `%TEMP%` hosts high-value visual deliverables. Synthesize findings, artifact inventory heatmaps, and brief triage metrics into an interactive HTML visual brief written to `%TEMP%\\temp-artifact-miner-\u003Ctimestamp>.html` loading Tailwind CSS and Mermaid.js via CDN. Present the absolute clickable path to the user for visual review.\n\n### Pillar II: The Mandatory Checkpoint (RequestFeedback: true)\nWhen proposing new skill creation, structural modifications, or epistemic knowledge commits, always author an `implementation_plan.md` artifact with `RequestFeedback: true`. The agent must **STOP and wait** for explicit human confirmation before executing mutating actions.\n\n### Pillar III: Explicit Anti-Patterns & Defenses\nRigid behavioral boundaries and negative constraints must be maintained to prevent catastrophic failure modes such as destructive temp deletions or context window flooding from heavy topologies (Rule 9, Rule 48).\n\n---\n\n## Anti-Patterns\n\n- **Ephemeral Purge Amnesia** — Treating `%TEMP%` as disposable junk and losing high-value visual briefs, Mermaid diagrams, and decision scorecards.\n- **Destructive Temp Wiping** — Running blind `Remove-Item` or `rm -rf` across Temp, killing live proactor IPC pipes, breaking active test runs, or wiping unsaved briefs.\n- **Topology Context Flooding** — Dumping raw 400KB+ Cytoscape or SVG interactive graphs directly into agent context windows, causing context blowout.\n- **Unbounded Sandbox Traversal** — Recursively traversing deep pytest sandbox trees into virtualenvs or node_modules without pruning, triggering proactor timeouts.\n- **Bare PowerShell Redirection** — Using bare `>` to write temporary logs, producing UTF-16 LE corruptions.\n- **Unverified Isnād Attribution** — Salvaging architectural decisions into knowledge items without tracking source brief mtime, file path, and generating skill.\n","# Temp Artifact Miner\n\n`temp-artifact-miner` is the ephemeral runtime archaeology and visual architecture salvage engine for autonomous coding agents. It extracts, triages, and synthesizes architecture decision records, visual DAG briefs, and test diagnostics from system temporary stores (`%TEMP%` \u002F `C:\\Users\\spectre\\AppData\\Local\\Temp\\`) and ephemeral pytest sandbox environments (`pytest-of-spectre\u002F`).\n\nWhile `conversations\u002F*.db` contains relational execution step records (addressed by [conversation-trajectory-miner](..\u002Fconversation-trajectory-miner\u002FSKILL.md)) and `brain\u002F\u003Ccid>\u002F` contains persistent workspace scratch scripts and plans (addressed by [brain-artifact-miner](..\u002Fbrain-artifact-miner\u002FSKILL.md)), the temporary directory hosts the **ephemeral visual and runtime deliverables**: interactive HTML briefs mandated by Pillar I of the deep-module craft standards (Mermaid workflows, diagnostic scorecards, topology graphs), alongside temporary pytest sandbox test environments.\n\nBecause `%TEMP%` is subject to periodic operating system purges and restart wipes, high-value visual architecture briefs and sandbox mock fixtures risk permanent loss unless an agent can proactively discover, inventory, parse, and salvage them into permanent repository documentation (`docs\u002F`) or the Knowledge Vault (`.harness\u002Fknowledge\u002F`).\n\nThe miner executes an automated 5-stage mining progression across ephemeral runtime stores:\n\n```\n[1. Ephemeral Store Discovery & Census Handshake] → [2. Visual Brief & Topology Parsing] → [3. Test Sandbox & Diagnostics Triage] → [4. Dual-Lens Cognitive Bifurcation] → [5. Skill SDLC Validation & Knowledge Graph Commit]\n```\n\nSee [CARD.md](CARD.md) for the companion summary card, prompt catalog, and verification rubrics.\nConsult [book-to-skill-forge](..\u002Fbook-to-skill-forge\u002FSKILL.md) for literature-to-skill distillation and [epistemic-memory-lifecycle](..\u002Fepistemic-memory-lifecycle\u002FSKILL.md) for knowledge item promotion.\n\n---\n\n## 1. Ephemeral Store Discovery & Census Handshake\n\nEnumerate, validate, and establish non-modifying connections to candidate visual briefs, reports, and sandbox environments in `%TEMP%`:\n\n```\n┌─────────────────────────────────────────────────────────────┐\n│             NON-MODIFYING EPHEMERAL DISCOVERY PROTOCOL      │\n├─────────────────────────────────────────────────────────────┤\n│ 1. Codec: sys.stdout.reconfigure(encoding='utf-8')          │\n│ 2. Safety: Strictly read-only; never delete files in %TEMP%.│\n│ 3. Resilience: Gracefully tolerate disappearing temp files. │\n│ 4. Paging: Pipe commands with Out-File -Encoding utf8.      │\n│ 5. Inventory: Enumerate HTML briefs, sizes, and mtimes.     │\n└─────────────────────────────────────────────────────────────┘\n```\n\n1. **Configure Standard Streams**:\n   - Reconfigure standard output and error streams to UTF-8 at module entrypoint to eliminate `cp1252` encoding crashes on Unicode DAG symbols (Rule 23, Rule 50).\n2. **Execute Non-Modifying Ephemeral Reads**:\n   - The miner is strictly read-only. Never execute destructive deletion commands (`Remove-Item`, `rm -rf`) across `%TEMP%`. Active proactor IPC pipes, live test runs, and un-salvaged briefs must never be disrupted (Rule 46).\n3. **Handle Ephemeral Volatility Defensively**:\n   - Batch discovery loops must anticipate race conditions with external processes or OS cleanup. Wrap file reads in defensive handlers that log unexpected errors at `logger.warning()` and reraise programming errors (`NameError`, `TypeError`, `AttributeError`, Rule 32).\n4. **Piping & Redirection Hygiene**:\n   - Never rely on bare PowerShell `>` redirects for machine-parsed logs; enforce UTF-8 streams via `Out-File -Encoding utf8` or native subprocess piping to prevent UTF-16 LE BOM null-byte corruptions (Rule 26).\n\nConsumes artifact: temp_directory\nPrimary artifact: temp_manifest.json\n\n> **Completion criterion**: All candidate visual briefs, reports, and sandbox directories in `%TEMP%` enumerated via non-blocking, non-destructive reads; codec invariants initialized; and manifest emitted without file locks.\n\n---\n\n## 2. Visual Brief & Topology Parsing\n\nExtract structured decision logic, Mermaid DAG workflows, and diagnostic scorecards from ephemeral HTML files without context flooding:\n\n1. **Multi-Pass Structured HTML Extraction**:\n   - Apply a multi-pass regex and DOM boundary parsing pipeline to isolate embedded `\u003Cdiv class=\"mermaid\">` or `\u003Cpre class=\"mermaid\">` flowcharts, Diagnostic Scorecard Tables (`\u003Ctable>`), and Anti-Pattern Defense Matrices (Rule 42, Rule 51).\n   - Extract title, subtitle, empirical census metrics, and generating skill signatures.\n2. **Context Window Economy & Heavy Topology Bounding**:\n   - Ephemeral snapshots generated by skill graph introspection tools (e.g. `skill-graph-*.html`) contain full interactive Cytoscape or SVG DOM graphs exceeding 400 KB each.\n   - The parser must detect payloads exceeding the configured size threshold (default: 100 KB) and synthesize high-density topological summaries (node count, edge count, cluster density) rather than flooding the LLM context window with raw DOM blobs (Rule 9, Rule 48).\n3. **Artifact Attribution & Isnād Tracking**:\n   - Compute the SHA-256 checksum, last modification timestamp, and source path for each extracted brief to support cryptographically grounded provenance verification (Rule 40).\n\nConsumes artifact: temp_manifest.json\nPrimary artifact: brief_catalog.json\n\n> **Completion criterion**: Structured brief catalog compiled; Mermaid DAGs and evaluation scorecards extracted intact; heavy topology graphs bounded; and zero raw Cytoscape DOM bloat injected into context.\n\n---\n\n## 3. Test Sandbox & Diagnostics Triage\n\nInspect ephemeral subprocess test environments and diagnostic logs to extract failure patterns and isolated mock architectures:\n\n1. **Bounded Traversal of Pytest Sandboxes**:\n   - Inspect temporary pytest directories (`pytest-of-spectre\u002Fpytest-*`) using strictly bounded directory traversal (depth $\\le 3$, Rule 52).\n   - Actively prune noise directories (`.git`, `.venv`, `node_modules`, `__pycache__`) to prevent CPU spin and proactor pipe exhaustion.\n2. **Mock Fixture Topology Archaeology**:\n   - Inspect temporary mock skill directories generated during test runs (e.g. `test_corpus_idf_routing0`, `test_feeds_edge_acyclicity0`) via AST parsing to catalog synthesized test topologies and contract edge definitions.\n3. **Bounded Ring-Buffer Stderr Diagnostics**:\n   - When triaging crash logs (`cv_debug.log`, `mat-debug-*.log`, `LEG10N-*.log`), stream trailing lines into a bounded ring buffer (`deque(maxlen=50)`) to isolate root-cause stack traces without loading multi-megabyte log files into memory (Rule 53).\n\nConsumes artifact: temp_manifest.json\nPrimary artifact: sandbox_triage_report.json\n\n> **Completion criterion**: Pytest sandbox fixtures triaged to bounded depth; noise roots pruned; trailing diagnostic stderr lines isolated; and zero untrusted test script executions.\n\n---\n\n## 4. Dual-Lens Cognitive Bifurcation\n\nPer **Rule 41 (Dual-Lens Cognitive Distillation)**, strictly bifurcate salvaged ephemeral intelligence into two distinct architectural seams:\n\n```\n┌─────────────────────────────────────────────────────────────┐\n│             DUAL-LENS COGNITIVE BIFURCATION SEAM            │\n├──────────────────────────────┬──────────────────────────────┤\n│ 1. Epistemic Seam            │ 2. Procedural Seam           │\n│ - Knowledge Vault retention  │ - Reusable agent tooling     │\n│ - Canonical dual-file format │ - Salvaged repo documentation│\n│ - Verified isnad claim trace │ - Diagnostic scorecard rules │\n└──────────────────────────────┴──────────────────────────────┘\n```\n\n1. **Epistemic Seam (Knowledge Vault Retention)**:\n   - Extract enduring architectural breakthroughs, design heuristics, and tri-store relationship models.\n   - Commit to `.harness\u002Fknowledge\u002F\u003Cki_id>\u002F` using the canonical dual-file directory format (`metadata.json` + `summary.md`, Rule 40).\n   - Declare explicit isnād claim chains with verified status referencing source brief timestamps and sha256 hashes.\n2. **Procedural Seam (Skill & Documentation Salvage)**:\n   - Identify visual architecture reviews that represent approved system designs and export them into permanent repository documentation (`docs\u002Farchitecture\u002F`).\n   - Scaffolding executable helper tools and automated cron jobs to periodically archive ephemeral briefs before OS purges.\n\nConsumes artifact: brief_catalog.json\nPrimary artifact: epistemic_procedural_spec.json\n\n> **Completion criterion**: Cognitive outputs strictly separated into a verified dual-file Knowledge Vault item and persistent documentation or procedural code.\n\n---\n\n## 5. Skill SDLC Validation & Knowledge Graph Commit\n\nValidate the synthesized capabilities and register the new intelligence node in the active workspace ecosystem:\n\n1. **Execute Diagnostic Craft Validation**:\n   - Assert that YAML frontmatter length is bounded between 100 and 350 characters with action verbs and explicit negative boundaries (Rule 44).\n   - Assert single-pipe `│` borders in `CARD.md` with exact `SKILL: temp-artifact-miner` header tag and `- [ ]` checklist rules (Rule 37).\n   - Assert `## Anti-Patterns` heading with `- **Name** — Description` formatting (Rule 37).\n   - Assert relative links across all documents (Rule 47).\n2. **Index into Skill Knowledge Graph**:\n   - Run `harness skills graph` to register the `temp-artifact-miner` node and map `FEEDS` relationships to `book-to-skill-forge` and `epistemic-memory-lifecycle`.\n3. **Register in Context Map**:\n   - Add the skill under **1. Agent Orchestration** in `CONTEXT-MAP.md` with explicit negative boundaries.\n\nConsumes artifact: epistemic_procedural_spec.json\nPrimary artifact: skill_validation_report.json\n\n> **Completion criterion**: `SkillValidator` passes with `report.valid == True` and zero warnings; knowledge graph indexed; and context map updated.\n\n---\n\n## The Three Core Pillars\n\n### Pillar I: The Visual Brief (%TEMP%)\nThe miner operates with the core understanding that `%TEMP%` hosts high-value visual deliverables. Synthesize findings, artifact inventory heatmaps, and brief triage metrics into an interactive HTML visual brief written to `%TEMP%\\temp-artifact-miner-\u003Ctimestamp>.html` loading Tailwind CSS and Mermaid.js via CDN. Present the absolute clickable path to the user for visual review.\n\n### Pillar II: The Mandatory Checkpoint (RequestFeedback: true)\nWhen proposing new skill creation, structural modifications, or epistemic knowledge commits, always author an `implementation_plan.md` artifact with `RequestFeedback: true`. The agent must **STOP and wait** for explicit human confirmation before executing mutating actions.\n\n### Pillar III: Explicit Anti-Patterns & Defenses\nRigid behavioral boundaries and negative constraints must be maintained to prevent catastrophic failure modes such as destructive temp deletions or context window flooding from heavy topologies (Rule 9, Rule 48).\n\n---\n\n## Anti-Patterns\n\n- **Ephemeral Purge Amnesia** — Treating `%TEMP%` as disposable junk and losing high-value visual briefs, Mermaid diagrams, and decision scorecards.\n- **Destructive Temp Wiping** — Running blind `Remove-Item` or `rm -rf` across Temp, killing live proactor IPC pipes, breaking active test runs, or wiping unsaved briefs.\n- **Topology Context Flooding** — Dumping raw 400KB+ Cytoscape or SVG interactive graphs directly into agent context windows, causing context blowout.\n- **Unbounded Sandbox Traversal** — Recursively traversing deep pytest sandbox trees into virtualenvs or node_modules without pruning, triggering proactor timeouts.\n- **Bare PowerShell Redirection** — Using bare `>` to write temporary logs, producing UTF-16 LE corruptions.\n- **Unverified Isnād Attribution** — Salvaging architectural decisions into knowledge items without tracking source brief mtime, file path, and generating skill.\n",{"name":5,"description":7},"main","eff3b00e36d1d233ad4a4389605c82fbfa0326d3",".agents\u002Fskills\u002Ftemp-artifact-miner","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":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add SpectreDeath\u002FBrain-Harness --skill temp-artifact-miner",{"tool":37,"command":38},"bunx","bunx skills add SpectreDeath\u002FBrain-Harness --skill temp-artifact-miner",{"tool":40,"command":41},"pnpm","pnpm dlx skills add SpectreDeath\u002FBrain-Harness --skill temp-artifact-miner","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSpectreDeath\u002FBrain-Harness\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftemp-artifact-miner\u002FSKILL.md",true,[45,51,55],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"CARD.md","REFERENCE","参考文档",5892,"https:\u002F\u002Fgithub.com\u002FSpectreDeath\u002FBrain-Harness\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftemp-artifact-miner\u002FCARD.md",{"path":52,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":53,"sourceHtmlUrl":54},"config.default.yaml",286,"https:\u002F\u002Fgithub.com\u002FSpectreDeath\u002FBrain-Harness\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftemp-artifact-miner\u002Fconfig.default.yaml",{"path":56,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":59,"sourceHtmlUrl":60},"scripts\u002Ftemp_artifact_miner.py","SCRIPT","脚本",6279,"https:\u002F\u002Fgithub.com\u002FSpectreDeath\u002FBrain-Harness\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftemp-artifact-miner\u002Fscripts\u002Ftemp_artifact_miner.py",[62,69,76,83,90,97],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"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":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"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":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"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":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"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":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"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":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"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",[],[]]