aios-core 2.1.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/.session/current-session.json +14 -0
- package/.aios-core/cli/commands/generate/index.js +222 -0
- package/.aios-core/cli/commands/manifest/index.js +46 -0
- package/.aios-core/cli/commands/manifest/regenerate.js +96 -0
- package/.aios-core/cli/commands/manifest/validate.js +66 -0
- package/.aios-core/cli/commands/mcp/add.js +234 -0
- package/.aios-core/cli/commands/mcp/index.js +76 -0
- package/.aios-core/cli/commands/mcp/link.js +217 -0
- package/.aios-core/cli/commands/mcp/setup.js +164 -0
- package/.aios-core/cli/commands/mcp/status.js +183 -0
- package/.aios-core/cli/commands/metrics/cleanup.js +91 -0
- package/.aios-core/cli/commands/metrics/index.js +65 -0
- package/.aios-core/cli/commands/metrics/record.js +154 -0
- package/.aios-core/cli/commands/metrics/seed.js +126 -0
- package/.aios-core/cli/commands/metrics/show.js +209 -0
- package/.aios-core/cli/commands/migrate/analyze.js +353 -0
- package/.aios-core/cli/commands/migrate/backup.js +352 -0
- package/.aios-core/cli/commands/migrate/execute.js +292 -0
- package/.aios-core/cli/commands/migrate/index.js +441 -0
- package/.aios-core/cli/commands/migrate/rollback.js +323 -0
- package/.aios-core/cli/commands/migrate/update-imports.js +396 -0
- package/.aios-core/cli/commands/migrate/validate.js +452 -0
- package/.aios-core/cli/commands/qa/index.js +56 -0
- package/.aios-core/cli/commands/qa/run.js +163 -0
- package/.aios-core/cli/commands/qa/status.js +195 -0
- package/.aios-core/cli/commands/workers/formatters/info-formatter.js +274 -0
- package/.aios-core/cli/commands/workers/formatters/list-table.js +265 -0
- package/.aios-core/cli/commands/workers/formatters/list-tree.js +159 -0
- package/.aios-core/cli/commands/workers/index.js +56 -0
- package/.aios-core/cli/commands/workers/info.js +194 -0
- package/.aios-core/cli/commands/workers/list.js +214 -0
- package/.aios-core/cli/commands/workers/search-filters.js +185 -0
- package/.aios-core/cli/commands/workers/search-keyword.js +310 -0
- package/.aios-core/cli/commands/workers/search-semantic.js +293 -0
- package/.aios-core/cli/commands/workers/search.js +154 -0
- package/.aios-core/cli/commands/workers/utils/pagination.js +102 -0
- package/.aios-core/cli/index.js +128 -0
- package/.aios-core/cli/utils/output-formatter-cli.js +232 -0
- package/.aios-core/cli/utils/score-calculator.js +221 -0
- package/.aios-core/core/README.md +229 -0
- package/.aios-core/core/config/config-cache.js +233 -0
- package/.aios-core/core/config/config-loader.js +277 -0
- package/.aios-core/core/data/agent-config-requirements.yaml +368 -0
- package/.aios-core/core/data/aios-kb.md +924 -0
- package/.aios-core/core/data/workflow-patterns.yaml +267 -0
- package/.aios-core/core/docs/SHARD-TRANSLATION-GUIDE.md +335 -0
- package/.aios-core/core/docs/component-creation-guide.md +458 -0
- package/.aios-core/core/docs/session-update-pattern.md +307 -0
- package/.aios-core/core/docs/template-syntax.md +267 -0
- package/.aios-core/core/docs/troubleshooting-guide.md +625 -0
- package/.aios-core/core/elicitation/agent-elicitation.js +272 -0
- package/.aios-core/core/elicitation/elicitation-engine.js +479 -0
- package/.aios-core/core/elicitation/session-manager.js +320 -0
- package/.aios-core/core/elicitation/task-elicitation.js +281 -0
- package/.aios-core/core/elicitation/workflow-elicitation.js +315 -0
- package/.aios-core/core/index.esm.js +42 -0
- package/.aios-core/core/index.js +76 -0
- package/.aios-core/core/manifest/manifest-generator.js +386 -0
- package/.aios-core/core/manifest/manifest-validator.js +429 -0
- package/.aios-core/core/mcp/config-migrator.js +340 -0
- package/.aios-core/core/mcp/global-config-manager.js +369 -0
- package/.aios-core/core/mcp/index.js +34 -0
- package/.aios-core/core/mcp/os-detector.js +188 -0
- package/.aios-core/core/mcp/symlink-manager.js +413 -0
- package/.aios-core/core/migration/migration-config.yaml +83 -0
- package/.aios-core/core/migration/module-mapping.yaml +89 -0
- package/.aios-core/core/quality-gates/base-layer.js +134 -0
- package/.aios-core/core/quality-gates/checklist-generator.js +329 -0
- package/.aios-core/core/quality-gates/focus-area-recommender.js +359 -0
- package/.aios-core/core/quality-gates/human-review-orchestrator.js +529 -0
- package/.aios-core/core/quality-gates/layer1-precommit.js +336 -0
- package/.aios-core/core/quality-gates/layer2-pr-automation.js +324 -0
- package/.aios-core/core/quality-gates/layer3-human-review.js +348 -0
- package/.aios-core/core/quality-gates/notification-manager.js +550 -0
- package/.aios-core/core/quality-gates/quality-gate-config.yaml +86 -0
- package/.aios-core/core/quality-gates/quality-gate-manager.js +601 -0
- package/.aios-core/core/registry/README.md +179 -0
- package/.aios-core/core/registry/build-registry.js +452 -0
- package/.aios-core/core/registry/registry-loader.js +330 -0
- package/.aios-core/core/registry/registry-schema.json +166 -0
- package/.aios-core/core/registry/service-registry.json +6586 -0
- package/.aios-core/core/registry/validate-registry.js +340 -0
- package/.aios-core/core/session/context-detector.js +229 -0
- package/.aios-core/core/session/context-loader.js +288 -0
- package/.aios-core/core/utils/output-formatter.js +298 -0
- package/.aios-core/core/utils/security-utils.js +333 -0
- package/.aios-core/core/utils/yaml-validator.js +419 -0
- package/.aios-core/core-config.yaml +382 -0
- package/.aios-core/data/agent-config-requirements.yaml +368 -0
- package/.aios-core/data/aios-kb.md +924 -0
- package/.aios-core/data/technical-preferences.md +4 -0
- package/.aios-core/data/workflow-patterns.yaml +267 -0
- package/.aios-core/development/README.md +142 -0
- package/.aios-core/development/agent-teams/team-all.yaml +15 -0
- package/.aios-core/development/agent-teams/team-fullstack.yaml +18 -0
- package/.aios-core/development/agent-teams/team-ide-minimal.yaml +10 -0
- package/.aios-core/development/agent-teams/team-no-ui.yaml +13 -0
- package/.aios-core/development/agent-teams/team-qa-focused.yaml +155 -0
- package/.aios-core/development/agents/aios-master.md +339 -0
- package/.aios-core/development/agents/analyst.md +195 -0
- package/.aios-core/development/agents/architect.md +359 -0
- package/.aios-core/development/agents/data-engineer.md +468 -0
- package/.aios-core/development/agents/dev.md +390 -0
- package/.aios-core/development/agents/devops.md +398 -0
- package/.aios-core/development/agents/pm.md +198 -0
- package/.aios-core/development/agents/po.md +256 -0
- package/.aios-core/development/agents/qa.md +312 -0
- package/.aios-core/development/agents/sm.md +220 -0
- package/.aios-core/development/agents/ux-design-expert.md +451 -0
- package/.aios-core/development/scripts/agent-assignment-resolver.js +231 -0
- package/.aios-core/development/scripts/agent-config-loader.js +624 -0
- package/.aios-core/development/scripts/agent-exit-hooks.js +96 -0
- package/.aios-core/development/scripts/apply-inline-greeting-all-agents.js +146 -0
- package/.aios-core/development/scripts/audit-agent-config.js +380 -0
- package/.aios-core/development/scripts/backlog-manager.js +404 -0
- package/.aios-core/development/scripts/batch-update-agents-session-context.js +95 -0
- package/.aios-core/development/scripts/decision-context.js +228 -0
- package/.aios-core/development/scripts/decision-log-generator.js +293 -0
- package/.aios-core/development/scripts/decision-log-indexer.js +284 -0
- package/.aios-core/development/scripts/decision-recorder.js +168 -0
- package/.aios-core/development/scripts/dev-context-loader.js +297 -0
- package/.aios-core/development/scripts/generate-greeting.js +160 -0
- package/.aios-core/development/scripts/greeting-builder.js +866 -0
- package/.aios-core/development/scripts/greeting-config-cli.js +85 -0
- package/.aios-core/development/scripts/greeting-preference-manager.js +145 -0
- package/.aios-core/development/scripts/migrate-task-to-v2.js +377 -0
- package/.aios-core/development/scripts/story-index-generator.js +337 -0
- package/.aios-core/development/scripts/story-manager.js +375 -0
- package/.aios-core/development/scripts/story-update-hook.js +259 -0
- package/.aios-core/development/scripts/task-identifier-resolver.js +145 -0
- package/.aios-core/development/scripts/test-greeting-system.js +142 -0
- package/.aios-core/development/scripts/validate-task-v2.js +319 -0
- package/.aios-core/development/scripts/workflow-navigator.js +214 -0
- package/.aios-core/development/tasks/add-mcp.md +319 -0
- package/.aios-core/development/tasks/advanced-elicitation.md +319 -0
- package/.aios-core/development/tasks/analyst-facilitate-brainstorming.md +342 -0
- package/.aios-core/development/tasks/analyze-framework.md +697 -0
- package/.aios-core/development/tasks/analyze-performance.md +637 -0
- package/.aios-core/development/tasks/apply-qa-fixes.md +340 -0
- package/.aios-core/development/tasks/architect-analyze-impact.md +827 -0
- package/.aios-core/development/tasks/audit-codebase.md +429 -0
- package/.aios-core/development/tasks/audit-tailwind-config.md +270 -0
- package/.aios-core/development/tasks/audit-utilities.md +358 -0
- package/.aios-core/development/tasks/bootstrap-shadcn-library.md +286 -0
- package/.aios-core/development/tasks/brownfield-create-epic.md +486 -0
- package/.aios-core/development/tasks/brownfield-create-story.md +357 -0
- package/.aios-core/development/tasks/build-component.md +478 -0
- package/.aios-core/development/tasks/calculate-roi.md +455 -0
- package/.aios-core/development/tasks/ci-cd-configuration.md +764 -0
- package/.aios-core/development/tasks/cleanup-utilities.md +670 -0
- package/.aios-core/development/tasks/collaborative-edit.md +1109 -0
- package/.aios-core/development/tasks/compose-molecule.md +284 -0
- package/.aios-core/development/tasks/consolidate-patterns.md +414 -0
- package/.aios-core/development/tasks/correct-course.md +280 -0
- package/.aios-core/development/tasks/create-agent.md +322 -0
- package/.aios-core/development/tasks/create-brownfield-story.md +727 -0
- package/.aios-core/development/tasks/create-deep-research-prompt.md +499 -0
- package/.aios-core/development/tasks/create-doc.md +316 -0
- package/.aios-core/development/tasks/create-next-story.md +774 -0
- package/.aios-core/development/tasks/create-suite.md +284 -0
- package/.aios-core/development/tasks/create-task.md +372 -0
- package/.aios-core/development/tasks/create-workflow.md +371 -0
- package/.aios-core/development/tasks/db-analyze-hotpaths.md +572 -0
- package/.aios-core/development/tasks/db-apply-migration.md +381 -0
- package/.aios-core/development/tasks/db-bootstrap.md +642 -0
- package/.aios-core/development/tasks/db-domain-modeling.md +693 -0
- package/.aios-core/development/tasks/db-dry-run.md +293 -0
- package/.aios-core/development/tasks/db-env-check.md +260 -0
- package/.aios-core/development/tasks/db-expansion-pack-integration.md +663 -0
- package/.aios-core/development/tasks/db-explain.md +631 -0
- package/.aios-core/development/tasks/db-impersonate.md +495 -0
- package/.aios-core/development/tasks/db-load-csv.md +593 -0
- package/.aios-core/development/tasks/db-policy-apply.md +653 -0
- package/.aios-core/development/tasks/db-rls-audit.md +411 -0
- package/.aios-core/development/tasks/db-rollback.md +739 -0
- package/.aios-core/development/tasks/db-run-sql.md +613 -0
- package/.aios-core/development/tasks/db-schema-audit.md +1011 -0
- package/.aios-core/development/tasks/db-seed.md +390 -0
- package/.aios-core/development/tasks/db-smoke-test.md +351 -0
- package/.aios-core/development/tasks/db-snapshot.md +569 -0
- package/.aios-core/development/tasks/db-supabase-setup.md +712 -0
- package/.aios-core/development/tasks/db-verify-order.md +515 -0
- package/.aios-core/development/tasks/deprecate-component.md +957 -0
- package/.aios-core/development/tasks/dev-apply-qa-fixes.md +318 -0
- package/.aios-core/development/tasks/dev-backlog-debt.md +469 -0
- package/.aios-core/development/tasks/dev-develop-story.md +846 -0
- package/.aios-core/development/tasks/dev-improve-code-quality.md +873 -0
- package/.aios-core/development/tasks/dev-optimize-performance.md +1034 -0
- package/.aios-core/development/tasks/dev-suggest-refactoring.md +871 -0
- package/.aios-core/development/tasks/dev-validate-next-story.md +349 -0
- package/.aios-core/development/tasks/document-project.md +553 -0
- package/.aios-core/development/tasks/environment-bootstrap.md +1311 -0
- package/.aios-core/development/tasks/execute-checklist.md +301 -0
- package/.aios-core/development/tasks/export-design-tokens-dtcg.md +274 -0
- package/.aios-core/development/tasks/extend-pattern.md +269 -0
- package/.aios-core/development/tasks/extract-tokens.md +467 -0
- package/.aios-core/development/tasks/facilitate-brainstorming-session.md +518 -0
- package/.aios-core/development/tasks/generate-ai-frontend-prompt.md +261 -0
- package/.aios-core/development/tasks/generate-documentation.md +284 -0
- package/.aios-core/development/tasks/generate-migration-strategy.md +522 -0
- package/.aios-core/development/tasks/generate-shock-report.md +501 -0
- package/.aios-core/development/tasks/github-devops-github-pr-automation.md +427 -0
- package/.aios-core/development/tasks/github-devops-pre-push-quality-gate.md +733 -0
- package/.aios-core/development/tasks/github-devops-repository-cleanup.md +374 -0
- package/.aios-core/development/tasks/github-devops-version-management.md +483 -0
- package/.aios-core/development/tasks/improve-self.md +823 -0
- package/.aios-core/development/tasks/index-docs.md +388 -0
- package/.aios-core/development/tasks/init-project-status.md +506 -0
- package/.aios-core/development/tasks/integrate-expansion-pack.md +314 -0
- package/.aios-core/development/tasks/kb-mode-interaction.md +284 -0
- package/.aios-core/development/tasks/learn-patterns.md +901 -0
- package/.aios-core/development/tasks/mcp-workflow.md +437 -0
- package/.aios-core/development/tasks/modify-agent.md +382 -0
- package/.aios-core/development/tasks/modify-task.md +425 -0
- package/.aios-core/development/tasks/modify-workflow.md +466 -0
- package/.aios-core/development/tasks/po-backlog-add.md +370 -0
- package/.aios-core/development/tasks/po-manage-story-backlog.md +523 -0
- package/.aios-core/development/tasks/po-pull-story-from-clickup.md +540 -0
- package/.aios-core/development/tasks/po-pull-story.md +316 -0
- package/.aios-core/development/tasks/po-stories-index.md +351 -0
- package/.aios-core/development/tasks/po-sync-story-to-clickup.md +457 -0
- package/.aios-core/development/tasks/po-sync-story.md +303 -0
- package/.aios-core/development/tasks/pr-automation.md +701 -0
- package/.aios-core/development/tasks/propose-modification.md +843 -0
- package/.aios-core/development/tasks/qa-backlog-add-followup.md +425 -0
- package/.aios-core/development/tasks/qa-gate.md +374 -0
- package/.aios-core/development/tasks/qa-generate-tests.md +1175 -0
- package/.aios-core/development/tasks/qa-nfr-assess.md +558 -0
- package/.aios-core/development/tasks/qa-review-proposal.md +1158 -0
- package/.aios-core/development/tasks/qa-review-story.md +683 -0
- package/.aios-core/development/tasks/qa-risk-profile.md +567 -0
- package/.aios-core/development/tasks/qa-run-tests.md +277 -0
- package/.aios-core/development/tasks/qa-test-design.md +388 -0
- package/.aios-core/development/tasks/qa-trace-requirements.md +477 -0
- package/.aios-core/development/tasks/release-management.md +723 -0
- package/.aios-core/development/tasks/security-audit.md +554 -0
- package/.aios-core/development/tasks/security-scan.md +790 -0
- package/.aios-core/development/tasks/setup-database.md +741 -0
- package/.aios-core/development/tasks/setup-design-system.md +462 -0
- package/.aios-core/development/tasks/setup-github.md +874 -0
- package/.aios-core/development/tasks/setup-llm-routing.md +229 -0
- package/.aios-core/development/tasks/setup-mcp-docker.md +584 -0
- package/.aios-core/development/tasks/shard-doc.md +538 -0
- package/.aios-core/development/tasks/sm-create-next-story.md +480 -0
- package/.aios-core/development/tasks/sync-documentation.md +865 -0
- package/.aios-core/development/tasks/tailwind-upgrade.md +294 -0
- package/.aios-core/development/tasks/test-as-user.md +621 -0
- package/.aios-core/development/tasks/test-validation-task.md +171 -0
- package/.aios-core/development/tasks/undo-last.md +347 -0
- package/.aios-core/development/tasks/update-manifest.md +410 -0
- package/.aios-core/development/tasks/ux-create-wireframe.md +617 -0
- package/.aios-core/development/tasks/ux-ds-scan-artifact.md +672 -0
- package/.aios-core/development/tasks/ux-user-research.md +559 -0
- package/.aios-core/development/tasks/validate-next-story.md +423 -0
- package/.aios-core/development/tasks/validate-structure.md +243 -0
- package/.aios-core/development/workflows/README.md +84 -0
- package/.aios-core/development/workflows/brownfield-fullstack.yaml +297 -0
- package/.aios-core/development/workflows/brownfield-service.yaml +187 -0
- package/.aios-core/development/workflows/brownfield-ui.yaml +197 -0
- package/.aios-core/development/workflows/greenfield-fullstack.yaml +333 -0
- package/.aios-core/development/workflows/greenfield-service.yaml +206 -0
- package/.aios-core/development/workflows/greenfield-ui.yaml +235 -0
- package/.aios-core/docs/SHARD-TRANSLATION-GUIDE.md +335 -0
- package/.aios-core/docs/component-creation-guide.md +458 -0
- package/.aios-core/docs/session-update-pattern.md +307 -0
- package/.aios-core/docs/standards/AGENT-PERSONALIZATION-STANDARD-V1.md +572 -0
- package/.aios-core/docs/standards/AIOS-COLOR-PALETTE-QUICK-REFERENCE.md +185 -0
- package/.aios-core/docs/standards/AIOS-COLOR-PALETTE-V2.1.md +354 -0
- package/.aios-core/docs/standards/AIOS-FRAMEWORK-MASTER.md +1963 -0
- package/.aios-core/docs/standards/AIOS-LIVRO-DE-OURO-V2.1-COMPLETE.md +821 -0
- package/.aios-core/docs/standards/AIOS-LIVRO-DE-OURO-V2.1-SUMMARY.md +1190 -0
- package/.aios-core/docs/standards/AIOS-LIVRO-DE-OURO-V2.1.md +439 -0
- package/.aios-core/docs/standards/AIOS-LIVRO-DE-OURO-V2.2-SUMMARY.md +1339 -0
- package/.aios-core/docs/standards/AIOS-LIVRO-DE-OURO.md +5398 -0
- package/.aios-core/docs/standards/EXECUTOR-DECISION-TREE.md +697 -0
- package/.aios-core/docs/standards/OPEN-SOURCE-VS-SERVICE-DIFFERENCES.md +511 -0
- package/.aios-core/docs/standards/QUALITY-GATES-SPECIFICATION.md +556 -0
- package/.aios-core/docs/standards/STANDARDS-INDEX.md +210 -0
- package/.aios-core/docs/standards/STORY-TEMPLATE-V2-SPECIFICATION.md +550 -0
- package/.aios-core/docs/standards/TASK-FORMAT-SPECIFICATION-V1.md +1414 -0
- package/.aios-core/docs/standards/V3-ARCHITECTURAL-DECISIONS.md +523 -0
- package/.aios-core/docs/template-syntax.md +267 -0
- package/.aios-core/docs/troubleshooting-guide.md +625 -0
- package/.aios-core/elicitation/agent-elicitation.js +272 -0
- package/.aios-core/elicitation/task-elicitation.js +281 -0
- package/.aios-core/elicitation/workflow-elicitation.js +315 -0
- package/.aios-core/index.d.ts +8 -0
- package/.aios-core/index.esm.js +16 -0
- package/.aios-core/index.js +16 -0
- package/.aios-core/infrastructure/README.md +126 -0
- package/.aios-core/infrastructure/index.js +199 -0
- package/.aios-core/infrastructure/integrations/pm-adapters/README.md +59 -0
- package/.aios-core/infrastructure/integrations/pm-adapters/clickup-adapter.js +345 -0
- package/.aios-core/infrastructure/integrations/pm-adapters/github-adapter.js +392 -0
- package/.aios-core/infrastructure/integrations/pm-adapters/jira-adapter.js +448 -0
- package/.aios-core/infrastructure/integrations/pm-adapters/local-adapter.js +175 -0
- package/.aios-core/infrastructure/scripts/_archived/final-todo-count.js +122 -0
- package/.aios-core/infrastructure/scripts/_archived/fix-yaml-formatting.js +89 -0
- package/.aios-core/infrastructure/scripts/_archived/migration-generator.js +780 -0
- package/.aios-core/infrastructure/scripts/_archived/migration-path-generator.js +950 -0
- package/.aios-core/infrastructure/scripts/_archived/phase2-entrada-saida-errors.js +425 -0
- package/.aios-core/infrastructure/scripts/_archived/phase2-spot-check.js +132 -0
- package/.aios-core/infrastructure/scripts/_archived/phase3-tools-scripts-validation.js +381 -0
- package/.aios-core/infrastructure/scripts/_archived/phase4-metadata-performance.js +203 -0
- package/.aios-core/infrastructure/scripts/_archived/test-yaml-parsing.js +24 -0
- package/.aios-core/infrastructure/scripts/_archived/verify-yaml-fix.js +51 -0
- package/.aios-core/infrastructure/scripts/aios-validator.js +294 -0
- package/.aios-core/infrastructure/scripts/approval-workflow.js +643 -0
- package/.aios-core/infrastructure/scripts/atomic-layer-classifier.js +308 -0
- package/.aios-core/infrastructure/scripts/backup-manager.js +607 -0
- package/.aios-core/infrastructure/scripts/batch-creator.js +608 -0
- package/.aios-core/infrastructure/scripts/branch-manager.js +391 -0
- package/.aios-core/infrastructure/scripts/capability-analyzer.js +535 -0
- package/.aios-core/infrastructure/scripts/clickup-helpers.js +226 -0
- package/.aios-core/infrastructure/scripts/code-quality-improver.js +1312 -0
- package/.aios-core/infrastructure/scripts/commit-message-generator.js +850 -0
- package/.aios-core/infrastructure/scripts/component-generator.js +738 -0
- package/.aios-core/infrastructure/scripts/component-metadata.js +627 -0
- package/.aios-core/infrastructure/scripts/component-search.js +277 -0
- package/.aios-core/infrastructure/scripts/config-cache.js +322 -0
- package/.aios-core/infrastructure/scripts/config-loader.js +349 -0
- package/.aios-core/infrastructure/scripts/conflict-resolver.js +675 -0
- package/.aios-core/infrastructure/scripts/coverage-analyzer.js +882 -0
- package/.aios-core/infrastructure/scripts/dependency-analyzer.js +638 -0
- package/.aios-core/infrastructure/scripts/dependency-impact-analyzer.js +703 -0
- package/.aios-core/infrastructure/scripts/diff-generator.js +129 -0
- package/.aios-core/infrastructure/scripts/documentation-integrity/brownfield-analyzer.js +501 -0
- package/.aios-core/infrastructure/scripts/documentation-integrity/config-generator.js +329 -0
- package/.aios-core/infrastructure/scripts/documentation-integrity/deployment-config-loader.js +282 -0
- package/.aios-core/infrastructure/scripts/documentation-integrity/doc-generator.js +331 -0
- package/.aios-core/infrastructure/scripts/documentation-integrity/gitignore-generator.js +313 -0
- package/.aios-core/infrastructure/scripts/documentation-integrity/index.js +74 -0
- package/.aios-core/infrastructure/scripts/documentation-integrity/mode-detector.js +358 -0
- package/.aios-core/infrastructure/scripts/documentation-synchronizer.js +1432 -0
- package/.aios-core/infrastructure/scripts/framework-analyzer.js +746 -0
- package/.aios-core/infrastructure/scripts/git-config-detector.js +293 -0
- package/.aios-core/infrastructure/scripts/git-wrapper.js +443 -0
- package/.aios-core/infrastructure/scripts/improvement-engine.js +758 -0
- package/.aios-core/infrastructure/scripts/improvement-validator.js +710 -0
- package/.aios-core/infrastructure/scripts/llm-routing/install-llm-routing.js +267 -0
- package/.aios-core/infrastructure/scripts/llm-routing/templates/claude-free.cmd +80 -0
- package/.aios-core/infrastructure/scripts/llm-routing/templates/claude-free.sh +62 -0
- package/.aios-core/infrastructure/scripts/llm-routing/templates/claude-max.cmd +26 -0
- package/.aios-core/infrastructure/scripts/llm-routing/templates/claude-max.sh +18 -0
- package/.aios-core/infrastructure/scripts/modification-risk-assessment.js +970 -0
- package/.aios-core/infrastructure/scripts/modification-validator.js +555 -0
- package/.aios-core/infrastructure/scripts/output-formatter.js +297 -0
- package/.aios-core/infrastructure/scripts/performance-analyzer.js +758 -0
- package/.aios-core/infrastructure/scripts/performance-and-error-resolver.js +258 -0
- package/.aios-core/infrastructure/scripts/performance-optimizer.js +1902 -0
- package/.aios-core/infrastructure/scripts/performance-tracker.js +452 -0
- package/.aios-core/infrastructure/scripts/pm-adapter-factory.js +181 -0
- package/.aios-core/infrastructure/scripts/pm-adapter.js +134 -0
- package/.aios-core/infrastructure/scripts/project-status-loader.js +445 -0
- package/.aios-core/infrastructure/scripts/refactoring-suggester.js +1139 -0
- package/.aios-core/infrastructure/scripts/repository-detector.js +64 -0
- package/.aios-core/infrastructure/scripts/sandbox-tester.js +618 -0
- package/.aios-core/infrastructure/scripts/security-checker.js +359 -0
- package/.aios-core/infrastructure/scripts/source-tree-guardian/index.js +375 -0
- package/.aios-core/infrastructure/scripts/source-tree-guardian/manifest-generator.js +410 -0
- package/.aios-core/infrastructure/scripts/source-tree-guardian/rules/naming-rules.yaml +285 -0
- package/.aios-core/infrastructure/scripts/source-tree-guardian/rules/placement-rules.yaml +262 -0
- package/.aios-core/infrastructure/scripts/source-tree-guardian/validator.js +468 -0
- package/.aios-core/infrastructure/scripts/spot-check-validator.js +149 -0
- package/.aios-core/infrastructure/scripts/status-mapper.js +115 -0
- package/.aios-core/infrastructure/scripts/template-engine.js +240 -0
- package/.aios-core/infrastructure/scripts/template-validator.js +279 -0
- package/.aios-core/infrastructure/scripts/test-generator.js +844 -0
- package/.aios-core/infrastructure/scripts/test-quality-assessment.js +1081 -0
- package/.aios-core/infrastructure/scripts/test-utilities-fast.js +126 -0
- package/.aios-core/infrastructure/scripts/test-utilities.js +200 -0
- package/.aios-core/infrastructure/scripts/tool-resolver.js +360 -0
- package/.aios-core/infrastructure/scripts/transaction-manager.js +590 -0
- package/.aios-core/infrastructure/scripts/usage-analytics.js +634 -0
- package/.aios-core/infrastructure/scripts/validate-output-pattern.js +213 -0
- package/.aios-core/infrastructure/scripts/visual-impact-generator.js +1056 -0
- package/.aios-core/infrastructure/scripts/yaml-validator.js +397 -0
- package/.aios-core/infrastructure/templates/coderabbit.yaml.template +279 -0
- package/.aios-core/infrastructure/templates/core-config/core-config-brownfield.tmpl.yaml +182 -0
- package/.aios-core/infrastructure/templates/core-config/core-config-greenfield.tmpl.yaml +127 -0
- package/.aios-core/infrastructure/templates/github-workflows/README.md +109 -0
- package/.aios-core/infrastructure/templates/github-workflows/ci.yml.template +169 -0
- package/.aios-core/infrastructure/templates/github-workflows/pr-automation.yml.template +330 -0
- package/.aios-core/infrastructure/templates/github-workflows/release.yml.template +196 -0
- package/.aios-core/infrastructure/templates/gitignore/gitignore-aios-base.tmpl +63 -0
- package/.aios-core/infrastructure/templates/gitignore/gitignore-brownfield-merge.tmpl +18 -0
- package/.aios-core/infrastructure/templates/gitignore/gitignore-node.tmpl +85 -0
- package/.aios-core/infrastructure/templates/gitignore/gitignore-python.tmpl +145 -0
- package/.aios-core/infrastructure/templates/project-docs/coding-standards-tmpl.md +346 -0
- package/.aios-core/infrastructure/templates/project-docs/source-tree-tmpl.md +177 -0
- package/.aios-core/infrastructure/templates/project-docs/tech-stack-tmpl.md +267 -0
- package/.aios-core/infrastructure/tests/project-status-loader.test.js +394 -0
- package/.aios-core/infrastructure/tests/regression-suite-v2.md +621 -0
- package/.aios-core/infrastructure/tests/utilities-audit-results.json +501 -0
- package/.aios-core/infrastructure/tests/validate-module.js +97 -0
- package/.aios-core/infrastructure/tools/README.md +222 -0
- package/.aios-core/infrastructure/tools/cli/github-cli.yaml +200 -0
- package/.aios-core/infrastructure/tools/cli/llm-routing.yaml +126 -0
- package/.aios-core/infrastructure/tools/cli/railway-cli.yaml +260 -0
- package/.aios-core/infrastructure/tools/cli/supabase-cli.yaml +224 -0
- package/.aios-core/infrastructure/tools/local/ffmpeg.yaml +261 -0
- package/.aios-core/infrastructure/tools/mcp/21st-dev-magic.yaml +127 -0
- package/.aios-core/infrastructure/tools/mcp/browser.yaml +103 -0
- package/.aios-core/infrastructure/tools/mcp/clickup.yaml +534 -0
- package/.aios-core/infrastructure/tools/mcp/context7.yaml +78 -0
- package/.aios-core/infrastructure/tools/mcp/desktop-commander.yaml +180 -0
- package/.aios-core/infrastructure/tools/mcp/exa.yaml +103 -0
- package/.aios-core/infrastructure/tools/mcp/google-workspace.yaml +930 -0
- package/.aios-core/infrastructure/tools/mcp/n8n.yaml +551 -0
- package/.aios-core/infrastructure/tools/mcp/supabase.yaml +808 -0
- package/.aios-core/install-manifest.yaml +347 -0
- package/.aios-core/manifests/agents.csv +1 -0
- package/.aios-core/manifests/schema/manifest-schema.json +190 -0
- package/.aios-core/manifests/tasks.csv +121 -0
- package/.aios-core/manifests/workers.csv +204 -0
- package/.aios-core/package.json +103 -0
- package/.aios-core/product/README.md +56 -0
- package/.aios-core/product/checklists/architect-checklist.md +444 -0
- package/.aios-core/product/checklists/change-checklist.md +183 -0
- package/.aios-core/product/checklists/database-design-checklist.md +119 -0
- package/.aios-core/product/checklists/dba-predeploy-checklist.md +97 -0
- package/.aios-core/product/checklists/dba-rollback-checklist.md +99 -0
- package/.aios-core/product/checklists/pm-checklist.md +376 -0
- package/.aios-core/product/checklists/po-master-checklist.md +442 -0
- package/.aios-core/product/checklists/pre-push-checklist.md +108 -0
- package/.aios-core/product/checklists/release-checklist.md +122 -0
- package/.aios-core/product/checklists/story-dod-checklist.md +102 -0
- package/.aios-core/product/checklists/story-draft-checklist.md +216 -0
- package/.aios-core/product/data/brainstorming-techniques.md +37 -0
- package/.aios-core/product/data/elicitation-methods.md +135 -0
- package/.aios-core/product/data/mode-selection-best-practices.md +471 -0
- package/.aios-core/product/data/test-levels-framework.md +149 -0
- package/.aios-core/product/data/test-priorities-matrix.md +175 -0
- package/.aios-core/product/templates/1mcp-config.yaml +225 -0
- package/.aios-core/product/templates/activation-instructions-inline-greeting.yaml +63 -0
- package/.aios-core/product/templates/activation-instructions-template.md +258 -0
- package/.aios-core/product/templates/adr.hbs +125 -0
- package/.aios-core/product/templates/agent-template.yaml +121 -0
- package/.aios-core/product/templates/architecture-tmpl.yaml +651 -0
- package/.aios-core/product/templates/brainstorming-output-tmpl.yaml +156 -0
- package/.aios-core/product/templates/brownfield-architecture-tmpl.yaml +476 -0
- package/.aios-core/product/templates/brownfield-prd-tmpl.yaml +280 -0
- package/.aios-core/product/templates/changelog-template.md +134 -0
- package/.aios-core/product/templates/command-rationalization-matrix.md +152 -0
- package/.aios-core/product/templates/competitor-analysis-tmpl.yaml +293 -0
- package/.aios-core/product/templates/component-react-tmpl.tsx +98 -0
- package/.aios-core/product/templates/dbdr.hbs +241 -0
- package/.aios-core/product/templates/design-story-tmpl.yaml +587 -0
- package/.aios-core/product/templates/ds-artifact-analysis.md +70 -0
- package/.aios-core/product/templates/engine/elicitation.js +298 -0
- package/.aios-core/product/templates/engine/index.js +308 -0
- package/.aios-core/product/templates/engine/loader.js +231 -0
- package/.aios-core/product/templates/engine/renderer.js +343 -0
- package/.aios-core/product/templates/engine/schemas/adr.schema.json +102 -0
- package/.aios-core/product/templates/engine/schemas/dbdr.schema.json +205 -0
- package/.aios-core/product/templates/engine/schemas/epic.schema.json +175 -0
- package/.aios-core/product/templates/engine/schemas/pmdr.schema.json +175 -0
- package/.aios-core/product/templates/engine/schemas/prd-v2.schema.json +300 -0
- package/.aios-core/product/templates/engine/schemas/prd.schema.json +152 -0
- package/.aios-core/product/templates/engine/schemas/story.schema.json +222 -0
- package/.aios-core/product/templates/engine/schemas/task.schema.json +154 -0
- package/.aios-core/product/templates/engine/validator.js +294 -0
- package/.aios-core/product/templates/epic.hbs +212 -0
- package/.aios-core/product/templates/eslintrc-security.json +32 -0
- package/.aios-core/product/templates/front-end-architecture-tmpl.yaml +206 -0
- package/.aios-core/product/templates/front-end-spec-tmpl.yaml +349 -0
- package/.aios-core/product/templates/fullstack-architecture-tmpl.yaml +805 -0
- package/.aios-core/product/templates/github-actions-cd.yml +212 -0
- package/.aios-core/product/templates/github-actions-ci.yml +172 -0
- package/.aios-core/product/templates/github-pr-template.md +67 -0
- package/.aios-core/product/templates/gordon-mcp.yaml +140 -0
- package/.aios-core/product/templates/ide-rules/antigravity-rules.md +115 -0
- package/.aios-core/product/templates/ide-rules/claude-rules.md +221 -0
- package/.aios-core/product/templates/ide-rules/cline-rules.md +84 -0
- package/.aios-core/product/templates/ide-rules/copilot-rules.md +92 -0
- package/.aios-core/product/templates/ide-rules/cursor-rules.md +115 -0
- package/.aios-core/product/templates/ide-rules/gemini-rules.md +85 -0
- package/.aios-core/product/templates/ide-rules/roo-rules.md +86 -0
- package/.aios-core/product/templates/ide-rules/trae-rules.md +104 -0
- package/.aios-core/product/templates/ide-rules/windsurf-rules.md +80 -0
- package/.aios-core/product/templates/index-strategy-tmpl.yaml +53 -0
- package/.aios-core/product/templates/market-research-tmpl.yaml +252 -0
- package/.aios-core/product/templates/mcp-workflow.js +271 -0
- package/.aios-core/product/templates/migration-plan-tmpl.yaml +1022 -0
- package/.aios-core/product/templates/migration-strategy-tmpl.md +524 -0
- package/.aios-core/product/templates/personalized-agent-template.md +258 -0
- package/.aios-core/product/templates/personalized-checklist-template.md +340 -0
- package/.aios-core/product/templates/personalized-task-template-v2.md +905 -0
- package/.aios-core/product/templates/personalized-task-template.md +344 -0
- package/.aios-core/product/templates/personalized-template-file.yaml +322 -0
- package/.aios-core/product/templates/personalized-workflow-template.yaml +460 -0
- package/.aios-core/product/templates/pmdr.hbs +186 -0
- package/.aios-core/product/templates/prd-tmpl.yaml +202 -0
- package/.aios-core/product/templates/prd-v2.0.hbs +216 -0
- package/.aios-core/product/templates/prd.hbs +201 -0
- package/.aios-core/product/templates/project-brief-tmpl.yaml +221 -0
- package/.aios-core/product/templates/qa-gate-tmpl.yaml +240 -0
- package/.aios-core/product/templates/rls-policies-tmpl.yaml +1203 -0
- package/.aios-core/product/templates/schema-design-tmpl.yaml +428 -0
- package/.aios-core/product/templates/shock-report-tmpl.html +502 -0
- package/.aios-core/product/templates/state-persistence-tmpl.yaml +219 -0
- package/.aios-core/product/templates/story-tmpl.yaml +332 -0
- package/.aios-core/product/templates/story.hbs +263 -0
- package/.aios-core/product/templates/task-execution-report.md +495 -0
- package/.aios-core/product/templates/task-template.md +123 -0
- package/.aios-core/product/templates/task.hbs +170 -0
- package/.aios-core/product/templates/tmpl-comment-on-examples.sql +158 -0
- package/.aios-core/product/templates/tmpl-migration-script.sql +91 -0
- package/.aios-core/product/templates/tmpl-rls-granular-policies.sql +104 -0
- package/.aios-core/product/templates/tmpl-rls-kiss-policy.sql +10 -0
- package/.aios-core/product/templates/tmpl-rls-roles.sql +135 -0
- package/.aios-core/product/templates/tmpl-rls-simple.sql +77 -0
- package/.aios-core/product/templates/tmpl-rls-tenant.sql +152 -0
- package/.aios-core/product/templates/tmpl-rollback-script.sql +77 -0
- package/.aios-core/product/templates/tmpl-seed-data.sql +140 -0
- package/.aios-core/product/templates/tmpl-smoke-test.sql +16 -0
- package/.aios-core/product/templates/tmpl-staging-copy-merge.sql +139 -0
- package/.aios-core/product/templates/tmpl-stored-proc.sql +140 -0
- package/.aios-core/product/templates/tmpl-trigger.sql +152 -0
- package/.aios-core/product/templates/tmpl-view-materialized.sql +133 -0
- package/.aios-core/product/templates/tmpl-view.sql +177 -0
- package/.aios-core/product/templates/token-exports-css-tmpl.css +240 -0
- package/.aios-core/product/templates/token-exports-tailwind-tmpl.js +395 -0
- package/.aios-core/product/templates/tokens-schema-tmpl.yaml +305 -0
- package/.aios-core/product/templates/workflow-template.yaml +134 -0
- package/.aios-core/quality/metrics-collector.js +572 -0
- package/.aios-core/quality/metrics-hook.js +260 -0
- package/.aios-core/quality/schemas/quality-metrics.schema.json +233 -0
- package/.aios-core/quality/seed-metrics.js +336 -0
- package/.aios-core/scripts/README.md +354 -0
- package/.aios-core/scripts/aios-doc-template.md +325 -0
- package/.aios-core/scripts/batch-migrate-phase1.ps1 +36 -0
- package/.aios-core/scripts/batch-migrate-phase2.ps1 +88 -0
- package/.aios-core/scripts/batch-migrate-phase3.ps1 +45 -0
- package/.aios-core/scripts/command-execution-hook.js +201 -0
- package/.aios-core/scripts/context-detector.js +226 -0
- package/.aios-core/scripts/elicitation-engine.js +385 -0
- package/.aios-core/scripts/elicitation-session-manager.js +300 -0
- package/.aios-core/scripts/migrate-framework-docs.sh +300 -0
- package/.aios-core/scripts/session-context-loader.js +286 -0
- package/.aios-core/scripts/test-template-system.js +941 -0
- package/.aios-core/scripts/validate-phase1.ps1 +35 -0
- package/.aios-core/scripts/workflow-management.md +69 -0
- package/.aios-core/tasks/find-component.md.legacy +391 -0
- package/.aios-core/tasks/generate-commit-message.md.legacy +426 -0
- package/.aios-core/tasks/generate-migration.md.legacy +382 -0
- package/.aios-core/tasks/rollback-modification.md.legacy +307 -0
- package/.aios-core/tasks/update-tests.md.legacy +283 -0
- package/.aios-core/user-guide.md +1413 -0
- package/.aios-core/working-in-the-brownfield.md +361 -0
- package/.claude/CLAUDE.md +221 -0
- package/LICENSE +48 -0
- package/README.md +703 -0
- package/bin/aios-init-old.js +532 -0
- package/bin/aios-init-v4.js +390 -0
- package/bin/aios-init.backup-v1.1.4.js +352 -0
- package/bin/aios-init.js +736 -0
- package/bin/aios-minimal.js +26 -0
- package/bin/aios.js +279 -0
- package/bin/migrate-pm-config.js +219 -0
- package/bin/modules/env-config.js +436 -0
- package/bin/modules/mcp-installer.js +383 -0
- package/bin/utils/install-errors.js +339 -0
- package/bin/utils/install-transaction.js +445 -0
- package/index.d.ts +19 -0
- package/index.esm.js +21 -0
- package/index.js +94 -0
- package/package.json +161 -0
- package/packages/installer/package.json +39 -0
- package/packages/installer/src/config/configure-environment.js +312 -0
- package/packages/installer/src/config/templates/core-config-template.js +183 -0
- package/packages/installer/src/config/templates/env-template.js +127 -0
- package/packages/installer/src/config/validation/config-validator.js +243 -0
- package/packages/installer/src/detection/detect-project-type.js +81 -0
- package/packages/installer/src/wizard/wizard.js +244 -0
- package/packages/installer/tests/integration/environment-configuration.test.js +328 -0
- package/packages/installer/tests/integration/wizard-detection.test.js +349 -0
- package/packages/installer/tests/unit/config-validator.test.js +315 -0
- package/packages/installer/tests/unit/detection/detect-project-type.test.js +401 -0
- package/packages/installer/tests/unit/env-template.test.js +185 -0
- package/src/config/ide-configs.js +189 -0
- package/src/installer/aios-core-installer.js +319 -0
- package/src/installer/dependency-installer.js +335 -0
- package/src/utils/aios-colors.js +234 -0
- package/src/wizard/feedback.js +218 -0
- package/src/wizard/ide-config-generator.js +488 -0
- package/src/wizard/ide-selector.js +84 -0
- package/src/wizard/index.js +589 -0
- package/src/wizard/questions.js +249 -0
- package/src/wizard/validation/index.js +120 -0
- package/src/wizard/validation/report-generator.js +269 -0
- package/src/wizard/validation/troubleshooting-system.js +346 -0
- package/src/wizard/validation/validators/config-validator.js +362 -0
- package/src/wizard/validation/validators/dependency-validator.js +333 -0
- package/src/wizard/validation/validators/file-structure-validator.js +181 -0
- package/src/wizard/validation/validators/mcp-health-checker.js +310 -0
- package/src/wizard/validators.js +274 -0
- package/templates/squad/LICENSE +21 -0
- package/templates/squad/README.md +37 -0
- package/templates/squad/agents/example-agent.yaml +36 -0
- package/templates/squad/package.json +19 -0
- package/templates/squad/squad.yaml +25 -0
- package/templates/squad/tasks/example-task.yaml +46 -0
- package/templates/squad/templates/example-template.md +24 -0
- package/templates/squad/tests/example-agent.test.js +53 -0
- package/templates/squad/workflows/example-workflow.yaml +54 -0
- package/tools/package-builder.js +35 -0
|
@@ -0,0 +1,1190 @@
|
|
|
1
|
+
# 📘 AIOS v2.1 - Livro de Ouro (Summarized)
|
|
2
|
+
|
|
3
|
+
**Version:** 2.1.0-post-5-sprints
|
|
4
|
+
**Date:** March 2026 (as-if-implemented)
|
|
5
|
+
**Status:** Production Release
|
|
6
|
+
**Full Documentation:** See `AIOS-LIVRO-DE-OURO.md` (v2.0) for unchanged content
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## 🎯 PURPOSE OF THIS DOCUMENT
|
|
11
|
+
|
|
12
|
+
This is a **delta document** highlighting **ONLY what changed in v2.1** compared to v2.0.
|
|
13
|
+
|
|
14
|
+
For complete content that remained unchanged (Layer 0, most of Layer 1), refer to:
|
|
15
|
+
- ✅ **`AIOS-LIVRO-DE-OURO.md`** (v2.0 base)
|
|
16
|
+
- ✅ This document (v2.1 changes ONLY)
|
|
17
|
+
|
|
18
|
+
**Combined reading:** v2.0 base + v2.1 delta = Complete v2.1 understanding
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
## 🚀 WHAT'S NEW IN v2.1 - EXECUTIVE SUMMARY
|
|
23
|
+
|
|
24
|
+
### Installation Revolution
|
|
25
|
+
|
|
26
|
+
**v2.0:** Manual clone + 2-4 hours configuration
|
|
27
|
+
**v2.1:** `npx @allfluence/aios@latest init` + 5 minutes
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
# Old way (v2.0)
|
|
31
|
+
$ git clone https://github.com/allfluence/aios-fullstack
|
|
32
|
+
$ cd aios-fullstack
|
|
33
|
+
$ npm install
|
|
34
|
+
$ cp .env.example .env
|
|
35
|
+
$ # ... 2 hours of configuration ...
|
|
36
|
+
|
|
37
|
+
# New way (v2.1)
|
|
38
|
+
$ npx @allfluence/aios@latest init
|
|
39
|
+
# Interactive wizard handles everything
|
|
40
|
+
# 5 minutes to working project
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
---
|
|
44
|
+
|
|
45
|
+
### Architecture Revolution
|
|
46
|
+
|
|
47
|
+
**v2.0:** Flat `.aios-core/` structure
|
|
48
|
+
**v2.1:** Modular `core/development/product/infrastructure/`
|
|
49
|
+
|
|
50
|
+
```
|
|
51
|
+
# v2.0 (Flat)
|
|
52
|
+
.aios-core/
|
|
53
|
+
├── agents/ (all mixed)
|
|
54
|
+
├── scripts/ (all mixed)
|
|
55
|
+
├── tasks/ (all mixed)
|
|
56
|
+
└── ... chaos ...
|
|
57
|
+
|
|
58
|
+
# v2.1 (Modular)
|
|
59
|
+
.aios-core/
|
|
60
|
+
├── core/ # Framework essentials
|
|
61
|
+
│ ├── config/
|
|
62
|
+
│ ├── orchestration/
|
|
63
|
+
│ └── validation/
|
|
64
|
+
├── development/ # Dev features
|
|
65
|
+
│ ├── agents/ (11)
|
|
66
|
+
│ ├── workers/ (97+)
|
|
67
|
+
│ └── tasks/
|
|
68
|
+
├── product/ # PM features
|
|
69
|
+
│ ├── templates/
|
|
70
|
+
│ ├── workflows/
|
|
71
|
+
│ └── decisions/
|
|
72
|
+
└── infrastructure/ # System services
|
|
73
|
+
├── cli/
|
|
74
|
+
├── mcp/
|
|
75
|
+
└── integrations/
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
---
|
|
79
|
+
|
|
80
|
+
### Business Model Revolution
|
|
81
|
+
|
|
82
|
+
**v2.0:** Workers closed-source
|
|
83
|
+
**v2.1:** Workers open-source + Service Discovery
|
|
84
|
+
|
|
85
|
+
| Component | v2.0 | v2.1 | Rationale |
|
|
86
|
+
|-----------|------|------|-----------|
|
|
87
|
+
| Agents (11) | ✅ Open | ✅ Open | Core functionality |
|
|
88
|
+
| Workers | ❌ Closed | ✅ **OPEN** | Commodity, network effects |
|
|
89
|
+
| Humanos | ⚠️ Concept | ✅ **OPEN** | Orchestration primitives |
|
|
90
|
+
| Service Discovery | ❌ None | ✅ **BUILT-IN** | Community needs it |
|
|
91
|
+
| Task-First | ⚠️ Implicit | ✅ **EXPLICIT** | Architecture clarity |
|
|
92
|
+
| **Clones** | 🔒 Closed | 🔒 **CLOSED** | True moat (DNA Mental™) |
|
|
93
|
+
| **Expansion Packs** | 🔒 Closed | 🔒 **CLOSED** | Domain expertise |
|
|
94
|
+
|
|
95
|
+
**Strategic Shift:** Open commodity → Monetize singularity
|
|
96
|
+
|
|
97
|
+
---
|
|
98
|
+
|
|
99
|
+
### Feature Matrix Comparison
|
|
100
|
+
|
|
101
|
+
| Feature | v2.0 | v2.1 | Impact |
|
|
102
|
+
|---------|------|------|--------|
|
|
103
|
+
| **Installation** | Manual (2-4h) | `npx` wizard (5min) | 96% faster |
|
|
104
|
+
| **Workers Catalog** | None | 97+ searchable | Infinite value |
|
|
105
|
+
| **Service Discovery** | None | Built-in CLI | New capability |
|
|
106
|
+
| **Quality Gates** | 1 layer (manual) | 3 layers (auto) | 80% issues caught |
|
|
107
|
+
| **Task-First** | Implicit | Explicit spec | Instant migration |
|
|
108
|
+
| **Template Engine** | Partial | Complete | All doc types |
|
|
109
|
+
| **CodeRabbit** | None | Local + GitHub | AI code review |
|
|
110
|
+
| **MCP System** | Project-only | Global + Project | Config once |
|
|
111
|
+
|
|
112
|
+
---
|
|
113
|
+
|
|
114
|
+
## 📖 v2.1 DOCUMENTATION STRUCTURE
|
|
115
|
+
|
|
116
|
+
### What Changed vs. v2.0
|
|
117
|
+
|
|
118
|
+
**Layer 0 (Discovery Router):**
|
|
119
|
+
- ✅ **NO CHANGES** - Perfect as-is
|
|
120
|
+
- ✅ Added **Track 6** for v2.0 → v2.1 migration
|
|
121
|
+
|
|
122
|
+
**Layer 1 (Understanding):**
|
|
123
|
+
- ✅ **Essay 3 REWRITTEN** - New business model
|
|
124
|
+
- ✅ **Essay 5 NEW** - Task-First Architecture
|
|
125
|
+
- ✅ Essays 1, 2, 4 remain mostly unchanged
|
|
126
|
+
|
|
127
|
+
**Layer 2 (Component Library):**
|
|
128
|
+
- ✅ **Workers Catalog NEW** - 97 workers organized
|
|
129
|
+
- ✅ **Service Discovery Guide NEW**
|
|
130
|
+
- ✅ Agents section unchanged (still 11 agents)
|
|
131
|
+
|
|
132
|
+
**Layer 3 (Usage Guide):**
|
|
133
|
+
- ✅ **Complete Installation Rewrite** - npx wizard
|
|
134
|
+
- ✅ **Service Discovery Workflow NEW**
|
|
135
|
+
- ✅ **Quality Gates 3 Layers NEW**
|
|
136
|
+
- ✅ **Template Engine Usage NEW**
|
|
137
|
+
|
|
138
|
+
**Layer 4 (Complete Reference):**
|
|
139
|
+
- ✅ **Modular Architecture Spec NEW**
|
|
140
|
+
- ✅ **Task-First Format Spec NEW**
|
|
141
|
+
- ✅ **Service Registry Schema NEW**
|
|
142
|
+
- ✅ **Quality Gate Config NEW**
|
|
143
|
+
|
|
144
|
+
**Meta (Evolution):**
|
|
145
|
+
- ✅ **Worker Contribution Guide NEW**
|
|
146
|
+
- ✅ **Updated Versioning** - v2.1.0 format
|
|
147
|
+
- ✅ **Community Contribution Path**
|
|
148
|
+
|
|
149
|
+
---
|
|
150
|
+
|
|
151
|
+
## 🔥 CRITICAL CHANGES - DEEP DIVE
|
|
152
|
+
|
|
153
|
+
### 1. Essay 3 (REWRITTEN): Open Source vs. Service
|
|
154
|
+
|
|
155
|
+
#### Old Business Model (v2.0)
|
|
156
|
+
|
|
157
|
+
```yaml
|
|
158
|
+
Open-Source:
|
|
159
|
+
✅ 11 Agents
|
|
160
|
+
❌ Workers (closed)
|
|
161
|
+
⚠️ Humanos (concept)
|
|
162
|
+
❌ Clones (closed)
|
|
163
|
+
|
|
164
|
+
Problem: Workers closed = adoption barrier
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
#### New Business Model (v2.1)
|
|
168
|
+
|
|
169
|
+
```yaml
|
|
170
|
+
Open-Source v2.1:
|
|
171
|
+
✅ 11 Agents (Dex, Luna, Aria, Quinn, etc.)
|
|
172
|
+
✅ 97+ Workers (deterministic scripts) ← OPENED!
|
|
173
|
+
✅ Humanos (orchestration) ← OPENED!
|
|
174
|
+
✅ Service Discovery (find + reuse) ← NEW!
|
|
175
|
+
✅ Task-First Architecture ← NEW!
|
|
176
|
+
|
|
177
|
+
Proprietary (Monetization):
|
|
178
|
+
🔒 Clones (DNA Mental™ cognitive emulation)
|
|
179
|
+
🔒 Expansion Packs (industry expertise)
|
|
180
|
+
🔒 Team Features (collaboration)
|
|
181
|
+
🔒 Enterprise (scale + support)
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
**Rationale (Pedro Valério's Insight):**
|
|
185
|
+
|
|
186
|
+
> "Workers são commodity - qualquer dev cria scripts. Clones são singularidade - DNA Mental™ leva anos. Abrir Workers maximiza adoção enquanto protege o moat real."
|
|
187
|
+
|
|
188
|
+
**Competitive Positioning:**
|
|
189
|
+
|
|
190
|
+
| Framework | Open-Source Completeness | Unique Differentiator |
|
|
191
|
+
|-----------|-------------------------|----------------------|
|
|
192
|
+
| LangChain | ✅ Complete (agents + workers + orchestration) | ❌ None (all commodity) |
|
|
193
|
+
| CrewAI | ✅ Complete (agents + workers + orchestration) | ❌ None (all commodity) |
|
|
194
|
+
| AutoGen | ✅ Complete (agents + workers + orchestration) | ❌ None (all commodity) |
|
|
195
|
+
| **AIOS v2.1** | ✅ **Complete** (agents + workers + orchestration) | ✅ **Clones** (DNA Mental™) ⭐ |
|
|
196
|
+
|
|
197
|
+
**Key Insight:** AIOS matches competitors on open-source completeness BUT adds unique proprietary layer (Clones) that competitors cannot replicate quickly.
|
|
198
|
+
|
|
199
|
+
---
|
|
200
|
+
|
|
201
|
+
### 2. Essay 5 (NEW): Task-First Architecture
|
|
202
|
+
|
|
203
|
+
#### The Philosophy
|
|
204
|
+
|
|
205
|
+
> **"Everything is a Task. Executors are attributes."**
|
|
206
|
+
|
|
207
|
+
#### What This Means
|
|
208
|
+
|
|
209
|
+
**Traditional Approach (Task-per-Executor):**
|
|
210
|
+
```yaml
|
|
211
|
+
# Agent task
|
|
212
|
+
agent_task.md:
|
|
213
|
+
name: Analyze market with AI
|
|
214
|
+
executor: Agent (Sage)
|
|
215
|
+
|
|
216
|
+
# Worker task
|
|
217
|
+
worker_task.js:
|
|
218
|
+
name: Analyze market with script
|
|
219
|
+
executor: Worker (market-analyzer.js)
|
|
220
|
+
|
|
221
|
+
Problem: 2 separate implementations for same task
|
|
222
|
+
```
|
|
223
|
+
|
|
224
|
+
**Task-First Approach (Universal Task):**
|
|
225
|
+
```yaml
|
|
226
|
+
# ONE TASK DEFINITION
|
|
227
|
+
task: analyzeMarket()
|
|
228
|
+
inputs: { market_data: object }
|
|
229
|
+
outputs: { insights: array }
|
|
230
|
+
checklist: [...]
|
|
231
|
+
performance: { duration_expected: 5000ms }
|
|
232
|
+
|
|
233
|
+
# EXECUTOR IS JUST A FIELD
|
|
234
|
+
responsavel_type: Humano # Day 1: Human analyst
|
|
235
|
+
responsavel_type: Worker # Week 10: Automated script
|
|
236
|
+
responsavel_type: Agente # Month 6: LLM judgment
|
|
237
|
+
responsavel_type: Clone # Year 2: Brad Frost validates
|
|
238
|
+
|
|
239
|
+
# SAME SPEC, DIFFERENT EXECUTORS
|
|
240
|
+
# MIGRATION IS INSTANT (change 1 field)
|
|
241
|
+
```
|
|
242
|
+
|
|
243
|
+
#### Instant Executor Migration
|
|
244
|
+
|
|
245
|
+
**Before Task-First (Rewrite Required):**
|
|
246
|
+
```yaml
|
|
247
|
+
# Migrate Worker → Agent
|
|
248
|
+
1. Read Worker script
|
|
249
|
+
2. Understand logic
|
|
250
|
+
3. Rewrite as Agent prompt
|
|
251
|
+
4. Test thoroughly
|
|
252
|
+
5. Update all references
|
|
253
|
+
6. 2-4 days of work
|
|
254
|
+
```
|
|
255
|
+
|
|
256
|
+
**After Task-First (Field Change):**
|
|
257
|
+
```yaml
|
|
258
|
+
# Migrate Worker → Agent
|
|
259
|
+
1. Change responsavel_type: Worker → Agente
|
|
260
|
+
2. Done. (2 seconds)
|
|
261
|
+
|
|
262
|
+
Why it works:
|
|
263
|
+
- Input/output schemas unchanged
|
|
264
|
+
- Checklist validation unchanged
|
|
265
|
+
- Performance SLAs unchanged
|
|
266
|
+
- Only EXECUTOR changes
|
|
267
|
+
```
|
|
268
|
+
|
|
269
|
+
#### Real Example
|
|
270
|
+
|
|
271
|
+
**Day 1 (Humano):**
|
|
272
|
+
```yaml
|
|
273
|
+
task: validateSchema()
|
|
274
|
+
responsavel: Senior Dev
|
|
275
|
+
responsavel_type: Humano
|
|
276
|
+
estimated_duration: 30 min
|
|
277
|
+
cost: $25 (human time)
|
|
278
|
+
```
|
|
279
|
+
|
|
280
|
+
**Week 10 (Worker):**
|
|
281
|
+
```yaml
|
|
282
|
+
task: validateSchema() # ← SAME TASK
|
|
283
|
+
responsavel: schema-validator.js
|
|
284
|
+
responsavel_type: Worker
|
|
285
|
+
estimated_duration: 500ms
|
|
286
|
+
cost: $0.001 (compute)
|
|
287
|
+
```
|
|
288
|
+
|
|
289
|
+
**Month 6 (Agente):**
|
|
290
|
+
```yaml
|
|
291
|
+
task: validateSchema() # ← STILL SAME TASK
|
|
292
|
+
responsavel: Quinn (QA Agent)
|
|
293
|
+
responsavel_type: Agente
|
|
294
|
+
estimated_duration: 3s
|
|
295
|
+
cost: $0.01 (LLM call)
|
|
296
|
+
```
|
|
297
|
+
|
|
298
|
+
**Year 2 (Clone):**
|
|
299
|
+
```yaml
|
|
300
|
+
task: validateSchema() # ← NO CHANGES!
|
|
301
|
+
responsavel: Brad Frost Clone
|
|
302
|
+
responsavel_type: Clone
|
|
303
|
+
estimated_duration: 5s
|
|
304
|
+
cost: $0.03 (LLM + validation)
|
|
305
|
+
quality: 99% (expert-level)
|
|
306
|
+
```
|
|
307
|
+
|
|
308
|
+
**Result:** 4 different executors, ZERO task rewrites.
|
|
309
|
+
|
|
310
|
+
---
|
|
311
|
+
|
|
312
|
+
### 3. Service Discovery System
|
|
313
|
+
|
|
314
|
+
#### The Problem (v2.0)
|
|
315
|
+
|
|
316
|
+
```bash
|
|
317
|
+
# Developer needs to parse JSON
|
|
318
|
+
$ # ... searches Google ...
|
|
319
|
+
$ # ... finds random npm package ...
|
|
320
|
+
$ # ... installs ...
|
|
321
|
+
$ # ... writes custom wrapper ...
|
|
322
|
+
$ # 2 hours later: JSON parser working
|
|
323
|
+
|
|
324
|
+
# Problem: AIOS already HAD json-parser.js Worker!
|
|
325
|
+
# Developer just didn't know it existed.
|
|
326
|
+
```
|
|
327
|
+
|
|
328
|
+
#### The Solution (v2.1)
|
|
329
|
+
|
|
330
|
+
```bash
|
|
331
|
+
# Developer needs to parse JSON
|
|
332
|
+
$ aios workers search "json parse"
|
|
333
|
+
|
|
334
|
+
Results (3 Workers):
|
|
335
|
+
|
|
336
|
+
📦 json-parser.js ⭐⭐⭐⭐⭐ (47 projects)
|
|
337
|
+
Parse JSON safely with error handling
|
|
338
|
+
Input: { json_string: string }
|
|
339
|
+
Output: { data: object, errors: array }
|
|
340
|
+
|
|
341
|
+
📦 json-validator.js ⭐⭐⭐⭐ (23 projects)
|
|
342
|
+
Validate JSON against schema
|
|
343
|
+
|
|
344
|
+
📦 json-transformer.js ⭐⭐⭐ (15 projects)
|
|
345
|
+
Transform JSON structures
|
|
346
|
+
|
|
347
|
+
$ aios workers info json-parser
|
|
348
|
+
$ aios workers use json-parser --task my-task
|
|
349
|
+
|
|
350
|
+
# 30 seconds: JSON parser integrated
|
|
351
|
+
# Time saved: 1h 59min 30s
|
|
352
|
+
```
|
|
353
|
+
|
|
354
|
+
#### Service Discovery Architecture
|
|
355
|
+
|
|
356
|
+
**Components:**
|
|
357
|
+
|
|
358
|
+
1. **Service Registry** (`service-registry.json`)
|
|
359
|
+
```json
|
|
360
|
+
{
|
|
361
|
+
"workers": [
|
|
362
|
+
{
|
|
363
|
+
"id": "json-parser",
|
|
364
|
+
"name": "JSON Parser",
|
|
365
|
+
"path": ".aios-core/development/workers/json-parser.js",
|
|
366
|
+
"category": "data-transformation",
|
|
367
|
+
"task_compatible": true,
|
|
368
|
+
"implements_task_spec": "parseJSON()",
|
|
369
|
+
"inputs": {
|
|
370
|
+
"json_string": "string"
|
|
371
|
+
},
|
|
372
|
+
"outputs": {
|
|
373
|
+
"data": "object",
|
|
374
|
+
"errors": "array"
|
|
375
|
+
},
|
|
376
|
+
"deterministic": true,
|
|
377
|
+
"usage_count": 47,
|
|
378
|
+
"rating": 4.8,
|
|
379
|
+
"last_updated": "2026-02-15"
|
|
380
|
+
}
|
|
381
|
+
]
|
|
382
|
+
}
|
|
383
|
+
```
|
|
384
|
+
|
|
385
|
+
2. **Discovery CLI**
|
|
386
|
+
```bash
|
|
387
|
+
aios workers list # List all
|
|
388
|
+
aios workers search <query> # Semantic search
|
|
389
|
+
aios workers info <worker-id> # Details
|
|
390
|
+
aios workers find-for-task <task> # Find suitable Worker
|
|
391
|
+
aios workers validate <worker-id> # Check compliance
|
|
392
|
+
```
|
|
393
|
+
|
|
394
|
+
3. **Task Compatibility Layer**
|
|
395
|
+
- Maps Workers to Task specs
|
|
396
|
+
- Validates input/output schemas
|
|
397
|
+
- Checks TASK-FORMAT-SPECIFICATION-V1 compliance
|
|
398
|
+
|
|
399
|
+
4. **Contribution System**
|
|
400
|
+
```bash
|
|
401
|
+
aios workers create # Generate template
|
|
402
|
+
aios workers test <worker-id> # Run validation
|
|
403
|
+
aios workers submit <worker-id> # Submit to registry
|
|
404
|
+
```
|
|
405
|
+
|
|
406
|
+
#### Impact
|
|
407
|
+
|
|
408
|
+
**Metrics (6 months post-v2.1):**
|
|
409
|
+
- 97 Workers cataloged (baseline)
|
|
410
|
+
- 143 community-contributed Workers (+47%)
|
|
411
|
+
- 50% of tasks now reuse existing Workers (vs. 0% in v2.0)
|
|
412
|
+
- Average discovery time: 30 seconds (vs. N/A in v2.0)
|
|
413
|
+
- Duplicate work reduced by 60%
|
|
414
|
+
|
|
415
|
+
---
|
|
416
|
+
|
|
417
|
+
### 4. Quality Gates - 3 Layers
|
|
418
|
+
|
|
419
|
+
#### The Problem (v2.0)
|
|
420
|
+
|
|
421
|
+
```yaml
|
|
422
|
+
Quality Assurance in v2.0:
|
|
423
|
+
- Manual code review
|
|
424
|
+
- Manual testing
|
|
425
|
+
- Manual linting
|
|
426
|
+
- No automation
|
|
427
|
+
- Issues found late (after PR)
|
|
428
|
+
|
|
429
|
+
Result:
|
|
430
|
+
- High review overhead
|
|
431
|
+
- Slow feedback loops
|
|
432
|
+
- Many issues slip through
|
|
433
|
+
- Human reviewers exhausted
|
|
434
|
+
```
|
|
435
|
+
|
|
436
|
+
#### The Solution (v2.1)
|
|
437
|
+
|
|
438
|
+
**Layer 1 - Local (Immediate):**
|
|
439
|
+
```bash
|
|
440
|
+
# Runs on every file save (< 5s)
|
|
441
|
+
Layer 1 Checks:
|
|
442
|
+
✓ ESLint (2.1s)
|
|
443
|
+
✓ Prettier (0.8s)
|
|
444
|
+
✓ TypeScript (1.9s)
|
|
445
|
+
✓ Unit tests (3.2s)
|
|
446
|
+
|
|
447
|
+
Executor: Worker (deterministic)
|
|
448
|
+
Tool: CodeRabbit IDE Extension (FREE)
|
|
449
|
+
Blocking: Pre-commit hooks (can't commit if fails)
|
|
450
|
+
|
|
451
|
+
Result: 30% of issues caught instantly
|
|
452
|
+
```
|
|
453
|
+
|
|
454
|
+
**Layer 2 - PR (Automated):**
|
|
455
|
+
```bash
|
|
456
|
+
# Runs on PR creation (< 3 min)
|
|
457
|
+
Layer 2 Checks:
|
|
458
|
+
✓ CodeRabbit AI review (45s)
|
|
459
|
+
✓ Integration tests (1m 30s)
|
|
460
|
+
✓ Coverage analysis (40s)
|
|
461
|
+
✓ Security scan (30s)
|
|
462
|
+
✓ Performance benchmarks (20s)
|
|
463
|
+
|
|
464
|
+
Executor: Agente (QA Agent + CodeRabbit)
|
|
465
|
+
Tool: CodeRabbit GitHub App + Quinn (QA Agent)
|
|
466
|
+
Blocking: Required checks (can't merge if fails)
|
|
467
|
+
|
|
468
|
+
Result: Additional 50% of issues caught (80% total)
|
|
469
|
+
```
|
|
470
|
+
|
|
471
|
+
**Layer 3 - Human (Strategic):**
|
|
472
|
+
```bash
|
|
473
|
+
# Runs before final merge (30min - 2h)
|
|
474
|
+
Layer 3 Checks:
|
|
475
|
+
□ Architecture alignment
|
|
476
|
+
□ Business logic correctness
|
|
477
|
+
□ Edge cases coverage
|
|
478
|
+
□ Documentation quality
|
|
479
|
+
□ Security best practices
|
|
480
|
+
|
|
481
|
+
Executor: Humano (Senior Dev / Tech Lead)
|
|
482
|
+
Tool: Human expertise + context
|
|
483
|
+
Blocking: Final approval required
|
|
484
|
+
|
|
485
|
+
Result: Final 20% of issues caught (100% total)
|
|
486
|
+
Focus on what humans do best (strategy, not syntax)
|
|
487
|
+
```
|
|
488
|
+
|
|
489
|
+
#### Quality Gate Orchestration
|
|
490
|
+
|
|
491
|
+
**Workflow:**
|
|
492
|
+
```yaml
|
|
493
|
+
1. Developer writes code
|
|
494
|
+
↓
|
|
495
|
+
2. Layer 1 (Local) - Instant feedback
|
|
496
|
+
- Linting errors? Fix immediately
|
|
497
|
+
- Type errors? Fix immediately
|
|
498
|
+
- Unit tests fail? Fix immediately
|
|
499
|
+
↓ (All checks pass)
|
|
500
|
+
3. git commit (pre-commit hook validates Layer 1)
|
|
501
|
+
↓
|
|
502
|
+
4. git push
|
|
503
|
+
↓
|
|
504
|
+
5. Layer 2 (PR) - Automated review
|
|
505
|
+
- CodeRabbit reviews code
|
|
506
|
+
- Quinn (QA Agent) runs tests
|
|
507
|
+
- GitHub Actions validates
|
|
508
|
+
↓ (80% of potential issues caught)
|
|
509
|
+
6. Human notification: "PR ready for strategic review"
|
|
510
|
+
↓
|
|
511
|
+
7. Layer 3 (Human) - Strategic review
|
|
512
|
+
- Human reviews ONLY architectural/business logic
|
|
513
|
+
- No need to check syntax (Layer 1 did it)
|
|
514
|
+
- No need to check patterns (Layer 2 did it)
|
|
515
|
+
↓ (Final 20% reviewed)
|
|
516
|
+
8. Approve + Merge
|
|
517
|
+
```
|
|
518
|
+
|
|
519
|
+
#### Impact
|
|
520
|
+
|
|
521
|
+
**Before v2.1 (Single Layer):**
|
|
522
|
+
- 100% of issues reviewed by humans
|
|
523
|
+
- Average review time: 2-4 hours per PR
|
|
524
|
+
- Human reviewers exhausted
|
|
525
|
+
- Many issues still slip through
|
|
526
|
+
|
|
527
|
+
**After v2.1 (3 Layers):**
|
|
528
|
+
- 80% of issues caught automatically
|
|
529
|
+
- Average human review time: 30 minutes per PR
|
|
530
|
+
- Human reviewers focus on strategy
|
|
531
|
+
- Issue escape rate: < 5%
|
|
532
|
+
|
|
533
|
+
**Time Savings:**
|
|
534
|
+
- 75% reduction in human review time
|
|
535
|
+
- 3x faster feedback (instant vs. hours)
|
|
536
|
+
- 95% accuracy (vs. 70% with manual only)
|
|
537
|
+
|
|
538
|
+
---
|
|
539
|
+
|
|
540
|
+
## 🚀 QUICK START - v2.1 Installation
|
|
541
|
+
|
|
542
|
+
### For New Users (Greenfield)
|
|
543
|
+
|
|
544
|
+
```bash
|
|
545
|
+
# Step 1: Install AIOS
|
|
546
|
+
$ npx @allfluence/aios@latest init
|
|
547
|
+
|
|
548
|
+
Welcome to AIOS v2.1! Let's set up your project.
|
|
549
|
+
|
|
550
|
+
? Project name: my-awesome-project
|
|
551
|
+
? Project type:
|
|
552
|
+
❯ Greenfield (new project)
|
|
553
|
+
Brownfield (existing project)
|
|
554
|
+
|
|
555
|
+
? Select your IDE: (Use arrow keys)
|
|
556
|
+
❯ Cursor
|
|
557
|
+
Windsurf
|
|
558
|
+
Trae
|
|
559
|
+
Zed
|
|
560
|
+
Continue.dev (VS Code)
|
|
561
|
+
|
|
562
|
+
? Select AI CLI tools: (Use space to select)
|
|
563
|
+
◉ Claude Code
|
|
564
|
+
◯ GitHub Copilot
|
|
565
|
+
◉ Gemini CLI
|
|
566
|
+
◯ Codeium
|
|
567
|
+
|
|
568
|
+
? Install MCPs: (Recommended)
|
|
569
|
+
◉ All (Browser, Context7, Exa, Desktop Commander)
|
|
570
|
+
◯ Custom selection
|
|
571
|
+
|
|
572
|
+
? Install CLI tools:
|
|
573
|
+
◉ GitHub CLI (gh)
|
|
574
|
+
◉ Supabase CLI
|
|
575
|
+
◯ Railway CLI
|
|
576
|
+
◯ psql
|
|
577
|
+
|
|
578
|
+
✓ Installing dependencies...
|
|
579
|
+
✓ Configuring AIOS...
|
|
580
|
+
✓ Setting up MCPs...
|
|
581
|
+
✓ Installing CLI tools...
|
|
582
|
+
✓ Creating project structure...
|
|
583
|
+
✓ Generating first story...
|
|
584
|
+
|
|
585
|
+
🎉 AIOS v2.1 installed successfully!
|
|
586
|
+
|
|
587
|
+
Next steps:
|
|
588
|
+
$ cd my-awesome-project
|
|
589
|
+
$ aios --help # See available commands
|
|
590
|
+
$ aios agents list # List available agents
|
|
591
|
+
$ aios workers list # List available workers
|
|
592
|
+
$ aios stories create # Create your first story
|
|
593
|
+
|
|
594
|
+
Time elapsed: 4m 32s
|
|
595
|
+
```
|
|
596
|
+
|
|
597
|
+
### For v2.0 Users (Migration)
|
|
598
|
+
|
|
599
|
+
```bash
|
|
600
|
+
# Step 1: Backup current project
|
|
601
|
+
$ cp -r .aios-core .aios-core.backup
|
|
602
|
+
|
|
603
|
+
# Step 2: Run migration script
|
|
604
|
+
$ npx @allfluence/aios migrate v2.0-to-v2.1
|
|
605
|
+
|
|
606
|
+
AIOS Migration Wizard (v2.0 → v2.1)
|
|
607
|
+
|
|
608
|
+
Analyzing your project...
|
|
609
|
+
✓ Detected v2.0.x installation
|
|
610
|
+
✓ Found 8 custom agents
|
|
611
|
+
✓ Found 23 custom workers
|
|
612
|
+
✓ Found 47 stories
|
|
613
|
+
|
|
614
|
+
Migration plan:
|
|
615
|
+
1. Update project structure (flat → modular)
|
|
616
|
+
2. Migrate custom agents to new format
|
|
617
|
+
3. Register custom workers in Service Discovery
|
|
618
|
+
4. Update story references
|
|
619
|
+
5. Install new dependencies
|
|
620
|
+
|
|
621
|
+
? Proceed with migration? (Y/n) Y
|
|
622
|
+
|
|
623
|
+
✓ Backing up current state...
|
|
624
|
+
✓ Migrating project structure...
|
|
625
|
+
✓ Updating agents... (8/8)
|
|
626
|
+
✓ Registering workers... (23/23)
|
|
627
|
+
✓ Updating stories... (47/47)
|
|
628
|
+
✓ Installing new dependencies...
|
|
629
|
+
✓ Running validation...
|
|
630
|
+
|
|
631
|
+
🎉 Migration completed successfully!
|
|
632
|
+
|
|
633
|
+
Summary:
|
|
634
|
+
- Project structure: ✓ Migrated to modular
|
|
635
|
+
- Agents: ✓ 8 custom agents updated
|
|
636
|
+
- Workers: ✓ 23 custom workers registered
|
|
637
|
+
- Stories: ✓ 47 stories updated
|
|
638
|
+
- Service Discovery: ✓ Enabled
|
|
639
|
+
- Quality Gates: ✓ 3 layers configured
|
|
640
|
+
|
|
641
|
+
Rollback available: .aios-core.backup/
|
|
642
|
+
|
|
643
|
+
Time elapsed: 12m 18s
|
|
644
|
+
```
|
|
645
|
+
|
|
646
|
+
---
|
|
647
|
+
|
|
648
|
+
## 📊 METRICS & IMPACT
|
|
649
|
+
|
|
650
|
+
### Installation Time
|
|
651
|
+
|
|
652
|
+
| Metric | v2.0 | v2.1 | Improvement |
|
|
653
|
+
|--------|------|------|-------------|
|
|
654
|
+
| Time to install | 2-4 hours | 5 minutes | **96% faster** |
|
|
655
|
+
| Steps required | 15+ manual | 1 command | **93% simpler** |
|
|
656
|
+
| Success rate | 60% (many fail) | 98% (wizard) | **38% increase** |
|
|
657
|
+
|
|
658
|
+
### Development Speed
|
|
659
|
+
|
|
660
|
+
| Metric | v2.0 | v2.1 | Improvement |
|
|
661
|
+
|--------|------|------|-------------|
|
|
662
|
+
| Find reusable Worker | N/A (no discovery) | 30 seconds | **Infinite value** |
|
|
663
|
+
| Quality issues caught | 20% (manual only) | 80% (3 layers) | **4x improvement** |
|
|
664
|
+
| Executor migration time | 2-4 days (rewrite) | 2 seconds (field change) | **99.99% faster** |
|
|
665
|
+
|
|
666
|
+
### Community Growth
|
|
667
|
+
|
|
668
|
+
| Metric | v2.0 | v2.1 (6 months) | Growth |
|
|
669
|
+
|--------|------|-----------------|--------|
|
|
670
|
+
| GitHub Stars | 2.3k | 15.8k | **+587%** |
|
|
671
|
+
| npm Downloads | 1.2k/month | 47k/month | **+3817%** |
|
|
672
|
+
| Community Workers | 0 (closed) | 143 contributed | **∞** |
|
|
673
|
+
| Active Contributors | 23 | 412 | **+1691%** |
|
|
674
|
+
|
|
675
|
+
---
|
|
676
|
+
|
|
677
|
+
## 🎯 SUMMARY: v2.0 vs. v2.1
|
|
678
|
+
|
|
679
|
+
### What v2.0 Got Right ✅
|
|
680
|
+
|
|
681
|
+
- Agent architecture (11 specialized agents)
|
|
682
|
+
- Atomic Design principles
|
|
683
|
+
- Task-based workflows
|
|
684
|
+
- Personality system (archetypes)
|
|
685
|
+
- Documentation structure (Layer 0-4)
|
|
686
|
+
|
|
687
|
+
### What v2.1 Fixed 🔧
|
|
688
|
+
|
|
689
|
+
- **Installation:** 2-4h manual → 5min wizard
|
|
690
|
+
- **Business Model:** Workers closed → Workers open
|
|
691
|
+
- **Discoverability:** None → Service Discovery
|
|
692
|
+
- **Architecture:** Flat → Modular (4 domains)
|
|
693
|
+
- **Quality:** 1 layer → 3 layers (80% automated)
|
|
694
|
+
- **Executor Migration:** Days → Seconds (Task-First)
|
|
695
|
+
- **Template System:** Partial → Complete
|
|
696
|
+
- **Code Review:** Manual → AI + Human (CodeRabbit)
|
|
697
|
+
|
|
698
|
+
### What v2.2 Will Add 🚀
|
|
699
|
+
|
|
700
|
+
- **Memory Layer:** Cross-session learning
|
|
701
|
+
- **Agent Lightning:** RL-based optimization
|
|
702
|
+
- **Team Features:** Collaboration + shared memory
|
|
703
|
+
- **Analytics:** Advanced insights
|
|
704
|
+
- **Clones Marketplace:** Expert cognitive emulation
|
|
705
|
+
- **Enterprise:** Scale + support + SLAs
|
|
706
|
+
|
|
707
|
+
---
|
|
708
|
+
|
|
709
|
+
## 📖 WHERE TO GO FROM HERE
|
|
710
|
+
|
|
711
|
+
### If You're New to AIOS
|
|
712
|
+
|
|
713
|
+
1. ✅ Read this summary (done!)
|
|
714
|
+
2. → Read [v2.0 Layer 0](#layer-0) (Discovery Router)
|
|
715
|
+
3. → Read [v2.0 Layer 1](#layer-1) (Understanding)
|
|
716
|
+
4. → Read [v2.1 Essay 3](#essay-3-v21) (Business Model)
|
|
717
|
+
5. → Read [v2.1 Essay 5](#essay-5-v21) (Task-First)
|
|
718
|
+
6. → Install: `npx @allfluence/aios@latest init`
|
|
719
|
+
|
|
720
|
+
### If You're Migrating from v2.0
|
|
721
|
+
|
|
722
|
+
1. ✅ Read this summary (done!)
|
|
723
|
+
2. → Read [Breaking Changes](#breaking-changes)
|
|
724
|
+
3. → Read [Migration Guide](#migration-guide)
|
|
725
|
+
4. → Backup: `cp -r .aios-core .aios-core.backup`
|
|
726
|
+
5. → Migrate: `npx @allfluence/aios migrate v2.0-to-v2.1`
|
|
727
|
+
|
|
728
|
+
### If You Want to Contribute
|
|
729
|
+
|
|
730
|
+
1. ✅ Read this summary (done!)
|
|
731
|
+
2. → Read [Worker Contribution Guide](#worker-contribution)
|
|
732
|
+
3. → Read [Architecture Deep Dive](#architecture-v21)
|
|
733
|
+
4. → Browse [Open Issues](https://github.com/allfluence/aios-fullstack/issues)
|
|
734
|
+
5. → Join [Discord Community](https://discord.gg/aios)
|
|
735
|
+
|
|
736
|
+
---
|
|
737
|
+
|
|
738
|
+
**Full v2.1 Documentation:** Combine this document with `AIOS-LIVRO-DE-OURO.md` (v2.0) for complete reference.
|
|
739
|
+
|
|
740
|
+
**Next Version:** v2.2 (Q2 2026) - Memory Layer + Agent Lightning
|
|
741
|
+
|
|
742
|
+
**Last Updated:** March 2026 (as-if-implemented)
|
|
743
|
+
|
|
744
|
+
---
|
|
745
|
+
|
|
746
|
+
## 📁 SOURCE TREE v2.1 (Post-5 Sprints)
|
|
747
|
+
|
|
748
|
+
### Complete Project Structure
|
|
749
|
+
|
|
750
|
+
```
|
|
751
|
+
aios-fullstack/ # Root project
|
|
752
|
+
├── .aios-core/ # ⭐ NEW: Modular Architecture
|
|
753
|
+
│ │
|
|
754
|
+
│ ├── core/ # ⭐ NEW: Core Framework Module
|
|
755
|
+
│ │ ├── config/ # Configuration system
|
|
756
|
+
│ │ │ ├── core-config.yaml # Master framework config
|
|
757
|
+
│ │ │ ├── install-manifest.yaml # Installation manifest
|
|
758
|
+
│ │ │ ├── agent-config-loader.js # Dynamic agent loading
|
|
759
|
+
│ │ │ └── validation-rules.yaml # Config validation
|
|
760
|
+
│ │ │
|
|
761
|
+
│ │ ├── orchestration/ # Orchestration engine
|
|
762
|
+
│ │ │ ├── workflow-engine.js # Workflow executor
|
|
763
|
+
│ │ │ ├── task-router.js # Task routing logic
|
|
764
|
+
│ │ │ ├── executor-selector.js # Choose executor per task
|
|
765
|
+
│ │ │ └── parallel-executor.js # Parallel task execution
|
|
766
|
+
│ │ │
|
|
767
|
+
│ │ ├── validation/ # Validation system
|
|
768
|
+
│ │ │ ├── quality-gate-manager.js # ⭐ NEW: Unified QG manager
|
|
769
|
+
│ │ │ ├── pre-commit-hooks.js # Layer 1 validation
|
|
770
|
+
│ │ │ ├── pr-automation.js # Layer 2 validation
|
|
771
|
+
│ │ │ └── human-review.js # Layer 3 orchestration
|
|
772
|
+
│ │ │
|
|
773
|
+
│ │ ├── service-discovery/ # ⭐ NEW: Service Discovery
|
|
774
|
+
│ │ │ ├── service-registry.json # Worker/Agent catalog
|
|
775
|
+
│ │ │ ├── discovery-cli.js # Search & find commands
|
|
776
|
+
│ │ │ ├── compatibility-checker.js # Task compatibility
|
|
777
|
+
│ │ │ └── contribution-validator.js # Community contributions
|
|
778
|
+
│ │ │
|
|
779
|
+
│ │ └── manifest/ # ⭐ NEW: Manifest System
|
|
780
|
+
│ │ ├── agents-manifest.csv # Agent tracking
|
|
781
|
+
│ │ ├── workers-manifest.csv # Worker tracking
|
|
782
|
+
│ │ ├── tasks-manifest.csv # Task tracking
|
|
783
|
+
│ │ └── manifest-validator.js # Manifest validation
|
|
784
|
+
│ │
|
|
785
|
+
│ ├── development/ # ⭐ NEW: Development Module
|
|
786
|
+
│ │ ├── agents/ # 11 specialized agents
|
|
787
|
+
│ │ │ ├── dex.md # Dev Agent (Builder)
|
|
788
|
+
│ │ │ ├── luna.md # QA Agent (Guardian)
|
|
789
|
+
│ │ │ ├── aria.md # Architect Agent (Architect)
|
|
790
|
+
│ │ │ ├── quinn.md # QA Lead (Guardian)
|
|
791
|
+
│ │ │ ├── zara.md # Analyst (Explorer)
|
|
792
|
+
│ │ │ ├── kai.md # PM (Balancer)
|
|
793
|
+
│ │ │ ├── sage.md # SM (Facilitator)
|
|
794
|
+
│ │ │ ├── felix.md # DevOps (Optimizer)
|
|
795
|
+
│ │ │ ├── nova.md # PO (Visionary)
|
|
796
|
+
│ │ │ ├── uma.md # UX Designer (Creator)
|
|
797
|
+
│ │ │ └── dara.md # Data Engineer (Architect)
|
|
798
|
+
│ │ │
|
|
799
|
+
│ │ ├── workers/ # ⭐ NEW: 97+ Workers (Open-Source)
|
|
800
|
+
│ │ │ ├── config-setup/ # Config & setup (12 workers)
|
|
801
|
+
│ │ │ │ ├── env-generator.js
|
|
802
|
+
│ │ │ │ ├── git-config.js
|
|
803
|
+
│ │ │ │ ├── dependency-installer.js
|
|
804
|
+
│ │ │ │ └── ...
|
|
805
|
+
│ │ │ │
|
|
806
|
+
│ │ │ ├── data-transform/ # Data transformation (23 workers)
|
|
807
|
+
│ │ │ │ ├── json-parser.js
|
|
808
|
+
│ │ │ │ ├── csv-processor.js
|
|
809
|
+
│ │ │ │ ├── yaml-validator.js
|
|
810
|
+
│ │ │ │ └── ...
|
|
811
|
+
│ │ │ │
|
|
812
|
+
│ │ │ ├── file-ops/ # File operations (18 workers)
|
|
813
|
+
│ │ │ │ ├── file-reader.js
|
|
814
|
+
│ │ │ │ ├── file-writer.js
|
|
815
|
+
│ │ │ │ ├── directory-scanner.js
|
|
816
|
+
│ │ │ │ └── ...
|
|
817
|
+
│ │ │ │
|
|
818
|
+
│ │ │ ├── integration/ # Integration & APIs (15 workers)
|
|
819
|
+
│ │ │ │ ├── github-api.js
|
|
820
|
+
│ │ │ │ ├── clickup-sync.js
|
|
821
|
+
│ │ │ │ ├── slack-notifier.js
|
|
822
|
+
│ │ │ │ └── ...
|
|
823
|
+
│ │ │ │
|
|
824
|
+
│ │ │ ├── quality/ # Quality & testing (11 workers)
|
|
825
|
+
│ │ │ │ ├── eslint-runner.js
|
|
826
|
+
│ │ │ │ ├── prettier-formatter.js
|
|
827
|
+
│ │ │ │ ├── test-runner.js
|
|
828
|
+
│ │ │ │ └── ...
|
|
829
|
+
│ │ │ │
|
|
830
|
+
│ │ │ ├── build-deploy/ # Build & deploy (10 workers)
|
|
831
|
+
│ │ │ │ ├── webpack-bundler.js
|
|
832
|
+
│ │ │ │ ├── docker-builder.js
|
|
833
|
+
│ │ │ │ ├── deploy-vercel.js
|
|
834
|
+
│ │ │ │ └── ...
|
|
835
|
+
│ │ │ │
|
|
836
|
+
│ │ │ └── utilities/ # Utilities (8 workers)
|
|
837
|
+
│ │ │ ├── logger.js
|
|
838
|
+
│ │ │ ├── error-handler.js
|
|
839
|
+
│ │ │ ├── metrics-collector.js
|
|
840
|
+
│ │ │ └── ...
|
|
841
|
+
│ │ │
|
|
842
|
+
│ │ ├── tasks/ # 60+ task definitions
|
|
843
|
+
│ │ │ ├── create-next-story.md
|
|
844
|
+
│ │ │ ├── develop-story.md
|
|
845
|
+
│ │ │ ├── validate-next-story.md
|
|
846
|
+
│ │ │ └── ...
|
|
847
|
+
│ │ │
|
|
848
|
+
│ │ └── workflows/ # 16+ workflows (10 new!)
|
|
849
|
+
│ │ ├── greenfield-fullstack.yaml
|
|
850
|
+
│ │ ├── brownfield-integration.yaml
|
|
851
|
+
│ │ ├── fork-join-workflow.yaml # ⭐ NEW
|
|
852
|
+
│ │ ├── organizer-worker.yaml # ⭐ NEW
|
|
853
|
+
│ │ ├── data-pipeline.yaml # ⭐ NEW
|
|
854
|
+
│ │ └── ...
|
|
855
|
+
│ │
|
|
856
|
+
│ ├── product/ # ⭐ NEW: Product Module
|
|
857
|
+
│ │ ├── templates/ # ⭐ NEW: Complete Template Engine
|
|
858
|
+
│ │ │ ├── story-tmpl.yaml # Story template v3.0
|
|
859
|
+
│ │ │ ├── prd-tmpl.yaml # PRD template v2.0
|
|
860
|
+
│ │ │ ├── epic-tmpl.yaml # Epic template
|
|
861
|
+
│ │ │ ├── architecture-tmpl.yaml # Architecture template
|
|
862
|
+
│ │ │ ├── adr-tmpl.yaml # ⭐ NEW: ADR template
|
|
863
|
+
│ │ │ ├── pmdr-tmpl.yaml # ⭐ NEW: PMDR template
|
|
864
|
+
│ │ │ ├── dbdr-tmpl.yaml # ⭐ NEW: DBDR template
|
|
865
|
+
│ │ │ └── ...
|
|
866
|
+
│ │ │
|
|
867
|
+
│ │ ├── workflows/ # Product workflows
|
|
868
|
+
│ │ │ ├── discovery-sprint.yaml
|
|
869
|
+
│ │ │ ├── refinement.yaml
|
|
870
|
+
│ │ │ └── retrospective.yaml
|
|
871
|
+
│ │ │
|
|
872
|
+
│ │ ├── checklists/ # Validation checklists
|
|
873
|
+
│ │ │ ├── po-master-checklist.md
|
|
874
|
+
│ │ │ ├── story-draft-checklist.md
|
|
875
|
+
│ │ │ └── ...
|
|
876
|
+
│ │ │
|
|
877
|
+
│ │ └── decisions/ # Decision records
|
|
878
|
+
│ │ ├── pmdr/ # Product decisions
|
|
879
|
+
│ │ ├── adr/ # Architecture decisions
|
|
880
|
+
│ │ └── dbdr/ # Database decisions
|
|
881
|
+
│ │
|
|
882
|
+
│ ├── infrastructure/ # ⭐ NEW: Infrastructure Module
|
|
883
|
+
│ │ ├── cli/ # CLI system
|
|
884
|
+
│ │ │ ├── aios.js # Main CLI
|
|
885
|
+
│ │ │ ├── commands/ # CLI commands
|
|
886
|
+
│ │ │ │ ├── init.js # ⭐ NEW: Installer wizard
|
|
887
|
+
│ │ │ │ ├── migrate.js # ⭐ NEW: Migration command
|
|
888
|
+
│ │ │ │ ├── workers.js # ⭐ NEW: Worker discovery
|
|
889
|
+
│ │ │ │ ├── agents.js # Agent management
|
|
890
|
+
│ │ │ │ ├── stories.js # Story management
|
|
891
|
+
│ │ │ │ └── ...
|
|
892
|
+
│ │ │ └── installer/ # ⭐ NEW: Installer system
|
|
893
|
+
│ │ │ ├── wizard.js # Interactive wizard
|
|
894
|
+
│ │ │ ├── environment-detector.js
|
|
895
|
+
│ │ │ ├── dependency-checker.js
|
|
896
|
+
│ │ │ └── migration-scripts/
|
|
897
|
+
│ │ │
|
|
898
|
+
│ │ ├── mcp/ # ⭐ NEW: MCP System
|
|
899
|
+
│ │ │ ├── global-config/ # Global MCP configuration
|
|
900
|
+
│ │ │ │ ├── mcp-registry.json # Global MCP registry
|
|
901
|
+
│ │ │ │ ├── browser.json # Playwright config
|
|
902
|
+
│ │ │ │ ├── context7.json # Context7 config
|
|
903
|
+
│ │ │ │ ├── exa.json # Exa config
|
|
904
|
+
│ │ │ │ └── desktop-commander.json
|
|
905
|
+
│ │ │ │
|
|
906
|
+
│ │ │ ├── project-config/ # Project-level configs
|
|
907
|
+
│ │ │ │ └── .mcp-links/ # Symlinks to global
|
|
908
|
+
│ │ │ │
|
|
909
|
+
│ │ │ └── mcp-manager.js # MCP orchestration
|
|
910
|
+
│ │ │
|
|
911
|
+
│ │ ├── integrations/ # External integrations
|
|
912
|
+
│ │ │ ├── coderabbit/ # ⭐ NEW: CodeRabbit integration
|
|
913
|
+
│ │ │ │ ├── local-extension.js # Local IDE extension
|
|
914
|
+
│ │ │ │ ├── github-app.js # GitHub App integration
|
|
915
|
+
│ │ │ │ └── config.yaml # CodeRabbit config
|
|
916
|
+
│ │ │ │
|
|
917
|
+
│ │ │ ├── github-cli/ # GitHub CLI wrapper
|
|
918
|
+
│ │ │ ├── supabase-cli/ # Supabase CLI wrapper
|
|
919
|
+
│ │ │ ├── railway-cli/ # Railway CLI wrapper
|
|
920
|
+
│ │ │ └── clickup/ # ClickUp integration
|
|
921
|
+
│ │ │
|
|
922
|
+
│ │ └── scripts/ # Infrastructure scripts
|
|
923
|
+
│ │ ├── component-generator.js
|
|
924
|
+
│ │ ├── elicitation-engine.js
|
|
925
|
+
│ │ ├── greeting-builder.js
|
|
926
|
+
│ │ ├── template-engine.js # ⭐ ENHANCED
|
|
927
|
+
│ │ └── ...
|
|
928
|
+
│ │
|
|
929
|
+
│ └── docs/ # ⭐ MOVED from root docs/standards/
|
|
930
|
+
│ ├── AIOS-FRAMEWORK-MASTER.md # ⭐ MIGRATED
|
|
931
|
+
│ ├── AIOS-LIVRO-DE-OURO.md # ⭐ MIGRATED
|
|
932
|
+
│ ├── EXECUTOR-DECISION-TREE.md # ⭐ MIGRATED
|
|
933
|
+
│ ├── TASK-FORMAT-SPECIFICATION-V1.md # ⭐ MIGRATED
|
|
934
|
+
│ └── ...
|
|
935
|
+
│
|
|
936
|
+
├── docs/ # Project-specific docs
|
|
937
|
+
│ ├── prd/ # Product requirements
|
|
938
|
+
│ ├── architecture/ # Architecture docs
|
|
939
|
+
│ ├── framework/ # Framework reference
|
|
940
|
+
│ │ ├── coding-standards.md # Project coding standards
|
|
941
|
+
│ │ ├── source-tree.md # Project structure
|
|
942
|
+
│ │ ├── tech-stack.md # Tech stack decisions
|
|
943
|
+
│ │ └── db-schema.md # Database schema
|
|
944
|
+
│ │
|
|
945
|
+
│ ├── research/ # Research & discovery
|
|
946
|
+
│ ├── epics/ # Epic planning
|
|
947
|
+
│ ├── stories/ # Development stories
|
|
948
|
+
│ │ ├── v2.1/ # ⭐ NEW: v2.1 stories
|
|
949
|
+
│ │ │ ├── sprint-1/ # Sprint 1 stories
|
|
950
|
+
│ │ │ ├── sprint-2/ # Sprint 2 stories
|
|
951
|
+
│ │ │ ├── sprint-3/ # Sprint 3 stories
|
|
952
|
+
│ │ │ ├── sprint-4/ # Sprint 4 stories
|
|
953
|
+
│ │ │ └── sprint-5/ # Sprint 5 stories
|
|
954
|
+
│ │ │
|
|
955
|
+
│ │ ├── v2.2/ # Future v2.2 stories
|
|
956
|
+
│ │ ├── independent/ # Version-independent
|
|
957
|
+
│ │ └── archive/ # Archived stories
|
|
958
|
+
│ │
|
|
959
|
+
│ ├── decisions/ # Decision records
|
|
960
|
+
│ │ ├── pmdr/ # Product decisions
|
|
961
|
+
│ │ ├── adr/ # Architecture decisions
|
|
962
|
+
│ │ └── dbdr/ # Database decisions
|
|
963
|
+
│ │
|
|
964
|
+
│ ├── qa/ # QA reports
|
|
965
|
+
│ ├── audits/ # Audit reports
|
|
966
|
+
│ └── guides/ # How-to guides
|
|
967
|
+
│
|
|
968
|
+
├── expansion-packs/ # ⭐ UPDATED: Only 2 packs in open-source
|
|
969
|
+
│ ├── expansion-creator/ # Create custom packs
|
|
970
|
+
│ └── data-engineering/ # Data pipelines
|
|
971
|
+
│
|
|
972
|
+
├── bin/ # CLI executables
|
|
973
|
+
│ ├── aios.js # ⭐ NEW: Main CLI entry (simplified)
|
|
974
|
+
│ └── aios-init.js # ⭐ DEPRECATED: Use npx installer
|
|
975
|
+
│
|
|
976
|
+
├── .ai/ # AI session artifacts
|
|
977
|
+
│ ├── decision-logs/ # Task decision logs
|
|
978
|
+
│ └── context/ # Session context
|
|
979
|
+
│
|
|
980
|
+
├── .claude/ # Claude Code configuration
|
|
981
|
+
│ ├── settings.json
|
|
982
|
+
│ ├── CLAUDE.md
|
|
983
|
+
│ └── commands/ # Agent commands
|
|
984
|
+
│
|
|
985
|
+
├── tests/ # Test suites
|
|
986
|
+
│ ├── unit/
|
|
987
|
+
│ ├── integration/
|
|
988
|
+
│ └── e2e/
|
|
989
|
+
│
|
|
990
|
+
├── .github/ # ⭐ NEW: GitHub automation
|
|
991
|
+
│ ├── workflows/ # CI/CD workflows
|
|
992
|
+
│ │ ├── quality-gates-pr.yml # Layer 2 quality gates
|
|
993
|
+
│ │ ├── coderabbit-review.yml # CodeRabbit automation
|
|
994
|
+
│ │ └── tests.yml # Test automation
|
|
995
|
+
│ │
|
|
996
|
+
│ └── coderabbit.yaml # CodeRabbit configuration
|
|
997
|
+
│
|
|
998
|
+
├── package.json # Package manifest
|
|
999
|
+
├── tsconfig.json # TypeScript config
|
|
1000
|
+
├── .eslintrc.json # ESLint config (Layer 1)
|
|
1001
|
+
├── .prettierrc # Prettier config (Layer 1)
|
|
1002
|
+
├── .husky/ # ⭐ NEW: Git hooks (Layer 1)
|
|
1003
|
+
│ ├── pre-commit # Pre-commit validation
|
|
1004
|
+
│ └── pre-push # Pre-push validation
|
|
1005
|
+
│
|
|
1006
|
+
└── README.md # Project README
|
|
1007
|
+
```
|
|
1008
|
+
|
|
1009
|
+
---
|
|
1010
|
+
|
|
1011
|
+
### Key Changes from v2.0
|
|
1012
|
+
|
|
1013
|
+
**1. Modular Architecture:**
|
|
1014
|
+
```
|
|
1015
|
+
v2.0: Flat .aios-core/ (all mixed)
|
|
1016
|
+
v2.1: 4 modules (core/development/product/infrastructure)
|
|
1017
|
+
|
|
1018
|
+
Benefits:
|
|
1019
|
+
- Clear separation of concerns
|
|
1020
|
+
- Easier to navigate
|
|
1021
|
+
- Better maintainability
|
|
1022
|
+
- Scalable for v3.0
|
|
1023
|
+
```
|
|
1024
|
+
|
|
1025
|
+
**2. Service Discovery:**
|
|
1026
|
+
```
|
|
1027
|
+
NEW: .aios-core/core/service-discovery/
|
|
1028
|
+
- service-registry.json (97+ workers cataloged)
|
|
1029
|
+
- discovery-cli.js (search & find)
|
|
1030
|
+
- compatibility-checker.js (task matching)
|
|
1031
|
+
|
|
1032
|
+
Impact: Developers find & reuse workers in 30 seconds vs. rebuilding
|
|
1033
|
+
```
|
|
1034
|
+
|
|
1035
|
+
**3. Quality Gates 3 Layers:**
|
|
1036
|
+
```
|
|
1037
|
+
NEW: .aios-core/core/validation/
|
|
1038
|
+
- quality-gate-manager.js (unified orchestrator)
|
|
1039
|
+
- pre-commit-hooks.js (Layer 1: Local)
|
|
1040
|
+
- pr-automation.js (Layer 2: PR)
|
|
1041
|
+
- human-review.js (Layer 3: Strategic)
|
|
1042
|
+
|
|
1043
|
+
NEW: .github/workflows/ (CI/CD automation)
|
|
1044
|
+
NEW: .husky/ (Git hooks)
|
|
1045
|
+
|
|
1046
|
+
Impact: 80% of issues caught automatically
|
|
1047
|
+
```
|
|
1048
|
+
|
|
1049
|
+
**4. Workers Open-Source:**
|
|
1050
|
+
```
|
|
1051
|
+
NEW: .aios-core/development/workers/ (97+ workers)
|
|
1052
|
+
- Organized by category (6 categories)
|
|
1053
|
+
- Each worker implements Task-First spec
|
|
1054
|
+
- Community contributions enabled
|
|
1055
|
+
|
|
1056
|
+
Impact: Network effects, community growth
|
|
1057
|
+
```
|
|
1058
|
+
|
|
1059
|
+
**5. Template Engine:**
|
|
1060
|
+
```
|
|
1061
|
+
ENHANCED: .aios-core/product/templates/
|
|
1062
|
+
- All document types supported
|
|
1063
|
+
- PMDR, ADR, DBDR templates added
|
|
1064
|
+
- Template versioning
|
|
1065
|
+
- Variable substitution
|
|
1066
|
+
|
|
1067
|
+
Impact: Zero manual doc creation
|
|
1068
|
+
```
|
|
1069
|
+
|
|
1070
|
+
**6. Installer System:**
|
|
1071
|
+
```
|
|
1072
|
+
NEW: .aios-core/infrastructure/cli/installer/
|
|
1073
|
+
- wizard.js (interactive setup)
|
|
1074
|
+
- environment-detector.js
|
|
1075
|
+
- migration-scripts/ (v2.0 → v2.1)
|
|
1076
|
+
|
|
1077
|
+
NEW: npx @allfluence/aios@latest init
|
|
1078
|
+
|
|
1079
|
+
Impact: 5 minutes install vs. 2-4 hours
|
|
1080
|
+
```
|
|
1081
|
+
|
|
1082
|
+
**7. MCP System:**
|
|
1083
|
+
```
|
|
1084
|
+
NEW: .aios-core/infrastructure/mcp/
|
|
1085
|
+
- global-config/ (configured once)
|
|
1086
|
+
- project-config/ (symlinks)
|
|
1087
|
+
- mcp-manager.js (orchestration)
|
|
1088
|
+
|
|
1089
|
+
Impact: Configure MCPs once, use everywhere
|
|
1090
|
+
```
|
|
1091
|
+
|
|
1092
|
+
**8. CodeRabbit Integration:**
|
|
1093
|
+
```
|
|
1094
|
+
NEW: .aios-core/infrastructure/integrations/coderabbit/
|
|
1095
|
+
- local-extension.js (IDE, Layer 1)
|
|
1096
|
+
- github-app.js (GitHub, Layer 2)
|
|
1097
|
+
- config.yaml
|
|
1098
|
+
|
|
1099
|
+
NEW: .github/coderabbit.yaml
|
|
1100
|
+
|
|
1101
|
+
Impact: AI-powered code review (local + PR)
|
|
1102
|
+
```
|
|
1103
|
+
|
|
1104
|
+
**9. Framework Standards Migration:**
|
|
1105
|
+
```
|
|
1106
|
+
MOVED: docs/standards/ → .aios-core/docs/
|
|
1107
|
+
- AIOS-FRAMEWORK-MASTER.md
|
|
1108
|
+
- AIOS-LIVRO-DE-OURO.md
|
|
1109
|
+
- EXECUTOR-DECISION-TREE.md
|
|
1110
|
+
- TASK-FORMAT-SPECIFICATION-V1.md
|
|
1111
|
+
|
|
1112
|
+
Rationale: Framework docs belong with framework code
|
|
1113
|
+
```
|
|
1114
|
+
|
|
1115
|
+
**10. Story Organization:**
|
|
1116
|
+
```
|
|
1117
|
+
NEW: docs/stories/ reorganized
|
|
1118
|
+
- v2.1/ (sprint-1 to sprint-5)
|
|
1119
|
+
- v2.2/ (future)
|
|
1120
|
+
- independent/ (version-agnostic)
|
|
1121
|
+
- archive/ (old stories moved)
|
|
1122
|
+
|
|
1123
|
+
Impact: Clear roadmap, easy to track progress
|
|
1124
|
+
```
|
|
1125
|
+
|
|
1126
|
+
---
|
|
1127
|
+
|
|
1128
|
+
### File Count Comparison
|
|
1129
|
+
|
|
1130
|
+
| Category | v2.0 | v2.1 | Change |
|
|
1131
|
+
|----------|------|------|--------|
|
|
1132
|
+
| Agents | 11 | 11 | Same (corrected from "16") |
|
|
1133
|
+
| Workers | 0 (closed) | 97+ | **+97** (open-sourced) |
|
|
1134
|
+
| Tasks | 60 | 60+ | Same (minor additions) |
|
|
1135
|
+
| Templates | 20 | 27+ | **+7** (ADR, PMDR, DBDR, etc.) |
|
|
1136
|
+
| Workflows | 6 | 16+ | **+10** (new patterns) |
|
|
1137
|
+
| Scripts | 54 | 60+ | **+6** (new utilities) |
|
|
1138
|
+
| CLI Commands | 5 | 12+ | **+7** (installer, workers, migrate) |
|
|
1139
|
+
|
|
1140
|
+
---
|
|
1141
|
+
|
|
1142
|
+
### Installation Comparison
|
|
1143
|
+
|
|
1144
|
+
**v2.0 Installation:**
|
|
1145
|
+
```bash
|
|
1146
|
+
# 1. Clone repository
|
|
1147
|
+
$ git clone https://github.com/allfluence/aios-fullstack
|
|
1148
|
+
$ cd aios-fullstack
|
|
1149
|
+
|
|
1150
|
+
# 2. Install dependencies
|
|
1151
|
+
$ npm install # 5-10 minutes
|
|
1152
|
+
|
|
1153
|
+
# 3. Copy environment
|
|
1154
|
+
$ cp .env.example .env
|
|
1155
|
+
|
|
1156
|
+
# 4. Configure manually
|
|
1157
|
+
$ # Edit .env (15+ variables)
|
|
1158
|
+
$ # Configure IDE
|
|
1159
|
+
$ # Configure MCPs
|
|
1160
|
+
$ # Configure ClickUp
|
|
1161
|
+
$ # Configure GitHub
|
|
1162
|
+
$ # ... 2-4 hours of manual config ...
|
|
1163
|
+
|
|
1164
|
+
# 5. Validate
|
|
1165
|
+
$ npm test # Hope it works
|
|
1166
|
+
|
|
1167
|
+
Total: 2-4 hours
|
|
1168
|
+
Success Rate: 60%
|
|
1169
|
+
```
|
|
1170
|
+
|
|
1171
|
+
**v2.1 Installation:**
|
|
1172
|
+
```bash
|
|
1173
|
+
# One command
|
|
1174
|
+
$ npx @allfluence/aios@latest init
|
|
1175
|
+
|
|
1176
|
+
# Interactive wizard handles everything:
|
|
1177
|
+
# - Project type detection
|
|
1178
|
+
# - IDE configuration
|
|
1179
|
+
# - MCP setup
|
|
1180
|
+
# - CLI tools installation
|
|
1181
|
+
# - Dependency installation
|
|
1182
|
+
# - Environment configuration
|
|
1183
|
+
# - Validation
|
|
1184
|
+
|
|
1185
|
+
Total: 5 minutes
|
|
1186
|
+
Success Rate: 98%
|
|
1187
|
+
```
|
|
1188
|
+
|
|
1189
|
+
---
|
|
1190
|
+
|