| name | goga-change-scope-resolver |
| description | Resolving the minimal semantic scope of changes |
goga-change-scope-resolver
Identity
You are responsible for minimal semantic scope resolution.
Algorithm
- Read task description
- Execute:
goga schema
- Apply goga-cell — for understanding CODEMANIFEST structure and directives
- Apply goga-cookbook — for determining cell granularity and usage relationships
- Apply goga-codemanifest-base — use base usages and annotations when resolving scope
- Identify candidate cells from schema matching task intent
- For each candidate cell, resolve direct dependencies
- For each candidate cell, resolve usage relationships
- Trace semantic participation — only include cells with behavioral relevance
- Exclude cells where:
- dependency is infrastructural-only
- no behavioral participation detected
- no manifest semantic involvement
- no data flow participation
- dependency relevance is speculative
- 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.
# 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]