II.
Page overview
Reference · livepage:docs-harness-features-backlog-gaps-prompt-engineering-gap-prompt-002
GAP-PROMPT-002: Deterministic Capability Projection overview
Inspect the raw attributes, linked wiki pages, and inbound or outbound graph edges for page:docs-harness-features-backlog-gaps-prompt-engineering-gap-prompt-002.
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
# GAP-PROMPT-002: Deterministic Capability Projection
| Field | Value |
|-------|-------|
| Category | prompt-engineering |
| Priority | High |
| Effort | M |
| Status | Partial |
## Description
Ensure 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.
## Current State
Capability 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.
## Target State
A 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.
## Dependencies
- [GAP-PROMPT-001](../prompt-engineering/GAP-PROMPT-001.md) -- needs strata model for runtime stratum
- [GAP-ECO-004](../ecosystem/GAP-ECO-004.md) -- feature registry for flag projection
## Key Files
| Component | Path |
|-----------|------|
| Prompts module | `packages/sdk/src/prompts/` |
| Skill discovery | `packages/sdk/src/cli/` |
| Plugin package reader | `packages/sdk/src/plugins/packageReader.ts` |
| Process library | `packages/sdk/src/processLibrary/` |
| CC prompt phrasing analysis | [`11-prompt-phrasing-analysis.md`](../../11-prompt-phrasing-analysis.md) -- Section 11 (Environment Context Assembly) documents capability injection patterns |
## Recommendation
Phase 2 implementation. Build a capability collector that queries all installed surfaces and projects collected capabilities into the runtime stratum of the prompt.
documents
[]
Outgoing edges
None.
Incoming edges
contains_page1
- page:docs-harness-features-backlog·PageHarness Features Backlog: Gap Analysis (Restructured)