qualia-framework 2.4.5 → 2.4.9
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/README.md +1 -1
- package/bin/cli.js +1 -1
- package/framework/CLAUDE.md +14 -17
- package/framework/agents/backend-agent.md +1 -1
- package/framework/agents/frontend-agent.md +2 -2
- package/framework/agents/qualia-debugger.md +1 -1
- package/framework/agents/qualia-executor.md +4 -4
- package/framework/agents/qualia-plan-checker.md +2 -2
- package/framework/agents/qualia-roadmapper.md +2 -2
- package/framework/agents/qualia-verifier.md +1 -1
- package/framework/agents/test-agent.md +1 -1
- package/framework/hooks/auto-format.sh +2 -1
- package/framework/hooks/block-env-edit.sh +5 -1
- package/framework/hooks/migration-validate.sh +13 -10
- package/framework/hooks/notification-speak.sh +1 -0
- package/framework/hooks/pre-compact.sh +1 -0
- package/framework/hooks/pre-deploy-gate.sh +14 -12
- package/framework/hooks/qualia-colors.sh +4 -4
- package/framework/hooks/retention-cleanup.sh +10 -0
- package/framework/hooks/save-session-state.sh +2 -0
- package/framework/hooks/session-learn.sh +1 -0
- package/framework/qualia-framework/VERSION +1 -1
- package/framework/qualia-framework/bin/collect-metrics.sh +8 -12
- package/framework/qualia-framework/bin/qualia-tools.js +1 -1
- package/framework/qualia-framework/references/decimal-phase-calculation.md +4 -4
- package/framework/qualia-framework/references/model-profile-resolution.md +1 -1
- package/framework/qualia-framework/references/phase-argument-parsing.md +3 -3
- package/framework/qualia-framework/references/planning-config.md +5 -5
- package/framework/qualia-framework/references/verification-patterns.md +1 -1
- package/framework/qualia-framework/templates/codebase/structure.md +10 -10
- package/framework/qualia-framework/templates/phase-prompt.md +10 -10
- package/framework/qualia-framework/workflows/add-phase.md +2 -2
- package/framework/qualia-framework/workflows/add-todo.md +3 -3
- package/framework/qualia-framework/workflows/audit-milestone.md +3 -3
- package/framework/qualia-framework/workflows/check-todos.md +2 -2
- package/framework/qualia-framework/workflows/complete-milestone.md +4 -4
- package/framework/qualia-framework/workflows/diagnose-issues.md +1 -1
- package/framework/qualia-framework/workflows/discovery-phase.md +5 -5
- package/framework/qualia-framework/workflows/discuss-phase.md +4 -4
- package/framework/qualia-framework/workflows/execute-plan.md +8 -8
- package/framework/qualia-framework/workflows/help.md +2 -2
- package/framework/qualia-framework/workflows/insert-phase.md +3 -3
- package/framework/qualia-framework/workflows/map-codebase.md +2 -2
- package/framework/qualia-framework/workflows/new-milestone.md +6 -6
- package/framework/qualia-framework/workflows/pause-work.md +2 -2
- package/framework/qualia-framework/workflows/plan-milestone-gaps.md +2 -2
- package/framework/qualia-framework/workflows/plan-phase.md +5 -5
- package/framework/qualia-framework/workflows/quick.md +2 -2
- package/framework/qualia-framework/workflows/remove-phase.md +2 -2
- package/framework/qualia-framework/workflows/research-phase.md +4 -4
- package/framework/qualia-framework/workflows/resume-project.md +2 -2
- package/framework/qualia-framework/workflows/set-profile.md +2 -2
- package/framework/qualia-framework/workflows/settings.md +2 -2
- package/framework/qualia-framework/workflows/update.md +10 -10
- package/framework/qualia-framework/workflows/verify-phase.md +5 -5
- package/framework/qualia-framework/workflows/verify-work.md +4 -4
- package/framework/rules/context7.md +7 -4
- package/framework/rules/speed.md +2 -3
- package/framework/scripts/sync-to-framework.sh +1 -1
- package/framework/skills/animate/SKILL.md +3 -3
- package/framework/skills/bolder/SKILL.md +3 -3
- package/framework/skills/colorize/SKILL.md +3 -3
- package/framework/skills/delight/SKILL.md +3 -3
- package/framework/skills/design-quieter/SKILL.md +3 -3
- package/framework/skills/distill/SKILL.md +3 -3
- package/framework/skills/qualia-add-todo/SKILL.md +1 -1
- package/framework/skills/qualia-check-todos/SKILL.md +1 -1
- package/framework/skills/qualia-debug/SKILL.md +2 -2
- package/framework/skills/qualia-discuss-phase/SKILL.md +2 -2
- package/framework/skills/qualia-framework-audit/SKILL.md +1 -1
- package/framework/skills/qualia-list-phase-assumptions/SKILL.md +1 -1
- package/framework/skills/qualia-new-milestone/SKILL.md +4 -4
- package/framework/skills/qualia-optimize/SKILL.md +7 -7
- package/framework/skills/qualia-pause-work/SKILL.md +1 -1
- package/framework/skills/qualia-plan-milestone-gaps/SKILL.md +1 -1
- package/framework/skills/qualia-production-check/SKILL.md +0 -314
- package/framework/skills/qualia-progress/SKILL.md +1 -1
- package/framework/skills/qualia-quick/SKILL.md +1 -1
- package/framework/skills/qualia-research-phase/SKILL.md +2 -2
- package/framework/skills/qualia-resume-work/SKILL.md +1 -1
- package/framework/skills/qualia-review/SKILL.md +1 -1
- package/framework/teams/review-team.md +75 -0
- package/framework/teams/ship-team.md +86 -0
- package/package.json +1 -1
- package/framework/skills/qualia-workflow/SKILL.md +0 -130
|
@@ -12,8 +12,8 @@ Read all files referenced by the invoking prompt's execution_context before star
|
|
|
12
12
|
Ensure config exists and load current state:
|
|
13
13
|
|
|
14
14
|
```bash
|
|
15
|
-
node /home/qualia/.claude/qualia-
|
|
16
|
-
INIT=$(node /home/qualia/.claude/qualia-
|
|
15
|
+
node /home/qualia/.claude/qualia-framework/bin/qualia-tools.js config-ensure-section
|
|
16
|
+
INIT=$(node /home/qualia/.claude/qualia-framework/bin/qualia-tools.js state load)
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
Creates `.planning/config.json` with defaults if missing and loads current config values.
|
|
@@ -13,11 +13,11 @@ Detect whether Qualia is installed locally or globally by checking both location
|
|
|
13
13
|
|
|
14
14
|
```bash
|
|
15
15
|
# Check local first (takes priority)
|
|
16
|
-
if [ -f "./.claude/qualia-
|
|
17
|
-
cat "./.claude/qualia-
|
|
16
|
+
if [ -f "./.claude/qualia-framework/VERSION" ]; then
|
|
17
|
+
cat "./.claude/qualia-framework/VERSION"
|
|
18
18
|
echo "LOCAL"
|
|
19
|
-
elif [ -f /home/qualia/.claude/qualia-
|
|
20
|
-
cat /home/qualia/.claude/qualia-
|
|
19
|
+
elif [ -f /home/qualia/.claude/qualia-framework/VERSION ]; then
|
|
20
|
+
cat /home/qualia/.claude/qualia-framework/VERSION
|
|
21
21
|
echo "GLOBAL"
|
|
22
22
|
else
|
|
23
23
|
echo "UNKNOWN"
|
|
@@ -47,14 +47,14 @@ Proceed to install step (treat as version 0.0.0 for comparison).
|
|
|
47
47
|
Check npm for latest version:
|
|
48
48
|
|
|
49
49
|
```bash
|
|
50
|
-
npm view qualia-
|
|
50
|
+
npm view qualia-framework-cc version 2>/dev/null
|
|
51
51
|
```
|
|
52
52
|
|
|
53
53
|
**If npm check fails:**
|
|
54
54
|
```
|
|
55
55
|
Couldn't check for updates (offline or npm unavailable).
|
|
56
56
|
|
|
57
|
-
To update manually: `npx qualia-
|
|
57
|
+
To update manually: `npx qualia-framework-cc --global`
|
|
58
58
|
```
|
|
59
59
|
|
|
60
60
|
Exit.
|
|
@@ -118,7 +118,7 @@ Exit.
|
|
|
118
118
|
|
|
119
119
|
⚠️ **Note:** The installer performs a clean install of Qualia folders:
|
|
120
120
|
- `skills/qualia/` will be wiped and replaced
|
|
121
|
-
- `qualia-
|
|
121
|
+
- `qualia-framework/` will be wiped and replaced
|
|
122
122
|
- `agents/qualia-*` files will be replaced
|
|
123
123
|
|
|
124
124
|
(Paths are relative to your install location: `/home/qualia/.claude/` for global, `./.claude/` for local)
|
|
@@ -146,12 +146,12 @@ Run the update using the install type detected in step 1:
|
|
|
146
146
|
|
|
147
147
|
**If LOCAL install:**
|
|
148
148
|
```bash
|
|
149
|
-
npx qualia-
|
|
149
|
+
npx qualia-framework-cc --local
|
|
150
150
|
```
|
|
151
151
|
|
|
152
152
|
**If GLOBAL install (or unknown):**
|
|
153
153
|
```bash
|
|
154
|
-
npx qualia-
|
|
154
|
+
npx qualia-framework-cc --global
|
|
155
155
|
```
|
|
156
156
|
|
|
157
157
|
Capture output. If install fails, show error and exit.
|
|
@@ -179,7 +179,7 @@ Format completion message (changelog was already shown in confirmation step):
|
|
|
179
179
|
|
|
180
180
|
⚠️ Restart Claude Code to pick up the new commands.
|
|
181
181
|
|
|
182
|
-
[View full changelog](https://github.com/glittercowboy/qualia-
|
|
182
|
+
[View full changelog](https://github.com/glittercowboy/qualia-framework/blob/main/CHANGELOG.md)
|
|
183
183
|
```
|
|
184
184
|
</step>
|
|
185
185
|
|
|
@@ -18,8 +18,8 @@ Then verify each level against the actual codebase.
|
|
|
18
18
|
</core_principle>
|
|
19
19
|
|
|
20
20
|
<required_reading>
|
|
21
|
-
@/home/qualia/.claude/qualia-
|
|
22
|
-
@/home/qualia/.claude/qualia-
|
|
21
|
+
@/home/qualia/.claude/qualia-framework/references/verification-patterns.md
|
|
22
|
+
@/home/qualia/.claude/qualia-framework/templates/verification-report.md
|
|
23
23
|
</required_reading>
|
|
24
24
|
|
|
25
25
|
<process>
|
|
@@ -28,14 +28,14 @@ Then verify each level against the actual codebase.
|
|
|
28
28
|
Load phase operation context:
|
|
29
29
|
|
|
30
30
|
```bash
|
|
31
|
-
INIT=$(node /home/qualia/.claude/qualia-
|
|
31
|
+
INIT=$(node /home/qualia/.claude/qualia-framework/bin/qualia-tools.js init phase-op "${PHASE_ARG}")
|
|
32
32
|
```
|
|
33
33
|
|
|
34
34
|
Extract from init JSON: `phase_dir`, `phase_number`, `phase_name`, `has_plans`, `plan_count`.
|
|
35
35
|
|
|
36
36
|
Then load phase details and list plans/summaries:
|
|
37
37
|
```bash
|
|
38
|
-
node /home/qualia/.claude/qualia-
|
|
38
|
+
node /home/qualia/.claude/qualia-framework/bin/qualia-tools.js roadmap get-phase "${phase_number}"
|
|
39
39
|
grep -E "^| ${phase_number}" .planning/REQUIREMENTS.md 2>/dev/null
|
|
40
40
|
ls "$phase_dir"/*-SUMMARY.md "$phase_dir"/*-PLAN.md 2>/dev/null
|
|
41
41
|
```
|
|
@@ -166,7 +166,7 @@ REPORT_PATH="$PHASE_DIR/${PHASE_NUM}-VERIFICATION.md"
|
|
|
166
166
|
|
|
167
167
|
Fill template sections: frontmatter (phase/timestamp/status/score), goal achievement, artifact table, wiring table, requirements coverage, anti-patterns, human verification, gaps summary, fix plans (if gaps_found), metadata.
|
|
168
168
|
|
|
169
|
-
See /home/qualia/.claude/qualia-
|
|
169
|
+
See /home/qualia/.claude/qualia-framework/templates/verification-report.md for complete template.
|
|
170
170
|
</step>
|
|
171
171
|
|
|
172
172
|
<step name="return_to_orchestrator">
|
|
@@ -15,7 +15,7 @@ No Pass/Fail buttons. No severity questions. Just: "Here's what should happen. D
|
|
|
15
15
|
</philosophy>
|
|
16
16
|
|
|
17
17
|
<template>
|
|
18
|
-
@/home/qualia/.claude/qualia-
|
|
18
|
+
@/home/qualia/.claude/qualia-framework/templates/UAT.md
|
|
19
19
|
</template>
|
|
20
20
|
|
|
21
21
|
<process>
|
|
@@ -24,7 +24,7 @@ No Pass/Fail buttons. No severity questions. Just: "Here's what should happen. D
|
|
|
24
24
|
If $ARGUMENTS contains a phase number, load context:
|
|
25
25
|
|
|
26
26
|
```bash
|
|
27
|
-
INIT=$(node /home/qualia/.claude/qualia-
|
|
27
|
+
INIT=$(node /home/qualia/.claude/qualia-framework/bin/qualia-tools.js init verify-work "${PHASE_ARG}")
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
Parse JSON for: `planner_model`, `checker_model`, `commit_docs`, `phase_found`, `phase_dir`, `phase_number`, `phase_name`, `has_verification`.
|
|
@@ -321,7 +321,7 @@ Clear Current Test section:
|
|
|
321
321
|
|
|
322
322
|
Commit the UAT file:
|
|
323
323
|
```bash
|
|
324
|
-
node /home/qualia/.claude/qualia-
|
|
324
|
+
node /home/qualia/.claude/qualia-framework/bin/qualia-tools.js commit "test({phase}): complete UAT - {passed} passed, {issues} issues" --files ".planning/phases/XX-name/{phase}-UAT.md"
|
|
325
325
|
```
|
|
326
326
|
|
|
327
327
|
Present summary:
|
|
@@ -389,7 +389,7 @@ Spawning parallel debug agents to investigate each issue.
|
|
|
389
389
|
```
|
|
390
390
|
|
|
391
391
|
- Load diagnose-issues workflow
|
|
392
|
-
- Follow @/home/qualia/.claude/qualia-
|
|
392
|
+
- Follow @/home/qualia/.claude/qualia-framework/workflows/diagnose-issues.md
|
|
393
393
|
- Spawn parallel debug agents for each issue
|
|
394
394
|
- Collect root causes
|
|
395
395
|
- Update UAT.md with root causes
|
|
@@ -2,10 +2,13 @@
|
|
|
2
2
|
alwaysApply: true
|
|
3
3
|
---
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Use Context7 MCP to fetch current documentation whenever the user asks about a library, framework, SDK, API, CLI tool, or cloud service -- even well-known ones like React, Next.js, Prisma, Express, Tailwind, Django, or Spring Boot. This includes API syntax, configuration, version migration, library-specific debugging, setup instructions, and CLI tool usage. Use even when you think you know the answer -- your training data may not reflect recent changes. Prefer this over web search for library docs.
|
|
6
|
+
|
|
7
|
+
Do not use for: refactoring, writing scripts from scratch, debugging business logic, code review, or general programming concepts.
|
|
6
8
|
|
|
7
9
|
## Steps
|
|
8
10
|
|
|
9
|
-
1.
|
|
10
|
-
2.
|
|
11
|
-
3.
|
|
11
|
+
1. Always start with `resolve-library-id` using the library name and the user's question, unless the user provides an exact library ID in `/org/project` format
|
|
12
|
+
2. Pick the best match (ID format: `/org/project`) by: exact name match, description relevance, code snippet count, source reputation (High/Medium preferred), and benchmark score (higher is better). If results don't look right, try alternate names or queries (e.g., "next.js" not "nextjs", or rephrase the question). Use version-specific IDs when the user mentions a version
|
|
13
|
+
3. `query-docs` with the selected library ID and the user's full question (not single words)
|
|
14
|
+
4. Answer using the fetched docs
|
package/framework/rules/speed.md
CHANGED
|
@@ -17,8 +17,7 @@ alwaysApply: true
|
|
|
17
17
|
**Use shortcuts:**
|
|
18
18
|
- `/ship` — Full deploy pipeline (quality gates → commit → deploy → verify)
|
|
19
19
|
- `/status` — Quick project health check
|
|
20
|
-
- `/
|
|
21
|
-
- `/switch <project>` — Switch project context
|
|
20
|
+
- `/qualia-review` — Deep security + quality audit
|
|
22
21
|
- `/memory` — View/manage persistent rules
|
|
23
22
|
- `/learn` — Save a lesson from a mistake
|
|
24
|
-
- `/
|
|
23
|
+
- `/qualia-pause-work` — Save context before /clear
|
|
@@ -30,8 +30,8 @@ You cannot do a great job without having necessary context, such as target audie
|
|
|
30
30
|
|
|
31
31
|
Attempt to gather these from the current thread or codebase.
|
|
32
32
|
|
|
33
|
-
1. If you don't find *exact* information and have to infer from existing design and functionality, you MUST STOP and STOP and
|
|
34
|
-
2. Otherwise, if you can't fully infer or your level of confidence is medium or lower, you MUST STOP and
|
|
33
|
+
1. If you don't find *exact* information and have to infer from existing design and functionality, you MUST STOP and STOP and ask the user directly to clarify. whether you got it right.
|
|
34
|
+
2. Otherwise, if you can't fully infer or your level of confidence is medium or lower, you MUST STOP and ask the user directly to clarify. clarifying questions first to complete your context.
|
|
35
35
|
|
|
36
36
|
Do NOT proceed until you have answers. Guessing leads to inappropriate or excessive animation.
|
|
37
37
|
|
|
@@ -58,7 +58,7 @@ Analyze where motion would improve the experience:
|
|
|
58
58
|
- Who's the audience? (Motion-sensitive users? Power users who want speed?)
|
|
59
59
|
- What matters most? (One hero animation vs many micro-interactions?)
|
|
60
60
|
|
|
61
|
-
If any of these are unclear from the codebase, STOP and
|
|
61
|
+
If any of these are unclear from the codebase, STOP and ask the user directly to clarify.
|
|
62
62
|
|
|
63
63
|
**CRITICAL**: Respect `prefers-reduced-motion`. Always provide non-animated alternatives for users who need them.
|
|
64
64
|
|
|
@@ -30,8 +30,8 @@ You cannot do a great job without having necessary context, such as target audie
|
|
|
30
30
|
|
|
31
31
|
Attempt to gather these from the current thread or codebase.
|
|
32
32
|
|
|
33
|
-
1. If you don't find *exact* information and have to infer from existing design and functionality, you MUST STOP and STOP and
|
|
34
|
-
2. Otherwise, if you can't fully infer or your level of confidence is medium or lower, you MUST STOP and
|
|
33
|
+
1. If you don't find *exact* information and have to infer from existing design and functionality, you MUST STOP and STOP and ask the user directly to clarify. whether you got it right.
|
|
34
|
+
2. Otherwise, if you can't fully infer or your level of confidence is medium or lower, you MUST STOP and ask the user directly to clarify. clarifying questions first to complete your context.
|
|
35
35
|
|
|
36
36
|
Do NOT proceed until you have answers. Guessing leads to generic AI slop.
|
|
37
37
|
|
|
@@ -59,7 +59,7 @@ Analyze what makes the design feel too safe or boring:
|
|
|
59
59
|
- Who's the audience? (What will resonate?)
|
|
60
60
|
- What are the constraints? (Brand guidelines, accessibility, performance)
|
|
61
61
|
|
|
62
|
-
If any of these are unclear from the codebase, STOP and
|
|
62
|
+
If any of these are unclear from the codebase, STOP and ask the user directly to clarify.
|
|
63
63
|
|
|
64
64
|
**CRITICAL**: "Bolder" doesn't mean chaotic or garish. It means distinctive, memorable, and confident. Think intentional drama, not random chaos.
|
|
65
65
|
|
|
@@ -30,8 +30,8 @@ You cannot do a great job without having necessary context, such as target audie
|
|
|
30
30
|
|
|
31
31
|
Attempt to gather these from the current thread or codebase.
|
|
32
32
|
|
|
33
|
-
1. If you don't find *exact* information and have to infer from existing design and functionality, you MUST STOP and STOP and
|
|
34
|
-
2. Otherwise, if you can't fully infer or your level of confidence is medium or lower, you MUST STOP and
|
|
33
|
+
1. If you don't find *exact* information and have to infer from existing design and functionality, you MUST STOP and STOP and ask the user directly to clarify. whether you got it right.
|
|
34
|
+
2. Otherwise, if you can't fully infer or your level of confidence is medium or lower, you MUST STOP and ask the user directly to clarify. clarifying questions first to complete your context.
|
|
35
35
|
|
|
36
36
|
Do NOT proceed until you have answers. Guessing leads to generic AI slop colors.
|
|
37
37
|
|
|
@@ -59,7 +59,7 @@ Analyze the current state and identify opportunities:
|
|
|
59
59
|
- **Wayfinding**: Helping users navigate and understand structure
|
|
60
60
|
- **Delight**: Moments of visual interest and personality
|
|
61
61
|
|
|
62
|
-
If any of these are unclear from the codebase, STOP and
|
|
62
|
+
If any of these are unclear from the codebase, STOP and ask the user directly to clarify.
|
|
63
63
|
|
|
64
64
|
**CRITICAL**: More color ≠ better. Strategic color beats rainbow vomit every time. Every color should have a purpose.
|
|
65
65
|
|
|
@@ -30,8 +30,8 @@ You cannot do a great job without having necessary context, such as target audie
|
|
|
30
30
|
|
|
31
31
|
Attempt to gather these from the current thread or codebase.
|
|
32
32
|
|
|
33
|
-
1. If you don't find *exact* information and have to infer from existing design and functionality, you MUST STOP and STOP and
|
|
34
|
-
2. Otherwise, if you can't fully infer or your level of confidence is medium or lower, you MUST STOP and
|
|
33
|
+
1. If you don't find *exact* information and have to infer from existing design and functionality, you MUST STOP and STOP and ask the user directly to clarify. whether you got it right.
|
|
34
|
+
2. Otherwise, if you can't fully infer or your level of confidence is medium or lower, you MUST STOP and ask the user directly to clarify. clarifying questions first to complete your context.
|
|
35
35
|
|
|
36
36
|
Do NOT proceed until you have answers. Delight that's wrong for the context is worse than no delight at all.
|
|
37
37
|
|
|
@@ -66,7 +66,7 @@ Identify where delight would enhance (not distract from) the experience:
|
|
|
66
66
|
- **Helpful surprises**: Anticipating needs before users ask (productivity tools)
|
|
67
67
|
- **Sensory richness**: Satisfying sounds, smooth animations (creative tools)
|
|
68
68
|
|
|
69
|
-
If any of these are unclear from the codebase, STOP and
|
|
69
|
+
If any of these are unclear from the codebase, STOP and ask the user directly to clarify.
|
|
70
70
|
|
|
71
71
|
**CRITICAL**: Delight should enhance usability, never obscure it. If users notice the delight more than accomplishing their goal, you've gone too far.
|
|
72
72
|
|
|
@@ -30,8 +30,8 @@ You cannot do a great job without having necessary context, such as target audie
|
|
|
30
30
|
|
|
31
31
|
Attempt to gather these from the current thread or codebase.
|
|
32
32
|
|
|
33
|
-
1. If you don't find *exact* information and have to infer from existing design and functionality, you MUST STOP and STOP and
|
|
34
|
-
2. Otherwise, if you can't fully infer or your level of confidence is medium or lower, you MUST STOP and
|
|
33
|
+
1. If you don't find *exact* information and have to infer from existing design and functionality, you MUST STOP and STOP and ask the user directly to clarify. whether you got it right.
|
|
34
|
+
2. Otherwise, if you can't fully infer or your level of confidence is medium or lower, you MUST STOP and ask the user directly to clarify. clarifying questions first to complete your context.
|
|
35
35
|
|
|
36
36
|
Do NOT proceed until you have answers. Guessing leads to generic design.
|
|
37
37
|
|
|
@@ -59,7 +59,7 @@ Analyze what makes the design feel too intense:
|
|
|
59
59
|
- What's working? (Don't throw away good ideas)
|
|
60
60
|
- What's the core message? (Preserve what matters)
|
|
61
61
|
|
|
62
|
-
If any of these are unclear from the codebase, STOP and
|
|
62
|
+
If any of these are unclear from the codebase, STOP and ask the user directly to clarify.
|
|
63
63
|
|
|
64
64
|
**CRITICAL**: "Quieter" doesn't mean boring or generic. It means refined, sophisticated, and easier on the eyes. Think luxury, not laziness.
|
|
65
65
|
|
|
@@ -30,8 +30,8 @@ You cannot do a great job without having necessary context, such as target audie
|
|
|
30
30
|
|
|
31
31
|
Attempt to gather these from the current thread or codebase.
|
|
32
32
|
|
|
33
|
-
1. If you don't find *exact* information and have to infer from existing design and functionality, you MUST STOP and STOP and
|
|
34
|
-
2. Otherwise, if you can't fully infer or your level of confidence is medium or lower, you MUST STOP and
|
|
33
|
+
1. If you don't find *exact* information and have to infer from existing design and functionality, you MUST STOP and STOP and ask the user directly to clarify. whether you got it right.
|
|
34
|
+
2. Otherwise, if you can't fully infer or your level of confidence is medium or lower, you MUST STOP and ask the user directly to clarify. clarifying questions first to complete your context.
|
|
35
35
|
|
|
36
36
|
Do NOT proceed until you have answers. Simplifying the wrong things destroys usability.
|
|
37
37
|
|
|
@@ -59,7 +59,7 @@ Analyze what makes the design feel complex or cluttered:
|
|
|
59
59
|
- What can be removed, hidden, or combined?
|
|
60
60
|
- What's the 20% that delivers 80% of value?
|
|
61
61
|
|
|
62
|
-
If any of these are unclear from the codebase, STOP and
|
|
62
|
+
If any of these are unclear from the codebase, STOP and ask the user directly to clarify.
|
|
63
63
|
|
|
64
64
|
**CRITICAL**: Simplicity is not about removing features - it's about removing obstacles between users and their goals. Every element should justify its existence.
|
|
65
65
|
|
|
@@ -21,7 +21,7 @@ Read all files in `.planning/todos/`. Parse frontmatter for status, area, priori
|
|
|
21
21
|
|
|
22
22
|
Also read `.planning/STATE.md` and `.planning/ROADMAP.md` for project context.
|
|
23
23
|
|
|
24
|
-
Reference: `~/.claude/qualia-
|
|
24
|
+
Reference: `~/.claude/qualia-framework/workflows/check-todos.md`
|
|
25
25
|
|
|
26
26
|
### 2. Display List
|
|
27
27
|
|
|
@@ -20,7 +20,7 @@ Systematic debugging with four modes: interactive symptom-based debugging, deep
|
|
|
20
20
|
|
|
21
21
|
Load state with `qualia-tools.js`:
|
|
22
22
|
```bash
|
|
23
|
-
node ~/.claude/qualia-
|
|
23
|
+
node ~/.claude/qualia-framework/bin/qualia-tools.js phase-op current
|
|
24
24
|
```
|
|
25
25
|
|
|
26
26
|
Check for existing debug sessions in `.planning/debug/`.
|
|
@@ -59,7 +59,7 @@ Reference: `~/.claude/agents/qualia-debugger.md`
|
|
|
59
59
|
|
|
60
60
|
Model resolution:
|
|
61
61
|
```bash
|
|
62
|
-
node ~/.claude/qualia-
|
|
62
|
+
node ~/.claude/qualia-framework/bin/qualia-tools.js resolve-model qualia-debugger
|
|
63
63
|
```
|
|
64
64
|
|
|
65
65
|
The debugger follows a systematic approach:
|
|
@@ -22,7 +22,7 @@ The phase boundary is FIXED — discussion clarifies HOW to implement, not WHETH
|
|
|
22
22
|
|
|
23
23
|
Read the phase description from ROADMAP.md and any existing research.
|
|
24
24
|
|
|
25
|
-
Reference: `~/.claude/qualia-
|
|
25
|
+
Reference: `~/.claude/qualia-framework/workflows/discuss-phase.md`
|
|
26
26
|
|
|
27
27
|
### 2. Identify Domain Gray Areas
|
|
28
28
|
|
|
@@ -65,7 +65,7 @@ Write decisions to `.planning/phases/{phase}-{slug}/{phase}-CONTEXT.md`:
|
|
|
65
65
|
- Specific preferences expressed
|
|
66
66
|
```
|
|
67
67
|
|
|
68
|
-
Template: `~/.claude/qualia-
|
|
68
|
+
Template: `~/.claude/qualia-framework/templates/context.md`
|
|
69
69
|
|
|
70
70
|
### 5. Handoff
|
|
71
71
|
|
|
@@ -22,7 +22,7 @@ Read:
|
|
|
22
22
|
- `.planning/REQUIREMENTS.md` — Related requirements
|
|
23
23
|
- Phase RESEARCH.md if it exists
|
|
24
24
|
|
|
25
|
-
Reference: `~/.claude/qualia-
|
|
25
|
+
Reference: `~/.claude/qualia-framework/workflows/list-phase-assumptions.md`
|
|
26
26
|
|
|
27
27
|
### 2. Analyze 5 Areas
|
|
28
28
|
|
|
@@ -25,11 +25,11 @@ Read:
|
|
|
25
25
|
- `.planning/milestones/` — Previous milestone archives (if any)
|
|
26
26
|
- `.planning/STATE.md` — Current state
|
|
27
27
|
|
|
28
|
-
Reference: `~/.claude/qualia-
|
|
28
|
+
Reference: `~/.claude/qualia-framework/workflows/new-milestone.md`
|
|
29
29
|
|
|
30
30
|
### 2. Questioning Phase
|
|
31
31
|
|
|
32
|
-
Reference: `~/.claude/qualia-
|
|
32
|
+
Reference: `~/.claude/qualia-framework/references/questioning.md`
|
|
33
33
|
|
|
34
34
|
Ask targeted questions building on existing project knowledge:
|
|
35
35
|
- What's the goal of this milestone?
|
|
@@ -50,7 +50,7 @@ Add new milestone section to existing PROJECT.md (don't overwrite).
|
|
|
50
50
|
|
|
51
51
|
#### Create REQUIREMENTS.md
|
|
52
52
|
Fresh requirements for this milestone:
|
|
53
|
-
Template: `~/.claude/qualia-
|
|
53
|
+
Template: `~/.claude/qualia-framework/templates/requirements.md`
|
|
54
54
|
- Milestone definition (v{next_version})
|
|
55
55
|
- Functional requirements
|
|
56
56
|
- Non-functional requirements
|
|
@@ -65,7 +65,7 @@ Reset phase tracking for the new milestone while preserving project-level info.
|
|
|
65
65
|
#### Research (if conducted)
|
|
66
66
|
Save to `.planning/research/` directory.
|
|
67
67
|
|
|
68
|
-
UI/brand reference: `~/.claude/qualia-
|
|
68
|
+
UI/brand reference: `~/.claude/qualia-framework/references/ui-brand.md`
|
|
69
69
|
|
|
70
70
|
### 5. Next Step
|
|
71
71
|
|
|
@@ -83,7 +83,7 @@ Classify project type: `web` | `voice` | `mobile` | `agent` | `edge-functions` |
|
|
|
83
83
|
|
|
84
84
|
### Step 4: Spawn Wave 1 Agents (parallel)
|
|
85
85
|
|
|
86
|
-
Based on mode, spawn agents in a **single message** with multiple
|
|
86
|
+
Based on mode, spawn agents in a **single message** with multiple Agent() calls.
|
|
87
87
|
|
|
88
88
|
| Mode | Agents |
|
|
89
89
|
|------|--------|
|
|
@@ -93,12 +93,12 @@ Based on mode, spawn agents in a **single message** with multiple Task() calls.
|
|
|
93
93
|
| `backend` | backend-agent only |
|
|
94
94
|
| `alignment` | general-purpose with alignment prompt |
|
|
95
95
|
|
|
96
|
-
**CRITICAL**: Inline ALL planning context into each agent prompt. `@` references don't work across
|
|
96
|
+
**CRITICAL**: Inline ALL planning context into each agent prompt. `@` references don't work across Agent() boundaries.
|
|
97
97
|
|
|
98
98
|
#### Frontend Agent Prompt
|
|
99
99
|
|
|
100
100
|
```
|
|
101
|
-
|
|
101
|
+
Agent(
|
|
102
102
|
prompt="You are optimizing a project's frontend. Read the planning docs and codebase rules below, then analyze the actual code.
|
|
103
103
|
|
|
104
104
|
<planning>
|
|
@@ -148,7 +148,7 @@ For EVERY finding, output in this exact format:
|
|
|
148
148
|
#### Backend Agent Prompt
|
|
149
149
|
|
|
150
150
|
```
|
|
151
|
-
|
|
151
|
+
Agent(
|
|
152
152
|
prompt="You are optimizing a project's backend. Read the planning docs and security rules below, then analyze the actual code.
|
|
153
153
|
|
|
154
154
|
<planning>
|
|
@@ -201,7 +201,7 @@ For EVERY finding, output:
|
|
|
201
201
|
#### Performance Oracle Prompt
|
|
202
202
|
|
|
203
203
|
```
|
|
204
|
-
|
|
204
|
+
Agent(
|
|
205
205
|
prompt="You are analyzing cross-cutting performance issues. Read the project context, then analyze the codebase.
|
|
206
206
|
|
|
207
207
|
<planning>
|
|
@@ -250,7 +250,7 @@ For EVERY finding, output:
|
|
|
250
250
|
After all Wave 1 agents return, spawn the architecture strategist with their combined findings:
|
|
251
251
|
|
|
252
252
|
```
|
|
253
|
-
|
|
253
|
+
Agent(
|
|
254
254
|
prompt="You are synthesizing optimization findings from 3 specialist agents. Look for cross-cutting architectural issues.
|
|
255
255
|
|
|
256
256
|
<wave1_findings>
|
|
@@ -367,7 +367,7 @@ status: {clean|needs_attention|critical_issues}
|
|
|
367
367
|
|
|
368
368
|
Commit:
|
|
369
369
|
```bash
|
|
370
|
-
node ~/.claude/qualia-
|
|
370
|
+
node ~/.claude/qualia-framework/bin/qualia-tools.js commit "docs: optimization report ({mode} mode, {critical} critical)" --files .planning/OPTIMIZE.md
|
|
371
371
|
```
|
|
372
372
|
|
|
373
373
|
**Present results:**
|
|
@@ -18,7 +18,7 @@ Save current session context so the next session can pick up exactly where you l
|
|
|
18
18
|
|
|
19
19
|
Load `.planning/STATE.md` and check current phase status.
|
|
20
20
|
|
|
21
|
-
Reference: `~/.claude/qualia-
|
|
21
|
+
Reference: `~/.claude/qualia-framework/workflows/pause-work.md`
|
|
22
22
|
|
|
23
23
|
### 2. Create `.continue-here.md`
|
|
24
24
|
|
|
@@ -21,7 +21,7 @@ ls -t .planning/v*-MILESTONE-AUDIT.md | head -1
|
|
|
21
21
|
|
|
22
22
|
Read the most recent `v*-MILESTONE-AUDIT.md` file.
|
|
23
23
|
|
|
24
|
-
Reference: `~/.claude/qualia-
|
|
24
|
+
Reference: `~/.claude/qualia-framework/workflows/plan-milestone-gaps.md`
|
|
25
25
|
|
|
26
26
|
### 2. Load Project Context
|
|
27
27
|
|