aios-core 2.1.4 → 2.1.6
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/development/tasks/analyze-brownfield.md +456 -456
- package/.aios-core/development/tasks/setup-project-docs.md +440 -444
- package/.aios-core/infrastructure/scripts/documentation-integrity/brownfield-analyzer.js +501 -501
- package/.aios-core/infrastructure/scripts/documentation-integrity/config-generator.js +368 -329
- package/.aios-core/infrastructure/scripts/documentation-integrity/deployment-config-loader.js +308 -282
- package/.aios-core/infrastructure/scripts/documentation-integrity/doc-generator.js +331 -331
- package/.aios-core/infrastructure/scripts/documentation-integrity/gitignore-generator.js +312 -312
- package/.aios-core/infrastructure/scripts/documentation-integrity/index.js +74 -74
- package/.aios-core/infrastructure/scripts/documentation-integrity/mode-detector.js +389 -358
- package/.aios-core/infrastructure/scripts/llm-routing/install-llm-routing.js +6 -6
- package/.aios-core/infrastructure/templates/core-config/core-config-brownfield.tmpl.yaml +176 -182
- package/.aios-core/infrastructure/templates/core-config/core-config-greenfield.tmpl.yaml +127 -127
- package/.aios-core/infrastructure/templates/project-docs/coding-standards-tmpl.md +346 -346
- package/.aios-core/infrastructure/templates/project-docs/source-tree-tmpl.md +177 -177
- package/.aios-core/infrastructure/templates/project-docs/tech-stack-tmpl.md +267 -267
- package/package.json +1 -1
- package/packages/installer/src/config/templates/env-template.js +2 -2
- package/packages/installer/src/wizard/wizard.js +1 -1
- package/packages/installer/tests/integration/environment-configuration.test.js +2 -1
- package/packages/installer/tests/unit/env-template.test.js +3 -2
- package/src/wizard/index.js +2 -2
- package/.aios-core/development/tasks/validate-structure.md +0 -243
- package/.aios-core/infrastructure/scripts/source-tree-guardian/index.js +0 -375
- package/.aios-core/infrastructure/scripts/source-tree-guardian/manifest-generator.js +0 -410
- package/.aios-core/infrastructure/scripts/source-tree-guardian/rules/naming-rules.yaml +0 -285
- package/.aios-core/infrastructure/scripts/source-tree-guardian/rules/placement-rules.yaml +0 -262
- package/.aios-core/infrastructure/scripts/source-tree-guardian/validator.js +0 -468
|
@@ -70,7 +70,7 @@ function installLLMRouting(options = {}) {
|
|
|
70
70
|
projectRoot = process.cwd(),
|
|
71
71
|
templatesDir = path.join(__dirname, 'templates'),
|
|
72
72
|
onProgress = console.log,
|
|
73
|
-
onError = console.error
|
|
73
|
+
onError = console.error
|
|
74
74
|
} = options;
|
|
75
75
|
|
|
76
76
|
const result = {
|
|
@@ -78,7 +78,7 @@ function installLLMRouting(options = {}) {
|
|
|
78
78
|
installDir: null,
|
|
79
79
|
filesInstalled: [],
|
|
80
80
|
envCreated: false,
|
|
81
|
-
errors: []
|
|
81
|
+
errors: []
|
|
82
82
|
};
|
|
83
83
|
|
|
84
84
|
// Check templates exist
|
|
@@ -143,7 +143,7 @@ function installLLMRouting(options = {}) {
|
|
|
143
143
|
try {
|
|
144
144
|
fs.copyFileSync(envExample, envFile);
|
|
145
145
|
result.envCreated = true;
|
|
146
|
-
onProgress(
|
|
146
|
+
onProgress(`✅ Created .env from .env.example`);
|
|
147
147
|
} catch (error) {
|
|
148
148
|
result.success = false;
|
|
149
149
|
result.errors.push(`Failed to create .env: ${error.message}`);
|
|
@@ -180,7 +180,7 @@ function updateClaudeConfig() {
|
|
|
180
180
|
config.aiosLLMRouting = {
|
|
181
181
|
version: LLM_ROUTING_VERSION,
|
|
182
182
|
installedAt: new Date().toISOString(),
|
|
183
|
-
commands: ['claude-max', 'claude-free']
|
|
183
|
+
commands: ['claude-max', 'claude-free']
|
|
184
184
|
};
|
|
185
185
|
|
|
186
186
|
fs.writeFileSync(claudeConfigPath, JSON.stringify(config, null, 2));
|
|
@@ -250,7 +250,7 @@ module.exports = {
|
|
|
250
250
|
isLLMRoutingInstalled,
|
|
251
251
|
getInstallDir,
|
|
252
252
|
getInstallationSummary,
|
|
253
|
-
LLM_ROUTING_VERSION
|
|
253
|
+
LLM_ROUTING_VERSION
|
|
254
254
|
};
|
|
255
255
|
|
|
256
256
|
// Run if executed directly
|
|
@@ -259,7 +259,7 @@ if (require.main === module) {
|
|
|
259
259
|
|
|
260
260
|
const result = installLLMRouting({
|
|
261
261
|
projectRoot: process.cwd(),
|
|
262
|
-
templatesDir: path.join(__dirname, 'templates')
|
|
262
|
+
templatesDir: path.join(__dirname, 'templates')
|
|
263
263
|
});
|
|
264
264
|
|
|
265
265
|
const summary = getInstallationSummary(result);
|
|
@@ -1,182 +1,176 @@
|
|
|
1
|
-
# AIOS Core Configuration
|
|
2
|
-
# Generated by AIOS Documentation Integrity System
|
|
3
|
-
# Mode: Brownfield (Existing Project Integration)
|
|
4
|
-
# Date: {{GENERATED_DATE}}
|
|
5
|
-
|
|
6
|
-
#
|
|
7
|
-
#
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
# =============================================================================
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
#
|
|
44
|
-
#
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
#
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
- "
|
|
56
|
-
- "
|
|
57
|
-
- "
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
- "
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
# =============================================================================
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
#
|
|
154
|
-
|
|
155
|
-
# =============================================================================
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
#
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
{{
|
|
165
|
-
|
|
166
|
-
# Potential conflicts detected
|
|
167
|
-
conflicts:
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
{{
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
{
|
|
177
|
-
|
|
178
|
-
# =============================================================================
|
|
179
|
-
# CUSTOM CONFIGURATION
|
|
180
|
-
# Project-specific settings
|
|
181
|
-
# =============================================================================
|
|
182
|
-
custom: {}
|
|
1
|
+
# AIOS Core Configuration
|
|
2
|
+
# Generated by AIOS Documentation Integrity System
|
|
3
|
+
# Mode: Brownfield (Existing Project Integration)
|
|
4
|
+
# Date: {{GENERATED_DATE}}
|
|
5
|
+
#
|
|
6
|
+
# NOTE: This is a template file (.tmpl.yaml) - not raw YAML.
|
|
7
|
+
# Placeholders are processed by the documentation-integrity generator.
|
|
8
|
+
|
|
9
|
+
# =============================================================================
|
|
10
|
+
# PROJECT CONFIGURATION
|
|
11
|
+
# =============================================================================
|
|
12
|
+
project:
|
|
13
|
+
type: USER_PROJECT
|
|
14
|
+
mode: brownfield
|
|
15
|
+
name: "{{PROJECT_NAME}}"
|
|
16
|
+
analyzed: "{{GENERATED_DATE}}"
|
|
17
|
+
version: "{{PROJECT_VERSION}}"
|
|
18
|
+
|
|
19
|
+
# Analysis metadata from brownfield analyzer
|
|
20
|
+
analysis:
|
|
21
|
+
existing_structure: {{HAS_EXISTING_STRUCTURE}}
|
|
22
|
+
existing_workflows: {{HAS_EXISTING_WORKFLOWS}}
|
|
23
|
+
existing_standards: {{HAS_EXISTING_STANDARDS}}
|
|
24
|
+
merge_strategy: "{{MERGE_STRATEGY}}" # parallel | replace | manual
|
|
25
|
+
|
|
26
|
+
# Detected configurations (for reference)
|
|
27
|
+
detected:
|
|
28
|
+
tech_stack: {{DETECTED_TECH_STACK}}
|
|
29
|
+
frameworks: {{DETECTED_FRAMEWORKS}}
|
|
30
|
+
linting: {{DETECTED_LINTING}}
|
|
31
|
+
formatting: {{DETECTED_FORMATTING}}
|
|
32
|
+
testing: {{DETECTED_TESTING}}
|
|
33
|
+
|
|
34
|
+
# =============================================================================
|
|
35
|
+
# DEV CONTEXT LOADING
|
|
36
|
+
# Files loaded automatically when @dev agent activates
|
|
37
|
+
# =============================================================================
|
|
38
|
+
devLoadAlwaysFiles:
|
|
39
|
+
- docs/architecture/coding-standards.md
|
|
40
|
+
- docs/architecture/tech-stack.md
|
|
41
|
+
- docs/architecture/source-tree.md
|
|
42
|
+
|
|
43
|
+
# =============================================================================
|
|
44
|
+
# DEPLOYMENT CONFIGURATION
|
|
45
|
+
# All @devops agent tasks read from this section
|
|
46
|
+
# Analyzed from existing workflows + user confirmation
|
|
47
|
+
# =============================================================================
|
|
48
|
+
deployment:
|
|
49
|
+
# Workflow type (detected or user-selected)
|
|
50
|
+
workflow: {{DEPLOYMENT_WORKFLOW}}
|
|
51
|
+
|
|
52
|
+
# Branch routing configuration (analyzed from existing PR patterns)
|
|
53
|
+
branches:
|
|
54
|
+
staging_targets:
|
|
55
|
+
- "feature/*"
|
|
56
|
+
- "fix/*"
|
|
57
|
+
- "docs/*"
|
|
58
|
+
- "chore/*"
|
|
59
|
+
- "refactor/*"
|
|
60
|
+
- "test/*"
|
|
61
|
+
|
|
62
|
+
production_targets:
|
|
63
|
+
- "hotfix/*"
|
|
64
|
+
|
|
65
|
+
# Detected branch names (may differ from defaults)
|
|
66
|
+
staging_branch: {{STAGING_BRANCH}}
|
|
67
|
+
production_branch: {{PRODUCTION_BRANCH}}
|
|
68
|
+
default_target: {{DEFAULT_TARGET}}
|
|
69
|
+
|
|
70
|
+
# Environment configuration (detected from existing deploy configs)
|
|
71
|
+
environments:
|
|
72
|
+
staging:
|
|
73
|
+
name: "{{STAGING_ENV_NAME}}"
|
|
74
|
+
branch: {{STAGING_BRANCH}}
|
|
75
|
+
auto_deploy: {{STAGING_AUTO_DEPLOY}}
|
|
76
|
+
platform: "{{DEPLOYMENT_PLATFORM}}"
|
|
77
|
+
url: "${STAGING_URL}"
|
|
78
|
+
promotion_message: "After validation, create PR to {{PRODUCTION_BRANCH}} for production"
|
|
79
|
+
|
|
80
|
+
production:
|
|
81
|
+
name: "{{PRODUCTION_ENV_NAME}}"
|
|
82
|
+
branch: {{PRODUCTION_BRANCH}}
|
|
83
|
+
auto_deploy: {{PRODUCTION_AUTO_DEPLOY}}
|
|
84
|
+
platform: "{{DEPLOYMENT_PLATFORM}}"
|
|
85
|
+
url: "${PRODUCTION_URL}"
|
|
86
|
+
promotion_message: "This is the final production deployment"
|
|
87
|
+
|
|
88
|
+
# Quality gates (detected from existing CI)
|
|
89
|
+
quality_gates:
|
|
90
|
+
lint: {{QUALITY_LINT}}
|
|
91
|
+
typecheck: {{QUALITY_TYPECHECK}}
|
|
92
|
+
tests: {{QUALITY_TESTS}}
|
|
93
|
+
security_scan: {{QUALITY_SECURITY}}
|
|
94
|
+
min_coverage: {{MIN_COVERAGE}}
|
|
95
|
+
|
|
96
|
+
# PR defaults
|
|
97
|
+
pr_defaults:
|
|
98
|
+
auto_assign_reviewers: {{AUTO_ASSIGN_REVIEWERS}}
|
|
99
|
+
draft_by_default: {{DRAFT_BY_DEFAULT}}
|
|
100
|
+
include_deployment_info: true
|
|
101
|
+
|
|
102
|
+
# =============================================================================
|
|
103
|
+
# EXISTING CONFIGURATION PRESERVATION
|
|
104
|
+
# References to existing config files that should be respected
|
|
105
|
+
# =============================================================================
|
|
106
|
+
existing_configs:
|
|
107
|
+
# Linting/Formatting (don't override these)
|
|
108
|
+
eslint: {{ESLINT_CONFIG_PATH}}
|
|
109
|
+
prettier: {{PRETTIER_CONFIG_PATH}}
|
|
110
|
+
tsconfig: {{TSCONFIG_PATH}}
|
|
111
|
+
flake8: {{FLAKE8_CONFIG_PATH}}
|
|
112
|
+
|
|
113
|
+
# CI/CD (may need merge)
|
|
114
|
+
github_workflows: {{GITHUB_WORKFLOWS_PATH}}
|
|
115
|
+
gitlab_ci: {{GITLAB_CI_PATH}}
|
|
116
|
+
|
|
117
|
+
# Package management
|
|
118
|
+
package_json: {{PACKAGE_JSON_PATH}}
|
|
119
|
+
requirements_txt: {{REQUIREMENTS_PATH}}
|
|
120
|
+
go_mod: {{GO_MOD_PATH}}
|
|
121
|
+
|
|
122
|
+
# =============================================================================
|
|
123
|
+
# AGENT CONFIGURATION
|
|
124
|
+
# =============================================================================
|
|
125
|
+
agents:
|
|
126
|
+
dev:
|
|
127
|
+
auto_load_context: true
|
|
128
|
+
story_tracking: true
|
|
129
|
+
respect_existing_standards: true
|
|
130
|
+
|
|
131
|
+
qa:
|
|
132
|
+
run_on_pr: true
|
|
133
|
+
coverage_threshold: {{MIN_COVERAGE}}
|
|
134
|
+
|
|
135
|
+
devops:
|
|
136
|
+
auto_detect_workflow: true
|
|
137
|
+
merge_with_existing: {{MERGE_WORKFLOWS}}
|
|
138
|
+
|
|
139
|
+
# =============================================================================
|
|
140
|
+
# FEATURES
|
|
141
|
+
# =============================================================================
|
|
142
|
+
features:
|
|
143
|
+
documentation_integrity: true
|
|
144
|
+
source_tree_guardian: true
|
|
145
|
+
quality_metrics: true
|
|
146
|
+
|
|
147
|
+
documentation_integrity_options:
|
|
148
|
+
generate_source_tree: true
|
|
149
|
+
generate_coding_standards: true
|
|
150
|
+
generate_tech_stack: true
|
|
151
|
+
brownfield_analysis: true
|
|
152
|
+
gitignore_generation: true
|
|
153
|
+
merge_gitignore: true # Merge with existing instead of replace
|
|
154
|
+
|
|
155
|
+
# =============================================================================
|
|
156
|
+
# MIGRATION NOTES
|
|
157
|
+
# Auto-generated notes from brownfield analysis
|
|
158
|
+
# =============================================================================
|
|
159
|
+
migration_notes:
|
|
160
|
+
# Summary of what was detected vs generated
|
|
161
|
+
summary: "{{MIGRATION_SUMMARY}}"
|
|
162
|
+
|
|
163
|
+
# Items requiring manual review
|
|
164
|
+
manual_review_items: {{MANUAL_REVIEW_ITEMS_YAML}}
|
|
165
|
+
|
|
166
|
+
# Potential conflicts detected
|
|
167
|
+
conflicts: {{CONFLICTS_YAML}}
|
|
168
|
+
|
|
169
|
+
# Recommendations
|
|
170
|
+
recommendations: {{RECOMMENDATIONS_YAML}}
|
|
171
|
+
|
|
172
|
+
# =============================================================================
|
|
173
|
+
# CUSTOM CONFIGURATION
|
|
174
|
+
# Project-specific settings
|
|
175
|
+
# =============================================================================
|
|
176
|
+
custom: {}
|
|
@@ -1,127 +1,127 @@
|
|
|
1
|
-
# AIOS Core Configuration
|
|
2
|
-
# Generated by AIOS Documentation Integrity System
|
|
3
|
-
# Mode: Greenfield (New Project)
|
|
4
|
-
# Date: {{GENERATED_DATE}}
|
|
5
|
-
|
|
6
|
-
# =============================================================================
|
|
7
|
-
# PROJECT CONFIGURATION
|
|
8
|
-
# =============================================================================
|
|
9
|
-
project:
|
|
10
|
-
type: USER_PROJECT
|
|
11
|
-
mode: greenfield
|
|
12
|
-
name: "{{PROJECT_NAME}}"
|
|
13
|
-
created: "{{GENERATED_DATE}}"
|
|
14
|
-
version: "0.1.0"
|
|
15
|
-
|
|
16
|
-
# =============================================================================
|
|
17
|
-
# DEV CONTEXT LOADING
|
|
18
|
-
# Files loaded automatically when @dev agent activates
|
|
19
|
-
# =============================================================================
|
|
20
|
-
devLoadAlwaysFiles:
|
|
21
|
-
- docs/architecture/coding-standards.md
|
|
22
|
-
- docs/architecture/tech-stack.md
|
|
23
|
-
- docs/architecture/source-tree.md
|
|
24
|
-
|
|
25
|
-
# =============================================================================
|
|
26
|
-
# DEPLOYMENT CONFIGURATION
|
|
27
|
-
# All @devops agent tasks read from this section
|
|
28
|
-
# See docs/guides/DEPLOYMENT-GUIDE.md for details
|
|
29
|
-
# =============================================================================
|
|
30
|
-
deployment:
|
|
31
|
-
# Workflow type: staging-first (with staging branch) or direct-to-main
|
|
32
|
-
workflow: {{DEPLOYMENT_WORKFLOW}}
|
|
33
|
-
|
|
34
|
-
# Branch routing configuration
|
|
35
|
-
branches:
|
|
36
|
-
# These branch patterns will target staging (if staging-first workflow)
|
|
37
|
-
staging_targets:
|
|
38
|
-
- "feature/*"
|
|
39
|
-
- "fix/*"
|
|
40
|
-
- "docs/*"
|
|
41
|
-
- "chore/*"
|
|
42
|
-
- "refactor/*"
|
|
43
|
-
- "test/*"
|
|
44
|
-
|
|
45
|
-
# These branch patterns will target production directly (emergency fixes)
|
|
46
|
-
production_targets:
|
|
47
|
-
- "hotfix/*"
|
|
48
|
-
|
|
49
|
-
# Branch names
|
|
50
|
-
staging_branch: {{STAGING_BRANCH}}
|
|
51
|
-
production_branch: {{PRODUCTION_BRANCH}}
|
|
52
|
-
|
|
53
|
-
# Default PR target for ambiguous cases
|
|
54
|
-
default_target: {{DEFAULT_TARGET}}
|
|
55
|
-
|
|
56
|
-
# Environment configuration
|
|
57
|
-
environments:
|
|
58
|
-
staging:
|
|
59
|
-
name: "{{STAGING_ENV_NAME}}"
|
|
60
|
-
branch: {{STAGING_BRANCH}}
|
|
61
|
-
auto_deploy: true
|
|
62
|
-
platform: "{{DEPLOYMENT_PLATFORM}}"
|
|
63
|
-
url: "${STAGING_URL}"
|
|
64
|
-
promotion_message: "After validation, create PR to {{PRODUCTION_BRANCH}} for production"
|
|
65
|
-
|
|
66
|
-
production:
|
|
67
|
-
name: "{{PRODUCTION_ENV_NAME}}"
|
|
68
|
-
branch: {{PRODUCTION_BRANCH}}
|
|
69
|
-
auto_deploy: true
|
|
70
|
-
platform: "{{DEPLOYMENT_PLATFORM}}"
|
|
71
|
-
url: "${PRODUCTION_URL}"
|
|
72
|
-
promotion_message: "This is the final production deployment"
|
|
73
|
-
|
|
74
|
-
# Quality gates for PRs
|
|
75
|
-
quality_gates:
|
|
76
|
-
lint: {{QUALITY_LINT}}
|
|
77
|
-
typecheck: {{QUALITY_TYPECHECK}}
|
|
78
|
-
tests: {{QUALITY_TESTS}}
|
|
79
|
-
security_scan: {{QUALITY_SECURITY}}
|
|
80
|
-
min_coverage: {{MIN_COVERAGE}}
|
|
81
|
-
|
|
82
|
-
# PR defaults
|
|
83
|
-
pr_defaults:
|
|
84
|
-
auto_assign_reviewers: false
|
|
85
|
-
draft_by_default: false
|
|
86
|
-
include_deployment_info: true
|
|
87
|
-
labels:
|
|
88
|
-
staging: ["staging", "needs-review"]
|
|
89
|
-
production: ["production", "promotion"]
|
|
90
|
-
|
|
91
|
-
# =============================================================================
|
|
92
|
-
# AGENT CONFIGURATION
|
|
93
|
-
# Agent-specific settings
|
|
94
|
-
# =============================================================================
|
|
95
|
-
agents:
|
|
96
|
-
dev:
|
|
97
|
-
auto_load_context: true
|
|
98
|
-
story_tracking: true
|
|
99
|
-
|
|
100
|
-
qa:
|
|
101
|
-
run_on_pr: true
|
|
102
|
-
coverage_threshold: {{MIN_COVERAGE}}
|
|
103
|
-
|
|
104
|
-
devops:
|
|
105
|
-
auto_detect_workflow: true
|
|
106
|
-
|
|
107
|
-
# =============================================================================
|
|
108
|
-
# FEATURES
|
|
109
|
-
# Feature flags for optional functionality
|
|
110
|
-
# =============================================================================
|
|
111
|
-
features:
|
|
112
|
-
documentation_integrity: true
|
|
113
|
-
source_tree_guardian: true
|
|
114
|
-
quality_metrics: true
|
|
115
|
-
|
|
116
|
-
documentation_integrity_options:
|
|
117
|
-
generate_source_tree: true
|
|
118
|
-
generate_coding_standards: true
|
|
119
|
-
generate_tech_stack: true
|
|
120
|
-
brownfield_analysis: false
|
|
121
|
-
gitignore_generation: true
|
|
122
|
-
|
|
123
|
-
# =============================================================================
|
|
124
|
-
# CUSTOM CONFIGURATION
|
|
125
|
-
# Project-specific settings
|
|
126
|
-
# =============================================================================
|
|
127
|
-
custom: {}
|
|
1
|
+
# AIOS Core Configuration
|
|
2
|
+
# Generated by AIOS Documentation Integrity System
|
|
3
|
+
# Mode: Greenfield (New Project)
|
|
4
|
+
# Date: {{GENERATED_DATE}}
|
|
5
|
+
|
|
6
|
+
# =============================================================================
|
|
7
|
+
# PROJECT CONFIGURATION
|
|
8
|
+
# =============================================================================
|
|
9
|
+
project:
|
|
10
|
+
type: USER_PROJECT
|
|
11
|
+
mode: greenfield
|
|
12
|
+
name: "{{PROJECT_NAME}}"
|
|
13
|
+
created: "{{GENERATED_DATE}}"
|
|
14
|
+
version: "0.1.0"
|
|
15
|
+
|
|
16
|
+
# =============================================================================
|
|
17
|
+
# DEV CONTEXT LOADING
|
|
18
|
+
# Files loaded automatically when @dev agent activates
|
|
19
|
+
# =============================================================================
|
|
20
|
+
devLoadAlwaysFiles:
|
|
21
|
+
- docs/architecture/coding-standards.md
|
|
22
|
+
- docs/architecture/tech-stack.md
|
|
23
|
+
- docs/architecture/source-tree.md
|
|
24
|
+
|
|
25
|
+
# =============================================================================
|
|
26
|
+
# DEPLOYMENT CONFIGURATION
|
|
27
|
+
# All @devops agent tasks read from this section
|
|
28
|
+
# See docs/guides/DEPLOYMENT-GUIDE.md for details
|
|
29
|
+
# =============================================================================
|
|
30
|
+
deployment:
|
|
31
|
+
# Workflow type: staging-first (with staging branch) or direct-to-main
|
|
32
|
+
workflow: {{DEPLOYMENT_WORKFLOW}}
|
|
33
|
+
|
|
34
|
+
# Branch routing configuration
|
|
35
|
+
branches:
|
|
36
|
+
# These branch patterns will target staging (if staging-first workflow)
|
|
37
|
+
staging_targets:
|
|
38
|
+
- "feature/*"
|
|
39
|
+
- "fix/*"
|
|
40
|
+
- "docs/*"
|
|
41
|
+
- "chore/*"
|
|
42
|
+
- "refactor/*"
|
|
43
|
+
- "test/*"
|
|
44
|
+
|
|
45
|
+
# These branch patterns will target production directly (emergency fixes)
|
|
46
|
+
production_targets:
|
|
47
|
+
- "hotfix/*"
|
|
48
|
+
|
|
49
|
+
# Branch names
|
|
50
|
+
staging_branch: {{STAGING_BRANCH}}
|
|
51
|
+
production_branch: {{PRODUCTION_BRANCH}}
|
|
52
|
+
|
|
53
|
+
# Default PR target for ambiguous cases
|
|
54
|
+
default_target: {{DEFAULT_TARGET}}
|
|
55
|
+
|
|
56
|
+
# Environment configuration
|
|
57
|
+
environments:
|
|
58
|
+
staging:
|
|
59
|
+
name: "{{STAGING_ENV_NAME}}"
|
|
60
|
+
branch: {{STAGING_BRANCH}}
|
|
61
|
+
auto_deploy: true
|
|
62
|
+
platform: "{{DEPLOYMENT_PLATFORM}}"
|
|
63
|
+
url: "${STAGING_URL}"
|
|
64
|
+
promotion_message: "After validation, create PR to {{PRODUCTION_BRANCH}} for production"
|
|
65
|
+
|
|
66
|
+
production:
|
|
67
|
+
name: "{{PRODUCTION_ENV_NAME}}"
|
|
68
|
+
branch: {{PRODUCTION_BRANCH}}
|
|
69
|
+
auto_deploy: true
|
|
70
|
+
platform: "{{DEPLOYMENT_PLATFORM}}"
|
|
71
|
+
url: "${PRODUCTION_URL}"
|
|
72
|
+
promotion_message: "This is the final production deployment"
|
|
73
|
+
|
|
74
|
+
# Quality gates for PRs
|
|
75
|
+
quality_gates:
|
|
76
|
+
lint: {{QUALITY_LINT}}
|
|
77
|
+
typecheck: {{QUALITY_TYPECHECK}}
|
|
78
|
+
tests: {{QUALITY_TESTS}}
|
|
79
|
+
security_scan: {{QUALITY_SECURITY}}
|
|
80
|
+
min_coverage: {{MIN_COVERAGE}}
|
|
81
|
+
|
|
82
|
+
# PR defaults
|
|
83
|
+
pr_defaults:
|
|
84
|
+
auto_assign_reviewers: false
|
|
85
|
+
draft_by_default: false
|
|
86
|
+
include_deployment_info: true
|
|
87
|
+
labels:
|
|
88
|
+
staging: ["staging", "needs-review"]
|
|
89
|
+
production: ["production", "promotion"]
|
|
90
|
+
|
|
91
|
+
# =============================================================================
|
|
92
|
+
# AGENT CONFIGURATION
|
|
93
|
+
# Agent-specific settings
|
|
94
|
+
# =============================================================================
|
|
95
|
+
agents:
|
|
96
|
+
dev:
|
|
97
|
+
auto_load_context: true
|
|
98
|
+
story_tracking: true
|
|
99
|
+
|
|
100
|
+
qa:
|
|
101
|
+
run_on_pr: true
|
|
102
|
+
coverage_threshold: {{MIN_COVERAGE}}
|
|
103
|
+
|
|
104
|
+
devops:
|
|
105
|
+
auto_detect_workflow: true
|
|
106
|
+
|
|
107
|
+
# =============================================================================
|
|
108
|
+
# FEATURES
|
|
109
|
+
# Feature flags for optional functionality
|
|
110
|
+
# =============================================================================
|
|
111
|
+
features:
|
|
112
|
+
documentation_integrity: true
|
|
113
|
+
source_tree_guardian: true
|
|
114
|
+
quality_metrics: true
|
|
115
|
+
|
|
116
|
+
documentation_integrity_options:
|
|
117
|
+
generate_source_tree: true
|
|
118
|
+
generate_coding_standards: true
|
|
119
|
+
generate_tech_stack: true
|
|
120
|
+
brownfield_analysis: false
|
|
121
|
+
gitignore_generation: true
|
|
122
|
+
|
|
123
|
+
# =============================================================================
|
|
124
|
+
# CUSTOM CONFIGURATION
|
|
125
|
+
# Project-specific settings
|
|
126
|
+
# =============================================================================
|
|
127
|
+
custom: {}
|