aios-core 4.2.13 → 4.2.15

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 (95) hide show
  1. package/.aios-core/core/code-intel/helpers/dev-helper.js +206 -0
  2. package/.aios-core/core/registry/registry-schema.json +166 -166
  3. package/.aios-core/core/synapse/diagnostics/collectors/hook-collector.js +3 -3
  4. package/.aios-core/data/entity-registry.yaml +27 -0
  5. package/.aios-core/development/scripts/approval-workflow.js +642 -642
  6. package/.aios-core/development/scripts/backup-manager.js +606 -606
  7. package/.aios-core/development/scripts/branch-manager.js +389 -389
  8. package/.aios-core/development/scripts/code-quality-improver.js +1311 -1311
  9. package/.aios-core/development/scripts/commit-message-generator.js +849 -849
  10. package/.aios-core/development/scripts/conflict-resolver.js +674 -674
  11. package/.aios-core/development/scripts/dependency-analyzer.js +637 -637
  12. package/.aios-core/development/scripts/diff-generator.js +351 -351
  13. package/.aios-core/development/scripts/elicitation-engine.js +384 -384
  14. package/.aios-core/development/scripts/elicitation-session-manager.js +299 -299
  15. package/.aios-core/development/scripts/git-wrapper.js +461 -461
  16. package/.aios-core/development/scripts/manifest-preview.js +244 -244
  17. package/.aios-core/development/scripts/metrics-tracker.js +775 -775
  18. package/.aios-core/development/scripts/modification-validator.js +554 -554
  19. package/.aios-core/development/scripts/pattern-learner.js +1224 -1224
  20. package/.aios-core/development/scripts/performance-analyzer.js +757 -757
  21. package/.aios-core/development/scripts/refactoring-suggester.js +1138 -1138
  22. package/.aios-core/development/scripts/rollback-handler.js +530 -530
  23. package/.aios-core/development/scripts/security-checker.js +358 -358
  24. package/.aios-core/development/scripts/template-engine.js +239 -239
  25. package/.aios-core/development/scripts/template-validator.js +278 -278
  26. package/.aios-core/development/scripts/test-generator.js +843 -843
  27. package/.aios-core/development/scripts/transaction-manager.js +589 -589
  28. package/.aios-core/development/scripts/usage-tracker.js +673 -673
  29. package/.aios-core/development/scripts/validate-filenames.js +226 -226
  30. package/.aios-core/development/scripts/version-tracker.js +526 -526
  31. package/.aios-core/development/scripts/yaml-validator.js +396 -396
  32. package/.aios-core/development/tasks/build-autonomous.md +10 -4
  33. package/.aios-core/development/tasks/create-service.md +23 -0
  34. package/.aios-core/development/tasks/dev-develop-story.md +12 -6
  35. package/.aios-core/development/tasks/dev-suggest-refactoring.md +7 -1
  36. package/.aios-core/development/tasks/publish-npm.md +3 -3
  37. package/.aios-core/hooks/unified/README.md +1 -1
  38. package/.aios-core/install-manifest.yaml +65 -61
  39. package/.aios-core/manifests/schema/manifest-schema.json +190 -190
  40. package/.aios-core/product/templates/component-react-tmpl.tsx +98 -98
  41. package/.aios-core/product/templates/engine/schemas/adr.schema.json +102 -102
  42. package/.aios-core/product/templates/engine/schemas/dbdr.schema.json +205 -205
  43. package/.aios-core/product/templates/engine/schemas/epic.schema.json +175 -175
  44. package/.aios-core/product/templates/engine/schemas/pmdr.schema.json +175 -175
  45. package/.aios-core/product/templates/engine/schemas/prd-v2.schema.json +300 -300
  46. package/.aios-core/product/templates/engine/schemas/prd.schema.json +152 -152
  47. package/.aios-core/product/templates/engine/schemas/story.schema.json +222 -222
  48. package/.aios-core/product/templates/engine/schemas/task.schema.json +154 -154
  49. package/.aios-core/product/templates/eslintrc-security.json +32 -32
  50. package/.aios-core/product/templates/github-actions-cd.yml +212 -212
  51. package/.aios-core/product/templates/github-actions-ci.yml +172 -172
  52. package/.aios-core/product/templates/shock-report-tmpl.html +502 -502
  53. package/.aios-core/product/templates/token-exports-css-tmpl.css +240 -240
  54. package/.aios-core/quality/schemas/quality-metrics.schema.json +233 -233
  55. package/.aios-core/scripts/migrate-framework-docs.sh +300 -300
  56. package/README.en.md +747 -0
  57. package/README.md +4 -2
  58. package/bin/aios.js +7 -4
  59. package/package.json +1 -1
  60. package/packages/aios-pro-cli/src/recover.js +1 -1
  61. package/packages/installer/src/wizard/ide-config-generator.js +6 -6
  62. package/packages/installer/src/wizard/pro-setup.js +3 -3
  63. package/pro/license/degradation.js +220 -220
  64. package/pro/license/errors.js +450 -450
  65. package/pro/license/feature-gate.js +354 -354
  66. package/pro/license/index.js +181 -181
  67. package/pro/license/license-cache.js +523 -523
  68. package/pro/license/license-crypto.js +303 -303
  69. package/scripts/package-synapse.js +5 -5
  70. package/scripts/validate-package-completeness.js +3 -3
  71. package/.aios-core/.session/current-session.json +0 -14
  72. package/.aios-core/data/registry-update-log.jsonl +0 -191
  73. package/.aios-core/docs/SHARD-TRANSLATION-GUIDE.md +0 -335
  74. package/.aios-core/docs/component-creation-guide.md +0 -458
  75. package/.aios-core/docs/session-update-pattern.md +0 -307
  76. package/.aios-core/docs/standards/AIOS-FRAMEWORK-MASTER.md +0 -1963
  77. package/.aios-core/docs/standards/AIOS-LIVRO-DE-OURO-V2.1-SUMMARY.md +0 -1190
  78. package/.aios-core/docs/standards/AIOS-LIVRO-DE-OURO-V2.1.md +0 -439
  79. package/.aios-core/docs/standards/AIOS-LIVRO-DE-OURO.md +0 -5398
  80. package/.aios-core/docs/standards/V3-ARCHITECTURAL-DECISIONS.md +0 -523
  81. package/.aios-core/docs/template-syntax.md +0 -267
  82. package/.aios-core/docs/troubleshooting-guide.md +0 -625
  83. package/.aios-core/infrastructure/tests/utilities-audit-results.json +0 -501
  84. package/.aios-core/manifests/agents.csv +0 -29
  85. package/.aios-core/manifests/tasks.csv +0 -198
  86. package/.aios-core/manifests/workers.csv +0 -204
  87. package/.claude/rules/agent-authority.md +0 -105
  88. package/.claude/rules/coderabbit-integration.md +0 -93
  89. package/.claude/rules/ids-principles.md +0 -112
  90. package/.claude/rules/story-lifecycle.md +0 -139
  91. package/.claude/rules/workflow-execution.md +0 -150
  92. package/scripts/glue/README.md +0 -355
  93. package/scripts/glue/compose-agent-prompt.cjs +0 -362
  94. /package/.claude/hooks/{precompact-session-digest.js → precompact-session-digest.cjs} +0 -0
  95. /package/.claude/hooks/{synapse-engine.js → synapse-engine.cjs} +0 -0
