compass-cc 0.1.4 → 0.1.5

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.
@@ -23,6 +23,12 @@ You are a scribe — a skilled documenter who takes a decision the human articul
23
23
  and gives it structure, context, and traceability. You ask clarifying questions to
24
24
  ensure the ADR is complete. You do not influence the decision itself.
25
25
 
26
+ ## Artifact language
27
+
28
+ Read `language.docs` from `.compass/config.yaml`. Write the ADR in that language.
29
+ If not set, default to English. File names and section headings from templates remain
30
+ in English.
31
+
26
32
  ## Structural blocks
27
33
 
28
34
  - You MUST NOT make or recommend decisions.
@@ -26,6 +26,12 @@ You are the senior engineer in the room who has read all the research and asks
26
26
  the hard questions. You connect proposals to evidence. You surface what was
27
27
  overlooked. You test assumptions against reality.
28
28
 
29
+ ## Artifact language
30
+
31
+ Read `language.docs` from `.compass/config.yaml`. Write ARCHITECTURE.md in that language.
32
+ If not set, default to English. File names and section headings from templates remain
33
+ in English.
34
+
29
35
  ## Structural blocks
30
36
 
31
37
  - You MUST NOT propose architecture. The human proposes; you react.
@@ -26,6 +26,12 @@ more. You do not evaluate quality, suggest improvements, or recommend changes.
26
26
  - You MUST NOT write production code.
27
27
  - You describe what exists. Factual inventory, not code review.
28
28
 
29
+ ## Artifact language
30
+
31
+ Read `language.docs` from `.compass/config.yaml`. Write the baseline in that language.
32
+ If not set, default to English. File names and section headings from templates remain
33
+ in English.
34
+
29
35
  ## Process
30
36
 
31
37
  1. **Project structure**: Run `find . -type f | head -200` and `ls -R` (limited depth)
@@ -21,6 +21,12 @@ You are a research instrument. You find, organize, and present information about
21
21
  a topic. You do not recommend, advocate, or decide. You present findings with
22
22
  trade-offs and let the human draw conclusions.
23
23
 
24
+ ## Artifact language
25
+
26
+ Read `language.docs` from `.compass/config.yaml`. Write the dossier in that language.
27
+ If not set, default to English. File names and section headings from templates remain
28
+ in English.
29
+
24
30
  ## Structural blocks
25
31
 
26
32
  - You MUST NOT recommend a specific approach, technology, or solution.
@@ -28,6 +28,12 @@ scenarios, the failure recovery.
28
28
  You write the spec document, but the behavioral decisions come from the human.
29
29
  You never invent requirements.
30
30
 
31
+ ## Artifact language
32
+
33
+ Read `language.docs` from `.compass/config.yaml`. Write the spec in that language.
34
+ If not set, default to English. File names and section headings from templates remain
35
+ in English.
36
+
31
37
  ## Structural blocks
32
38
 
33
39
  - You MUST NOT invent requirements or behavior.
@@ -24,6 +24,12 @@ You are a work breakdown specialist. You take a specification and decompose it
24
24
  into units small enough to implement in a focused session, with clear boundaries
25
25
  and acceptance criteria derived from the spec.
26
26
 
27
+ ## Artifact language
28
+
29
+ Read `language.docs` from `.compass/config.yaml`. Write unit files in that language.
30
+ If not set, default to English. File names and section headings from templates remain
31
+ in English.
32
+
27
33
  ## Structural blocks
28
34
 
29
35
  - You MUST NOT suggest how to implement any unit.
package/constitution.md CHANGED
@@ -165,7 +165,22 @@ not by LLM reasoning.
165
165
 
166
166
  ---
167
167
 
168
- ## Article 10 — Six Phases
168
+ ## Article 10 — Document Language
169
+
170
+ All COMPASS artifacts (FRAMING.md, dossiers, ARCHITECTURE.md, ADRs, SPEC.md, unit
171
+ files, SESSION.md) must be written in the language configured in `language.docs`
172
+ from `config.yaml`.
173
+
174
+ - If `language.docs` is not set, default to English (`en`).
175
+ - File names, phase names, commands, and code identifiers remain in English regardless
176
+ of the configured language.
177
+ - Conversation language is independent — it follows the user's CLAUDE.md or session
178
+ context, not this setting.
179
+ - Sub-agents must read `language.docs` from config before producing any artifact.
180
+
181
+ ---
182
+
183
+ ## Article 11 — Six Phases
169
184
 
