qwen-base 1.0.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.
Files changed (71) hide show
  1. package/README.md +183 -0
  2. package/bin/install.js +227 -0
  3. package/package.json +42 -0
  4. package/src/commands/audit-claude-md.md +44 -0
  5. package/src/commands/audit-claude.md +45 -0
  6. package/src/commands/audit.md +33 -0
  7. package/src/commands/carl-hygiene.md +33 -0
  8. package/src/commands/groom.md +35 -0
  9. package/src/commands/history.md +27 -0
  10. package/src/commands/orientation/tasks/deep-why.md +132 -0
  11. package/src/commands/orientation/tasks/elevator-pitch.md +115 -0
  12. package/src/commands/orientation/tasks/initiatives.md +98 -0
  13. package/src/commands/orientation/tasks/key-values.md +130 -0
  14. package/src/commands/orientation/tasks/new-orientation.md +162 -0
  15. package/src/commands/orientation/tasks/north-star.md +97 -0
  16. package/src/commands/orientation/tasks/project-mapping.md +103 -0
  17. package/src/commands/orientation/tasks/reorientation.md +96 -0
  18. package/src/commands/orientation/tasks/surface-vision.md +113 -0
  19. package/src/commands/orientation/tasks/task-seeding.md +93 -0
  20. package/src/commands/orientation/templates/operator-json.md +88 -0
  21. package/src/commands/orientation.md +87 -0
  22. package/src/commands/pulse.md +33 -0
  23. package/src/commands/scaffold.md +33 -0
  24. package/src/commands/status.md +28 -0
  25. package/src/commands/surface-convert.md +35 -0
  26. package/src/commands/surface-create.md +34 -0
  27. package/src/commands/surface-list.md +27 -0
  28. package/src/commands/weekly-domain.md +34 -0
  29. package/src/commands/weekly.md +39 -0
  30. package/src/framework/context/base-principles.md +69 -0
  31. package/src/framework/frameworks/audit-strategies.md +53 -0
  32. package/src/framework/frameworks/claude-config-alignment.md +256 -0
  33. package/src/framework/frameworks/claudemd-strategy.md +158 -0
  34. package/src/framework/frameworks/satellite-registration.md +44 -0
  35. package/src/framework/tasks/audit-claude-md.md +171 -0
  36. package/src/framework/tasks/audit-claude.md +330 -0
  37. package/src/framework/tasks/audit.md +64 -0
  38. package/src/framework/tasks/carl-hygiene.md +142 -0
  39. package/src/framework/tasks/groom.md +157 -0
  40. package/src/framework/tasks/history.md +34 -0
  41. package/src/framework/tasks/pulse.md +83 -0
  42. package/src/framework/tasks/scaffold.md +389 -0
  43. package/src/framework/tasks/status.md +35 -0
  44. package/src/framework/tasks/surface-convert.md +143 -0
  45. package/src/framework/tasks/surface-create.md +184 -0
  46. package/src/framework/tasks/surface-list.md +42 -0
  47. package/src/framework/tasks/weekly-domain-create.md +173 -0
  48. package/src/framework/tasks/weekly.md +347 -0
  49. package/src/framework/templates/claudemd-template.md +102 -0
  50. package/src/framework/templates/workspace-json.md +96 -0
  51. package/src/framework/utils/scan-claude-dirs.py +549 -0
  52. package/src/hooks/_template.py +130 -0
  53. package/src/hooks/active-hook.py +178 -0
  54. package/src/hooks/apex-insights.py +169 -0
  55. package/src/hooks/backlog-hook.py +115 -0
  56. package/src/hooks/base-pulse-check.py +216 -0
  57. package/src/hooks/operator.py +53 -0
  58. package/src/hooks/psmm-injector.py +67 -0
  59. package/src/hooks/satellite-detection.py +320 -0
  60. package/src/packages/base-mcp/index.js +119 -0
  61. package/src/packages/base-mcp/package.json +10 -0
  62. package/src/packages/base-mcp/tools/entities.js +228 -0
  63. package/src/packages/base-mcp/tools/operator.js +106 -0
  64. package/src/packages/base-mcp/tools/projects.js +324 -0
  65. package/src/packages/base-mcp/tools/psmm.js +206 -0
  66. package/src/packages/base-mcp/tools/satellite.js +243 -0
  67. package/src/packages/base-mcp/tools/state.js +201 -0
  68. package/src/packages/base-mcp/tools/validate.js +121 -0
  69. package/src/skill/base.md +110 -0
  70. package/src/templates/operator.json +66 -0
  71. package/src/templates/workspace.json +76 -0
