compass-cc 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +162 -0
- package/agents/adr-scribe.md +82 -0
- package/agents/architect-coach.md +88 -0
- package/agents/baseline-analyzer.md +93 -0
- package/agents/completion-tracker.md +55 -0
- package/agents/domain-researcher.md +122 -0
- package/agents/idiom-checker.md +111 -0
- package/agents/readiness-checker.md +93 -0
- package/agents/review-coach.md +94 -0
- package/agents/rubber-duck.md +69 -0
- package/agents/scope-guardian.md +98 -0
- package/agents/socratic-interrogator.md +93 -0
- package/agents/spec-writer.md +106 -0
- package/agents/test-auditor.md +92 -0
- package/agents/unit-decomposer.md +114 -0
- package/bin/install.js +306 -0
- package/constitution.md +191 -0
- package/hooks/compass-commit-check.sh +65 -0
- package/hooks/compass-context-monitor.sh +53 -0
- package/hooks/compass-preflight.sh +56 -0
- package/hooks/compass-scope-guardian.sh +95 -0
- package/package.json +36 -0
- package/references/inverted-contract.md +31 -0
- package/scripts/compass-tools.sh +602 -0
- package/skills/compass-architect/SKILL.md +91 -0
- package/skills/compass-build-duck/SKILL.md +53 -0
- package/skills/compass-build-idiom/SKILL.md +57 -0
- package/skills/compass-build-progress/SKILL.md +55 -0
- package/skills/compass-build-ready/SKILL.md +69 -0
- package/skills/compass-build-review/SKILL.md +61 -0
- package/skills/compass-build-scope/SKILL.md +67 -0
- package/skills/compass-build-tests/SKILL.md +57 -0
- package/skills/compass-build-transform/SKILL.md +63 -0
- package/skills/compass-build-units/SKILL.md +76 -0
- package/skills/compass-decide/SKILL.md +105 -0
- package/skills/compass-frame/SKILL.md +105 -0
- package/skills/compass-init/SKILL.md +142 -0
- package/skills/compass-next/SKILL.md +60 -0
- package/skills/compass-research/SKILL.md +81 -0
- package/skills/compass-spec/SKILL.md +115 -0
- package/skills/compass-status/SKILL.md +79 -0
- package/templates/ADR.md +48 -0
- package/templates/ARCHITECTURE.md +44 -0
- package/templates/BASELINE.md +32 -0
- package/templates/FRAMING.md +51 -0
- package/templates/RESEARCH-DOSSIER.md +36 -0
- package/templates/SESSION.md +23 -0
- package/templates/SPEC.md +40 -0
- package/templates/UNIT.md +33 -0
- package/templates/config.yaml +23 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# Project Baseline
|
|
2
|
+
|
|
3
|
+
Snapshot generated on: ${DATE}
|
|
4
|
+
Project root: ${PROJECT_ROOT}
|
|
5
|
+
|
|
6
|
+
## Project structure
|
|
7
|
+
|
|
8
|
+
${STRUCTURE}
|
|
9
|
+
|
|
10
|
+
## Languages and frameworks
|
|
11
|
+
|
|
12
|
+
${LANGUAGES}
|
|
13
|
+
|
|
14
|
+
## Dependencies
|
|
15
|
+
|
|
16
|
+
${DEPENDENCIES}
|
|
17
|
+
|
|
18
|
+
## Existing documentation
|
|
19
|
+
|
|
20
|
+
${DOCUMENTATION}
|
|
21
|
+
|
|
22
|
+
## Observed patterns
|
|
23
|
+
|
|
24
|
+
${PATTERNS}
|
|
25
|
+
|
|
26
|
+
## Git history summary
|
|
27
|
+
|
|
28
|
+
${GIT_HISTORY}
|
|
29
|
+
|
|
30
|
+
## Open questions for framing
|
|
31
|
+
|
|
32
|
+
${OPEN_QUESTIONS}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# Project Framing
|
|
2
|
+
|
|
3
|
+
Produced by `/compass:frame` on: ${DATE}
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Mission
|
|
8
|
+
|
|
9
|
+
What is this project trying to achieve? Why does it exist?
|
|
10
|
+
|
|
11
|
+
${MISSION}
|
|
12
|
+
|
|
13
|
+
## Scope
|
|
14
|
+
|
|
15
|
+
### In scope
|
|
16
|
+
|
|
17
|
+
${IN_SCOPE}
|
|
18
|
+
|
|
19
|
+
### Out of scope
|
|
20
|
+
|
|
21
|
+
${OUT_OF_SCOPE}
|
|
22
|
+
|
|
23
|
+
## Constraints
|
|
24
|
+
|
|
25
|
+
Technical, resource, time, knowledge, or domain constraints that shape the project.
|
|
26
|
+
|
|
27
|
+
${CONSTRAINTS}
|
|
28
|
+
|
|
29
|
+
## Non-goals
|
|
30
|
+
|
|
31
|
+
What this project deliberately does NOT try to do.
|
|
32
|
+
|
|
33
|
+
${NON_GOALS}
|
|
34
|
+
|
|
35
|
+
## Success criteria
|
|
36
|
+
|
|
37
|
+
How will you know the project succeeded?
|
|
38
|
+
|
|
39
|
+
${SUCCESS_CRITERIA}
|
|
40
|
+
|
|
41
|
+
## Risks
|
|
42
|
+
|
|
43
|
+
What could go wrong? What are you most uncertain about?
|
|
44
|
+
|
|
45
|
+
${RISKS}
|
|
46
|
+
|
|
47
|
+
## Prior art
|
|
48
|
+
|
|
49
|
+
Similar projects, what they did well, what they did poorly.
|
|
50
|
+
|
|
51
|
+
${PRIOR_ART}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Research Dossier: ${TOPIC}
|
|
2
|
+
|
|
3
|
+
Researched on: ${DATE}
|
|
4
|
+
Relevance to project: ${RELEVANCE}
|
|
5
|
+
|
|
6
|
+
## Question
|
|
7
|
+
|
|
8
|
+
${QUESTION}
|
|
9
|
+
|
|
10
|
+
## Context
|
|
11
|
+
|
|
12
|
+
${CONTEXT}
|
|
13
|
+
|
|
14
|
+
## Findings
|
|
15
|
+
|
|
16
|
+
### ${SUBTOPIC_1}
|
|
17
|
+
|
|
18
|
+
${FINDINGS_1}
|
|
19
|
+
|
|
20
|
+
## Trade-offs
|
|
21
|
+
|
|
22
|
+
| Approach | Advantages | Disadvantages | Source |
|
|
23
|
+
|----------|-----------|---------------|--------|
|
|
24
|
+
| ${APPROACH} | ${ADVANTAGES} | ${DISADVANTAGES} | ${SOURCE} |
|
|
25
|
+
|
|
26
|
+
## Risks
|
|
27
|
+
|
|
28
|
+
${RISKS}
|
|
29
|
+
|
|
30
|
+
## Open questions
|
|
31
|
+
|
|
32
|
+
${OPEN_QUESTIONS}
|
|
33
|
+
|
|
34
|
+
## Sources
|
|
35
|
+
|
|
36
|
+
1. [${TITLE}](${URL}) — accessed ${DATE}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# COMPASS Session State
|
|
2
|
+
|
|
3
|
+
Last updated: ${TIMESTAMP}
|
|
4
|
+
|
|
5
|
+
## Current phase
|
|
6
|
+
|
|
7
|
+
${PHASE}
|
|
8
|
+
|
|
9
|
+
## Phase progress
|
|
10
|
+
|
|
11
|
+
${PROGRESS}
|
|
12
|
+
|
|
13
|
+
## Recent decisions
|
|
14
|
+
|
|
15
|
+
${DECISIONS}
|
|
16
|
+
|
|
17
|
+
## Stopped at
|
|
18
|
+
|
|
19
|
+
${STOPPED_AT}
|
|
20
|
+
|
|
21
|
+
## Next recommended action
|
|
22
|
+
|
|
23
|
+
${NEXT_ACTION}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# Specification
|
|
2
|
+
|
|
3
|
+
Produced by `/compass:spec` on: ${DATE}
|
|
4
|
+
|
|
5
|
+
## Overview
|
|
6
|
+
|
|
7
|
+
${OVERVIEW}
|
|
8
|
+
|
|
9
|
+
## Module: ${MODULE_NAME}
|
|
10
|
+
|
|
11
|
+
### ${BEHAVIOR_NAME}
|
|
12
|
+
|
|
13
|
+
**Description**: ${DESCRIPTION}
|
|
14
|
+
|
|
15
|
+
**Preconditions**: ${PRECONDITIONS}
|
|
16
|
+
|
|
17
|
+
**Postconditions**: ${POSTCONDITIONS}
|
|
18
|
+
|
|
19
|
+
**Error cases**:
|
|
20
|
+
- ${ERROR_CONDITION}: ${ERROR_BEHAVIOR}
|
|
21
|
+
|
|
22
|
+
**Boundary conditions**:
|
|
23
|
+
- ${BOUNDARY}: ${BOUNDARY_BEHAVIOR}
|
|
24
|
+
|
|
25
|
+
**Invariants**: ${INVARIANTS}
|
|
26
|
+
|
|
27
|
+
**Acceptance criteria**:
|
|
28
|
+
- [ ] Given ${X}, when ${Y}, then ${Z}
|
|
29
|
+
|
|
30
|
+
**Related**: ADR-${NNN}, ARCHITECTURE.md § ${SECTION}
|
|
31
|
+
|
|
32
|
+
## System-wide invariants
|
|
33
|
+
|
|
34
|
+
${SYSTEM_INVARIANTS}
|
|
35
|
+
|
|
36
|
+
## Related artifacts
|
|
37
|
+
|
|
38
|
+
- ARCHITECTURE.md — structural context
|
|
39
|
+
- ADR/ — decisions that constrain behavior
|
|
40
|
+
- FRAMING.md — mission and scope
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# Unit ${NNN}: ${TITLE}
|
|
2
|
+
|
|
3
|
+
## Status
|
|
4
|
+
|
|
5
|
+
pending
|
|
6
|
+
|
|
7
|
+
## Description
|
|
8
|
+
|
|
9
|
+
${DESCRIPTION}
|
|
10
|
+
|
|
11
|
+
## Acceptance criteria
|
|
12
|
+
|
|
13
|
+
- [ ] ${CRITERION_1}
|
|
14
|
+
- [ ] ${CRITERION_2}
|
|
15
|
+
|
|
16
|
+
## Dependencies
|
|
17
|
+
|
|
18
|
+
- unit-${NNN}: ${TITLE} — ${WHY}
|
|
19
|
+
|
|
20
|
+
## Scope boundaries
|
|
21
|
+
|
|
22
|
+
**In scope**: ${IN_SCOPE}
|
|
23
|
+
**Out of scope**: ${OUT_OF_SCOPE}
|
|
24
|
+
|
|
25
|
+
## Related artifacts
|
|
26
|
+
|
|
27
|
+
- SPEC.md § ${SECTION}
|
|
28
|
+
- ADR-${NNN}: ${TITLE}
|
|
29
|
+
- ARCHITECTURE.md § ${SECTION}
|
|
30
|
+
|
|
31
|
+
## Open questions
|
|
32
|
+
|
|
33
|
+
- ${QUESTION}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# COMPASS configuration — generated by /compass:init
|
|
2
|
+
version: 1
|
|
3
|
+
|
|
4
|
+
paths:
|
|
5
|
+
adr: ".compass/ADR"
|
|
6
|
+
spec: ".compass/SPEC.md"
|
|
7
|
+
research: ".compass/RESEARCH"
|
|
8
|
+
units: ".compass/UNITS"
|
|
9
|
+
|
|
10
|
+
project:
|
|
11
|
+
language: "${LANGUAGE}"
|
|
12
|
+
git_tracked: ${GIT_TRACKED}
|
|
13
|
+
|
|
14
|
+
hooks:
|
|
15
|
+
scope_guardian: ${SCOPE_GUARDIAN}
|
|
16
|
+
commit_check: ${COMMIT_CHECK}
|
|
17
|
+
context_monitor: true
|
|
18
|
+
|
|
19
|
+
style:
|
|
20
|
+
socratic_level: "${SOCRATIC_LEVEL}"
|
|
21
|
+
|
|
22
|
+
session:
|
|
23
|
+
auto_log: true
|