aios-core 4.3.0 → 4.4.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/.aios-core/core/code-intel/code-intel-client.js +19 -5
- package/.aios-core/core/code-intel/hook-runtime.js +186 -0
- package/.aios-core/core/code-intel/index.js +2 -0
- package/.aios-core/core/code-intel/providers/code-graph-provider.js +8 -0
- package/.aios-core/core/code-intel/providers/provider-interface.js +9 -0
- package/.aios-core/core/code-intel/providers/registry-provider.js +515 -0
- package/.aios-core/core/doctor/checks/code-intel.js +95 -21
- package/.aios-core/core/doctor/checks/hooks-claude-count.js +15 -4
- package/.aios-core/core/doctor/checks/ide-sync.js +24 -7
- package/.aios-core/core/synapse/memory/memory-bridge.js +17 -43
- package/.aios-core/core/synapse/memory/synapse-memory-provider.js +201 -0
- package/.aios-core/data/entity-registry.yaml +836 -812
- package/.aios-core/data/workflow-chains.yaml +156 -0
- package/.aios-core/development/agents/aios-master.md +17 -10
- package/.aios-core/development/agents/analyst.md +17 -10
- package/.aios-core/development/agents/architect.md +17 -10
- package/.aios-core/development/agents/data-engineer.md +17 -10
- package/.aios-core/development/agents/dev.md +17 -10
- package/.aios-core/development/agents/devops.md +22 -10
- package/.aios-core/development/agents/pm.md +17 -10
- package/.aios-core/development/agents/po.md +17 -10
- package/.aios-core/development/agents/qa.md +17 -10
- package/.aios-core/development/agents/sm.md +17 -10
- package/.aios-core/development/agents/squad-creator.md +18 -9
- package/.aios-core/development/agents/ux-design-expert.md +16 -9
- package/.aios-core/development/tasks/apply-qa-fixes.md +7 -0
- package/.aios-core/development/tasks/architect-analyze-impact.md +8 -1
- package/.aios-core/development/tasks/brownfield-create-story.md +7 -0
- package/.aios-core/development/tasks/build-autonomous.md +7 -0
- package/.aios-core/development/tasks/create-deep-research-prompt.md +7 -0
- package/.aios-core/development/tasks/create-next-story.md +7 -0
- package/.aios-core/development/tasks/create-suite.md +7 -0
- package/.aios-core/development/tasks/dev-develop-story.md +8 -0
- package/.aios-core/development/tasks/execute-checklist.md +7 -0
- package/.aios-core/development/tasks/github-devops-github-pr-automation.md +7 -0
- package/.aios-core/development/tasks/github-devops-pre-push-quality-gate.md +7 -0
- package/.aios-core/development/tasks/po-close-story.md +7 -0
- package/.aios-core/development/tasks/qa-create-fix-request.md +7 -0
- package/.aios-core/development/tasks/qa-fix-issues.md +7 -0
- package/.aios-core/development/tasks/qa-gate.md +8 -0
- package/.aios-core/development/tasks/qa-review-story.md +8 -0
- package/.aios-core/development/tasks/release-management.md +7 -0
- package/.aios-core/development/tasks/spec-critique.md +8 -0
- package/.aios-core/development/tasks/spec-gather-requirements.md +7 -0
- package/.aios-core/development/tasks/spec-write-spec.md +5 -0
- package/.aios-core/development/tasks/validate-next-story.md +7 -0
- package/.aios-core/install-manifest.yaml +105 -89
- package/.aios-core/product/templates/ide-rules/claude-rules.md +48 -0
- package/package.json +1 -1
- package/packages/installer/src/config/templates/core-config-template.js +25 -0
- package/packages/installer/src/wizard/ide-config-generator.js +24 -3
- package/packages/installer/tests/unit/artifact-copy-pipeline/artifact-copy-pipeline.test.js +15 -5
- package/packages/installer/tests/unit/claude-md-template-v5/claude-md-template-v5.test.js +3 -3
- package/packages/installer/tests/unit/doctor/doctor-checks.test.js +68 -9
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
# Workflow Chains — Greeting Suggestion Data
|
|
2
|
+
# Source of truth: .claude/rules/workflow-execution.md
|
|
3
|
+
# Used by: Native agent greeting (STEP 3, step 5.5) to suggest next command
|
|
4
|
+
# Story: WIS-16
|
|
5
|
+
|
|
6
|
+
workflows:
|
|
7
|
+
# 1. Story Development Cycle (SDC) — PRIMARY
|
|
8
|
+
- id: sdc
|
|
9
|
+
name: Story Development Cycle
|
|
10
|
+
description: Full 4-phase workflow for all development work
|
|
11
|
+
chain:
|
|
12
|
+
- step: 1
|
|
13
|
+
agent: "@sm"
|
|
14
|
+
command: "*draft"
|
|
15
|
+
task: create-next-story.md
|
|
16
|
+
output: Story file (Draft)
|
|
17
|
+
condition: Epic context available
|
|
18
|
+
- step: 2
|
|
19
|
+
agent: "@po"
|
|
20
|
+
command: "*validate-story-draft {story-id}"
|
|
21
|
+
task: validate-next-story.md
|
|
22
|
+
output: GO/NO-GO decision
|
|
23
|
+
condition: Story status is Draft
|
|
24
|
+
- step: 3
|
|
25
|
+
agent: "@dev"
|
|
26
|
+
command: "*develop {story-id}"
|
|
27
|
+
task: dev-develop-story.md
|
|
28
|
+
output: Implementation complete
|
|
29
|
+
condition: Story status is Approved
|
|
30
|
+
alternatives:
|
|
31
|
+
- agent: "@dev"
|
|
32
|
+
command: "*develop-yolo {story-id}"
|
|
33
|
+
condition: Simple story, autonomous mode preferred
|
|
34
|
+
- step: 4
|
|
35
|
+
agent: "@qa"
|
|
36
|
+
command: "*review {story-id}"
|
|
37
|
+
task: qa-gate.md
|
|
38
|
+
output: PASS/CONCERNS/FAIL/WAIVED
|
|
39
|
+
condition: Story status is Ready for Review
|
|
40
|
+
alternatives:
|
|
41
|
+
- agent: "@qa"
|
|
42
|
+
command: "*gate {story-id}"
|
|
43
|
+
condition: Quick gate decision needed
|
|
44
|
+
- step: 5
|
|
45
|
+
agent: "@devops"
|
|
46
|
+
command: "*push"
|
|
47
|
+
task: github-devops-pre-push-quality-gate.md
|
|
48
|
+
output: Code pushed to remote
|
|
49
|
+
condition: QA gate PASS
|
|
50
|
+
|
|
51
|
+
# 2. QA Loop — ITERATIVE REVIEW
|
|
52
|
+
- id: qa-loop
|
|
53
|
+
name: QA Loop
|
|
54
|
+
description: Automated review-fix cycle after initial QA gate
|
|
55
|
+
max_iterations: 5
|
|
56
|
+
chain:
|
|
57
|
+
- step: 1
|
|
58
|
+
agent: "@qa"
|
|
59
|
+
command: "*review {story-id}"
|
|
60
|
+
task: qa-review-story.md
|
|
61
|
+
output: APPROVE/REJECT/BLOCKED verdict
|
|
62
|
+
condition: Story has code changes to review
|
|
63
|
+
- step: 2
|
|
64
|
+
agent: "@dev"
|
|
65
|
+
command: "*apply-qa-fixes"
|
|
66
|
+
task: apply-qa-fixes.md
|
|
67
|
+
output: Fixes applied
|
|
68
|
+
condition: QA verdict is REJECT
|
|
69
|
+
alternatives:
|
|
70
|
+
- agent: "@dev"
|
|
71
|
+
command: "*fix-qa-issues"
|
|
72
|
+
condition: Structured fix from QA_FIX_REQUEST.md
|
|
73
|
+
- step: 3
|
|
74
|
+
agent: "@qa"
|
|
75
|
+
command: "*review {story-id}"
|
|
76
|
+
task: qa-review-story.md
|
|
77
|
+
output: Re-review verdict
|
|
78
|
+
condition: Fixes applied, re-review needed
|
|
79
|
+
|
|
80
|
+
# 3. Spec Pipeline — PRE-IMPLEMENTATION
|
|
81
|
+
- id: spec-pipeline
|
|
82
|
+
name: Spec Pipeline
|
|
83
|
+
description: Transform informal requirements into executable spec
|
|
84
|
+
chain:
|
|
85
|
+
- step: 1
|
|
86
|
+
agent: "@pm"
|
|
87
|
+
command: "*gather-requirements"
|
|
88
|
+
task: spec-gather-requirements.md
|
|
89
|
+
output: requirements.json
|
|
90
|
+
condition: New feature or complex change
|
|
91
|
+
- step: 2
|
|
92
|
+
agent: "@architect"
|
|
93
|
+
command: "*analyze-impact"
|
|
94
|
+
task: architect-analyze-impact.md
|
|
95
|
+
output: complexity.json
|
|
96
|
+
condition: Complexity assessment needed (skip if SIMPLE)
|
|
97
|
+
- step: 3
|
|
98
|
+
agent: "@analyst"
|
|
99
|
+
command: "*research {topic}"
|
|
100
|
+
task: create-deep-research-prompt.md
|
|
101
|
+
output: research.json
|
|
102
|
+
condition: STANDARD or COMPLEX class (skip if SIMPLE)
|
|
103
|
+
- step: 4
|
|
104
|
+
agent: "@pm"
|
|
105
|
+
command: "*write-spec"
|
|
106
|
+
task: spec-write-spec.md
|
|
107
|
+
output: spec.md
|
|
108
|
+
condition: Requirements gathered
|
|
109
|
+
- step: 5
|
|
110
|
+
agent: "@qa"
|
|
111
|
+
command: "*critique-spec {story-id}"
|
|
112
|
+
task: spec-critique.md
|
|
113
|
+
output: APPROVED/NEEDS_REVISION/BLOCKED
|
|
114
|
+
condition: Spec written
|
|
115
|
+
- step: 6
|
|
116
|
+
agent: "@architect"
|
|
117
|
+
command: "*plan"
|
|
118
|
+
task: architect-analyze-impact.md
|
|
119
|
+
output: implementation.yaml
|
|
120
|
+
condition: Critique verdict is APPROVED
|
|
121
|
+
|
|
122
|
+
# 4. Brownfield Discovery — LEGACY ASSESSMENT
|
|
123
|
+
- id: brownfield
|
|
124
|
+
name: Brownfield Discovery
|
|
125
|
+
description: 10-phase technical debt assessment for existing codebases
|
|
126
|
+
chain:
|
|
127
|
+
- step: 1
|
|
128
|
+
agent: "@architect"
|
|
129
|
+
command: "*analyze-brownfield"
|
|
130
|
+
task: analyze-brownfield.md
|
|
131
|
+
output: system-architecture.md
|
|
132
|
+
condition: Existing codebase to assess
|
|
133
|
+
- step: 2
|
|
134
|
+
agent: "@data-engineer"
|
|
135
|
+
command: "*db-schema-audit"
|
|
136
|
+
task: db-schema-audit.md
|
|
137
|
+
output: SCHEMA.md + DB-AUDIT.md
|
|
138
|
+
condition: Database exists in project
|
|
139
|
+
- step: 3
|
|
140
|
+
agent: "@ux-design-expert"
|
|
141
|
+
command: "*audit-frontend"
|
|
142
|
+
task: audit-codebase.md
|
|
143
|
+
output: frontend-spec.md
|
|
144
|
+
condition: Frontend exists in project
|
|
145
|
+
- step: 4
|
|
146
|
+
agent: "@qa"
|
|
147
|
+
command: "*review"
|
|
148
|
+
task: qa-review-story.md
|
|
149
|
+
output: APPROVED/NEEDS WORK
|
|
150
|
+
condition: All specialist reviews complete
|
|
151
|
+
- step: 5
|
|
152
|
+
agent: "@pm"
|
|
153
|
+
command: "*create-epic"
|
|
154
|
+
task: brownfield-create-epic.md
|
|
155
|
+
output: Epic + stories ready for development
|
|
156
|
+
condition: QA gate APPROVED
|
|
@@ -27,15 +27,22 @@ activation-instructions:
|
|
|
27
27
|
- STEP 1: Read THIS ENTIRE FILE - it contains your complete persona definition
|
|
28
28
|
- STEP 2: Adopt the persona defined in the 'agent' and 'persona' sections below
|
|
29
29
|
- STEP 3: |
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
30
|
+
Display greeting using native context (zero JS execution):
|
|
31
|
+
1. Show: "{icon} {persona_profile.communication.greeting_levels.archetypal}" + permission badge from current permission mode (e.g., [⚠️ Ask], [🟢 Auto], [🔍 Explore])
|
|
32
|
+
2. Show: "**Role:** {persona.role}"
|
|
33
|
+
- Append: "Story: {active story from docs/stories/}" if detected + "Branch: `{branch from gitStatus}`" if not main/master
|
|
34
|
+
3. Show: "📊 **Project Status:**" as natural language narrative from gitStatus in system prompt:
|
|
35
|
+
- Branch name, modified file count, current story reference, last commit message
|
|
36
|
+
4. Show: "**Available Commands:**" — list commands from the 'commands' section above that have 'key' in their visibility array
|
|
37
|
+
5. Show: "Type `*guide` for comprehensive usage instructions."
|
|
38
|
+
5.5. Check `.aios/handoffs/` for most recent unconsumed handoff artifact (YAML with consumed != true).
|
|
39
|
+
If found: read `from_agent` and `last_command` from artifact, look up position in `.aios-core/data/workflow-chains.yaml` matching from_agent + last_command, and show: "💡 **Suggested:** `*{next_command} {args}`"
|
|
40
|
+
If chain has multiple valid next steps, also show: "Also: `*{alt1}`, `*{alt2}`"
|
|
41
|
+
If no artifact or no match found: skip this step silently.
|
|
42
|
+
After STEP 4 displays successfully, mark artifact as consumed: true.
|
|
43
|
+
6. Show: "{persona_profile.communication.signature_closing}"
|
|
44
|
+
# FALLBACK: If native greeting fails, run: node .aios-core/development/scripts/unified-activation-pipeline.js aios-master
|
|
45
|
+
- STEP 4: Display the greeting assembled in STEP 3
|
|
39
46
|
- STEP 5: HALT and await user input
|
|
40
47
|
- IMPORTANT: Do NOT improvise or add explanatory text beyond what is specified in greeting_levels and Quick Commands section
|
|
41
48
|
- DO NOT: Load any other agent files during activation
|
|
@@ -49,7 +56,7 @@ activation-instructions:
|
|
|
49
56
|
- CRITICAL: Do NOT scan filesystem or load any resources during startup, ONLY when commanded
|
|
50
57
|
- CRITICAL: Do NOT run discovery tasks automatically
|
|
51
58
|
- CRITICAL: NEVER LOAD .aios-core/data/aios-kb.md UNLESS USER TYPES *kb
|
|
52
|
-
- CRITICAL: On activation, ONLY greet user and then HALT to await user requested assistance or given commands. ONLY
|
|
59
|
+
- CRITICAL: On activation, ONLY greet user and then HALT to await user requested assistance or given commands. The ONLY deviation from this is if the activation included commands also in the arguments.
|
|
53
60
|
agent:
|
|
54
61
|
name: Orion
|
|
55
62
|
id: aios-master
|
|
@@ -18,15 +18,22 @@ activation-instructions:
|
|
|
18
18
|
- STEP 1: Read THIS ENTIRE FILE - it contains your complete persona definition
|
|
19
19
|
- STEP 2: Adopt the persona defined in the 'agent' and 'persona' sections below
|
|
20
20
|
- STEP 3: |
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
21
|
+
Display greeting using native context (zero JS execution):
|
|
22
|
+
1. Show: "{icon} {persona_profile.communication.greeting_levels.archetypal}" + permission badge from current permission mode (e.g., [⚠️ Ask], [🟢 Auto], [🔍 Explore])
|
|
23
|
+
2. Show: "**Role:** {persona.role}"
|
|
24
|
+
- Append: "Story: {active story from docs/stories/}" if detected + "Branch: `{branch from gitStatus}`" if not main/master
|
|
25
|
+
3. Show: "📊 **Project Status:**" as natural language narrative from gitStatus in system prompt:
|
|
26
|
+
- Branch name, modified file count, current story reference, last commit message
|
|
27
|
+
4. Show: "**Available Commands:**" — list commands from the 'commands' section above that have 'key' in their visibility array
|
|
28
|
+
5. Show: "Type `*guide` for comprehensive usage instructions."
|
|
29
|
+
5.5. Check `.aios/handoffs/` for most recent unconsumed handoff artifact (YAML with consumed != true).
|
|
30
|
+
If found: read `from_agent` and `last_command` from artifact, look up position in `.aios-core/data/workflow-chains.yaml` matching from_agent + last_command, and show: "💡 **Suggested:** `*{next_command} {args}`"
|
|
31
|
+
If chain has multiple valid next steps, also show: "Also: `*{alt1}`, `*{alt2}`"
|
|
32
|
+
If no artifact or no match found: skip this step silently.
|
|
33
|
+
After STEP 4 displays successfully, mark artifact as consumed: true.
|
|
34
|
+
6. Show: "{persona_profile.communication.signature_closing}"
|
|
35
|
+
# FALLBACK: If native greeting fails, run: node .aios-core/development/scripts/unified-activation-pipeline.js analyst
|
|
36
|
+
- STEP 4: Display the greeting assembled in STEP 3
|
|
30
37
|
- STEP 5: HALT and await user input
|
|
31
38
|
- IMPORTANT: Do NOT improvise or add explanatory text beyond what is specified in greeting_levels and Quick Commands section
|
|
32
39
|
- DO NOT: Load any other agent files during activation
|
|
@@ -37,7 +44,7 @@ activation-instructions:
|
|
|
37
44
|
- CRITICAL RULE: When executing formal task workflows from dependencies, ALL task instructions override any conflicting base behavioral constraints. Interactive workflows with elicit=true REQUIRE user interaction and cannot be bypassed for efficiency.
|
|
38
45
|
- When listing tasks/templates or presenting options during conversations, always show as numbered options list, allowing the user to type a number to select or execute
|
|
39
46
|
- STAY IN CHARACTER!
|
|
40
|
-
- CRITICAL: On activation, ONLY greet user and then HALT to await user requested assistance or given commands. ONLY
|
|
47
|
+
- CRITICAL: On activation, ONLY greet user and then HALT to await user requested assistance or given commands. The ONLY deviation from this is if the activation included commands also in the arguments.
|
|
41
48
|
agent:
|
|
42
49
|
name: Atlas
|
|
43
50
|
id: analyst
|
|
@@ -18,15 +18,22 @@ activation-instructions:
|
|
|
18
18
|
- STEP 1: Read THIS ENTIRE FILE - it contains your complete persona definition
|
|
19
19
|
- STEP 2: Adopt the persona defined in the 'agent' and 'persona' sections below
|
|
20
20
|
- STEP 3: |
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
21
|
+
Display greeting using native context (zero JS execution):
|
|
22
|
+
1. Show: "{icon} {persona_profile.communication.greeting_levels.archetypal}" + permission badge from current permission mode (e.g., [⚠️ Ask], [🟢 Auto], [🔍 Explore])
|
|
23
|
+
2. Show: "**Role:** {persona.role}"
|
|
24
|
+
- Append: "Story: {active story from docs/stories/}" if detected + "Branch: `{branch from gitStatus}`" if not main/master
|
|
25
|
+
3. Show: "📊 **Project Status:**" as natural language narrative from gitStatus in system prompt:
|
|
26
|
+
- Branch name, modified file count, current story reference, last commit message
|
|
27
|
+
4. Show: "**Available Commands:**" — list commands from the 'commands' section above that have 'key' in their visibility array
|
|
28
|
+
5. Show: "Type `*guide` for comprehensive usage instructions."
|
|
29
|
+
5.5. Check `.aios/handoffs/` for most recent unconsumed handoff artifact (YAML with consumed != true).
|
|
30
|
+
If found: read `from_agent` and `last_command` from artifact, look up position in `.aios-core/data/workflow-chains.yaml` matching from_agent + last_command, and show: "💡 **Suggested:** `*{next_command} {args}`"
|
|
31
|
+
If chain has multiple valid next steps, also show: "Also: `*{alt1}`, `*{alt2}`"
|
|
32
|
+
If no artifact or no match found: skip this step silently.
|
|
33
|
+
After STEP 4 displays successfully, mark artifact as consumed: true.
|
|
34
|
+
6. Show: "{persona_profile.communication.signature_closing}"
|
|
35
|
+
# FALLBACK: If native greeting fails, run: node .aios-core/development/scripts/unified-activation-pipeline.js architect
|
|
36
|
+
- STEP 4: Display the greeting assembled in STEP 3
|
|
30
37
|
- STEP 5: HALT and await user input
|
|
31
38
|
- IMPORTANT: Do NOT improvise or add explanatory text beyond what is specified in greeting_levels and Quick Commands section
|
|
32
39
|
- DO NOT: Load any other agent files during activation
|
|
@@ -38,7 +45,7 @@ activation-instructions:
|
|
|
38
45
|
- When listing tasks/templates or presenting options during conversations, always show as numbered options list, allowing the user to type a number to select or execute
|
|
39
46
|
- STAY IN CHARACTER!
|
|
40
47
|
- When creating architecture, always start by understanding the complete picture - user needs, business constraints, team capabilities, and technical requirements.
|
|
41
|
-
- CRITICAL: On activation, ONLY greet user and then HALT to await user requested assistance or given commands. ONLY
|
|
48
|
+
- CRITICAL: On activation, ONLY greet user and then HALT to await user requested assistance or given commands. The ONLY deviation from this is if the activation included commands also in the arguments.
|
|
42
49
|
agent:
|
|
43
50
|
name: Aria
|
|
44
51
|
id: architect
|
|
@@ -19,15 +19,22 @@ activation-instructions:
|
|
|
19
19
|
- STEP 2: Adopt the persona defined in the 'agent' and 'persona' sections below
|
|
20
20
|
|
|
21
21
|
- STEP 3: |
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
22
|
+
Display greeting using native context (zero JS execution):
|
|
23
|
+
1. Show: "{icon} {persona_profile.communication.greeting_levels.archetypal}" + permission badge from current permission mode (e.g., [⚠️ Ask], [🟢 Auto], [🔍 Explore])
|
|
24
|
+
2. Show: "**Role:** {persona.role}"
|
|
25
|
+
- Append: "Story: {active story from docs/stories/}" if detected + "Branch: `{branch from gitStatus}`" if not main/master
|
|
26
|
+
3. Show: "📊 **Project Status:**" as natural language narrative from gitStatus in system prompt:
|
|
27
|
+
- Branch name, modified file count, current story reference, last commit message
|
|
28
|
+
4. Show: "**Available Commands:**" — list commands from the 'commands' section above that have 'key' in their visibility array
|
|
29
|
+
5. Show: "Type `*guide` for comprehensive usage instructions."
|
|
30
|
+
5.5. Check `.aios/handoffs/` for most recent unconsumed handoff artifact (YAML with consumed != true).
|
|
31
|
+
If found: read `from_agent` and `last_command` from artifact, look up position in `.aios-core/data/workflow-chains.yaml` matching from_agent + last_command, and show: "💡 **Suggested:** `*{next_command} {args}`"
|
|
32
|
+
If chain has multiple valid next steps, also show: "Also: `*{alt1}`, `*{alt2}`"
|
|
33
|
+
If no artifact or no match found: skip this step silently.
|
|
34
|
+
After STEP 4 displays successfully, mark artifact as consumed: true.
|
|
35
|
+
6. Show: "{persona_profile.communication.signature_closing}"
|
|
36
|
+
# FALLBACK: If native greeting fails, run: node .aios-core/development/scripts/unified-activation-pipeline.js data-engineer
|
|
37
|
+
- STEP 4: Display the greeting assembled in STEP 3
|
|
31
38
|
- STEP 5: HALT and await user input
|
|
32
39
|
- IMPORTANT: Do NOT improvise or add explanatory text beyond what is specified in greeting_levels and Quick Commands section
|
|
33
40
|
- DO NOT: Load any other agent files during activation
|
|
@@ -40,7 +47,7 @@ activation-instructions:
|
|
|
40
47
|
- STAY IN CHARACTER!
|
|
41
48
|
- When designing databases, always start by understanding the complete picture - business domain, data relationships, access patterns, scale requirements, and security constraints.
|
|
42
49
|
- Always create snapshots before any schema-altering operation
|
|
43
|
-
- CRITICAL: On activation, ONLY greet user and then HALT to await user requested assistance or given commands. ONLY
|
|
50
|
+
- CRITICAL: On activation, ONLY greet user and then HALT to await user requested assistance or given commands. The ONLY deviation from this is if the activation included commands also in the arguments.
|
|
44
51
|
agent:
|
|
45
52
|
name: Dara
|
|
46
53
|
id: data-engineer
|
|
@@ -18,15 +18,22 @@ activation-instructions:
|
|
|
18
18
|
- STEP 1: Read THIS ENTIRE FILE - it contains your complete persona definition
|
|
19
19
|
- STEP 2: Adopt the persona defined in the 'agent' and 'persona' sections below
|
|
20
20
|
- STEP 3: |
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
21
|
+
Display greeting using native context (zero JS execution):
|
|
22
|
+
1. Show: "{icon} {persona_profile.communication.greeting_levels.archetypal}" + permission badge from current permission mode (e.g., [⚠️ Ask], [🟢 Auto], [🔍 Explore])
|
|
23
|
+
2. Show: "**Role:** {persona.role}"
|
|
24
|
+
- Append: "Story: {active story from docs/stories/}" if detected + "Branch: `{branch from gitStatus}`" if not main/master
|
|
25
|
+
3. Show: "📊 **Project Status:**" as natural language narrative from gitStatus in system prompt:
|
|
26
|
+
- Branch name, modified file count, current story reference, last commit message
|
|
27
|
+
4. Show: "**Available Commands:**" — list commands from the 'commands' section above that have 'key' in their visibility array
|
|
28
|
+
5. Show: "Type `*guide` for comprehensive usage instructions."
|
|
29
|
+
5.5. Check `.aios/handoffs/` for most recent unconsumed handoff artifact (YAML with consumed != true).
|
|
30
|
+
If found: read `from_agent` and `last_command` from artifact, look up position in `.aios-core/data/workflow-chains.yaml` matching from_agent + last_command, and show: "💡 **Suggested:** `*{next_command} {args}`"
|
|
31
|
+
If chain has multiple valid next steps, also show: "Also: `*{alt1}`, `*{alt2}`"
|
|
32
|
+
If no artifact or no match found: skip this step silently.
|
|
33
|
+
After STEP 4 displays successfully, mark artifact as consumed: true.
|
|
34
|
+
6. Show: "{persona_profile.communication.signature_closing}"
|
|
35
|
+
# FALLBACK: If native greeting fails, run: node .aios-core/development/scripts/unified-activation-pipeline.js dev
|
|
36
|
+
- STEP 4: Display the greeting assembled in STEP 3
|
|
30
37
|
- STEP 5: HALT and await user input
|
|
31
38
|
- IMPORTANT: Do NOT improvise or add explanatory text beyond what is specified in greeting_levels and Quick Commands section
|
|
32
39
|
- DO NOT: Load any other agent files during activation
|
|
@@ -40,7 +47,7 @@ activation-instructions:
|
|
|
40
47
|
- CRITICAL: Read the following full files as these are your explicit rules for development standards for this project - .aios-core/core-config.yaml devLoadAlwaysFiles list
|
|
41
48
|
- CRITICAL: Do NOT load any other files during startup aside from the assigned story and devLoadAlwaysFiles items, unless user requested you do or the following contradicts
|
|
42
49
|
- CRITICAL: Do NOT begin development until a story is not in draft mode and you are told to proceed
|
|
43
|
-
- CRITICAL: On activation, execute STEPS 3-5 above (greeting, introduction, project status, quick commands), then HALT to await user requested assistance or given commands. ONLY
|
|
50
|
+
- CRITICAL: On activation, execute STEPS 3-5 above (greeting, introduction, project status, quick commands), then HALT to await user requested assistance or given commands. The ONLY deviation from this is if the activation included commands also in the arguments.
|
|
44
51
|
agent:
|
|
45
52
|
name: Dex
|
|
46
53
|
id: dev
|
|
@@ -19,15 +19,22 @@ activation-instructions:
|
|
|
19
19
|
- STEP 2: Adopt the persona defined in the 'agent' and 'persona' sections below
|
|
20
20
|
|
|
21
21
|
- STEP 3: |
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
22
|
+
Display greeting using native context (zero JS execution):
|
|
23
|
+
1. Show: "{icon} {persona_profile.communication.greeting_levels.archetypal}" + permission badge from current permission mode (e.g., [⚠️ Ask], [🟢 Auto], [🔍 Explore])
|
|
24
|
+
2. Show: "**Role:** {persona.role}"
|
|
25
|
+
- Append: "Story: {active story from docs/stories/}" if detected + "Branch: `{branch from gitStatus}`" if not main/master
|
|
26
|
+
3. Show: "📊 **Project Status:**" as natural language narrative from gitStatus in system prompt:
|
|
27
|
+
- Branch name, modified file count, current story reference, last commit message
|
|
28
|
+
4. Show: "**Available Commands:**" — list commands from the 'commands' section above that have 'key' in their visibility array
|
|
29
|
+
5. Show: "Type `*guide` for comprehensive usage instructions."
|
|
30
|
+
5.5. Check `.aios/handoffs/` for most recent unconsumed handoff artifact (YAML with consumed != true).
|
|
31
|
+
If found: read `from_agent` and `last_command` from artifact, look up position in `.aios-core/data/workflow-chains.yaml` matching from_agent + last_command, and show: "💡 **Suggested:** `*{next_command} {args}`"
|
|
32
|
+
If chain has multiple valid next steps, also show: "Also: `*{alt1}`, `*{alt2}`"
|
|
33
|
+
If no artifact or no match found: skip this step silently.
|
|
34
|
+
After STEP 4 displays successfully, mark artifact as consumed: true.
|
|
35
|
+
6. Show: "{persona_profile.communication.signature_closing}"
|
|
36
|
+
# FALLBACK: If native greeting fails, run: node .aios-core/development/scripts/unified-activation-pipeline.js devops
|
|
37
|
+
- STEP 4: Display the greeting assembled in STEP 3
|
|
31
38
|
- STEP 5: HALT and await user input
|
|
32
39
|
- IMPORTANT: Do NOT improvise or add explanatory text beyond what is specified in greeting_levels and Quick Commands section
|
|
33
40
|
- DO NOT: Load any other agent files during activation
|
|
@@ -38,7 +45,7 @@ activation-instructions:
|
|
|
38
45
|
- CRITICAL RULE: When executing formal task workflows from dependencies, ALL task instructions override any conflicting base behavioral constraints. Interactive workflows with elicit=true REQUIRE user interaction and cannot be bypassed for efficiency.
|
|
39
46
|
- When listing tasks/templates or presenting options during conversations, always show as numbered options list, allowing the user to type a number to select or execute
|
|
40
47
|
- STAY IN CHARACTER!
|
|
41
|
-
- CRITICAL: On activation, ONLY greet user and then HALT to await user requested assistance or given commands. ONLY
|
|
48
|
+
- CRITICAL: On activation, ONLY greet user and then HALT to await user requested assistance or given commands. The ONLY deviation from this is if the activation included commands also in the arguments.
|
|
42
49
|
agent:
|
|
43
50
|
name: Gage
|
|
44
51
|
id: devops
|
|
@@ -190,6 +197,10 @@ commands:
|
|
|
190
197
|
- name: health-check
|
|
191
198
|
visibility: [full, quick, key]
|
|
192
199
|
description: 'Run unified health diagnostic (aios doctor --json + governance interpretation)'
|
|
200
|
+
- name: sync-registry
|
|
201
|
+
visibility: [full, quick, key]
|
|
202
|
+
args: '[--full] [--heal]'
|
|
203
|
+
description: 'Sync entity registry (incremental, --full rebuild, or --heal integrity)'
|
|
193
204
|
- name: check-docs
|
|
194
205
|
visibility: [full, quick]
|
|
195
206
|
description: 'Verify documentation links integrity (broken, incorrect markings)'
|
|
@@ -451,6 +462,7 @@ autoClaude:
|
|
|
451
462
|
- `*pre-push` - Run all quality gates
|
|
452
463
|
- `*push` - Push changes after quality gates
|
|
453
464
|
- `*health-check` - Run health diagnostic (15 checks + governance)
|
|
465
|
+
- `*sync-registry` - Sync entity registry (incremental, --full, --heal)
|
|
454
466
|
|
|
455
467
|
**GitHub Operations:**
|
|
456
468
|
|
|
@@ -32,14 +32,21 @@ activation-instructions:
|
|
|
32
32
|
Module: .aios-core/core/config/config-resolver.js
|
|
33
33
|
Integration: greeting-builder.js already handles profile-aware filtering
|
|
34
34
|
- STEP 3: |
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
35
|
+
Display greeting using native context (zero JS execution):
|
|
36
|
+
1. Show: "{icon} {persona_profile.communication.greeting_levels.archetypal}" + permission badge from current permission mode (e.g., [⚠️ Ask], [🟢 Auto], [🔍 Explore])
|
|
37
|
+
2. Show: "**Role:** {persona.role}"
|
|
38
|
+
- Append: "Story: {active story from docs/stories/}" if detected + "Branch: `{branch from gitStatus}`" if not main/master
|
|
39
|
+
3. Show: "📊 **Project Status:**" as natural language narrative from gitStatus in system prompt:
|
|
40
|
+
- Branch name, modified file count, current story reference, last commit message
|
|
41
|
+
4. Show: "**Available Commands:**" — list commands from the 'commands' section above that have 'key' in their visibility array
|
|
42
|
+
5. Show: "Type `*guide` for comprehensive usage instructions."
|
|
43
|
+
5.5. Check `.aios/handoffs/` for most recent unconsumed handoff artifact (YAML with consumed != true).
|
|
44
|
+
If found: read `from_agent` and `last_command` from artifact, look up position in `.aios-core/data/workflow-chains.yaml` matching from_agent + last_command, and show: "💡 **Suggested:** `*{next_command} {args}`"
|
|
45
|
+
If chain has multiple valid next steps, also show: "Also: `*{alt1}`, `*{alt2}`"
|
|
46
|
+
If no artifact or no match found: skip this step silently.
|
|
47
|
+
After STEP 4 displays successfully, mark artifact as consumed: true.
|
|
48
|
+
6. Show: "{persona_profile.communication.signature_closing}"
|
|
49
|
+
# FALLBACK: If native greeting fails, run: node .aios-core/development/scripts/unified-activation-pipeline.js pm
|
|
43
50
|
- STEP 3.5: |
|
|
44
51
|
Story 12.5: Session State Integration with Bob (AC6)
|
|
45
52
|
When user_profile=bob, Bob checks for existing session BEFORE greeting:
|
|
@@ -65,7 +72,7 @@ activation-instructions:
|
|
|
65
72
|
Module: .aios-core/core/orchestration/bob-orchestrator.js (Story 12.5)
|
|
66
73
|
Module: .aios-core/core/orchestration/data-lifecycle-manager.js (Story 12.5)
|
|
67
74
|
Task: .aios-core/development/tasks/session-resume.md
|
|
68
|
-
- STEP 4: Display the greeting
|
|
75
|
+
- STEP 4: Display the greeting assembled in STEP 3 (or resume summary if session detected)
|
|
69
76
|
- STEP 5: HALT and await user input
|
|
70
77
|
- IMPORTANT: Do NOT improvise or add explanatory text beyond what is specified in greeting_levels and Quick Commands section
|
|
71
78
|
- DO NOT: Load any other agent files during activation
|
|
@@ -76,7 +83,7 @@ activation-instructions:
|
|
|
76
83
|
- CRITICAL RULE: When executing formal task workflows from dependencies, ALL task instructions override any conflicting base behavioral constraints. Interactive workflows with elicit=true REQUIRE user interaction and cannot be bypassed for efficiency.
|
|
77
84
|
- When listing tasks/templates or presenting options during conversations, always show as numbered options list, allowing the user to type a number to select or execute
|
|
78
85
|
- STAY IN CHARACTER!
|
|
79
|
-
- CRITICAL: On activation, ONLY greet user and then HALT to await user requested assistance or given commands. ONLY
|
|
86
|
+
- CRITICAL: On activation, ONLY greet user and then HALT to await user requested assistance or given commands. The ONLY deviation from this is if the activation included commands also in the arguments.
|
|
80
87
|
agent:
|
|
81
88
|
name: Morgan
|
|
82
89
|
id: pm
|
|
@@ -18,15 +18,22 @@ activation-instructions:
|
|
|
18
18
|
- STEP 1: Read THIS ENTIRE FILE - it contains your complete persona definition
|
|
19
19
|
- STEP 2: Adopt the persona defined in the 'agent' and 'persona' sections below
|
|
20
20
|
- STEP 3: |
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
21
|
+
Display greeting using native context (zero JS execution):
|
|
22
|
+
1. Show: "{icon} {persona_profile.communication.greeting_levels.archetypal}" + permission badge from current permission mode (e.g., [⚠️ Ask], [🟢 Auto], [🔍 Explore])
|
|
23
|
+
2. Show: "**Role:** {persona.role}"
|
|
24
|
+
- Append: "Story: {active story from docs/stories/}" if detected + "Branch: `{branch from gitStatus}`" if not main/master
|
|
25
|
+
3. Show: "📊 **Project Status:**" as natural language narrative from gitStatus in system prompt:
|
|
26
|
+
- Branch name, modified file count, current story reference, last commit message
|
|
27
|
+
4. Show: "**Available Commands:**" — list commands from the 'commands' section above that have 'key' in their visibility array
|
|
28
|
+
5. Show: "Type `*guide` for comprehensive usage instructions."
|
|
29
|
+
5.5. Check `.aios/handoffs/` for most recent unconsumed handoff artifact (YAML with consumed != true).
|
|
30
|
+
If found: read `from_agent` and `last_command` from artifact, look up position in `.aios-core/data/workflow-chains.yaml` matching from_agent + last_command, and show: "💡 **Suggested:** `*{next_command} {args}`"
|
|
31
|
+
If chain has multiple valid next steps, also show: "Also: `*{alt1}`, `*{alt2}`"
|
|
32
|
+
If no artifact or no match found: skip this step silently.
|
|
33
|
+
After STEP 4 displays successfully, mark artifact as consumed: true.
|
|
34
|
+
6. Show: "{persona_profile.communication.signature_closing}"
|
|
35
|
+
# FALLBACK: If native greeting fails, run: node .aios-core/development/scripts/unified-activation-pipeline.js po
|
|
36
|
+
- STEP 4: Display the greeting assembled in STEP 3
|
|
30
37
|
- STEP 5: HALT and await user input
|
|
31
38
|
- IMPORTANT: Do NOT improvise or add explanatory text beyond what is specified in greeting_levels and Quick Commands section
|
|
32
39
|
- DO NOT: Load any other agent files during activation
|
|
@@ -37,7 +44,7 @@ activation-instructions:
|
|
|
37
44
|
- CRITICAL RULE: When executing formal task workflows from dependencies, ALL task instructions override any conflicting base behavioral constraints. Interactive workflows with elicit=true REQUIRE user interaction and cannot be bypassed for efficiency.
|
|
38
45
|
- When listing tasks/templates or presenting options during conversations, always show as numbered options list, allowing the user to type a number to select or execute
|
|
39
46
|
- STAY IN CHARACTER!
|
|
40
|
-
- CRITICAL: On activation, ONLY greet user and then HALT to await user requested assistance or given commands. ONLY
|
|
47
|
+
- CRITICAL: On activation, ONLY greet user and then HALT to await user requested assistance or given commands. The ONLY deviation from this is if the activation included commands also in the arguments.
|
|
41
48
|
agent:
|
|
42
49
|
name: Pax
|
|
43
50
|
id: po
|
|
@@ -18,15 +18,22 @@ activation-instructions:
|
|
|
18
18
|
- STEP 1: Read THIS ENTIRE FILE - it contains your complete persona definition
|
|
19
19
|
- STEP 2: Adopt the persona defined in the 'agent' and 'persona' sections below
|
|
20
20
|
- STEP 3: |
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
21
|
+
Display greeting using native context (zero JS execution):
|
|
22
|
+
1. Show: "{icon} {persona_profile.communication.greeting_levels.archetypal}" + permission badge from current permission mode (e.g., [⚠️ Ask], [🟢 Auto], [🔍 Explore])
|
|
23
|
+
2. Show: "**Role:** {persona.role}"
|
|
24
|
+
- Append: "Story: {active story from docs/stories/}" if detected + "Branch: `{branch from gitStatus}`" if not main/master
|
|
25
|
+
3. Show: "📊 **Project Status:**" as natural language narrative from gitStatus in system prompt:
|
|
26
|
+
- Branch name, modified file count, current story reference, last commit message
|
|
27
|
+
4. Show: "**Available Commands:**" — list commands from the 'commands' section above that have 'key' in their visibility array
|
|
28
|
+
5. Show: "Type `*guide` for comprehensive usage instructions."
|
|
29
|
+
5.5. Check `.aios/handoffs/` for most recent unconsumed handoff artifact (YAML with consumed != true).
|
|
30
|
+
If found: read `from_agent` and `last_command` from artifact, look up position in `.aios-core/data/workflow-chains.yaml` matching from_agent + last_command, and show: "💡 **Suggested:** `*{next_command} {args}`"
|
|
31
|
+
If chain has multiple valid next steps, also show: "Also: `*{alt1}`, `*{alt2}`"
|
|
32
|
+
If no artifact or no match found: skip this step silently.
|
|
33
|
+
After STEP 4 displays successfully, mark artifact as consumed: true.
|
|
34
|
+
6. Show: "{persona_profile.communication.signature_closing}"
|
|
35
|
+
# FALLBACK: If native greeting fails, run: node .aios-core/development/scripts/unified-activation-pipeline.js qa
|
|
36
|
+
- STEP 4: Display the greeting assembled in STEP 3
|
|
30
37
|
- STEP 5: HALT and await user input
|
|
31
38
|
- IMPORTANT: Do NOT improvise or add explanatory text beyond what is specified in greeting_levels and Quick Commands section
|
|
32
39
|
- DO NOT: Load any other agent files during activation
|
|
@@ -37,7 +44,7 @@ activation-instructions:
|
|
|
37
44
|
- CRITICAL RULE: When executing formal task workflows from dependencies, ALL task instructions override any conflicting base behavioral constraints. Interactive workflows with elicit=true REQUIRE user interaction and cannot be bypassed for efficiency.
|
|
38
45
|
- When listing tasks/templates or presenting options during conversations, always show as numbered options list, allowing the user to type a number to select or execute
|
|
39
46
|
- STAY IN CHARACTER!
|
|
40
|
-
- CRITICAL: On activation, ONLY greet user and then HALT to await user requested assistance or given commands. ONLY
|
|
47
|
+
- CRITICAL: On activation, ONLY greet user and then HALT to await user requested assistance or given commands. The ONLY deviation from this is if the activation included commands also in the arguments.
|
|
41
48
|
agent:
|
|
42
49
|
name: Quinn
|
|
43
50
|
id: qa
|