@@ -0,0 +1,97 @@
1
+ <purpose>
2
+ Define the operator's North Star — the one key metric or outcome that everything else aligns toward. Derives from the Deep Why and gives initiatives a measurable target.
3
+ </purpose>
4
+
5
+ <user-story>
6
+ As an operator, I want a single guiding metric that tells me whether my work is pointing in the right direction, so that I can evaluate opportunities and say no to misaligned ones.
7
+ </user-story>
8
+
9
+ <when-to-use>
10
+ - Phase 2 of new orientation (after Deep Why)
11
+ - Operator chose to reorient their North Star specifically
12
+ - Composed by new-orientation.md or reorientation.md
13
+ </when-to-use>
14
+
15
+ <steps>
16
+
17
+ <step name="ground_in_deep_why" priority="first">
18
+ <if condition="previous orientation exists">
19
+ > Your previous North Star was:
20
+ > *"{previous metric}" ({previous timeframe})*
21
+ </if>
22
+
23
+ > Your Deep Why: *"{deep_why_statement}"*
24
+ >
25
+ > A North Star is the one metric or outcome that, if you achieved it, would mean your Deep Why is being lived. It's not a task. It's not a project. It's the thing that makes all the projects make sense.
26
+ >
27
+ > What's the one outcome that matters most to you right now? Think in terms of something you could measure or clearly evaluate.
28
+
29
+ **Wait for response.**
30
+ </step>
31
+
32
+ <step name="refine_metric">
33
+ Evaluate the response:
34
+
35
+ - If too vague ("be successful", "make an impact"): Push for specificity. "What would you point to as proof that's happening?"
36
+ - If too narrow ("launch CaseGate"): Push for altitude. "That's a project, not a star. What does completing that project serve?"
37
+ - If it's a feeling ("feel free"): Acknowledge it, then ask "What would be true in your life when you feel that? What's the measurable version?"
38
+
39
+ Once the metric is crisp:
40
+
41
+ > **Your North Star metric:**
42
+ > *"{metric}"*
43
+ >
44
+ > What timeframe feels right for this? Not a deadline — a horizon. When would you evaluate whether you're on track?
45
+ >
46
+ > **[1] 6 months**
47
+ > **[2] 1 year**
48
+ > **[3] 2-3 years**
49
+ > **[4] Custom — I'll specify**
50
+
51
+ **Wait for response.**
52
+ </step>
53
+
54
+ <step name="rationale">
55
+ > Last piece — why this metric above all the others you could have chosen? One sentence.
56
+
57
+ **Wait for response.**
58
+ </step>
59
+
60
+ <step name="confirm_and_lock">
61
+ > **Your North Star:**
62
+ > *"{metric}"*
63
+ > **Timeframe:** {timeframe}
64
+ > **Why this one:** {rationale}
65
+ >
66
+ > **[1] Lock it in**
67
+ > **[2] Adjust the metric**
68
+ > **[3] Adjust the timeframe**
69
+
70
+ **Wait for response.**
71
+ </step>
72
+
73
+ <step name="lock">
74
+ North Star is locked.
75
+
76
+ Return to parent workflow with:
77
+ - `metric`: the north star metric
78
+ - `timeframe`: chosen horizon
79
+ - `rationale`: why this metric
80
+ - `completed_at`: current ISO date
81
+
82
+ This phase is complete. Parent workflow resumes.
83
+ </step>
84
+
85
+ </steps>
86
+
87
+ <output>
88
+ North Star data: metric + timeframe + rationale, ready for operator.json.
89
+ </output>
90
+
91
+ <acceptance-criteria>
92
+ - [ ] Metric is specific and evaluable (not vague aspiration)
93
+ - [ ] Metric connects back to Deep Why
94
+ - [ ] Timeframe is set
95
+ - [ ] Rationale captured
96
+ - [ ] Operator approved the final North Star
97
+ </acceptance-criteria>
@@ -0,0 +1,103 @@
1
+ <purpose>
2
+ Map existing projects to their parent initiatives and sync PAUL satellite data. Every project should trace to an initiative or be explicitly unparented.
3
+ </purpose>
4
+
5
+ <user-story>
6
+ As an operator with defined initiatives, I want my projects organized under the right strategic objectives with current PAUL data, so that I can see which work serves which goal.
7
+ </user-story>
8
+
9
+ <when-to-use>
10
+ - Phase 7 of new orientation (after Initiatives)
11
+ - Operator wants to reorganize project-to-initiative mappings
12
+ - Composed by new-orientation.md or reorientation.md
13
+ </when-to-use>
14
+
15
+ <steps>
16
+
17
+ <step name="pull_current_state" priority="first">
18
+ Pull initiatives and projects in parallel:
19
+ - base_list_projects(type="initiative")
20
+ - base_list_projects(type="project")
21
+
22
+ Display initiatives as target buckets, then list all projects with their current parent_id (or "unparented").
23
+
24
+ > ## Initiatives (target buckets)
25
+ > {For each: ID, title}
26
+ >
27
+ > ## Projects to Map
28
+ > {For each: ID, title, current parent, status, PAUL satellite if any}
29
+ >
30
+ > I'll go through each project. Tell me which initiative it belongs under, or say "none" to leave it unparented.
31
+ </step>
32
+
33
+ <step name="iterate_projects">
34
+ For each project without a parent (or with a stale/wrong parent):
35
+
36
+ > **{PRJ-ID}: {title}** ({status})
37
+ > {PAUL: satellite_name, phase if applicable}
38
+ >
39
+ > Which initiative does this serve?
40
+ > {List initiative options as [N] brackets}
41
+ > **[N+1] None — leave unparented**
42
+ > **[N+2] Archive — no longer active**
43
+
44
+ **Wait for response before moving to next project.**
45
+
46
+ When assigned, update via base_update_project(id, {parent_id: "INI-XXX"}).
47
+ </step>
48
+
49
+ <step name="sync_paul_data">
50
+ For each project that has a PAUL satellite (paul.json exists in its location):
51
+
52
+ 1. Read the paul.json file from the project's location
53
+ 2. Update the project's paul field with current: satellite_name, location, milestone, phase, loop_position, handoff status and path
54
+ 3. Update via base_update_project
55
+
56
+ Report: "{N} PAUL satellites synced"
57
+ </step>
58
+
59
+ <step name="confirm_and_lock">
60
+ Display the final mapping:
61
+
62
+ > ## Initiative → Project Mapping
63
+ >
64
+ > **{INI-001}: {title}**
65
+ > - {PRJ-XXX}: {title} (PAUL: {phase} | {status})
66
+ > - ...
67
+ >
68
+ > **{INI-002}: {title}**
69
+ > - ...
70
+ >
71
+ > **Unparented:**
72
+ > - {PRJ-XXX}: {title}
73
+ >
74
+ > **[1] Looks right — lock it in**
75
+ > **[2] Move a project**
76
+
77
+ **Wait for response.**
78
+ </step>
79
+
80
+ <step name="lock">
81
+ Project mapping is locked.
82
+
83
+ Return to parent workflow with:
84
+ - `mapped_count`: number of projects assigned to initiatives
85
+ - `unparented_count`: number left without a parent
86
+ - `paul_synced`: number of PAUL satellites updated
87
+ - `completed_at`: current ISO date
88
+
89
+ This phase is complete. Parent workflow resumes.
90
+ </step>
91
+
92
+ </steps>
93
+
94
+ <output>
95
+ All projects mapped to initiatives via Apex MCP. PAUL satellite data synced from paul.json files.
96
+ </output>
97
+
98
+ <acceptance-criteria>
99
+ - [ ] Every project reviewed — assigned to initiative, left unparented, or archived
100
+ - [ ] Parent IDs set via base_update_project MCP
101
+ - [ ] PAUL satellites synced from source paul.json files
102
+ - [ ] Final mapping displayed and approved by operator
103
+ </acceptance-criteria>
@@ -0,0 +1,96 @@
1
+ <purpose>
2
+ Guide an operator through reorientation when an existing operator.json is present. Iterates through each section, showing current values and prompting for keep/reset decisions before composing relevant phase tasks.
3
+ </purpose>
4
+
5
+ <user-story>
6
+ As an operator who has been through orientation before, I want to selectively reset parts of my identity profile, so that my profile evolves with me without starting completely from scratch every time.
7
+ </user-story>
8
+
9
+ <when-to-use>
10
+ - operator.json already exists
11
+ - Operator chose [1] Full reorientation from entry point
12
+ </when-to-use>
13
+
14
+ <context>
15
+ @../templates/operator-json.md
16
+ </context>
17
+
18
+ <steps>
19
+
20
+ <step name="load_current_profile" priority="first">
21
+ Read `.base/operator.json` and display the full current profile.
22
+
23
+ > ## Current Operator Profile
24
+ >
25
+ > **Deep Why:** {current statement}
26
+ > *(Last set: {date})*
27
+ >
28
+ > **North Star:** {current metric} ({timeframe})
29
+ > *(Last set: {date})*
30
+ >
31
+ > **Values:** {v1}, {v2}, {v3}, {v4}, {v5}
32
+ > *(Last set: {date})*
33
+ >
34
+ > **Elevator Pitch:** {current pitch}
35
+ > *(Last set: {date})*
36
+ >
37
+ > **Surface Vision:** {current summary}
38
+ > *(Last set: {date})*
39
+
40
+ Then begin iterating through each section.
41
+ </step>
42
+
43
+ <step name="iterate_sections">
44
+ For each section in order (Deep Why, North Star, Key Values, Elevator Pitch, Surface Vision, Initiatives, Project Mapping, Task Seeding):
45
+
46
+ > **{Section Name}**
47
+ > Current: {current value — one-line summary}
48
+ > Last set: {date}
49
+ >
50
+ > **[1] Keep** — this still resonates
51
+ > **[2] Reorient** — this needs work
52
+ > **[3] Skip for now** — come back to it later
53
+
54
+ **Wait for response before moving to next section.**
55
+
56
+ If [2]: Load and execute the corresponding phase task (e.g., @deep-why.md for Deep Why, @initiatives.md for Initiatives, @project-mapping.md for Project Mapping, @task-seeding.md for Task Seeding), passing current value as "previous orientation" context so the operator can see what they had before. When phase task completes, capture new output and continue iteration.
57
+
58
+ If [1] or [3]: Keep current value, move to next section.
59
+
60
+ Track which sections were reoriented vs kept.
61
+ </step>
62
+
63
+ <step name="write_updated_profile">
64
+ After iterating all 8 sections:
65
+
66
+ 1. Merge kept values with new values from reoriented sections
67
+ 2. Update `last_updated` timestamp
68
+ 3. Update `completed_at` only for sections that were reoriented
69
+ 4. Write updated `.base/operator.json`
70
+ 5. Display summary showing what changed:
71
+
72
+ > ## Reorientation Complete
73
+ >
74
+ > **Changed:** {list of reoriented sections}
75
+ > **Kept:** {list of kept sections}
76
+ > **Skipped:** {list of skipped sections}
77
+ >
78
+ > Profile updated at `.base/operator.json`.
79
+
80
+ **Wait for acknowledgment.**
81
+ </step>
82
+
83
+ </steps>
84
+
85
+ <output>
86
+ Updated `.base/operator.json` with selectively reoriented sections.
87
+ </output>
88
+
89
+ <acceptance-criteria>
90
+ - [ ] Current profile loaded and displayed
91
+ - [ ] Each section presented with keep/reorient/skip options
92
+ - [ ] Reoriented sections went through their full phase task
93
+ - [ ] Kept sections preserved unchanged
94
+ - [ ] operator.json updated with merged results
95
+ - [ ] Summary shows what changed vs what stayed
96
+ </acceptance-criteria>
@@ -0,0 +1,113 @@
1
+ <purpose>
2
+ Guide the operator to conjure 2-5 concrete, tangible future moments that represent what their life looks like when things are working. These are sensory anchors — specific enough to visualize, "superficial" on purpose because the surface is what the inner world connects to.
3
+ </purpose>
4
+
5
+ <user-story>
6
+ As an operator, I want tangible anchor points for the future I'm building toward, so that my inner psychology has something concrete to orient around rather than abstract goals.
7
+ </user-story>
8
+
9
+ <when-to-use>
10
+ - Phase 5 of new orientation (after Elevator Pitch)
11
+ - Operator chose to reorient their Surface Vision specifically
12
+ - Composed by new-orientation.md or reorientation.md
13
+ </when-to-use>
14
+
15
+ <steps>
16
+
17
+ <step name="set_the_frame" priority="first">
18
+ <if condition="previous orientation exists">
19
+ > Your previous Surface Vision scenes:
20
+ > - {scene 1}
21
+ > - {scene 2}
22
+ > - {scene 3}
23
+ > Summary: *"{previous summary}"*
24
+ </if>
25
+
26
+ > Your foundation:
27
+ > - **Deep Why:** {statement}
28
+ > - **North Star:** {metric}
29
+ > - **Values:** {v1}, {v2}, {v3}, {v4}, {v5}
30
+ > - **Pitch:** {pitch}
31
+ >
32
+ > Surface Vision is different from the others. This isn't about metrics or statements. This is about moments.
33
+ >
34
+ > Close your eyes for a second. Picture your life when the North Star is hit and the Deep Why is being lived daily. Don't think about the business model or the revenue. Think about a single moment in a regular day.
35
+ >
36
+ > What does one specific moment look like? Be concrete — where are you, what are you doing, what do you see, hear, feel?
37
+
38
+ **Wait for response.**
39
+ </step>
40
+
41
+ <step name="capture_scenes">
42
+ After the first scene:
43
+
44
+ > Good. That's Scene 1.
45
+ >
46
+ > Give me another moment. Different context — maybe a different time of day, different setting, different people. Still concrete, still specific.
47
+
48
+ **Wait for response.**
49
+
50
+ Continue capturing until operator has 2-5 scenes. After each:
51
+
52
+ > **[1] Add another scene** (max 5)
53
+ > **[2] That's enough — move on**
54
+
55
+ **Wait for response.**
56
+ </step>
57
+
58
+ <step name="synthesize">
59
+ Read back all scenes, then:
60
+
61
+ > Your scenes:
62
+ > 1. {scene 1}
63
+ > 2. {scene 2}
64
+ > 3. {scene 3}
65
+ > ...
66
+ >
67
+ > What's the thread? If you had to capture the essence of these moments in one sentence — what's the surface vision?
68
+
69
+ **Wait for response.**
70
+
71
+ If the summary is too abstract, push: "Make it more concrete. What would a camera capture?"
72
+ </step>
73
+
74
+ <step name="confirm_and_lock">
75
+ > ## Your Surface Vision
76
+ >
77
+ > **Scenes:**
78
+ > 1. {scene 1}
79
+ > 2. {scene 2}
80
+ > 3. {scene 3}
81
+ >
82
+ > **Summary:** *"{summary}"*
83
+ >
84
+ > **[1] Lock it in**
85
+ > **[2] Add or replace a scene**
86
+ > **[3] Reword the summary**
87
+
88
+ **Wait for response.**
89
+ </step>
90
+
91
+ <step name="lock">
92
+ Surface Vision is locked.
93
+
94
+ Return to parent workflow with:
95
+ - `scenes`: array of scene strings
96
+ - `summary`: one-sentence synthesis
97
+ - `completed_at`: current ISO date
98
+
99
+ This phase is complete. Parent workflow resumes.
100
+ </step>
101
+
102
+ </steps>
103
+
104
+ <output>
105
+ Surface Vision data: 2-5 scenes + summary sentence, ready for operator.json.
106
+ </output>
107
+
108
+ <acceptance-criteria>
109
+ - [ ] At least 2 scenes captured (max 5)
110
+ - [ ] Each scene is concrete and sensory, not abstract
111
+ - [ ] Summary captures the thread across scenes
112
+ - [ ] Operator approved the final vision
113
+ </acceptance-criteria>
@@ -0,0 +1,93 @@
1
+ <purpose>
2
+ Seed initial tasks under projects after initiatives and project mapping are complete. Tasks are the operator's personal accountability items — concrete must-dos regardless of who or how.
3
+ </purpose>
4
+
5
+ <user-story>
6
+ As an operator with aligned initiatives and projects, I want to capture the immediate must-do items under each project, so that I have a clear picture of what needs to happen next.
7
+ </user-story>
8
+
9
+ <when-to-use>
10
+ - Phase 8 of new orientation (after Project Mapping)
11
+ - Operator wants to refresh their task list
12
+ - Composed by new-orientation.md or reorientation.md
13
+ </when-to-use>
14
+
15
+ <steps>
16
+
17
+ <step name="frame_and_filter" priority="first">
18
+ > Tasks are YOUR accountability items — things that must get done. Not Claude Code todos. Not aspirational ideas. Concrete next actions.
19
+ >
20
+ > We'll go initiative by initiative, project by project. For each project, I'll show you the current status and ask: "What must get done next?"
21
+ >
22
+ > You can skip any project that doesn't need tasks right now.
23
+ >
24
+ > **[1] Let's go — start with the highest priority initiative**
25
+ > **[2] Skip task seeding for now**
26
+
27
+ If [2]: Exit gracefully. Tasks can be added anytime via Apex MCP.
28
+
29
+ **Wait for response.**
30
+ </step>
31
+
32
+ <step name="iterate_by_initiative">
33
+ For each initiative (highest priority first):
34
+
35
+ > ## {INI-ID}: {initiative title}
36
+
37
+ For each project under the initiative:
38
+
39
+ > **{PRJ-ID}: {project title}** ({status})
40
+ > Next: {current next action from project data}
41
+ > {Blocked: {blocker} if applicable}
42
+ >
43
+ > Any must-do tasks to log under this project?
44
+ > Type them out, or say "skip" to move on.
45
+
46
+ **Wait for response.**
47
+
48
+ For each task the operator names:
49
+ - Create via base_add_project(type="task", parent_id="{PRJ-ID}", title="{task}")
50
+ - Confirm: "Logged: {task} under {project}"
51
+
52
+ Move to next project after each response.
53
+ </step>
54
+
55
+ <step name="summary">
56
+ After iterating all initiatives and projects:
57
+
58
+ > ## Tasks Seeded
59
+ >
60
+ > {For each initiative → project → tasks created}
61
+ >
62
+ > **Total:** {N} tasks across {N} projects
63
+ >
64
+ > **[1] Done — lock it in**
65
+ > **[2] Add more to a specific project**
66
+
67
+ **Wait for response.**
68
+ </step>
69
+
70
+ <step name="lock">
71
+ Task seeding is locked.
72
+
73
+ Return to parent workflow with:
74
+ - `tasks_created`: total count
75
+ - `projects_with_tasks`: count of projects that received tasks
76
+ - `completed_at`: current ISO date
77
+
78
+ This phase is complete. Parent workflow resumes.
79
+ </step>
80
+
81
+ </steps>
82
+
83
+ <output>
84
+ Tasks created in Apex via MCP under their parent projects. Operator's immediate accountability items are captured.
85
+ </output>
86
+
87
+ <acceptance-criteria>
88
+ - [ ] Each initiative's projects presented for task seeding
89
+ - [ ] Tasks created via base_add_project(type="task") with correct parent_id
90
+ - [ ] Operator could skip projects freely
91
+ - [ ] Summary displayed with total counts
92
+ - [ ] NEVER treated tasks as Claude Code internal todos
93
+ </acceptance-criteria>
@@ -0,0 +1,88 @@
1
+ # Operator Profile Template
2
+
3
+ Output file: `.base/operator.json`
4
+
5
+ ```template
6
+ {
7
+ "version": 1,
8
+ "last_updated": "{iso-date}",
9
+ "hook_active": true,
10
+ "operator": {
11
+ "entity_id": "{apex-entity-id}",
12
+ "name": "{operator-name}"
13
+ },
14
+ "deep_why": {
15
+ "layers": [
16
+ { "level": 1, "question": "Why do you do what you do?", "answer": "[Layer 1 answer]" },
17
+ { "level": 2, "question": "But why does that matter?", "answer": "[Layer 2 answer]" },
18
+ { "level": 3, "question": "But why?", "answer": "[Layer 3 answer]" },
19
+ { "level": 4, "question": "But why?", "answer": "[Layer 4 answer]" },
20
+ { "level": 5, "question": "But why?", "answer": "[Layer 5 answer — the root]" }
21
+ ],
22
+ "statement": "[Synthesized deep why — one sentence distilled from the 5 layers]",
23
+ "completed_at": "{iso-date}"
24
+ },
25
+ "north_star": {
26
+ "metric": "[The key metric or outcome everything aligns toward]",
27
+ "timeframe": "[Target timeframe for this north star]",
28
+ "rationale": "[Why this metric above all others]",
29
+ "completed_at": "{iso-date}"
30
+ },
31
+ "key_values": {
32
+ "values": [
33
+ { "rank": 1, "value": "[Value name]", "meaning": "[What this means to the operator in practice]" },
34
+ { "rank": 2, "value": "[Value name]", "meaning": "[What this means to the operator in practice]" },
35
+ { "rank": 3, "value": "[Value name]", "meaning": "[What this means to the operator in practice]" },
36
+ { "rank": 4, "value": "[Value name]", "meaning": "[What this means to the operator in practice]" },
37
+ { "rank": 5, "value": "[Value name]", "meaning": "[What this means to the operator in practice]" }
38
+ ],
39
+ "completed_at": "{iso-date}"
40
+ },
41
+ "elevator_pitch": {
42
+ "pitch": "[4-floor elevator pitch — who you are, what you do, why it matters, what's next]",
43
+ "floors": {
44
+ "floor_1": "[Who you are]",
45
+ "floor_2": "[What you do]",
46
+ "floor_3": "[Why it matters]",
47
+ "floor_4": "[What's next / the ask / the vision]"
48
+ },
49
+ "completed_at": "{iso-date}"
50
+ },
51
+ "surface_vision": {
52
+ "scenes": [
53
+ "[Concrete future moment — specific, sensory, tangible]",
54
+ "[Another concrete future moment]",
55
+ "[Another concrete future moment]"
56
+ ],
57
+ "summary": "[One sentence that captures the overall surface vision]",
58
+ "completed_at": "{iso-date}"
59
+ },
60
+ "extensions": {}
61
+ }
62
+ ```
63
+
64
+ ## Field Documentation
65
+
66
+ | Field | Type | Description |
67
+ |-------|------|-------------|
68
+ | `version` | integer | Schema version for future migrations |
69
+ | `last_updated` | ISO date | When any section was last modified |
70
+ | `hook_active` | boolean | Controls whether operator hook injects context per prompt |
71
+ | `operator.entity_id` | string | Links to Apex entity (e.g., ENT-001) |
72
+ | `deep_why.layers` | array | The 5-layer "but why?" excavation |
73
+ | `deep_why.statement` | string | Final synthesized deep why |
74
+ | `north_star.metric` | string | The one metric/outcome that matters most |
75
+ | `north_star.timeframe` | string | When this should be achieved |
76
+ | `key_values.values` | array | Ranked top 5, each with practical meaning |
77
+ | `elevator_pitch.floors` | object | 4-part structured pitch |
78
+ | `surface_vision.scenes` | array | 2-5 concrete future moments |
79
+ | `extensions` | object | Open field for future operator metadata |
80
+
81
+ ## Section Specifications
82
+
83
+ - **deep_why**: All 5 layers must be filled. The statement is a synthesis, not a copy of layer 5.
84
+ - **north_star**: Must be measurable or at minimum clearly evaluable. Timeframe is required.
85
+ - **key_values**: Exactly 5, ranked. Meaning field captures how the value shows up in daily decisions.
86
+ - **elevator_pitch**: Each floor is one sentence max. The full pitch should be speakable in 30 seconds.
87
+ - **surface_vision**: Minimum 2 scenes, maximum 5. Must be concrete and sensory, not abstract aspirations.
88
+ - **extensions**: Reserved for future operator metadata (e.g., strengths profile, archetype data).
@@ -0,0 +1,87 @@
1
+ <activation>
2
+ ## What
3
+ Guided operator identity workflow that produces or updates `.base/operator.json`. Walks the operator through Deep Why, North Star, 5 Key Values, Elevator Pitch, and Surface Vision to create a deep operator profile that aligns initiatives, projects, and tasks.
4
+
5
+ ## When to Use
6
+ - First time setting up a workspace (no operator.json exists)
7
+ - Operator feels disoriented and needs to realign
8
+ - Periodic review of identity anchors (quarterly recommended)
9
+ - After major life or business shifts
10
+
11
+ ## Not For
12
+ - Project-level planning (use /paul:plan)
13
+ - Task tracking updates (use Apex MCP directly)
14
+ - Workspace health checks (use /base:pulse)
15
+ </activation>
16
+
17
+ <persona>
18
+ ## Role
19
+ Orientation guide — facilitates deep self-inquiry without rushing, fluff, or false depth. Holds space for reflection while keeping momentum.
20
+
21
+ ## Style
22
+ - Direct questions, no leading preamble
23
+ - Waits between phases — never auto-advances
24
+ - Uses [N] option brackets for navigation at every decision point
25
+ - Reflects back what the operator said before synthesizing — no assumptions
26
+ - Challenges surface-level answers with "go deeper" follow-ups when warranted
27
+
28
+ ## Expertise
29
+ - Identity frameworks, values clarification, vision anchoring
30
+ - Composable workflow orchestration (parent/child task flow)
31
+ - Operator profile data modeling
32
+ </persona>
33
+
34
+ <commands>
35
+ | Command | Description | Routes To |
36
+ |---------|-------------|-----------|
37
+ | `/base:orientation` | Full orientation workflow | (this entry point) |
38
+ </commands>
39
+
40
+ <routing>
41
+ ## Always Load
42
+ Nothing — lightweight until invoked.
43
+
44
+ ## Load on Command
45
+ @orientation/tasks/new-orientation.md (when no operator.json exists)
46
+ @orientation/tasks/reorientation.md (when operator.json exists and operator wants to reset)
47
+
48
+ ## Load on Demand
49
+ @orientation/tasks/deep-why.md (Phase 1 of orientation)
50
+ @orientation/tasks/north-star.md (Phase 2 of orientation)
51
+ @orientation/tasks/key-values.md (Phase 3 of orientation)
52
+ @orientation/tasks/elevator-pitch.md (Phase 4 of orientation)
53
+ @orientation/tasks/surface-vision.md (Phase 5 of orientation)
54
+ @orientation/tasks/initiatives.md (Phase 6 of orientation)
55
+ @orientation/tasks/project-mapping.md (Phase 7 of orientation)
56
+ @orientation/tasks/task-seeding.md (Phase 8 of orientation)
57
+ @orientation/templates/operator-json.md (schema reference for operator.json)
58
+ </routing>
59
+
60
+ <greeting>
61
+ ## Orientation Check
62
+
63
+ Read `.base/operator.json` to determine current state.
64
+
65
+ **If operator.json does NOT exist:**
66
+ > No operator profile found. This is your first orientation.
67
+ >
68
+ > This workflow will walk you through 8 phases — 5 identity exercises then 3 workspace alignment steps. Defines who you are, where you're headed, and organizes your work to match. Takes 30-60 minutes depending on how deep you go.
69
+ >
70
+ > **[1] Begin orientation**
71
+ > **[2] Not now — exit**
72
+
73
+ If [1]: Load and execute @orientation/tasks/new-orientation.md
74
+
75
+ **If operator.json EXISTS:**
76
+ Load and display current profile summary (North Star, Deep Why, Values, Pitch, Vision — one line each).
77
+
78
+ > Your last orientation was on {last_updated date}.
79
+ >
80
+ > **[1] Full reorientation** — reset everything from scratch
81
+ > **[2] Update a specific section** — keep the rest
82
+ > **[3] Review only** — just look, don't change anything
83
+
84
+ If [1]: Load and execute @orientation/tasks/reorientation.md
85
+ If [2]: Ask which section, then load that specific task
86
+ If [3]: Display full profile and exit
87
+ </greeting>