II.
Page JSON
Structured · livepage:docs-harness-features-backlog-gaps-prompt-engineering-gap-prompt-004
GAP-PROMPT-004: Prompt Inspection Tooling json
Inspect the normalized record payload exactly as the atlas UI reads it.
{
"id": "page:docs-harness-features-backlog-gaps-prompt-engineering-gap-prompt-004",
"_kind": "Page",
"_file": "wiki/docs/harness-features-backlog/gaps/prompt-engineering/gap-prompt-004.md",
"_cluster": "wiki",
"attributes": {
"nodeKind": "Page",
"sourcePath": "docs/harness-features-backlog/gaps/prompt-engineering/GAP-PROMPT-004.md",
"sourceKind": "repo-docs",
"title": "GAP-PROMPT-004: Prompt Inspection Tooling",
"displayName": "GAP-PROMPT-004: Prompt Inspection Tooling",
"slug": "docs/harness-features-backlog/gaps/prompt-engineering/gap-prompt-004",
"articlePath": "wiki/docs/harness-features-backlog/gaps/prompt-engineering/GAP-PROMPT-004.md",
"article": "\n# GAP-PROMPT-004: Prompt Inspection Tooling\n\n| Field | Value |\n|-------|-------|\n| Category | prompt-engineering |\n| Priority | Medium |\n| Effort | M |\n| Status | Partial |\n\n## Description\nProvide tooling to inspect the fully assembled prompt sent to harnesses, including strata boundaries, token counts per section, and capability projections.\n\n## Current State\nThe `instructions:*` commands are partial and phase-centric. No way to see the full assembled prompt with all sections, token breakdown, or strata boundaries.\n\n## Target State\nAn `instructions:inspect` command shows the complete prompt assembly with strata labels, token counts per section, and cache-stability annotations. Useful for debugging prompt regressions and optimizing token usage.\n\n## Dependencies\n- [GAP-PROMPT-001](../prompt-engineering/GAP-PROMPT-001.md) -- strata model for meaningful inspection\n\n## Key Files\n| Component | Path |\n|-----------|------|\n| Prompts module | `packages/sdk/src/prompts/` |\n| Instructions CLI | `packages/sdk/src/cli/` |\n| CC prompt phrasing analysis | [`11-prompt-phrasing-analysis.md`](../../11-prompt-phrasing-analysis.md) -- Full document catalogs the exact prompt sections that inspection tooling should surface |\n\n## Recommendation\nPhase 3 implementation. Add `instructions:inspect` CLI command that renders the full prompt with metadata annotations.\n",
"documents": []
},
"outgoingEdges": [],
"incomingEdges": [
{
"from": "page:docs-harness-features-backlog",
"to": "page:docs-harness-features-backlog-gaps-prompt-engineering-gap-prompt-004",
"kind": "contains_page"
}
]
}