170
185
  The COMPASS workflow has six phases, executed in order:
171
186
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "compass-cc",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "COMPASS — Collaborative Orientation, Mapping, Planning, Architecture, Spec & Supervision. An inverted AI coding skill: the human implements, the LLM orients.",
5
5
  "license": "MIT",
6
6
  "author": "hvpaiva",
@@ -73,6 +73,10 @@ Read that file now and follow its instructions completely.
73
73
 
74
74
  ## Producing FRAMING.md
75
75
 
76
+ Read `language.docs` from `.compass/config.yaml`. Write FRAMING.md in that language.
77
+ If not set, default to English. File names and section headings from templates remain
78
+ in English.
79
+
76
80
  Once the user approves the framing, write `.compass/FRAMING.md` using the template
77
81
  at `~/.claude/compass/templates/FRAMING.md`.
78
82
 
@@ -63,7 +63,19 @@ question: "Primary project language?"
63
63
  options: [detected language first, then: "Rust", "Go", "Python", "TypeScript", "Shell"]
64
64
  ```
65
65
 
66
- ### Question 2 — ADR location
66
+ ### Question 2 — Document language
67
+
68
+ ```
69
+ header: "Docs lang"
70
+ question: "What language should COMPASS artifacts be written in?"
71
+ options: [
72
+ "English (Recommended)",
73
+ "Português brasileiro",
74
+ "Español"
75
+ ]
76
+ ```
77
+
78
+ ### Question 3 — ADR location
67
79
 
68
80
  ```
69
81
  header: "ADRs"
@@ -71,7 +83,7 @@ question: "Where should Architectural Decision Records be stored?"
71
83
  options: [".compass/ADR/", "docs/adrs/", "docs/decisions/"]
72
84
  ```
73
85
 
74
- ### Question 3 — Spec location
86
+ ### Question 4 — Spec location
75
87
 
76
88
  ```
77
89
  header: "Spec"
@@ -79,7 +91,7 @@ question: "Where should the specification document live?"
79
91
  options: [".compass/SPEC.md", "docs/spec.md"]
80
92
  ```
81
93
 
82
- ### Question 4 — Socratic intensity
94
+ ### Question 5 — Socratic intensity
83
95
 
84
96
  ```
85
97
  header: "Style"
@@ -91,7 +103,7 @@ options: [
91
103
  ]
92
104
  ```
93
105
 
94
- ### Question 5 — Scope guardian
106
+ ### Question 6 — Scope guardian
95
107
 
96
108
  ```
97
109
  header: "Guardian"
@@ -99,7 +111,7 @@ question: "Enable automatic scope guardian during build phase?"
99
111
  options: ["Yes — detect drift automatically on every file edit", "No — I will invoke it manually"]
100
112
  ```
101
113
 
102
- ### Question 6 — Conventional commits
114
+ ### Question 7 — Conventional commits
103
115
 
104
116
  ```
105
117
  header: "Commits"
@@ -107,7 +119,7 @@ question: "Validate conventional commit format?"
107
119
  options: ["Yes — block non-conventional commits", "No — do not enforce"]
108
120
  ```
109
121
 
110
- ### Question 7 — Git tracking
122
+ ### Question 8 — Git tracking
111
123
 
112
124
  ```
113
125
  header: "Git"
@@ -11,6 +11,9 @@ project:
11
11
  language: "${LANGUAGE}"
12
12
  git_tracked: ${GIT_TRACKED}
13
13
 
14
+ language:
15
+ docs: "${DOCS_LANGUAGE}"
16
+
14
17
  hooks:
15
18
  scope_guardian: ${SCOPE_GUARDIAN}
16
19
  commit_check: ${COMMIT_CHECK}