[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C3C20ZCYKKQJKX849N7QWK":3,"skill-same:01M6C3C20ZCYKKQJKX849N7QWK":73},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":49,"commitSha":50,"skillDirectory":51,"forksCount":52,"repositoryHtmlUrl":53,"repositoryHomepageUrl":54,"ownerHtmlUrl":55,"ownerBlogUrl":56,"ownerDescription":57,"updatedAt":58,"install":59,"resources":72},"01M6C3C20ZCYKKQJKX849N7QWK","research-provenance","研究溯源链查询","Query provenance chains and artifact relationships","查询溯源链以及研究制品（artifact）之间的关系。","jmagly\u002Faiwg","jmagly","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1159087?v=4","01M6C10AK8N2WCSQN11FYGTJWN","Joseph Magly","01M6C10AQ8A2RMED1Y1BSVY7NF",229,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fresearch\u002Fskills\u002Fresearch-provenance\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8C82QA6RFSM572EJHQQYPMH","研究工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8CDKZBW3DSFS8RSPCNGDV5J","研究语料库分析与监控","SCENARIO","使用场景",[31,32,33,34,35,36,37,38],"research","provenance","research provenance","history","query","relationships","artifact","path","2026-11-10 10:12:30",false,"---\nnamespace: aiwg\nname: research-provenance\nplatforms: [all]\ndescription: Query provenance chains and artifact relationships\ncommandHint:\n  argumentHint: \"[REF-XXX or artifact-path] [--query what-derives|what-cites|history]\"\n  category: research-provenance\n---\n\n# Research Provenance Command\n\nThis workflow remains active. Its records can be projected to the Dataset\nIntelligence ledger, but arbitrary entity\u002Factivity attributes require a\ngoverned extension. See the [dataset migration\nguide](https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Faddons\u002Fdataset-intelligence\u002Fdocs\u002Fmigration-guide.md).\n\nQuery W3C PROV-compliant provenance chains to trace artifact derivations and relationships.\n\n## Instructions\n\nWhen invoked, perform provenance queries:\n\n1. **Load Provenance Records**\n   - If REF-XXX, load all provenance records for that paper\n   - If artifact path, load records for that specific artifact\n   - Build provenance graph from PROV relationships\n\n2. **Execute Query**\n   - Query types:\n     - `what-derives` - What artifacts derive from this source?\n     - `what-cites` - What documents cite this source?\n     - `history` - Full derivation history of this artifact\n     - `lineage` - Complete lineage from source to current state\n     - `impact` - Impact analysis (what would be affected by changes?)\n\n3. **Traverse Graph**\n   - Follow `wasDerivedFrom` relationships\n   - Follow `wasGeneratedBy` activities\n   - Follow `wasAssociatedWith` agents\n   - Collect all related entities, activities, and agents\n\n4. **Format Results**\n   - Visualize as tree, graph, or table\n   - Show derivation chains\n   - Highlight gaps or inconsistencies\n   - Calculate impact metrics\n\n5. **Report**\n   - Display provenance chain\n   - Show relationship types\n   - Include timestamps and agents\n   - Flag any provenance issues\n\n## Arguments\n\n- `[ref-id or path]` - Source identifier or artifact path (required)\n- `--query [what-derives|what-cites|history|lineage|impact]` - Query type (default: what-derives)\n- `--depth [n]` - Maximum graph traversal depth (default: 5)\n- `--output [tree|graph|table|json]` - Output format (default: tree)\n- `--validate` - Validate provenance chain integrity\n- `--export-dot` - Export as GraphViz DOT format\n\n## Examples\n\n```bash\n# Find what derives from a paper\n\u002Fresearch-provenance REF-022 --query what-derives\n\n# Find citation usage\n\u002Fresearch-provenance REF-022 --query what-cites\n\n# Get full history of an artifact\n\u002Fresearch-provenance .aiwg\u002Farchitecture\u002Fagent-orchestration-sad.md --query history\n\n# Analyze impact of changes\n\u002Fresearch-provenance REF-022 --query impact --depth 10\n\n# Validate provenance chain\n\u002Fresearch-provenance REF-022 --validate\n\n# Export as graph\n\u002Fresearch-provenance REF-022 --query lineage --export-dot\n```\n\n## Expected Output\n\n### What Derives Query\n\n```\n\u002Fresearch-provenance REF-022 --query what-derives\n\nProvenance Query: REF-022 - What Derives From This Source?\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n\nSource: REF-022 (AutoGen: Enabling Next-Gen LLM Applications...)\n\nDerivation Tree:\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n\nREF-022.pdf (source paper)\n│\n├─→ REF-022-autogen.md (finding document)\n│   │   Relationship: wasDerivedFrom\n│   │   Activity: documentation\n│   │   Agent: documentation-agent\n│   │   Date: 2026-02-03T12:15:00Z\n│   │\n│   ├─→ REF-022-notes.md (literature notes)\n│   │   Relationship: wasDerivedFrom\n│   │   Activity: synthesis\n│   │   Agent: documentation-agent\n│   │   Date: 2026-02-03T12:20:00Z\n│   │\n│   └─→ UC-174-conversable-agent.md (use case)\n│       Relationship: wasInformedBy\n│       Activity: requirements_analysis\n│       Agent: requirements-analyst\n│       Date: 2026-02-03T13:00:00Z\n│\n├─→ REF-022-assessment.yaml (quality assessment)\n│   Relationship: wasDerivedFrom\n│   Activity: quality_assessment\n│   Agent: quality-agent\n│   Date: 2026-02-03T12:30:00Z\n│\n└─→ .claude\u002Frules\u002Fconversable-agent-interface.md (implementation rule)\n    Relationship: wasInformedBy\n    Activity: rule_creation\n    Agent: architect\n    Date: 2026-02-03T14:00:00Z\n\nSummary:\n  Total derived artifacts: 5\n  Derivation depth: 2 levels\n  Agents involved: 4 (documentation-agent, quality-agent, requirements-analyst, architect)\n  Time span: 2026-02-03 12:15 - 14:00 (1h 45m)\n```\n\n### What Cites Query\n\n```\n\u002Fresearch-provenance REF-022 --query what-cites\n\nProvenance Query: REF-022 - Citation Usage\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n\nSource: REF-022 (AutoGen: Enabling Next-Gen LLM Applications...)\n\nCitation Map:\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n\nDocuments citing REF-022:\n\n1. .aiwg\u002Farchitecture\u002Fagent-orchestration-sad.md\n   Lines: 78, 142, 267\n   Context: Multi-agent conversation patterns\n   Quality compliance: ✓ APPROPRIATE (MODERATE hedging for LOW evidence)\n\n2. .aiwg\u002Frequirements\u002Fuse-cases\u002FUC-174-conversable-agent.md\n   Lines: 23, 45\n   Context: Conversable agent interface design\n   Quality compliance: ✓ APPROPRIATE\n\n3. .claude\u002Frules\u002Fconversable-agent-interface.md\n   Lines: 12, 89\n   Context: Research foundation for agent protocol\n   Quality compliance: ✓ APPROPRIATE\n\n4. .claude\u002Frules\u002Fauto-reply-chains.md\n   Lines: 15, 34, 67\n   Context: Auto-reply pattern implementation\n   Quality compliance: ✓ APPROPRIATE\n\n5. docs\u002Fagent-framework.md\n   Lines: 78\n   Context: Agent capabilities overview\n   Quality compliance: ✗ VIOLATION - \"Research demonstrates\" too strong for LOW evidence\n   Suggestion: Change to \"Limited evidence suggests\"\n\n6. .aiwg\u002Farchitecture\u002Fadr-012-agent-protocol.md\n   Lines: 45\n   Context: Protocol design rationale\n   Quality compliance: ✗ VIOLATION - \"Studies prove\" too strong\n   Suggestion: Change to \"Preliminary findings indicate\"\n\nSummary:\n  Total citations: 12 (across 6 documents)\n  Compliant citations: 10 (83%)\n  Policy violations: 2 (17%)\n  Remediation needed: docs\u002Fagent-framework.md, .aiwg\u002Farchitecture\u002Fadr-012-agent-protocol.md\n```\n\n### History Query\n\n```\n\u002Fresearch-provenance .aiwg\u002Farchitecture\u002Fagent-orchestration-sad.md --query history\n\nProvenance Query: agent-orchestration-sad.md - Derivation History\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n\nArtifact: .aiwg\u002Farchitecture\u002Fagent-orchestration-sad.md\n\nDerivation History (chronological):\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n\n2026-01-15T10:00:00Z - CREATION\n  Activity: initial_architecture_design\n  Agent: architect\n  Based on:\n    - .aiwg\u002Frequirements\u002Fuse-cases\u002FUC-001-orchestrator.md\n    - .aiwg\u002Fintake\u002Fsolution-profile.md\n\n2026-01-20T14:30:00Z - REFINEMENT\n  Activity: architecture_refinement\n  Agent: architect\n  Informed by:\n    - REF-001-production-agentic.md (best practices)\n    - Technical review feedback\n\n2026-02-03T13:45:00Z - ENHANCEMENT\n  Activity: research_integration\n  Agent: architect\n  Integrated findings from:\n    - REF-022-autogen.md (conversable agent interface)\n    - REF-057-agent-laboratory.md (HITL patterns)\n  Changes:\n    - Added conversable agent interface section\n    - Enhanced HITL gate definitions\n    - Updated agent communication patterns\n\nCurrent State:\n  Version: 3.0\n  Last modified: 2026-02-03T13:45:00Z\n  Size: 47 KB\n  Sections: 12\n  Referenced by: 8 artifacts\n  Checksum: def456...\n\nProvenance Chain:\n  .aiwg\u002Frequirements\u002FUC-001-orchestrator.md\n    → .aiwg\u002Farchitecture\u002Fagent-orchestration-sad.md (v1.0)\n       ← REF-001-production-agentic.md\n    → .aiwg\u002Farchitecture\u002Fagent-orchestration-sad.md (v2.0)\n       ← REF-022-autogen.md\n       ← REF-057-agent-laboratory.md\n    → .aiwg\u002Farchitecture\u002Fagent-orchestration-sad.md (v3.0, current)\n```\n\n### Impact Analysis\n\n```\n\u002Fresearch-provenance REF-022 --query impact\n\nProvenance Query: REF-022 - Impact Analysis\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n\nSource: REF-022 (AutoGen: Enabling Next-Gen LLM Applications...)\n\nImpact Analysis: What would be affected by changes to REF-022?\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n\nDirect Dependencies (5):\n  - REF-022-autogen.md (finding document) - CRITICAL\n  - REF-022-assessment.yaml (quality assessment) - HIGH\n  - REF-022-notes.md (literature notes) - MEDIUM\n  - UC-174-conversable-agent.md (use case) - HIGH\n  - .claude\u002Frules\u002Fconversable-agent-interface.md - HIGH\n\nIndirect Dependencies (12):\n  - .aiwg\u002Farchitecture\u002Fagent-orchestration-sad.md\n  - src\u002Fagents\u002Fconversable-agent-interface.ts\n  - test\u002Funit\u002Fagents\u002Fconversable-agent.test.ts\n  - .claude\u002Frules\u002Fauto-reply-chains.md\n  - docs\u002Fagent-framework.md\n  ... (7 more)\n\nCitation Dependencies (12 citations across 6 documents):\n  - 10 citations in architecture\u002Frequirements\n  - 2 citations in documentation\n\nImplementation Dependencies (3):\n  - src\u002Fagents\u002Fconversable-agent-interface.ts (implements patterns)\n  - src\u002Forchestration\u002Fconversation-manager.ts (uses patterns)\n  - test\u002Fintegration\u002Fmulti-agent-conversation.test.ts (validates patterns)\n\nImpact Metrics:\n  Total affected artifacts: 17\n  Critical dependencies: 1\n  High priority dependencies: 4\n  Medium priority dependencies: 3\n  Citation count: 12\n\nRisk Assessment:\n  If REF-022 quality assessment changes from LOW to VERY LOW:\n    - 2 citations would become violations (overclaiming)\n    - 1 use case would need revision\n    - 1 implementation rule would need hedging update\n\n  If REF-022 findings are contradicted by new research:\n    - 5 artifacts would require immediate review\n    - 12 citations would need revalidation\n    - 3 implementation patterns would need reassessment\n```\n\n## Validation\n\nWhen --validate is used:\n\n```\n\u002Fresearch-provenance REF-022 --validate\n\nValidating Provenance Chain: REF-022\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n\nValidation Checks:\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n\n✓ All provenance records exist\n✓ All referenced artifacts exist\n✓ All agents are registered\n✓ All activities have timestamps\n✓ All derivation chains are complete\n✓ No circular dependencies detected\n✓ All checksums match fixity manifest\n✗ 2 citation policy violations found\n\nIssues:\n  [WARNING] Citation policy violation in docs\u002Fagent-framework.md:78\n    - Hedging too strong for GRADE level\n    - Recommendation: Update to \"Limited evidence suggests\"\n\n  [WARNING] Citation policy violation in .aiwg\u002Farchitecture\u002Fadr-012-agent-protocol.md:45\n    - Hedging too strong for GRADE level\n    - Recommendation: Update to \"Preliminary findings indicate\"\n\nOverall Status: PASS with warnings\n  Critical issues: 0\n  Warnings: 2\n  Info: 0\n\nRemediation:\n  Run: \u002Fresearch-quality REF-022 --check-citations --fix\n```\n\n## GraphViz Export\n\nExport provenance graph for visualization:\n\n```bash\n\u002Fresearch-provenance REF-022 --query lineage --export-dot\n\nOutput:\n  Provenance graph exported to: .aiwg\u002Fresearch\u002Fprovenance\u002Fgraphs\u002FREF-022-lineage.dot\n\n  To visualize:\n    dot -Tpng REF-022-lineage.dot -o REF-022-lineage.png\n    dot -Tsvg REF-022-lineage.dot -o REF-022-lineage.svg\n```\n\n## References\n\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fresearch-complete\u002Fagents\u002Fprovenance-agent.md - Provenance Agent\n- @$AIWG_ROOT\u002Fsrc\u002Fresearch\u002Fservices\u002Fprovenance-service.ts - Provenance query implementation\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002Fschemas\u002Fprovenance\u002Fprov-record.yaml - PROV schema\n- @.aiwg\u002Fresearch\u002Fprovenance\u002FREADME.md - Provenance tracking\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002Frules\u002Fprovenance-tracking.md - Provenance requirements\n- https:\u002F\u002Fwww.w3.org\u002FTR\u002Fprov-dm\u002F - W3C PROV-DM specification\n","# Research Provenance Command\n\nThis workflow remains active. Its records can be projected to the Dataset\nIntelligence ledger, but arbitrary entity\u002Factivity attributes require a\ngoverned extension. See the [dataset migration\nguide](https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Faddons\u002Fdataset-intelligence\u002Fdocs\u002Fmigration-guide.md).\n\nQuery W3C PROV-compliant provenance chains to trace artifact derivations and relationships.\n\n## Instructions\n\nWhen invoked, perform provenance queries:\n\n1. **Load Provenance Records**\n   - If REF-XXX, load all provenance records for that paper\n   - If artifact path, load records for that specific artifact\n   - Build provenance graph from PROV relationships\n\n2. **Execute Query**\n   - Query types:\n     - `what-derives` - What artifacts derive from this source?\n     - `what-cites` - What documents cite this source?\n     - `history` - Full derivation history of this artifact\n     - `lineage` - Complete lineage from source to current state\n     - `impact` - Impact analysis (what would be affected by changes?)\n\n3. **Traverse Graph**\n   - Follow `wasDerivedFrom` relationships\n   - Follow `wasGeneratedBy` activities\n   - Follow `wasAssociatedWith` agents\n   - Collect all related entities, activities, and agents\n\n4. **Format Results**\n   - Visualize as tree, graph, or table\n   - Show derivation chains\n   - Highlight gaps or inconsistencies\n   - Calculate impact metrics\n\n5. **Report**\n   - Display provenance chain\n   - Show relationship types\n   - Include timestamps and agents\n   - Flag any provenance issues\n\n## Arguments\n\n- `[ref-id or path]` - Source identifier or artifact path (required)\n- `--query [what-derives|what-cites|history|lineage|impact]` - Query type (default: what-derives)\n- `--depth [n]` - Maximum graph traversal depth (default: 5)\n- `--output [tree|graph|table|json]` - Output format (default: tree)\n- `--validate` - Validate provenance chain integrity\n- `--export-dot` - Export as GraphViz DOT format\n\n## Examples\n\n```bash\n# Find what derives from a paper\n\u002Fresearch-provenance REF-022 --query what-derives\n\n# Find citation usage\n\u002Fresearch-provenance REF-022 --query what-cites\n\n# Get full history of an artifact\n\u002Fresearch-provenance .aiwg\u002Farchitecture\u002Fagent-orchestration-sad.md --query history\n\n# Analyze impact of changes\n\u002Fresearch-provenance REF-022 --query impact --depth 10\n\n# Validate provenance chain\n\u002Fresearch-provenance REF-022 --validate\n\n# Export as graph\n\u002Fresearch-provenance REF-022 --query lineage --export-dot\n```\n\n## Expected Output\n\n### What Derives Query\n\n```\n\u002Fresearch-provenance REF-022 --query what-derives\n\nProvenance Query: REF-022 - What Derives From This Source?\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n\nSource: REF-022 (AutoGen: Enabling Next-Gen LLM Applications...)\n\nDerivation Tree:\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n\nREF-022.pdf (source paper)\n│\n├─→ REF-022-autogen.md (finding document)\n│   │   Relationship: wasDerivedFrom\n│   │   Activity: documentation\n│   │   Agent: documentation-agent\n│   │   Date: 2026-02-03T12:15:00Z\n│   │\n│   ├─→ REF-022-notes.md (literature notes)\n│   │   Relationship: wasDerivedFrom\n│   │   Activity: synthesis\n│   │   Agent: documentation-agent\n│   │   Date: 2026-02-03T12:20:00Z\n│   │\n│   └─→ UC-174-conversable-agent.md (use case)\n│       Relationship: wasInformedBy\n│       Activity: requirements_analysis\n│       Agent: requirements-analyst\n│       Date: 2026-02-03T13:00:00Z\n│\n├─→ REF-022-assessment.yaml (quality assessment)\n│   Relationship: wasDerivedFrom\n│   Activity: quality_assessment\n│   Agent: quality-agent\n│   Date: 2026-02-03T12:30:00Z\n│\n└─→ .claude\u002Frules\u002Fconversable-agent-interface.md (implementation rule)\n    Relationship: wasInformedBy\n    Activity: rule_creation\n    Agent: architect\n    Date: 2026-02-03T14:00:00Z\n\nSummary:\n  Total derived artifacts: 5\n  Derivation depth: 2 levels\n  Agents involved: 4 (documentation-agent, quality-agent, requirements-analyst, architect)\n  Time span: 2026-02-03 12:15 - 14:00 (1h 45m)\n```\n\n### What Cites Query\n\n```\n\u002Fresearch-provenance REF-022 --query what-cites\n\nProvenance Query: REF-022 - Citation Usage\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n\nSource: REF-022 (AutoGen: Enabling Next-Gen LLM Applications...)\n\nCitation Map:\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n\nDocuments citing REF-022:\n\n1. .aiwg\u002Farchitecture\u002Fagent-orchestration-sad.md\n   Lines: 78, 142, 267\n   Context: Multi-agent conversation patterns\n   Quality compliance: ✓ APPROPRIATE (MODERATE hedging for LOW evidence)\n\n2. .aiwg\u002Frequirements\u002Fuse-cases\u002FUC-174-conversable-agent.md\n   Lines: 23, 45\n   Context: Conversable agent interface design\n   Quality compliance: ✓ APPROPRIATE\n\n3. .claude\u002Frules\u002Fconversable-agent-interface.md\n   Lines: 12, 89\n   Context: Research foundation for agent protocol\n   Quality compliance: ✓ APPROPRIATE\n\n4. .claude\u002Frules\u002Fauto-reply-chains.md\n   Lines: 15, 34, 67\n   Context: Auto-reply pattern implementation\n   Quality compliance: ✓ APPROPRIATE\n\n5. docs\u002Fagent-framework.md\n   Lines: 78\n   Context: Agent capabilities overview\n   Quality compliance: ✗ VIOLATION - \"Research demonstrates\" too strong for LOW evidence\n   Suggestion: Change to \"Limited evidence suggests\"\n\n6. .aiwg\u002Farchitecture\u002Fadr-012-agent-protocol.md\n   Lines: 45\n   Context: Protocol design rationale\n   Quality compliance: ✗ VIOLATION - \"Studies prove\" too strong\n   Suggestion: Change to \"Preliminary findings indicate\"\n\nSummary:\n  Total citations: 12 (across 6 documents)\n  Compliant citations: 10 (83%)\n  Policy violations: 2 (17%)\n  Remediation needed: docs\u002Fagent-framework.md, .aiwg\u002Farchitecture\u002Fadr-012-agent-protocol.md\n```\n\n### History Query\n\n```\n\u002Fresearch-provenance .aiwg\u002Farchitecture\u002Fagent-orchestration-sad.md --query history\n\nProvenance Query: agent-orchestration-sad.md - Derivation History\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n\nArtifact: .aiwg\u002Farchitecture\u002Fagent-orchestration-sad.md\n\nDerivation History (chronological):\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n\n2026-01-15T10:00:00Z - CREATION\n  Activity: initial_architecture_design\n  Agent: architect\n  Based on:\n    - .aiwg\u002Frequirements\u002Fuse-cases\u002FUC-001-orchestrator.md\n    - .aiwg\u002Fintake\u002Fsolution-profile.md\n\n2026-01-20T14:30:00Z - REFINEMENT\n  Activity: architecture_refinement\n  Agent: architect\n  Informed by:\n    - REF-001-production-agentic.md (best practices)\n    - Technical review feedback\n\n2026-02-03T13:45:00Z - ENHANCEMENT\n  Activity: research_integration\n  Agent: architect\n  Integrated findings from:\n    - REF-022-autogen.md (conversable agent interface)\n    - REF-057-agent-laboratory.md (HITL patterns)\n  Changes:\n    - Added conversable agent interface section\n    - Enhanced HITL gate definitions\n    - Updated agent communication patterns\n\nCurrent State:\n  Version: 3.0\n  Last modified: 2026-02-03T13:45:00Z\n  Size: 47 KB\n  Sections: 12\n  Referenced by: 8 artifacts\n  Checksum: def456...\n\nProvenance Chain:\n  .aiwg\u002Frequirements\u002FUC-001-orchestrator.md\n    → .aiwg\u002Farchitecture\u002Fagent-orchestration-sad.md (v1.0)\n       ← REF-001-production-agentic.md\n    → .aiwg\u002Farchitecture\u002Fagent-orchestration-sad.md (v2.0)\n       ← REF-022-autogen.md\n       ← REF-057-agent-laboratory.md\n    → .aiwg\u002Farchitecture\u002Fagent-orchestration-sad.md (v3.0, current)\n```\n\n### Impact Analysis\n\n```\n\u002Fresearch-provenance REF-022 --query impact\n\nProvenance Query: REF-022 - Impact Analysis\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n\nSource: REF-022 (AutoGen: Enabling Next-Gen LLM Applications...)\n\nImpact Analysis: What would be affected by changes to REF-022?\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n\nDirect Dependencies (5):\n  - REF-022-autogen.md (finding document) - CRITICAL\n  - REF-022-assessment.yaml (quality assessment) - HIGH\n  - REF-022-notes.md (literature notes) - MEDIUM\n  - UC-174-conversable-agent.md (use case) - HIGH\n  - .claude\u002Frules\u002Fconversable-agent-interface.md - HIGH\n\nIndirect Dependencies (12):\n  - .aiwg\u002Farchitecture\u002Fagent-orchestration-sad.md\n  - src\u002Fagents\u002Fconversable-agent-interface.ts\n  - test\u002Funit\u002Fagents\u002Fconversable-agent.test.ts\n  - .claude\u002Frules\u002Fauto-reply-chains.md\n  - docs\u002Fagent-framework.md\n  ... (7 more)\n\nCitation Dependencies (12 citations across 6 documents):\n  - 10 citations in architecture\u002Frequirements\n  - 2 citations in documentation\n\nImplementation Dependencies (3):\n  - src\u002Fagents\u002Fconversable-agent-interface.ts (implements patterns)\n  - src\u002Forchestration\u002Fconversation-manager.ts (uses patterns)\n  - test\u002Fintegration\u002Fmulti-agent-conversation.test.ts (validates patterns)\n\nImpact Metrics:\n  Total affected artifacts: 17\n  Critical dependencies: 1\n  High priority dependencies: 4\n  Medium priority dependencies: 3\n  Citation count: 12\n\nRisk Assessment:\n  If REF-022 quality assessment changes from LOW to VERY LOW:\n    - 2 citations would become violations (overclaiming)\n    - 1 use case would need revision\n    - 1 implementation rule would need hedging update\n\n  If REF-022 findings are contradicted by new research:\n    - 5 artifacts would require immediate review\n    - 12 citations would need revalidation\n    - 3 implementation patterns would need reassessment\n```\n\n## Validation\n\nWhen --validate is used:\n\n```\n\u002Fresearch-provenance REF-022 --validate\n\nValidating Provenance Chain: REF-022\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n\nValidation Checks:\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n\n✓ All provenance records exist\n✓ All referenced artifacts exist\n✓ All agents are registered\n✓ All activities have timestamps\n✓ All derivation chains are complete\n✓ No circular dependencies detected\n✓ All checksums match fixity manifest\n✗ 2 citation policy violations found\n\nIssues:\n  [WARNING] Citation policy violation in docs\u002Fagent-framework.md:78\n    - Hedging too strong for GRADE level\n    - Recommendation: Update to \"Limited evidence suggests\"\n\n  [WARNING] Citation policy violation in .aiwg\u002Farchitecture\u002Fadr-012-agent-protocol.md:45\n    - Hedging too strong for GRADE level\n    - Recommendation: Update to \"Preliminary findings indicate\"\n\nOverall Status: PASS with warnings\n  Critical issues: 0\n  Warnings: 2\n  Info: 0\n\nRemediation:\n  Run: \u002Fresearch-quality REF-022 --check-citations --fix\n```\n\n## GraphViz Export\n\nExport provenance graph for visualization:\n\n```bash\n\u002Fresearch-provenance REF-022 --query lineage --export-dot\n\nOutput:\n  Provenance graph exported to: .aiwg\u002Fresearch\u002Fprovenance\u002Fgraphs\u002FREF-022-lineage.dot\n\n  To visualize:\n    dot -Tpng REF-022-lineage.dot -o REF-022-lineage.png\n    dot -Tsvg REF-022-lineage.dot -o REF-022-lineage.svg\n```\n\n## References\n\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fresearch-complete\u002Fagents\u002Fprovenance-agent.md - Provenance Agent\n- @$AIWG_ROOT\u002Fsrc\u002Fresearch\u002Fservices\u002Fprovenance-service.ts - Provenance query implementation\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002Fschemas\u002Fprovenance\u002Fprov-record.yaml - PROV schema\n- @.aiwg\u002Fresearch\u002Fprovenance\u002FREADME.md - Provenance tracking\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002Frules\u002Fprovenance-tracking.md - Provenance requirements\n- https:\u002F\u002Fwww.w3.org\u002FTR\u002Fprov-dm\u002F - W3C PROV-DM specification\n",{"name":5,"namespace":44,"platforms":45,"commandHint":47,"description":7},"aiwg",[46],"all",{"category":5,"argumentHint":48},"[REF-XXX or artifact-path] [--query what-derives|what-cites|history]","main","6754967c344ccb087a8de06972f55a41067b291b","agentic\u002Fcode\u002Fplugins\u002Fresearch\u002Fskills\u002Fresearch-provenance",36,"https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg","https:\u002F\u002Faiwg.io","https:\u002F\u002Fgithub.com\u002Fjmagly","https:\u002F\u002Fintegrolabs.io","ml\u002Fai, industrial automation, safety\u002Fsecurity, ssi\r\n\r\nmagly.net\r\nintegrolabs.io\r\naiwg.io\r\nfortemi.com\r\npagenary.com\r\nbytecask.com","2026-11-14 10:46:34",{"source":9,"skillName":5,"commands":60,"prompt":70,"zipAvailable":71},[61,64,67],{"tool":62,"command":63},"npx","npx skills add jmagly\u002Faiwg --skill research-provenance",{"tool":65,"command":66},"bunx","bunx skills add jmagly\u002Faiwg --skill research-provenance",{"tool":68,"command":69},"pnpm","pnpm dlx skills add jmagly\u002Faiwg --skill research-provenance","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fresearch\u002Fskills\u002Fresearch-provenance\u002FSKILL.md",true,[],[74,82,87,114,134,139],{"skillNo":75,"name":76,"nameZh":17,"description":77,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":81},"01M78KW7PZJ9YQZQMW84SN2YD4","plugin-search","Search marketplaces for plugins using configured local manifests and directory caches; rank matching plugins by observed installs, review tier and cache dates without installing or fetching anything","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Futils\u002Fskills\u002Fplugin-search\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":83,"name":76,"nameZh":17,"description":77,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":81},"01M78KSEZS9ZNNFESY9ANW22S0","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Fskills\u002Fplugin-search\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":17,"description":90,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":39},"01M70QA0BSYJ49EES9V4RE8QH1","host-hardening","Read-only system hardening baseline and plan-first host hardening recommendations for SSH, Docker bind addresses, firewall persistence, datastores, exporters and audit retention.","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fsecurity-engineering\u002Fskills\u002Fhost-hardening\u002FSKILL.md",[],[94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113],"hardening","host","host hardening","verification","secrets","read","request","remediation","recommendations","audit","plan","port","bind","Bash","access","only","retention","re","never","firewall",{"skillNo":115,"name":116,"nameZh":17,"description":117,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":39},"01M70PNT2Z4HMZPRBTAF6073NN","exposure-analysis","Read-only firewall analysis and effective host exposure reconstruction for Docker published ports, UFW bypass, stale rules, CDN scope, IPv6 asymmetry and external probe allowlists.","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fforensics\u002Fskills\u002Fexposure-analysis\u002FSKILL.md",[],[121,122,123,124,125,126,99,127,105,112,107,128,95,129,109,130,131,113,132,133],"analysis","exposure analysis","collection","reconstruction","operator","write","credentials","unknown","internet","local","scope","ports","ufw",{"skillNo":135,"name":89,"nameZh":17,"description":90,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":136,"categories":137,"keywords":138,"publishedAt":39},"01M70P8QATMPKA78E4FT5D2TNA","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsecurity-engineering\u002Fskills\u002Fhost-hardening\u002FSKILL.md",[],[94,95,96,111,112,113,106,110,102,98,99,100,101,103,104,105,97,107,108,109],{"skillNo":140,"name":116,"nameZh":17,"description":117,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":141,"categories":142,"keywords":143,"publishedAt":39},"01M70NMPVJ5H0JH131P60FW4R8","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fforensics-complete\u002Fskills\u002Fexposure-analysis\u002FSKILL.md",[],[121,122,133,132,125,131,130,109,124,126,99,127,105,123,107,128,95,113,112,129]]