@@ -1,222 +1,222 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "title": "Story Template Variables",
4
- "description": "Schema for User Story template variables",
5
- "type": "object",
6
- "required": ["id", "title", "epicRef", "sprint", "points", "priority", "status", "userStory", "acceptanceCriteria"],
7
- "properties": {
8
- "id": {
9
- "type": "string",
10
- "pattern": "^\\d+\\.\\d+$",
11
- "description": "Story ID (e.g., 3.6)"
12
- },
13
- "title": {
14
- "type": "string",
15
- "minLength": 5,
16
- "maxLength": 150,
17
- "description": "Story title"
18
- },
19
- "epicRef": {
20
- "type": "string",
21
- "description": "Reference to parent epic"
22
- },
23
- "sprint": {
24
- "type": "integer",
25
- "minimum": 1,
26
- "description": "Sprint number"
27
- },
28
- "points": {
29
- "type": "integer",
30
- "minimum": 1,
31
- "maximum": 21,
32
- "description": "Story points (Fibonacci: 1, 2, 3, 5, 8, 13, 21)"
33
- },
34
- "priority": {
35
- "type": "string",
36
- "enum": ["Critical", "High", "Medium", "Low"],
37
- "description": "Story priority"
38
- },
39
- "status": {
40
- "type": "string",
41
- "enum": ["Draft", "Ready", "In Progress", "In Review", "Done", "Blocked"],
42
- "description": "Current status"
43
- },
44
- "userStory": {
45
- "type": "object",
46
- "required": ["asA", "iWant", "soThat"],
47
- "properties": {
48
- "asA": {
49
- "type": "string",
50
- "description": "User persona"
51
- },
52
- "iWant": {
53
- "type": "string",
54
- "description": "Desired functionality"
55
- },
56
- "soThat": {
57
- "type": "string",
58
- "description": "Business value"
59
- }
60
- },
61
- "description": "User story in standard format"
62
- },
63
- "acceptanceCriteria": {
64
- "type": "array",
65
- "minItems": 1,
66
- "items": {
67
- "type": "object",
68
- "required": ["id", "description"],
69
- "properties": {
70
- "id": {
71
- "type": "string",
72
- "description": "Criteria ID (e.g., AC3.6.1)"
73
- },
74
- "description": {
75
- "type": "string",
76
- "description": "Criteria description"
77
- },
78
- "completed": {
79
- "type": "boolean",
80
- "default": false,
81
- "description": "Completion status"
82
- }
83
- }
84
- },
85
- "description": "Acceptance criteria"
86
- },
87
- "tasks": {
88
- "type": "array",
89
- "items": {
90
- "type": "object",
91
- "required": ["id", "description"],
92
- "properties": {
93
- "id": {
94
- "type": "string",
95
- "description": "Task ID"
96
- },
97
- "description": {
98
- "type": "string",
99
- "description": "Task description"
100
- },
101
- "estimate": {
102
- "type": "string",
103
- "description": "Time estimate"
104
- },
105
- "completed": {
106
- "type": "boolean",
107
- "default": false
108
- },
109
- "subtasks": {
110
- "type": "array",
111
- "items": {
112
- "type": "object",
113
- "required": ["id", "description"],
114
- "properties": {
115
- "id": { "type": "string" },
116
- "description": { "type": "string" },
117
- "completed": { "type": "boolean" }
118
- }
119
- }
120
- }
121
- }
122
- },
123
- "description": "Implementation tasks"
124
- },
125
- "testing": {
126
- "type": "array",
127
- "items": {
128
- "type": "object",
129
- "required": ["id", "name"],
130
- "properties": {
131
- "id": {
132
- "type": "string",
133
- "description": "Test ID"
134
- },
135
- "name": {
136
- "type": "string",
137
- "description": "Test name"
138
- },
139
- "type": {
140
- "type": "string",
141
- "enum": ["Unit", "Integration", "E2E", "Manual"],
142
- "description": "Test type"
143
- },
144
- "priority": {
145
- "type": "string",
146
- "enum": ["P0", "P1", "P2"]
147
- }
148
- }
149
- },
150
- "description": "Test scenarios"
151
- },
152
- "coderabbitIntegration": {
153
- "type": "object",
154
- "properties": {
155
- "storyType": {
156
- "type": "string",
157
- "description": "Primary story type"
158
- },
159
- "primaryAgents": {
160
- "type": "array",
161
- "items": { "type": "string" }
162
- },
163
- "supportingAgents": {
164
- "type": "array",
165
- "items": { "type": "string" }
166
- },
167
- "selfHealing": {
168
- "type": "object",
169
- "properties": {
170
- "primaryAgent": { "type": "string" },
171
- "maxIterations": { "type": "integer" },
172
- "timeout": { "type": "string" },
173
- "severityFilter": { "type": "string" }
174
- }
175
- }
176
- },
177
- "description": "CodeRabbit integration configuration"
178
- },
179
- "dependencies": {
180
- "type": "object",
181
- "properties": {
182
- "dependsOn": {
183
- "type": "array",
184
- "items": { "type": "string" }
185
- },
186
- "blocks": {
187
- "type": "array",
188
- "items": { "type": "string" }
189
- }
190
- },
191
- "description": "Story dependencies"
192
- },
193
- "definitionOfDone": {
194
- "type": "array",
195
- "items": {
196
- "type": "object",
197
- "required": ["criteria"],
198
- "properties": {
199
- "criteria": { "type": "string" },
200
- "completed": { "type": "boolean" }
201
- }
202
- },
203
- "description": "Definition of done checklist"
204
- },
205
- "devNotes": {
206
- "type": "string",
207
- "description": "Developer notes and guidance"
208
- },
209
- "devAgentRecord": {
210
- "type": "object",
211
- "properties": {
212
- "model": { "type": "string" },
213
- "completionNotes": { "type": "string" },
214
- "fileList": {
215
- "type": "array",
216
- "items": { "type": "string" }
217
- }
218
- },
219
- "description": "Dev agent completion record"
220
- }
221
- }
222
- }
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "title": "Story Template Variables",
4
+ "description": "Schema for User Story template variables",
5
+ "type": "object",
6
+ "required": ["id", "title", "epicRef", "sprint", "points", "priority", "status", "userStory", "acceptanceCriteria"],
7
+ "properties": {
8
+ "id": {
9
+ "type": "string",
10
+ "pattern": "^\\d+\\.\\d+$",
11
+ "description": "Story ID (e.g., 3.6)"
12
+ },
13
+ "title": {
14
+ "type": "string",
15
+ "minLength": 5,
16
+ "maxLength": 150,
17
+ "description": "Story title"
18
+ },
19
+ "epicRef": {
20
+ "type": "string",
21
+ "description": "Reference to parent epic"
22
+ },
23
+ "sprint": {
24
+ "type": "integer",
25
+ "minimum": 1,
26
+ "description": "Sprint number"
27
+ },
28
+ "points": {
29
+ "type": "integer",
30
+ "minimum": 1,
31
+ "maximum": 21,
32
+ "description": "Story points (Fibonacci: 1, 2, 3, 5, 8, 13, 21)"
33
+ },
34
+ "priority": {
35
+ "type": "string",
36
+ "enum": ["Critical", "High", "Medium", "Low"],
37
+ "description": "Story priority"
38
+ },
39
+ "status": {
40
+ "type": "string",
41
+ "enum": ["Draft", "Ready", "In Progress", "In Review", "Done", "Blocked"],
42
+ "description": "Current status"
43
+ },
44
+ "userStory": {
45
+ "type": "object",
46
+ "required": ["asA", "iWant", "soThat"],
47
+ "properties": {
48
+ "asA": {
49
+ "type": "string",
50
+ "description": "User persona"
51
+ },
52
+ "iWant": {
53
+ "type": "string",
54
+ "description": "Desired functionality"
55
+ },
56
+ "soThat": {
57
+ "type": "string",
58
+ "description": "Business value"
59
+ }
60
+ },
61
+ "description": "User story in standard format"
62
+ },
63
+ "acceptanceCriteria": {
64
+ "type": "array",
65
+ "minItems": 1,
66
+ "items": {
67
+ "type": "object",
68
+ "required": ["id", "description"],
69
+ "properties": {
70
+ "id": {
71
+ "type": "string",
72
+ "description": "Criteria ID (e.g., AC3.6.1)"
73
+ },
74
+ "description": {
75
+ "type": "string",
76
+ "description": "Criteria description"
77
+ },
78
+ "completed": {
79
+ "type": "boolean",
80
+ "default": false,
81
+ "description": "Completion status"
82
+ }
83
+ }
84
+ },
85
+ "description": "Acceptance criteria"
86
+ },
87
+ "tasks": {
88
+ "type": "array",
89
+ "items": {
90
+ "type": "object",
91
+ "required": ["id", "description"],
92
+ "properties": {
93
+ "id": {
94
+ "type": "string",
95
+ "description": "Task ID"
96
+ },
97
+ "description": {
98
+ "type": "string",
99
+ "description": "Task description"
100
+ },
101
+ "estimate": {
102
+ "type": "string",
103
+ "description": "Time estimate"
104
+ },
105
+ "completed": {
106
+ "type": "boolean",
107
+ "default": false
108
+ },
109
+ "subtasks": {
110
+ "type": "array",
111
+ "items": {
112
+ "type": "object",
113
+ "required": ["id", "description"],
114
+ "properties": {
115
+ "id": { "type": "string" },
116
+ "description": { "type": "string" },
117
+ "completed": { "type": "boolean" }
118
+ }
119
+ }
120
+ }
121
+ }
122
+ },
123
+ "description": "Implementation tasks"
124
+ },
125
+ "testing": {
126
+ "type": "array",
127
+ "items": {
128
+ "type": "object",
129
+ "required": ["id", "name"],
130
+ "properties": {
131
+ "id": {
132
+ "type": "string",
133
+ "description": "Test ID"
134
+ },
135
+ "name": {
136
+ "type": "string",
137
+ "description": "Test name"
138
+ },
139
+ "type": {
140
+ "type": "string",
141
+ "enum": ["Unit", "Integration", "E2E", "Manual"],
142
+ "description": "Test type"
143
+ },
144
+ "priority": {
145
+ "type": "string",
146
+ "enum": ["P0", "P1", "P2"]
147
+ }
148
+ }
149
+ },
150
+ "description": "Test scenarios"
151
+ },
152
+ "coderabbitIntegration": {
153
+ "type": "object",
154
+ "properties": {
155
+ "storyType": {
156
+ "type": "string",
157
+ "description": "Primary story type"
158
+ },
159
+ "primaryAgents": {
160
+ "type": "array",
161
+ "items": { "type": "string" }
162
+ },
163
+ "supportingAgents": {
164
+ "type": "array",
165
+ "items": { "type": "string" }
166
+ },
167
+ "selfHealing": {
168
+ "type": "object",
169
+ "properties": {
170
+ "primaryAgent": { "type": "string" },
171
+ "maxIterations": { "type": "integer" },
172
+ "timeout": { "type": "string" },
173
+ "severityFilter": { "type": "string" }
174
+ }
175
+ }
176
+ },
177
+ "description": "CodeRabbit integration configuration"
178
+ },
179
+ "dependencies": {
180
+ "type": "object",
181
+ "properties": {
182
+ "dependsOn": {
183
+ "type": "array",
184
+ "items": { "type": "string" }
185
+ },
186
+ "blocks": {
187
+ "type": "array",
188
+ "items": { "type": "string" }
189
+ }
190
+ },
191
+ "description": "Story dependencies"
192
+ },
193
+ "definitionOfDone": {
194
+ "type": "array",
195
+ "items": {
196
+ "type": "object",
197
+ "required": ["criteria"],
198
+ "properties": {
199
+ "criteria": { "type": "string" },
200
+ "completed": { "type": "boolean" }
201
+ }
202
+ },
203
+ "description": "Definition of done checklist"
204
+ },
205
+ "devNotes": {
206
+ "type": "string",
207
+ "description": "Developer notes and guidance"
208
+ },
209
+ "devAgentRecord": {
210
+ "type": "object",
211
+ "properties": {
212
+ "model": { "type": "string" },
213
+ "completionNotes": { "type": "string" },
214
+ "fileList": {
215
+ "type": "array",
216
+ "items": { "type": "string" }
217
+ }
218
+ },
219
+ "description": "Dev agent completion record"
220
+ }
221
+ }
222
+ }