# SP GH Copilot Kit Capability Map

## Scope
Project-level capability map for the SP GH Copilot Kit.

This semantic map is the authoritative source for what the capabilities are and what they mean.
Visualization properties and any HTML page are companion artefacts for layout and presentation only.

## Hierarchy decision
- Level 0 container: PICARD phases.
- Level 1: repo capabilities nested inside those phases.
- Secondary lens: customer proximity and user visibility remain visible, but they are not the top structure in this repo.
- Rationale:
  - This project is explicitly a PICARD-oriented workflow kit.
  - Using PICARD as the top structure gives the map a stronger navigational grammar than a generic customer-facing versus internal split.
  - The default customer-facing/internal lens still matters, but here it works better as a secondary read inside each phase sector.
- Feature transition:
  - Future feature maps can branch from these capabilities into more concrete surfaces such as the bridge console, capability planning, host transformation, prompt refactoring, visualization hubs, or packaging/update flows.

## Layout heuristic
- Primary structure: follow the PICARD cycle clockwise.
- Secondary structure: read the more customer-facing and more visible capabilities as the more prominent cards inside each phase.
- The layout is a navigation aid, not a rigid taxonomy.
- The graphical map should stay low-density and readable; it should not try to carry the full semantic explanation inside the phase cards.

## Hierarchy placement
- Level 0:
  - PICARD phases act as the primary outer containers and navigation anchors.
- Level 1:
  - Repo capabilities sit inside their owning PICARD phase container.
  - They should not float outside the phase that gives them meaning.
- Future Level 2:
  - If sub-capabilities are added later, they should sit inside or directly below their Level 1 parent within the same phase container.
  - They should appear as nested child boxes, stacked child rows, or a clearly bounded child band.
- Future Level 3:
  - If needed, they should remain nested under the Level 2 parent rather than being scattered as free-floating nodes.
- Rare exception:
  - If a future scope clearly does not want a hierarchy, say that explicitly and switch to a flatter map instead of faking containment.

## Visualization plan
- Template family: circle.
- Layout grammar: PICARD radial panels around a shared center, with non-overlapping phase containers.
- Why this grammar fits:
  - the repo already explains itself through PICARD;
  - the main promise is not a flat toolbox, but a navigable cycle from raw work to durable truth;
  - PICARD offers a meaningful upper structure for the capability families instead of an arbitrary one.
- Visual encodings:
  - phase structure -> sector placement around the circle
  - scope breadth -> card width
  - complexity -> badge value `C#`
  - importance -> fill emphasis `I#`
  - gap to target -> border emphasis `G#`
  - dependency -> ring arrows between phase sectors, where `A -> B` means `A` depends on `B`
  - customer proximity -> small proximity tag inside the capability card
- Density split:
  - graphical map -> capability title plus `C#` badge only
  - semantic readout -> description, proximity, visibility, importance, complexity, gap, and notes
- Intentional deviation from the default heuristic:
  - The default top split for many projects is `customer-facing` versus `internal/enabling`.
  - For this repo, PICARD is the better Level 0 structure because it is the repo's own organizing principle.

## Level 0 structure

| Level 0 | Purpose |
|---|---|
| Problem | Turn raw incoming work into a navigable starting point. |
| Impact | Decide what matters, where value sits, and where focus should move next. |
| Cause | Expose the structures, dependencies, and host-model causes that shape the system. |
| Action | Choose governed next moves and shape change bundles before applying them. |
| Response | Execute and validate changes with gates, evidence, and operational safety. |
| Documentation | Capture durable truth and publish navigable project surfaces back into the repo. |

## Capabilities

