# Goga Change Scope Resolver

> Resolving the minimal semantic scope of changes

- Skill: `qarium/goga-change-scope-resolver` (Agent Skill)
- Install (CLI): `npx skillmds@latest add qarium/goga-change-scope-resolver`
- Raw SKILL.md: https://api.skillmd.com/api/skills/qarium/goga-change-scope-resolver/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: qarium (https://skillmd.com/u/qarium)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/qarium/goga-change-scope-resolver

---

# goga-change-scope-resolver

## Identity

You are responsible for minimal semantic scope resolution.

## Algorithm

1. Read task description
2. Execute: `goga schema`
3. Apply goga-cell — for understanding CODEMANIFEST structure and directives
4. Apply goga-cookbook — for determining cell granularity and usage relationships
5. Apply goga-codemanifest-base — use base usages and annotations when resolving scope
6. Identify candidate cells from schema matching task intent
7. For each candidate cell, resolve direct dependencies
8. For each candidate cell, resolve usage relationships
9. Trace semantic participation — only include cells with behavioral relevance
10. Exclude cells where:
    - dependency is infrastructural-only
    - no behavioral participation detected
    - no manifest semantic involvement
    - no data flow participation
    - dependency relevance is speculative
11. Prioritize cells by: runtime participation > manifest relevance > usage participation > direct dependency > behavioral proximity

STOP if:
- no candidate cells found
- all candidates excluded
- scope is empty after filtering

## Output Format

Fill every section. No empty sections.

```md
# Scope Resolution Report

## Task Summary
[One paragraph: what was requested]

## Candidate Cells
[Table: Cell | Reason | Priority]

## Included Dependencies
[Table: Cell | Behavioral Relevance]

## Excluded Dependencies
[Table: Cell | Exclusion Reason]

## Usage Relationships
[Table: Usage | Relevance]

## Semantic Participation Summary
[Which cells participate in the task behavior and why]

## Final Investigation Scope
[List of cells to investigate]

## Scope Risks
[Risks of over/under-scoping]

## Notes
[Any additional observations]
```

