iiRecord
Agentic AI Atlas · GAP-PROMPT-002: Deterministic Capability Projection
page:docs-harness-features-backlog-gaps-prompt-engineering-gap-prompt-002a5c.ai
II.
Page JSON

page:docs-harness-features-backlog-gaps-prompt-engineering-gap-prompt-002

Structured · live

GAP-PROMPT-002: Deterministic Capability Projection json

Inspect the normalized record payload exactly as the atlas UI reads it.

File · wiki/docs/harness-features-backlog/gaps/prompt-engineering/gap-prompt-002.mdCluster · wiki
Record JSON
{
  "id": "page:docs-harness-features-backlog-gaps-prompt-engineering-gap-prompt-002",
  "_kind": "Page",
  "_file": "wiki/docs/harness-features-backlog/gaps/prompt-engineering/gap-prompt-002.md",
  "_cluster": "wiki",
  "attributes": {
    "nodeKind": "Page",
    "sourcePath": "docs/harness-features-backlog/gaps/prompt-engineering/GAP-PROMPT-002.md",
    "sourceKind": "repo-docs",
    "title": "GAP-PROMPT-002: Deterministic Capability Projection",
    "displayName": "GAP-PROMPT-002: Deterministic Capability Projection",
    "slug": "docs/harness-features-backlog/gaps/prompt-engineering/gap-prompt-002",
    "articlePath": "wiki/docs/harness-features-backlog/gaps/prompt-engineering/GAP-PROMPT-002.md",
    "article": "\n# GAP-PROMPT-002: Deterministic Capability Projection\n\n| Field | Value |\n|-------|-------|\n| Category | prompt-engineering |\n| Priority | High |\n| Effort | M |\n| Status | Partial |\n\n## Description\nEnsure that prompts deterministically reflect all available capabilities (installed plugins, active process library, available harnesses, feature flags) so that orchestrated harnesses have accurate knowledge of what they can do.\n\n## Current State\nCapability projection is inconsistent. Skills from `skill:discover` may or may not appear in prompts. Plugin hooks influence behavior but are not projected. Process library binding changes available processes but prompts may not reflect this.\n\n## Target State\nA capability collector queries all installed surfaces (plugins, skills, process library bindings, harness adapters, feature flags) and projects them into the runtime stratum of the prompt. Capabilities are deterministic -- same inputs always produce same prompt.\n\n## Dependencies\n- [GAP-PROMPT-001](../prompt-engineering/GAP-PROMPT-001.md) -- needs strata model for runtime stratum\n- [GAP-ECO-004](../ecosystem/GAP-ECO-004.md) -- feature registry for flag projection\n\n## Key Files\n| Component | Path |\n|-----------|------|\n| Prompts module | `packages/sdk/src/prompts/` |\n| Skill discovery | `packages/sdk/src/cli/` |\n| Plugin package reader | `packages/sdk/src/plugins/packageReader.ts` |\n| Process library | `packages/sdk/src/processLibrary/` |\n| CC prompt phrasing analysis | [`11-prompt-phrasing-analysis.md`](../../11-prompt-phrasing-analysis.md) -- Section 11 (Environment Context Assembly) documents capability injection patterns |\n\n## Recommendation\nPhase 2 implementation. Build a capability collector that queries all installed surfaces and projects collected capabilities into the runtime stratum of the prompt.\n",
    "documents": []
  },
  "outgoingEdges": [],
  "incomingEdges": [
    {
      "from": "page:docs-harness-features-backlog",
      "to": "page:docs-harness-features-backlog-gaps-prompt-engineering-gap-prompt-002",
      "kind": "contains_page"
    }
  ]
}