| ID | Level | Parent or container | Capability | Provider-side description | Customer proximity | User visibility | Importance (1-5) | Complexity (1-5) | Gap to target (1-5) | Notes |
|---|---|---|---|---|---|---|---:|---:|---:|---|
| CAP-P1 | L1 | Problem | Analyze rough asks into structured understanding | Turn rough asks, repo signals, and incomplete stories into grounded PICARD understanding. | customer-facing | high | 5 | 3 | 2 | Feeds the rest of the cycle by framing what the work actually is. |
| CAP-P2 | L1 | Problem | Orient crews from raw asks into the workflow | Help people find the right entry point through bridge, atlas, help, and other orientation surfaces. | customer-facing | high | 5 | 3 | 2 | Visible promise layer for newcomers and maintainers. |
| CAP-I1 | L1 | Impact | Map capabilities and domain scope before feature slicing | Organize broad problem space into stable containers before the work narrows into features, tasks, or fixes. | mixed | medium | 4 | 3 | 3 | Capability planning is newer than the classic Golden Path and still maturing. |
| CAP-I2 | L1 | Impact | Prioritize and heat-map stable containers | Highlight what matters most, where uncertainty or value is concentrated, and where scarce effort should move next. | mixed | medium | 4 | 3 | 4 | Prompt surfaces exist, but the decision overlays are still early compared to the rest of the kit. |
| CAP-C1 | L1 | Cause | Model the authoritative workflow core and architecture | Keep rules, HLDs, the workflow contract, and architectural relationships coherent as one semantic backbone. | mixed | medium | 5 | 5 | 2 | This is the main explanatory substrate under the visible workflow. |
| CAP-C2 | L1 | Cause | Transform shared workflow truth into host adapters and prompt surfaces | Project the same core workflow into GitHub Copilot, Codex, and future hosts without splitting truth. | enabling-internal | medium | 5 | 5 | 3 | Includes prompt-surface evolution and adapter synchronization. |
| CAP-A1 | L1 | Action | Coordinate active work through shared planning, claims, and handoffs | Keep plan state, ownership, next moves, and governed handoffs visible while work is in flight. | mixed | high | 5 | 4 | 2 | The operational bridge between discovery and execution. |
| CAP-A2 | L1 | Action | Shape governed change proposals for docs, prompts, and visualizations | Use propose/apply workflows to evolve kit surfaces without bypassing the durable truth layers. | mixed | medium | 4 | 4 | 2 | Includes HLD, prompt, and visualization bundle proposal flows. |
| CAP-R1 | L1 | Response | Gate implementation and testing against documented intent | Require explanation, testing intent, and executed evidence before implementation and closeout count as done. | mixed | medium | 5 | 4 | 2 | The execution-gate contract keeps work defensible. |
| CAP-R2 | L1 | Response | Validate, package, publish, update, and import kit changes safely | Operate the kit across repos and published surfaces without losing consistency or provenance. | enabling-internal | low | 4 | 5 | 3 | This is the operational response layer for shipping and reverse integration. |
| CAP-D1 | L1 | Documentation | Capture durable documentation truth across repo surfaces | Route outcomes, decisions, and learnings back into README, HLDs, rules, and the plan instead of leaving them in chat only. | mixed | medium | 5 | 4 | 2 | Durable documentation is the memory of the kit. |
| CAP-D2 | L1 | Documentation | Publish navigable visual surfaces for the project | Turn architecture, PICARD, Golden Path, bridge, and capability maps into discoverable project views. | customer-facing | high | 4 | 4 | 2 | This is how the kit explains itself quickly to real readers. |

## Visualization planning inputs

| ID | Scope breadth (1-5) | Complexity badge | Importance fill | Gap to target (1-5) | Dependency note |
|---|---:|---|---|---:|---|
| CAP-P1 | 4 | C3 | I5 | 2 | Starts the cycle and feeds Impact and Action. |
| CAP-P2 | 4 | C3 | I5 | 2 | Depends on Documentation staying coherent and visible. |
| CAP-I1 | 4 | C3 | I4 | 3 | Depends on a framed problem and helps Action narrow the work. |
| CAP-I2 | 3 | C3 | I4 | 4 | Depends on I1 and should later drive stronger overlays. |
| CAP-C1 | 5 | C5 | I5 | 2 | Depends on framed scope and anchors later Action, Response, and Documentation. |
| CAP-C2 | 4 | C5 | I5 | 3 | Depends on C1 and supports operational Response work. |
| CAP-A1 | 4 | C4 | I5 | 2 | Depends on Problem and Impact being clear enough to claim and plan. |
| CAP-A2 | 4 | C4 | I4 | 2 | Depends on Cause and Action coordination to stay governed. |
| CAP-R1 | 4 | C4 | I5 | 2 | Depends on A1 and C1 so implementation is grounded and testable. |
| CAP-R2 | 4 | C5 | I4 | 3 | Depends on A2 and C2 for safe operation across repos and hosts. |
| CAP-D1 | 4 | C4 | I5 | 2 | Depends on Action and Response outcomes being real and evidence-backed. |
| CAP-D2 | 4 | C4 | I4 | 2 | Depends on D1 and feeds the next Problem entry through better orientation. |

## Reading
PICARD is not just explanatory language in this repo; here it becomes the capability superstructure.
The map reads as a cycle of capability families rather than as a flat list of tools.
Customer-facing versus internal is still visible, but it now acts as a secondary lens inside the phase sectors instead of overriding the repo's own organizing principle.
The biggest remaining gap sits in Impact, where capability navigation, prioritization, and heat overlays are present conceptually and in prompt form, but still less mature than the surrounding cycle.

## Source notes
This map is a best-effort project-level first pass derived from:
- README.md
- README-SP-COPILOT-KIT.md
- sp-plan/PLAN.md
- sp-docs/sp-plan-workflow-contract.md
- sp-docs/hld/HLD-kit-capability-planning.md
- sp-docs/hld/HLD-kit-capability-map-lifecycle.md
- sp-docs/hld/HLD-kit-project-visualization-model.md
- sp-docs/hld/HLD-kit-agent-agnostic.md
- sp-docs/hld/HLD-kit-host-transformation-model.md
- sp-docs/hld/HLD-kit-task-execution-gates.md
