aios-core 4.0.2 → 4.0.4
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/core/registry/registry-schema.json +166 -166
- package/.aios-core/core/registry/service-registry.json +6585 -6585
- package/.aios-core/data/registry-update-log.jsonl +113 -0
- package/.aios-core/development/scripts/approval-workflow.js +642 -642
- package/.aios-core/development/scripts/backup-manager.js +606 -606
- package/.aios-core/development/scripts/branch-manager.js +389 -389
- package/.aios-core/development/scripts/code-quality-improver.js +1311 -1311
- package/.aios-core/development/scripts/commit-message-generator.js +849 -849
- package/.aios-core/development/scripts/conflict-resolver.js +674 -674
- package/.aios-core/development/scripts/dependency-analyzer.js +637 -637
- package/.aios-core/development/scripts/diff-generator.js +351 -351
- package/.aios-core/development/scripts/elicitation-engine.js +384 -384
- package/.aios-core/development/scripts/elicitation-session-manager.js +299 -299
- package/.aios-core/development/scripts/git-wrapper.js +461 -461
- package/.aios-core/development/scripts/manifest-preview.js +244 -244
- package/.aios-core/development/scripts/metrics-tracker.js +775 -775
- package/.aios-core/development/scripts/modification-validator.js +554 -554
- package/.aios-core/development/scripts/pattern-learner.js +1224 -1224
- package/.aios-core/development/scripts/performance-analyzer.js +757 -757
- package/.aios-core/development/scripts/refactoring-suggester.js +1138 -1138
- package/.aios-core/development/scripts/rollback-handler.js +530 -530
- package/.aios-core/development/scripts/security-checker.js +358 -358
- package/.aios-core/development/scripts/template-engine.js +239 -239
- package/.aios-core/development/scripts/template-validator.js +278 -278
- package/.aios-core/development/scripts/test-generator.js +843 -843
- package/.aios-core/development/scripts/transaction-manager.js +589 -589
- package/.aios-core/development/scripts/usage-tracker.js +673 -673
- package/.aios-core/development/scripts/validate-filenames.js +226 -226
- package/.aios-core/development/scripts/version-tracker.js +526 -526
- package/.aios-core/development/scripts/yaml-validator.js +396 -396
- package/.aios-core/development/templates/service-template/README.md.hbs +158 -158
- package/.aios-core/development/templates/service-template/__tests__/index.test.ts.hbs +237 -237
- package/.aios-core/development/templates/service-template/client.ts.hbs +403 -403
- package/.aios-core/development/templates/service-template/errors.ts.hbs +182 -182
- package/.aios-core/development/templates/service-template/index.ts.hbs +120 -120
- package/.aios-core/development/templates/service-template/package.json.hbs +87 -87
- package/.aios-core/development/templates/service-template/types.ts.hbs +145 -145
- package/.aios-core/development/templates/squad-template/LICENSE +21 -21
- 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/AIOS-FRAMEWORK-MASTER.md +1963 -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.md +5398 -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/infrastructure/templates/aios-sync.yaml.template +193 -193
- package/.aios-core/infrastructure/templates/coderabbit.yaml.template +279 -279
- package/.aios-core/infrastructure/templates/github-workflows/ci.yml.template +169 -169
- package/.aios-core/infrastructure/templates/github-workflows/pr-automation.yml.template +330 -330
- package/.aios-core/infrastructure/templates/github-workflows/release.yml.template +196 -196
- package/.aios-core/infrastructure/templates/gitignore/gitignore-aios-base.tmpl +63 -63
- package/.aios-core/infrastructure/templates/gitignore/gitignore-brownfield-merge.tmpl +18 -18
- package/.aios-core/infrastructure/templates/gitignore/gitignore-node.tmpl +85 -85
- package/.aios-core/infrastructure/templates/gitignore/gitignore-python.tmpl +145 -145
- package/.aios-core/infrastructure/tests/utilities-audit-results.json +501 -0
- package/.aios-core/install-manifest.yaml +97 -97
- package/.aios-core/local-config.yaml.template +68 -68
- package/.aios-core/manifests/agents.csv +1 -0
- package/.aios-core/manifests/schema/manifest-schema.json +190 -190
- package/.aios-core/manifests/tasks.csv +121 -0
- package/.aios-core/manifests/workers.csv +204 -0
- package/.aios-core/monitor/hooks/lib/__init__.py +1 -1
- package/.aios-core/monitor/hooks/lib/enrich.py +58 -58
- package/.aios-core/monitor/hooks/lib/send_event.py +47 -47
- package/.aios-core/monitor/hooks/notification.py +29 -29
- package/.aios-core/monitor/hooks/post_tool_use.py +45 -45
- package/.aios-core/monitor/hooks/pre_compact.py +29 -29
- package/.aios-core/monitor/hooks/pre_tool_use.py +40 -40
- package/.aios-core/monitor/hooks/stop.py +29 -29
- package/.aios-core/monitor/hooks/subagent_stop.py +29 -29
- package/.aios-core/monitor/hooks/user_prompt_submit.py +38 -38
- package/.aios-core/product/templates/adr.hbs +125 -125
- package/.aios-core/product/templates/component-react-tmpl.tsx +98 -98
- package/.aios-core/product/templates/dbdr.hbs +241 -241
- package/.aios-core/product/templates/engine/schemas/adr.schema.json +102 -102
- package/.aios-core/product/templates/engine/schemas/dbdr.schema.json +205 -205
- package/.aios-core/product/templates/engine/schemas/epic.schema.json +175 -175
- package/.aios-core/product/templates/engine/schemas/pmdr.schema.json +175 -175
- package/.aios-core/product/templates/engine/schemas/prd-v2.schema.json +300 -300
- package/.aios-core/product/templates/engine/schemas/prd.schema.json +152 -152
- package/.aios-core/product/templates/engine/schemas/story.schema.json +222 -222
- package/.aios-core/product/templates/engine/schemas/task.schema.json +154 -154
- package/.aios-core/product/templates/epic.hbs +212 -212
- package/.aios-core/product/templates/eslintrc-security.json +32 -32
- package/.aios-core/product/templates/github-actions-cd.yml +212 -212
- package/.aios-core/product/templates/github-actions-ci.yml +172 -172
- package/.aios-core/product/templates/pmdr.hbs +186 -186
- package/.aios-core/product/templates/prd-v2.0.hbs +216 -216
- package/.aios-core/product/templates/prd.hbs +201 -201
- package/.aios-core/product/templates/shock-report-tmpl.html +502 -502
- package/.aios-core/product/templates/story.hbs +263 -263
- package/.aios-core/product/templates/task.hbs +170 -170
- package/.aios-core/product/templates/tmpl-comment-on-examples.sql +158 -158
- package/.aios-core/product/templates/tmpl-migration-script.sql +91 -91
- package/.aios-core/product/templates/tmpl-rls-granular-policies.sql +104 -104
- package/.aios-core/product/templates/tmpl-rls-kiss-policy.sql +10 -10
- package/.aios-core/product/templates/tmpl-rls-roles.sql +135 -135
- package/.aios-core/product/templates/tmpl-rls-simple.sql +77 -77
- package/.aios-core/product/templates/tmpl-rls-tenant.sql +152 -152
- package/.aios-core/product/templates/tmpl-rollback-script.sql +77 -77
- package/.aios-core/product/templates/tmpl-seed-data.sql +140 -140
- package/.aios-core/product/templates/tmpl-smoke-test.sql +16 -16
- package/.aios-core/product/templates/tmpl-staging-copy-merge.sql +139 -139
- package/.aios-core/product/templates/tmpl-stored-proc.sql +140 -140
- package/.aios-core/product/templates/tmpl-trigger.sql +152 -152
- package/.aios-core/product/templates/tmpl-view-materialized.sql +133 -133
- package/.aios-core/product/templates/tmpl-view.sql +177 -177
- package/.aios-core/product/templates/token-exports-css-tmpl.css +240 -240
- package/.aios-core/quality/schemas/quality-metrics.schema.json +233 -233
- package/.aios-core/scripts/migrate-framework-docs.sh +300 -300
- package/.aios-core/scripts/pm.sh +0 -0
- package/.claude/hooks/enforce-architecture-first.py +196 -0
- package/.claude/hooks/install-hooks.sh +41 -0
- package/.claude/hooks/mind-clone-governance.py +192 -0
- package/.claude/hooks/pre-commit-mmos-guard.sh +99 -0
- package/.claude/hooks/pre-commit-version-check.sh +156 -0
- package/.claude/hooks/read-protection.py +151 -0
- package/.claude/hooks/slug-validation.py +176 -0
- package/.claude/hooks/sql-governance.py +182 -0
- package/.claude/hooks/write-path-validation.py +194 -0
- package/.claude/rules/agent-authority.md +105 -0
- package/.claude/rules/coderabbit-integration.md +93 -0
- package/.claude/rules/ids-principles.md +112 -0
- package/.claude/rules/story-lifecycle.md +139 -0
- package/.claude/rules/workflow-execution.md +150 -0
- package/LICENSE +48 -48
- package/README.md +30 -7
- package/bin/aios-minimal.js +0 -0
- package/bin/aios.js +15 -15
- package/package.json +2 -4
- package/packages/aios-install/bin/aios-install.js +0 -0
- package/packages/aios-install/bin/edmcp.js +0 -0
- package/packages/aios-pro-cli/bin/aios-pro.js +0 -0
- package/scripts/check-markdown-links.py +352 -352
- package/scripts/dashboard-parallel-dev.sh +0 -0
- package/scripts/dashboard-parallel-phase3.sh +0 -0
- package/scripts/dashboard-parallel-phase4.sh +0 -0
- package/scripts/glue/README.md +355 -0
- package/scripts/glue/compose-agent-prompt.cjs +362 -0
- package/scripts/install-monitor-hooks.sh +0 -0
- package/.aios-core/lib/build.json +0 -1
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
id,name,category,subcategory,executor_types,tags,file_path,status
|
|
2
|
+
architect-checklist,Architect Checklist,checklist,quality,Agent,checklist;quality;architect;validation,.aios-core/product/checklists/architect-checklist.md,active
|
|
3
|
+
change-checklist,Change Checklist,checklist,quality,Agent,checklist;quality;change;validation,.aios-core/product/checklists/change-checklist.md,active
|
|
4
|
+
pm-checklist,Pm Checklist,checklist,quality,Agent,checklist;quality;validation,.aios-core/product/checklists/pm-checklist.md,active
|
|
5
|
+
po-master-checklist,Po Master Checklist,checklist,quality,Agent,checklist;quality;master;validation;product,.aios-core/product/checklists/po-master-checklist.md,active
|
|
6
|
+
story-dod-checklist,Story Dod Checklist,checklist,quality,Agent,checklist;quality;story;dod;validation;product,.aios-core/product/checklists/story-dod-checklist.md,active
|
|
7
|
+
story-draft-checklist,Story Draft Checklist,checklist,quality,Agent,checklist;quality;story;draft;validation;product,.aios-core/product/checklists/story-draft-checklist.md,active
|
|
8
|
+
agent-config-requirements,Agent Config Requirements,data,configuration,Agent,data;configuration;agent;config;requirements,.aios-core/core/data/agent-config-requirements.yaml,active
|
|
9
|
+
aios-kb,Aios Kb,data,knowledge,Agent,data;knowledge;aios,.aios-core/core/data/aios-kb.md,active
|
|
10
|
+
workflow-patterns,Workflow Patterns,data,configuration,Agent,data;configuration;workflow;patterns,.aios-core/core/data/workflow-patterns.yaml,active
|
|
11
|
+
aios-validator,Aios Validator,script,validation,CLI;Script,script;validation;aios;validator,.aios-core/infrastructure/scripts/aios-validator.js,active
|
|
12
|
+
approval-workflow,Approval Workflow,script,utility,CLI;Script,script;utility;approval;workflow,.aios-core/infrastructure/scripts/approval-workflow.js,active
|
|
13
|
+
atomic-layer-classifier,Atomic Layer Classifier,script,utility,CLI;Script,script;utility;atomic;layer;classifier,.aios-core/infrastructure/scripts/atomic-layer-classifier.js,active
|
|
14
|
+
backup-manager,Backup Manager,script,management,CLI;Script,script;management;backup;manager,.aios-core/infrastructure/scripts/backup-manager.js,active
|
|
15
|
+
batch-creator,Batch Creator,script,utility,CLI;Script,script;utility;batch;creator,.aios-core/infrastructure/scripts/batch-creator.js,active
|
|
16
|
+
branch-manager,Branch Manager,script,management,CLI;Script,script;management;branch;manager,.aios-core/infrastructure/scripts/branch-manager.js,active
|
|
17
|
+
capability-analyzer,Capability Analyzer,script,analysis,CLI;Script,script;analysis;capability;analyzer,.aios-core/infrastructure/scripts/capability-analyzer.js,active
|
|
18
|
+
clickup-helpers,Clickup Helpers,script,utility,CLI;Script,script;utility;clickup;helpers,.aios-core/infrastructure/scripts/clickup-helpers.js,active
|
|
19
|
+
code-quality-improver,Code Quality Improver,script,utility,CLI;Script,script;utility;code;quality;improver,.aios-core/infrastructure/scripts/code-quality-improver.js,active
|
|
20
|
+
commit-message-generator,Commit Message Generator,script,generation,CLI;Script,script;generation;commit;message;generator,.aios-core/infrastructure/scripts/commit-message-generator.js,active
|
|
21
|
+
component-generator,Component Generator,script,generation,CLI;Script,script;generation;component;generator;product,.aios-core/infrastructure/scripts/component-generator.js,active
|
|
22
|
+
component-metadata,Component Metadata,script,utility,CLI;Script,script;utility;component;metadata;product,.aios-core/infrastructure/scripts/component-metadata.js,active
|
|
23
|
+
component-search,Component Search,script,utility,CLI;Script,script;utility;component;search;product,.aios-core/infrastructure/scripts/component-search.js,active
|
|
24
|
+
config-cache,Config Cache,script,configuration,CLI;Script,script;configuration;config;cache,.aios-core/infrastructure/scripts/config-cache.js,active
|
|
25
|
+
config-loader,Config Loader,script,configuration,CLI;Script,script;configuration;config;loader,.aios-core/infrastructure/scripts/config-loader.js,active
|
|
26
|
+
conflict-resolver,Conflict Resolver,script,utility,CLI;Script,script;utility;conflict;resolver,.aios-core/infrastructure/scripts/conflict-resolver.js,active
|
|
27
|
+
coverage-analyzer,Coverage Analyzer,script,analysis,CLI;Script,script;analysis;coverage;analyzer,.aios-core/infrastructure/scripts/coverage-analyzer.js,active
|
|
28
|
+
dependency-analyzer,Dependency Analyzer,script,analysis,CLI;Script,script;analysis;dependency;analyzer,.aios-core/infrastructure/scripts/dependency-analyzer.js,active
|
|
29
|
+
dependency-impact-analyzer,Dependency Impact Analyzer,script,analysis,CLI;Script,script;analysis;dependency;impact;analyzer,.aios-core/infrastructure/scripts/dependency-impact-analyzer.js,active
|
|
30
|
+
diff-generator,Diff Generator,script,generation,CLI;Script,script;generation;diff;generator,.aios-core/infrastructure/scripts/diff-generator.js,active
|
|
31
|
+
documentation-synchronizer,Documentation Synchronizer,script,utility,CLI;Script,script;utility;documentation;synchronizer,.aios-core/infrastructure/scripts/documentation-synchronizer.js,active
|
|
32
|
+
framework-analyzer,Framework Analyzer,script,analysis,CLI;Script,script;analysis;framework;analyzer,.aios-core/infrastructure/scripts/framework-analyzer.js,active
|
|
33
|
+
git-config-detector,Git Config Detector,script,configuration,CLI;Script,script;configuration;git;config;detector,.aios-core/infrastructure/scripts/git-config-detector.js,active
|
|
34
|
+
git-wrapper,Git Wrapper,script,utility,CLI;Script,script;utility;git;wrapper,.aios-core/infrastructure/scripts/git-wrapper.js,active
|
|
35
|
+
improvement-engine,Improvement Engine,script,utility,CLI;Script,script;utility;improvement;engine,.aios-core/infrastructure/scripts/improvement-engine.js,active
|
|
36
|
+
improvement-validator,Improvement Validator,script,validation,CLI;Script,script;validation;improvement;validator,.aios-core/infrastructure/scripts/improvement-validator.js,active
|
|
37
|
+
modification-risk-assessment,Modification Risk Assessment,script,utility,CLI;Script,script;utility;modification;risk;assessment,.aios-core/infrastructure/scripts/modification-risk-assessment.js,active
|
|
38
|
+
modification-validator,Modification Validator,script,validation,CLI;Script,script;validation;modification;validator,.aios-core/infrastructure/scripts/modification-validator.js,active
|
|
39
|
+
output-formatter,Output Formatter,script,utility,CLI;Script,script;utility;output;formatter,.aios-core/infrastructure/scripts/output-formatter.js,active
|
|
40
|
+
performance-analyzer,Performance Analyzer,script,analysis,CLI;Script,script;analysis;performance;analyzer,.aios-core/infrastructure/scripts/performance-analyzer.js,active
|
|
41
|
+
performance-and-error-resolver,Performance And Error Resolver,script,utility,CLI;Script,script;utility;performance;and;error;resolver,.aios-core/infrastructure/scripts/performance-and-error-resolver.js,active
|
|
42
|
+
performance-optimizer,Performance Optimizer,script,utility,CLI;Script,script;utility;performance;optimizer,.aios-core/infrastructure/scripts/performance-optimizer.js,active
|
|
43
|
+
performance-tracker,Performance Tracker,script,utility,CLI;Script,script;utility;performance;tracker,.aios-core/infrastructure/scripts/performance-tracker.js,active
|
|
44
|
+
pm-adapter,Pm Adapter,script,utility,CLI;Script,script;utility;adapter,.aios-core/infrastructure/scripts/pm-adapter.js,active
|
|
45
|
+
pm-adapter-factory,Pm Adapter Factory,script,utility,CLI;Script,script;utility;adapter;factory,.aios-core/infrastructure/scripts/pm-adapter-factory.js,active
|
|
46
|
+
project-status-loader,Project Status Loader,script,configuration,CLI;Script,script;configuration;project;status;loader,.aios-core/infrastructure/scripts/project-status-loader.js,active
|
|
47
|
+
refactoring-suggester,Refactoring Suggester,script,utility,CLI;Script,script;utility;refactoring;suggester,.aios-core/infrastructure/scripts/refactoring-suggester.js,active
|
|
48
|
+
repository-detector,Repository Detector,script,utility,CLI;Script,script;utility;repository;detector;product,.aios-core/infrastructure/scripts/repository-detector.js,active
|
|
49
|
+
sandbox-tester,Sandbox Tester,script,testing,CLI;Script,script;testing;sandbox;tester;database,.aios-core/infrastructure/scripts/sandbox-tester.js,active
|
|
50
|
+
security-checker,Security Checker,script,validation,CLI;Script,script;validation;security;checker,.aios-core/infrastructure/scripts/security-checker.js,active
|
|
51
|
+
spot-check-validator,Spot Check Validator,script,validation,CLI;Script,script;validation;spot;check;validator;product,.aios-core/infrastructure/scripts/spot-check-validator.js,active
|
|
52
|
+
status-mapper,Status Mapper,script,utility,CLI;Script,script;utility;status;mapper,.aios-core/infrastructure/scripts/status-mapper.js,active
|
|
53
|
+
template-engine,Template Engine,script,utility,CLI;Script,script;utility;template;engine,.aios-core/infrastructure/scripts/template-engine.js,active
|
|
54
|
+
template-validator,Template Validator,script,validation,CLI;Script,script;validation;template;validator,.aios-core/infrastructure/scripts/template-validator.js,active
|
|
55
|
+
test-generator,Test Generator,script,generation,CLI;Script,script;generation;test;generator;testing,.aios-core/infrastructure/scripts/test-generator.js,active
|
|
56
|
+
test-quality-assessment,Test Quality Assessment,script,testing,CLI;Script,script;testing;test;quality;assessment,.aios-core/infrastructure/scripts/test-quality-assessment.js,active
|
|
57
|
+
test-utilities,Test Utilities,script,testing,CLI;Script,script;testing;test;utilities,.aios-core/infrastructure/scripts/test-utilities.js,active
|
|
58
|
+
test-utilities-fast,Test Utilities Fast,script,testing,CLI;Script,script;testing;test;utilities;fast,.aios-core/infrastructure/scripts/test-utilities-fast.js,active
|
|
59
|
+
tool-resolver,Tool Resolver,script,utility,CLI;Script,script;utility;tool;resolver,.aios-core/infrastructure/scripts/tool-resolver.js,active
|
|
60
|
+
transaction-manager,Transaction Manager,script,management,CLI;Script,script;management;transaction;manager,.aios-core/infrastructure/scripts/transaction-manager.js,active
|
|
61
|
+
usage-analytics,Usage Analytics,script,utility,CLI;Script,script;utility;usage;analytics,.aios-core/infrastructure/scripts/usage-analytics.js,active
|
|
62
|
+
validate-output-pattern,Validate Output Pattern,script,utility,CLI;Script,script;utility;validate;output;pattern;validation,.aios-core/infrastructure/scripts/validate-output-pattern.js,active
|
|
63
|
+
visual-impact-generator,Visual Impact Generator,script,generation,CLI;Script,script;generation;visual;impact;generator,.aios-core/infrastructure/scripts/visual-impact-generator.js,active
|
|
64
|
+
yaml-validator,Yaml Validator,script,validation,CLI;Script,script;validation;yaml;validator,.aios-core/infrastructure/scripts/yaml-validator.js,active
|
|
65
|
+
advanced-elicitation,Advanced Elicitation,task,general,Agent;Worker,task;general;advanced;elicitation,.aios-core/development/tasks/advanced-elicitation.md,active
|
|
66
|
+
analyst-facilitate-brainstorming,Analyst Facilitate Brainstorming,task,general,Agent;Worker,task;general;analyst;facilitate;brainstorming,.aios-core/development/tasks/analyst-facilitate-brainstorming.md,active
|
|
67
|
+
analyze-framework,Analyze Framework,task,analysis,Agent;Worker,task;analysis;analyze;framework,.aios-core/development/tasks/analyze-framework.md,active
|
|
68
|
+
analyze-performance,Analyze Performance,task,analysis,Agent;Worker,task;analysis;analyze;performance,.aios-core/development/tasks/analyze-performance.md,active
|
|
69
|
+
apply-qa-fixes,Apply Qa Fixes,task,general,Agent;Worker,task;general;apply;fixes;testing,.aios-core/development/tasks/apply-qa-fixes.md,active
|
|
70
|
+
architect-analyze-impact,Architect Analyze Impact,task,analysis,Agent;Worker,task;analysis;architect;analyze;impact,.aios-core/development/tasks/architect-analyze-impact.md,active
|
|
71
|
+
audit-codebase,Audit Codebase,task,validation,Agent;Worker,task;validation;audit;codebase;analysis,.aios-core/development/tasks/audit-codebase.md,active
|
|
72
|
+
audit-tailwind-config,Audit Tailwind Config,task,validation,Agent;Worker,task;validation;audit;tailwind;config;analysis,.aios-core/development/tasks/audit-tailwind-config.md,active
|
|
73
|
+
audit-utilities,Audit Utilities,task,validation,Agent;Worker,task;validation;audit;utilities;analysis,.aios-core/development/tasks/audit-utilities.md,active
|
|
74
|
+
bootstrap-shadcn-library,Bootstrap Shadcn Library,task,general,Agent;Worker,task;general;bootstrap;shadcn;library,.aios-core/development/tasks/bootstrap-shadcn-library.md,active
|
|
75
|
+
brownfield-create-epic,Brownfield Create Epic,task,creation,Agent;Worker,task;creation;brownfield;create;epic,.aios-core/development/tasks/brownfield-create-epic.md,active
|
|
76
|
+
brownfield-create-story,Brownfield Create Story,task,creation,Agent;Worker,task;creation;brownfield;create;story;product,.aios-core/development/tasks/brownfield-create-story.md,active
|
|
77
|
+
build-component,Build Component,task,general,Agent;Worker,task;general;build;component;product,.aios-core/development/tasks/build-component.md,active
|
|
78
|
+
calculate-roi,Calculate Roi,task,general,Agent;Worker,task;general;calculate;roi,.aios-core/development/tasks/calculate-roi.md,active
|
|
79
|
+
ci-cd-configuration,Ci Cd Configuration,task,general,Agent;Worker,task;general;configuration,.aios-core/development/tasks/ci-cd-configuration.md,active
|
|
80
|
+
cleanup-utilities,Cleanup Utilities,task,general,Agent;Worker,task;general;cleanup;utilities,.aios-core/development/tasks/cleanup-utilities.md,active
|
|
81
|
+
collaborative-edit,Collaborative Edit,task,modification,Agent;Worker,task;modification;collaborative;edit,.aios-core/development/tasks/collaborative-edit.md,active
|
|
82
|
+
compose-molecule,Compose Molecule,task,general,Agent;Worker,task;general;compose;molecule;product,.aios-core/development/tasks/compose-molecule.md,active
|
|
83
|
+
consolidate-patterns,Consolidate Patterns,task,general,Agent;Worker,task;general;consolidate;patterns,.aios-core/development/tasks/consolidate-patterns.md,active
|
|
84
|
+
correct-course,Correct Course,task,general,Agent;Worker,task;general;correct;course,.aios-core/development/tasks/correct-course.md,active
|
|
85
|
+
create-agent,Create Agent,task,creation,Agent;Worker,task;creation;create;agent,.aios-core/development/tasks/create-agent.md,active
|
|
86
|
+
create-brownfield-story,Create Brownfield Story,task,creation,Agent;Worker,task;creation;create;brownfield;story;product,.aios-core/development/tasks/create-brownfield-story.md,active
|
|
87
|
+
create-deep-research-prompt,Create Deep Research Prompt,task,creation,Agent;Worker,task;creation;create;deep;research;prompt,.aios-core/development/tasks/create-deep-research-prompt.md,active
|
|
88
|
+
create-doc,Create Doc,task,creation,Agent;Worker,task;creation;create;doc,.aios-core/development/tasks/create-doc.md,active
|
|
89
|
+
create-next-story,Create Next Story,task,creation,Agent;Worker,task;creation;create;next;story;product,.aios-core/development/tasks/create-next-story.md,active
|
|
90
|
+
create-suite,Create Suite,task,creation,Agent;Worker,task;creation;create;suite,.aios-core/development/tasks/create-suite.md,active
|
|
91
|
+
create-task,Create Task,task,creation,Agent;Worker,task;creation;create,.aios-core/development/tasks/create-task.md,active
|
|
92
|
+
create-workflow,Create Workflow,task,creation,Agent;Worker,task;creation;create;workflow,.aios-core/development/tasks/create-workflow.md,active
|
|
93
|
+
db-analyze-hotpaths,Db Analyze Hotpaths,task,analysis,Agent;Worker,task;analysis;analyze;hotpaths;database,.aios-core/development/tasks/db-analyze-hotpaths.md,active
|
|
94
|
+
db-apply-migration,Db Apply Migration,task,general,Agent;Worker,task;general;apply;migration;database,.aios-core/development/tasks/db-apply-migration.md,active
|
|
95
|
+
db-bootstrap,Db Bootstrap,task,general,Agent;Worker,task;general;bootstrap;database,.aios-core/development/tasks/db-bootstrap.md,active
|
|
96
|
+
db-domain-modeling,Db Domain Modeling,task,general,Agent;Worker,task;general;domain;modeling;database,.aios-core/development/tasks/db-domain-modeling.md,active
|
|
97
|
+
db-dry-run,Db Dry Run,task,general,Agent;Worker,task;general;dry;run;database,.aios-core/development/tasks/db-dry-run.md,active
|
|
98
|
+
db-env-check,Db Env Check,task,general,Agent;Worker,task;general;env;check;database;validation,.aios-core/development/tasks/db-env-check.md,active
|
|
99
|
+
db-expansion-pack-integration,Db Expansion Pack Integration,task,general,Agent;Worker,task;general;expansion;pack;integration;database,.aios-core/development/tasks/db-expansion-pack-integration.md,active
|
|
100
|
+
db-explain,Db Explain,task,general,Agent;Worker,task;general;explain;database,.aios-core/development/tasks/db-explain.md,active
|
|
101
|
+
db-impersonate,Db Impersonate,task,general,Agent;Worker,task;general;impersonate;database,.aios-core/development/tasks/db-impersonate.md,active
|
|
102
|
+
db-load-csv,Db Load Csv,task,general,Agent;Worker,task;general;load;csv;database,.aios-core/development/tasks/db-load-csv.md,active
|
|
103
|
+
db-policy-apply,Db Policy Apply,task,general,Agent;Worker,task;general;policy;apply;database;product,.aios-core/development/tasks/db-policy-apply.md,active
|
|
104
|
+
db-rls-audit,Db Rls Audit,task,validation,Agent;Worker,task;validation;rls;audit;database;analysis,.aios-core/development/tasks/db-rls-audit.md,active
|
|
105
|
+
db-rollback,Db Rollback,task,general,Agent;Worker,task;general;rollback;database,.aios-core/development/tasks/db-rollback.md,active
|
|
106
|
+
db-run-sql,Db Run Sql,task,general,Agent;Worker,task;general;run;sql;database,.aios-core/development/tasks/db-run-sql.md,active
|
|
107
|
+
db-schema-audit,Db Schema Audit,task,validation,Agent;Worker,task;validation;schema;audit;database;analysis,.aios-core/development/tasks/db-schema-audit.md,active
|
|
108
|
+
db-seed,Db Seed,task,general,Agent;Worker,task;general;seed;database,.aios-core/development/tasks/db-seed.md,active
|
|
109
|
+
db-smoke-test,Db Smoke Test,task,general,Agent;Worker,task;general;smoke;test;testing;database,.aios-core/development/tasks/db-smoke-test.md,active
|
|
110
|
+
db-snapshot,Db Snapshot,task,general,Agent;Worker,task;general;snapshot;database,.aios-core/development/tasks/db-snapshot.md,active
|
|
111
|
+
db-supabase-setup,Db Supabase Setup,task,general,Agent;Worker,task;general;supabase;setup;database,.aios-core/development/tasks/db-supabase-setup.md,active
|
|
112
|
+
db-verify-order,Db Verify Order,task,general,Agent;Worker,task;general;verify;order;database,.aios-core/development/tasks/db-verify-order.md,active
|
|
113
|
+
deprecate-component,Deprecate Component,task,general,Agent;Worker,task;general;deprecate;component;product,.aios-core/development/tasks/deprecate-component.md,active
|
|
114
|
+
dev-apply-qa-fixes,Dev Apply Qa Fixes,task,general,Agent;Worker,task;general;dev;apply;fixes;testing;development,.aios-core/development/tasks/dev-apply-qa-fixes.md,active
|
|
115
|
+
dev-backlog-debt,Dev Backlog Debt,task,general,Agent;Worker,task;general;dev;backlog;debt;development,.aios-core/development/tasks/dev-backlog-debt.md,active
|
|
116
|
+
dev-develop-story,Dev Develop Story,task,general,Agent;Worker,task;general;dev;develop;story;development;product,.aios-core/development/tasks/dev-develop-story.md,active
|
|
117
|
+
dev-improve-code-quality,Dev Improve Code Quality,task,general,Agent;Worker,task;general;dev;improve;code;quality;development,.aios-core/development/tasks/dev-improve-code-quality.md,active
|
|
118
|
+
dev-optimize-performance,Dev Optimize Performance,task,general,Agent;Worker,task;general;dev;optimize;performance;development,.aios-core/development/tasks/dev-optimize-performance.md,active
|
|
119
|
+
dev-suggest-refactoring,Dev Suggest Refactoring,task,general,Agent;Worker,task;general;dev;suggest;refactoring;development,.aios-core/development/tasks/dev-suggest-refactoring.md,active
|
|
120
|
+
dev-validate-next-story,Dev Validate Next Story,task,validation,Agent;Worker,task;validation;dev;validate;next;story;development;product,.aios-core/development/tasks/dev-validate-next-story.md,active
|
|
121
|
+
document-project,Document Project,task,general,Agent;Worker,task;general;document;project,.aios-core/development/tasks/document-project.md,active
|
|
122
|
+
execute-checklist,Execute Checklist,task,general,Agent;Worker,task;general;execute;checklist;validation,.aios-core/development/tasks/execute-checklist.md,active
|
|
123
|
+
export-design-tokens-dtcg,Export Design Tokens Dtcg,task,general,Agent;Worker,task;general;export;design;tokens;dtcg;product,.aios-core/development/tasks/export-design-tokens-dtcg.md,active
|
|
124
|
+
extend-pattern,Extend Pattern,task,general,Agent;Worker,task;general;extend;pattern,.aios-core/development/tasks/extend-pattern.md,active
|
|
125
|
+
extract-tokens,Extract Tokens,task,general,Agent;Worker,task;general;extract;tokens,.aios-core/development/tasks/extract-tokens.md,active
|
|
126
|
+
facilitate-brainstorming-session,Facilitate Brainstorming Session,task,general,Agent;Worker,task;general;facilitate;brainstorming;session,.aios-core/development/tasks/facilitate-brainstorming-session.md,active
|
|
127
|
+
generate-ai-frontend-prompt,Generate Ai Frontend Prompt,task,general,Agent;Worker,task;general;generate;frontend;prompt;creation,.aios-core/development/tasks/generate-ai-frontend-prompt.md,active
|
|
128
|
+
generate-documentation,Generate Documentation,task,general,Agent;Worker,task;general;generate;documentation;creation,.aios-core/development/tasks/generate-documentation.md,active
|
|
129
|
+
generate-migration-strategy,Generate Migration Strategy,task,general,Agent;Worker,task;general;generate;migration;strategy;creation,.aios-core/development/tasks/generate-migration-strategy.md,active
|
|
130
|
+
generate-shock-report,Generate Shock Report,task,general,Agent;Worker,task;general;generate;shock;report;creation;product,.aios-core/development/tasks/generate-shock-report.md,active
|
|
131
|
+
github-devops-github-pr-automation,Github Devops Github Pr Automation,task,general,Agent;Worker,task;general;github;devops;automation;development;git,.aios-core/development/tasks/github-devops-github-pr-automation.md,active
|
|
132
|
+
github-devops-pre-push-quality-gate,Github Devops Pre Push Quality Gate,task,general,Agent;Worker,task;general;github;devops;pre;push;quality;gate;development;git,.aios-core/development/tasks/github-devops-pre-push-quality-gate.md,active
|
|
133
|
+
github-devops-repository-cleanup,Github Devops Repository Cleanup,task,general,Agent;Worker,task;general;github;devops;repository;cleanup;development;product;git,.aios-core/development/tasks/github-devops-repository-cleanup.md,active
|
|
134
|
+
github-devops-version-management,Github Devops Version Management,task,general,Agent;Worker,task;general;github;devops;version;management;development;git,.aios-core/development/tasks/github-devops-version-management.md,active
|
|
135
|
+
improve-self,Improve Self,task,general,Agent;Worker,task;general;improve;self,.aios-core/development/tasks/improve-self.md,active
|
|
136
|
+
index-docs,Index Docs,task,general,Agent;Worker,task;general;index;docs,.aios-core/development/tasks/index-docs.md,active
|
|
137
|
+
init-project-status,Init Project Status,task,general,Agent;Worker,task;general;init;project;status,.aios-core/development/tasks/init-project-status.md,active
|
|
138
|
+
integrate-expansion-pack,Integrate Expansion Pack,task,general,Agent;Worker,task;general;integrate;expansion;pack,.aios-core/development/tasks/integrate-expansion-pack.md,active
|
|
139
|
+
kb-mode-interaction,Kb Mode Interaction,task,general,Agent;Worker,task;general;mode;interaction,.aios-core/development/tasks/kb-mode-interaction.md,active
|
|
140
|
+
learn-patterns,Learn Patterns,task,general,Agent;Worker,task;general;learn;patterns,.aios-core/development/tasks/learn-patterns.md,active
|
|
141
|
+
modify-agent,Modify Agent,task,modification,Agent;Worker,task;modification;modify;agent,.aios-core/development/tasks/modify-agent.md,active
|
|
142
|
+
modify-task,Modify Task,task,modification,Agent;Worker,task;modification;modify,.aios-core/development/tasks/modify-task.md,active
|
|
143
|
+
modify-workflow,Modify Workflow,task,modification,Agent;Worker,task;modification;modify;workflow,.aios-core/development/tasks/modify-workflow.md,active
|
|
144
|
+
po-backlog-add,Po Backlog Add,task,general,Agent;Worker,task;general;backlog;add;product,.aios-core/development/tasks/po-backlog-add.md,active
|
|
145
|
+
po-manage-story-backlog,Po Manage Story Backlog,task,general,Agent;Worker,task;general;manage;story;backlog;product,.aios-core/development/tasks/po-manage-story-backlog.md,active
|
|
146
|
+
po-pull-story,Po Pull Story,task,general,Agent;Worker,task;general;pull;story;product,.aios-core/development/tasks/po-pull-story.md,active
|
|
147
|
+
po-pull-story-from-clickup,Po Pull Story From Clickup,task,general,Agent;Worker,task;general;pull;story;from;clickup;product,.aios-core/development/tasks/po-pull-story-from-clickup.md,active
|
|
148
|
+
po-stories-index,Po Stories Index,task,general,Agent;Worker,task;general;stories;index;product,.aios-core/development/tasks/po-stories-index.md,active
|
|
149
|
+
po-sync-story,Po Sync Story,task,general,Agent;Worker,task;general;sync;story;product,.aios-core/development/tasks/po-sync-story.md,active
|
|
150
|
+
po-sync-story-to-clickup,Po Sync Story To Clickup,task,general,Agent;Worker,task;general;sync;story;clickup;product,.aios-core/development/tasks/po-sync-story-to-clickup.md,active
|
|
151
|
+
pr-automation,Pr Automation,task,general,Agent;Worker,task;general;automation,.aios-core/development/tasks/pr-automation.md,active
|
|
152
|
+
propose-modification,Propose Modification,task,general,Agent;Worker,task;general;propose;modification;product,.aios-core/development/tasks/propose-modification.md,active
|
|
153
|
+
qa-backlog-add-followup,Qa Backlog Add Followup,task,general,Agent;Worker,task;general;backlog;add;followup;testing,.aios-core/development/tasks/qa-backlog-add-followup.md,active
|
|
154
|
+
qa-gate,Qa Gate,task,general,Agent;Worker,task;general;gate;testing,.aios-core/development/tasks/qa-gate.md,active
|
|
155
|
+
qa-generate-tests,Qa Generate Tests,task,general,Agent;Worker,task;general;generate;tests;testing;creation,.aios-core/development/tasks/qa-generate-tests.md,active
|
|
156
|
+
qa-nfr-assess,Qa Nfr Assess,task,general,Agent;Worker,task;general;nfr;assess;testing,.aios-core/development/tasks/qa-nfr-assess.md,active
|
|
157
|
+
qa-review-proposal,Qa Review Proposal,task,general,Agent;Worker,task;general;review;proposal;testing;product,.aios-core/development/tasks/qa-review-proposal.md,active
|
|
158
|
+
qa-review-story,Qa Review Story,task,general,Agent;Worker,task;general;review;story;testing;product,.aios-core/development/tasks/qa-review-story.md,active
|
|
159
|
+
qa-risk-profile,Qa Risk Profile,task,general,Agent;Worker,task;general;risk;profile;testing,.aios-core/development/tasks/qa-risk-profile.md,active
|
|
160
|
+
qa-run-tests,Qa Run Tests,task,general,Agent;Worker,task;general;run;tests;testing,.aios-core/development/tasks/qa-run-tests.md,active
|
|
161
|
+
qa-test-design,Qa Test Design,task,general,Agent;Worker,task;general;test;design;testing,.aios-core/development/tasks/qa-test-design.md,active
|
|
162
|
+
qa-trace-requirements,Qa Trace Requirements,task,general,Agent;Worker,task;general;trace;requirements;testing,.aios-core/development/tasks/qa-trace-requirements.md,active
|
|
163
|
+
release-management,Release Management,task,general,Agent;Worker,task;general;release;management,.aios-core/development/tasks/release-management.md,active
|
|
164
|
+
security-audit,Security Audit,task,validation,Agent;Worker,task;validation;security;audit;analysis,.aios-core/development/tasks/security-audit.md,active
|
|
165
|
+
security-scan,Security Scan,task,general,Agent;Worker,task;general;security;scan,.aios-core/development/tasks/security-scan.md,active
|
|
166
|
+
setup-database,Setup Database,task,general,Agent;Worker,task;general;setup;database,.aios-core/development/tasks/setup-database.md,active
|
|
167
|
+
setup-design-system,Setup Design System,task,general,Agent;Worker,task;general;setup;design;system,.aios-core/development/tasks/setup-design-system.md,active
|
|
168
|
+
shard-doc,Shard Doc,task,general,Agent;Worker,task;general;shard;doc,.aios-core/development/tasks/shard-doc.md,active
|
|
169
|
+
sm-create-next-story,Sm Create Next Story,task,creation,Agent;Worker,task;creation;create;next;story;product,.aios-core/development/tasks/sm-create-next-story.md,active
|
|
170
|
+
sync-documentation,Sync Documentation,task,general,Agent;Worker,task;general;sync;documentation,.aios-core/development/tasks/sync-documentation.md,active
|
|
171
|
+
tailwind-upgrade,Tailwind Upgrade,task,general,Agent;Worker,task;general;tailwind;upgrade,.aios-core/development/tasks/tailwind-upgrade.md,active
|
|
172
|
+
test-as-user,Test As User,task,general,Agent;Worker,task;general;test;user;testing,.aios-core/development/tasks/test-as-user.md,active
|
|
173
|
+
test-validation-task,Test Validation Task,task,general,Agent;Worker,task;general;test;validation;testing,.aios-core/development/tasks/test-validation-task.md,active
|
|
174
|
+
undo-last,Undo Last,task,general,Agent;Worker,task;general;undo;last,.aios-core/development/tasks/undo-last.md,active
|
|
175
|
+
update-manifest,Update Manifest,task,general,Agent;Worker,task;general;update;manifest,.aios-core/development/tasks/update-manifest.md,active
|
|
176
|
+
ux-create-wireframe,Ux Create Wireframe,task,creation,Agent;Worker,task;creation;create;wireframe,.aios-core/development/tasks/ux-create-wireframe.md,active
|
|
177
|
+
ux-ds-scan-artifact,Ux Ds Scan Artifact,task,general,Agent;Worker,task;general;scan;artifact,.aios-core/development/tasks/ux-ds-scan-artifact.md,active
|
|
178
|
+
ux-user-research,Ux User Research,task,general,Agent;Worker,task;general;user;research,.aios-core/development/tasks/ux-user-research.md,active
|
|
179
|
+
validate-next-story,Validate Next Story,task,validation,Agent;Worker,task;validation;validate;next;story;product,.aios-core/development/tasks/validate-next-story.md,active
|
|
180
|
+
activation-instructions-template,Activation Instructions Template,template,document,Agent,template;document;activation;instructions,.aios-core/product/templates/activation-instructions-template.md,active
|
|
181
|
+
antigravity-rules,Antigravity Rules,template,ide-rules,Agent,template;ide-rules;antigravity;rules,.aios-core/product/templates/ide-rules/antigravity-rules.md,active
|
|
182
|
+
claude-rules,Claude Rules,template,ide-rules,Agent,template;ide-rules;claude;rules,.aios-core/product/templates/ide-rules/claude-rules.md,active
|
|
183
|
+
cline-rules,Cline Rules,template,ide-rules,Agent,template;ide-rules;cline;rules,.aios-core/product/templates/ide-rules/cline-rules.md,active
|
|
184
|
+
command-rationalization-matrix,Command Rationalization Matrix,template,document,Agent,template;document;command;rationalization;matrix,.aios-core/product/templates/command-rationalization-matrix.md,active
|
|
185
|
+
copilot-rules,Copilot Rules,template,ide-rules,Agent,template;ide-rules;copilot;rules,.aios-core/product/templates/ide-rules/copilot-rules.md,active
|
|
186
|
+
cursor-rules,Cursor Rules,template,ide-rules,Agent,template;ide-rules;cursor;rules,.aios-core/product/templates/ide-rules/cursor-rules.md,active
|
|
187
|
+
ds-artifact-analysis,Ds Artifact Analysis,template,document,Agent,template;document;artifact;analysis,.aios-core/product/templates/ds-artifact-analysis.md,active
|
|
188
|
+
gemini-rules,Gemini Rules,template,ide-rules,Agent,template;ide-rules;gemini;rules,.aios-core/product/templates/ide-rules/gemini-rules.md,active
|
|
189
|
+
migration-strategy-tmpl,Migration Strategy Tmpl,template,document,Agent,template;document;migration;strategy;tmpl,.aios-core/product/templates/migration-strategy-tmpl.md,active
|
|
190
|
+
personalized-agent-template,Personalized Agent Template,template,personalized,Agent,template;personalized;agent,.aios-core/product/templates/personalized-agent-template.md,active
|
|
191
|
+
personalized-checklist-template,Personalized Checklist Template,template,personalized,Agent,template;personalized;checklist;validation,.aios-core/product/templates/personalized-checklist-template.md,active
|
|
192
|
+
personalized-task-template,Personalized Task Template,template,personalized,Agent,template;personalized;task,.aios-core/product/templates/personalized-task-template.md,active
|
|
193
|
+
personalized-task-template-v2,Personalized Task Template V2,template,personalized,Agent,template;personalized;task,.aios-core/product/templates/personalized-task-template-v2.md,active
|
|
194
|
+
roo-rules,Roo Rules,template,ide-rules,Agent,template;ide-rules;roo;rules,.aios-core/product/templates/ide-rules/roo-rules.md,active
|
|
195
|
+
task-execution-report,Task Execution Report,template,document,Agent,template;document;task;execution;report;product,.aios-core/product/templates/task-execution-report.md,active
|
|
196
|
+
task-template,Task Template,template,document,Agent,template;document;task,.aios-core/product/templates/task-template.md,active
|
|
197
|
+
trae-rules,Trae Rules,template,ide-rules,Agent,template;ide-rules;trae;rules,.aios-core/product/templates/ide-rules/trae-rules.md,active
|
|
198
|
+
windsurf-rules,Windsurf Rules,template,ide-rules,Agent,template;ide-rules;windsurf;rules,.aios-core/product/templates/ide-rules/windsurf-rules.md,active
|
|
199
|
+
brownfield-fullstack,Brownfield Fullstack,workflow,brownfield,Agent;Worker,workflow;brownfield;fullstack,.aios-core/development/workflows/brownfield-fullstack.yaml,active
|
|
200
|
+
brownfield-service,Brownfield Service,workflow,brownfield,Agent;Worker,workflow;brownfield;service,.aios-core/development/workflows/brownfield-service.yaml,active
|
|
201
|
+
brownfield-ui,Brownfield Ui,workflow,brownfield,Agent;Worker,workflow;brownfield,.aios-core/development/workflows/brownfield-ui.yaml,active
|
|
202
|
+
greenfield-fullstack,Greenfield Fullstack,workflow,greenfield,Agent;Worker,workflow;greenfield;fullstack,.aios-core/development/workflows/greenfield-fullstack.yaml,active
|
|
203
|
+
greenfield-service,Greenfield Service,workflow,greenfield,Agent;Worker,workflow;greenfield;service,.aios-core/development/workflows/greenfield-service.yaml,active
|
|
204
|
+
greenfield-ui,Greenfield Ui,workflow,greenfield,Agent;Worker,workflow;greenfield,.aios-core/development/workflows/greenfield-ui.yaml,active
|
|
@@ -1 +1 @@
|
|
|
1
|
-
# AIOS Monitor Hooks Library
|
|
1
|
+
# AIOS Monitor Hooks Library
|
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
#!/usr/bin/env python3
|
|
2
|
-
"""
|
|
3
|
-
Enrich events with AIOS context (agent, story, task, etc.)
|
|
4
|
-
"""
|
|
5
|
-
|
|
6
|
-
import os
|
|
7
|
-
import re
|
|
8
|
-
from pathlib import Path
|
|
9
|
-
from typing import Any
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
def enrich_event(data: dict[str, Any]) -> dict[str, Any]:
|
|
13
|
-
"""Add AIOS context to event data."""
|
|
14
|
-
|
|
15
|
-
# Project detection
|
|
16
|
-
cwd = data.get("cwd", os.getcwd())
|
|
17
|
-
data["project"] = detect_project(cwd)
|
|
18
|
-
|
|
19
|
-
# AIOS context from environment
|
|
20
|
-
if os.environ.get("AIOS_AGENT"):
|
|
21
|
-
data["aios_agent"] = os.environ["AIOS_AGENT"]
|
|
22
|
-
|
|
23
|
-
if os.environ.get("AIOS_STORY_ID"):
|
|
24
|
-
data["aios_story_id"] = os.environ["AIOS_STORY_ID"]
|
|
25
|
-
|
|
26
|
-
if os.environ.get("AIOS_TASK_ID"):
|
|
27
|
-
data["aios_task_id"] = os.environ["AIOS_TASK_ID"]
|
|
28
|
-
|
|
29
|
-
# Try to detect AIOS agent from user prompt if available
|
|
30
|
-
user_prompt = data.get("user_prompt", "")
|
|
31
|
-
if user_prompt:
|
|
32
|
-
detected_agent = detect_agent_from_prompt(user_prompt)
|
|
33
|
-
if detected_agent and not data.get("aios_agent"):
|
|
34
|
-
data["aios_agent"] = detected_agent
|
|
35
|
-
|
|
36
|
-
return data
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
def detect_project(cwd: str) -> str:
|
|
40
|
-
"""Detect project name from cwd."""
|
|
41
|
-
path = Path(cwd)
|
|
42
|
-
|
|
43
|
-
# Check for common project markers
|
|
44
|
-
markers = [".git", "package.json", "Cargo.toml", "go.mod", "pyproject.toml"]
|
|
45
|
-
for marker in markers:
|
|
46
|
-
if (path / marker).exists():
|
|
47
|
-
return path.name
|
|
48
|
-
|
|
49
|
-
return path.name
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
def detect_agent_from_prompt(prompt: str) -> str | None:
|
|
53
|
-
"""Detect AIOS agent activation from prompt."""
|
|
54
|
-
# Look for @agent patterns
|
|
55
|
-
match = re.search(r'@(dev|architect|qa|pm|po|sm|analyst|devops|aios-master)', prompt.lower())
|
|
56
|
-
if match:
|
|
57
|
-
return match.group(1)
|
|
58
|
-
return None
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
"""
|
|
3
|
+
Enrich events with AIOS context (agent, story, task, etc.)
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import os
|
|
7
|
+
import re
|
|
8
|
+
from pathlib import Path
|
|
9
|
+
from typing import Any
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
def enrich_event(data: dict[str, Any]) -> dict[str, Any]:
|
|
13
|
+
"""Add AIOS context to event data."""
|
|
14
|
+
|
|
15
|
+
# Project detection
|
|
16
|
+
cwd = data.get("cwd", os.getcwd())
|
|
17
|
+
data["project"] = detect_project(cwd)
|
|
18
|
+
|
|
19
|
+
# AIOS context from environment
|
|
20
|
+
if os.environ.get("AIOS_AGENT"):
|
|
21
|
+
data["aios_agent"] = os.environ["AIOS_AGENT"]
|
|
22
|
+
|
|
23
|
+
if os.environ.get("AIOS_STORY_ID"):
|
|
24
|
+
data["aios_story_id"] = os.environ["AIOS_STORY_ID"]
|
|
25
|
+
|
|
26
|
+
if os.environ.get("AIOS_TASK_ID"):
|
|
27
|
+
data["aios_task_id"] = os.environ["AIOS_TASK_ID"]
|
|
28
|
+
|
|
29
|
+
# Try to detect AIOS agent from user prompt if available
|
|
30
|
+
user_prompt = data.get("user_prompt", "")
|
|
31
|
+
if user_prompt:
|
|
32
|
+
detected_agent = detect_agent_from_prompt(user_prompt)
|
|
33
|
+
if detected_agent and not data.get("aios_agent"):
|
|
34
|
+
data["aios_agent"] = detected_agent
|
|
35
|
+
|
|
36
|
+
return data
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
def detect_project(cwd: str) -> str:
|
|
40
|
+
"""Detect project name from cwd."""
|
|
41
|
+
path = Path(cwd)
|
|
42
|
+
|
|
43
|
+
# Check for common project markers
|
|
44
|
+
markers = [".git", "package.json", "Cargo.toml", "go.mod", "pyproject.toml"]
|
|
45
|
+
for marker in markers:
|
|
46
|
+
if (path / marker).exists():
|
|
47
|
+
return path.name
|
|
48
|
+
|
|
49
|
+
return path.name
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
def detect_agent_from_prompt(prompt: str) -> str | None:
|
|
53
|
+
"""Detect AIOS agent activation from prompt."""
|
|
54
|
+
# Look for @agent patterns
|
|
55
|
+
match = re.search(r'@(dev|architect|qa|pm|po|sm|analyst|devops|aios-master)', prompt.lower())
|
|
56
|
+
if match:
|
|
57
|
+
return match.group(1)
|
|
58
|
+
return None
|
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
#!/usr/bin/env python3
|
|
2
|
-
"""
|
|
3
|
-
Send event to AIOS Monitor server.
|
|
4
|
-
Non-blocking with short timeout to avoid slowing Claude.
|
|
5
|
-
"""
|
|
6
|
-
|
|
7
|
-
import json
|
|
8
|
-
import os
|
|
9
|
-
import time
|
|
10
|
-
import urllib.request
|
|
11
|
-
from typing import Any
|
|
12
|
-
|
|
13
|
-
SERVER_URL = os.environ.get("AIOS_MONITOR_URL", "http://localhost:4001")
|
|
14
|
-
TIMEOUT_MS = int(os.environ.get("AIOS_MONITOR_TIMEOUT_MS", "500"))
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
def send_event(event_type: str, data: dict[str, Any]) -> bool:
|
|
18
|
-
"""
|
|
19
|
-
Send event to AIOS Monitor server.
|
|
20
|
-
|
|
21
|
-
Args:
|
|
22
|
-
event_type: Hook event type (PreToolUse, PostToolUse, etc.)
|
|
23
|
-
data: Event data from Claude hook
|
|
24
|
-
|
|
25
|
-
Returns:
|
|
26
|
-
True if sent successfully, False otherwise
|
|
27
|
-
"""
|
|
28
|
-
try:
|
|
29
|
-
payload = json.dumps({
|
|
30
|
-
"type": event_type,
|
|
31
|
-
"timestamp": int(time.time() * 1000),
|
|
32
|
-
"data": data
|
|
33
|
-
}).encode("utf-8")
|
|
34
|
-
|
|
35
|
-
req = urllib.request.Request(
|
|
36
|
-
f"{SERVER_URL}/events",
|
|
37
|
-
data=payload,
|
|
38
|
-
headers={"Content-Type": "application/json"},
|
|
39
|
-
method="POST"
|
|
40
|
-
)
|
|
41
|
-
|
|
42
|
-
urllib.request.urlopen(req, timeout=TIMEOUT_MS / 1000)
|
|
43
|
-
return True
|
|
44
|
-
|
|
45
|
-
except Exception:
|
|
46
|
-
# Silent fail - never block Claude
|
|
47
|
-
return False
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
"""
|
|
3
|
+
Send event to AIOS Monitor server.
|
|
4
|
+
Non-blocking with short timeout to avoid slowing Claude.
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
import json
|
|
8
|
+
import os
|
|
9
|
+
import time
|
|
10
|
+
import urllib.request
|
|
11
|
+
from typing import Any
|
|
12
|
+
|
|
13
|
+
SERVER_URL = os.environ.get("AIOS_MONITOR_URL", "http://localhost:4001")
|
|
14
|
+
TIMEOUT_MS = int(os.environ.get("AIOS_MONITOR_TIMEOUT_MS", "500"))
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
def send_event(event_type: str, data: dict[str, Any]) -> bool:
|
|
18
|
+
"""
|
|
19
|
+
Send event to AIOS Monitor server.
|
|
20
|
+
|
|
21
|
+
Args:
|
|
22
|
+
event_type: Hook event type (PreToolUse, PostToolUse, etc.)
|
|
23
|
+
data: Event data from Claude hook
|
|
24
|
+
|
|
25
|
+
Returns:
|
|
26
|
+
True if sent successfully, False otherwise
|
|
27
|
+
"""
|
|
28
|
+
try:
|
|
29
|
+
payload = json.dumps({
|
|
30
|
+
"type": event_type,
|
|
31
|
+
"timestamp": int(time.time() * 1000),
|
|
32
|
+
"data": data
|
|
33
|
+
}).encode("utf-8")
|
|
34
|
+
|
|
35
|
+
req = urllib.request.Request(
|
|
36
|
+
f"{SERVER_URL}/events",
|
|
37
|
+
data=payload,
|
|
38
|
+
headers={"Content-Type": "application/json"},
|
|
39
|
+
method="POST"
|
|
40
|
+
)
|
|
41
|
+
|
|
42
|
+
urllib.request.urlopen(req, timeout=TIMEOUT_MS / 1000)
|
|
43
|
+
return True
|
|
44
|
+
|
|
45
|
+
except Exception:
|
|
46
|
+
# Silent fail - never block Claude
|
|
47
|
+
return False
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
#!/usr/bin/env python3
|
|
2
|
-
"""
|
|
3
|
-
Notification hook - captures Claude notifications.
|
|
4
|
-
"""
|
|
5
|
-
|
|
6
|
-
import json
|
|
7
|
-
import sys
|
|
8
|
-
import os
|
|
9
|
-
|
|
10
|
-
# Add lib to path
|
|
11
|
-
sys.path.insert(0, os.path.dirname(__file__))
|
|
12
|
-
|
|
13
|
-
from lib.send_event import send_event
|
|
14
|
-
from lib.enrich import enrich_event
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
def main():
|
|
18
|
-
# Read event from stdin
|
|
19
|
-
data = json.load(sys.stdin)
|
|
20
|
-
|
|
21
|
-
# Enrich with AIOS context
|
|
22
|
-
data = enrich_event(data)
|
|
23
|
-
|
|
24
|
-
# Send to monitor server
|
|
25
|
-
send_event("Notification", data)
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
if __name__ == "__main__":
|
|
29
|
-
main()
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
"""
|
|
3
|
+
Notification hook - captures Claude notifications.
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import json
|
|
7
|
+
import sys
|
|
8
|
+
import os
|
|
9
|
+
|
|
10
|
+
# Add lib to path
|
|
11
|
+
sys.path.insert(0, os.path.dirname(__file__))
|
|
12
|
+
|
|
13
|
+
from lib.send_event import send_event
|
|
14
|
+
from lib.enrich import enrich_event
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
def main():
|
|
18
|
+
# Read event from stdin
|
|
19
|
+
data = json.load(sys.stdin)
|
|
20
|
+
|
|
21
|
+
# Enrich with AIOS context
|
|
22
|
+
data = enrich_event(data)
|
|
23
|
+
|
|
24
|
+
# Send to monitor server
|
|
25
|
+
send_event("Notification", data)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
if __name__ == "__main__":
|
|
29
|
+
main()
|
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
#!/usr/bin/env python3
|
|
2
|
-
"""
|
|
3
|
-
PostToolUse hook - captures tool results after execution.
|
|
4
|
-
|
|
5
|
-
This hook runs after Claude executes any tool, capturing the result.
|
|
6
|
-
Most important for tracking what actually happened.
|
|
7
|
-
"""
|
|
8
|
-
|
|
9
|
-
import json
|
|
10
|
-
import sys
|
|
11
|
-
import os
|
|
12
|
-
|
|
13
|
-
# Add lib to path
|
|
14
|
-
sys.path.insert(0, os.path.dirname(__file__))
|
|
15
|
-
|
|
16
|
-
from lib.send_event import send_event
|
|
17
|
-
from lib.enrich import enrich_event
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
def main():
|
|
21
|
-
# Read event from stdin
|
|
22
|
-
data = json.load(sys.stdin)
|
|
23
|
-
|
|
24
|
-
# Truncate large fields
|
|
25
|
-
if "tool_result" in data:
|
|
26
|
-
result = data["tool_result"]
|
|
27
|
-
if isinstance(result, str) and len(result) > 1000:
|
|
28
|
-
data["tool_result"] = result[:1000] + "...[truncated]"
|
|
29
|
-
|
|
30
|
-
if "tool_input" in data:
|
|
31
|
-
tool_input = data["tool_input"]
|
|
32
|
-
if isinstance(tool_input, dict):
|
|
33
|
-
for key, value in tool_input.items():
|
|
34
|
-
if isinstance(value, str) and len(value) > 500:
|
|
35
|
-
data["tool_input"][key] = value[:500] + "..."
|
|
36
|
-
|
|
37
|
-
# Enrich with AIOS context
|
|
38
|
-
data = enrich_event(data)
|
|
39
|
-
|
|
40
|
-
# Send to monitor server
|
|
41
|
-
send_event("PostToolUse", data)
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
if __name__ == "__main__":
|
|
45
|
-
main()
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
"""
|
|
3
|
+
PostToolUse hook - captures tool results after execution.
|
|
4
|
+
|
|
5
|
+
This hook runs after Claude executes any tool, capturing the result.
|
|
6
|
+
Most important for tracking what actually happened.
|
|
7
|
+
"""
|
|
8
|
+
|
|
9
|
+
import json
|
|
10
|
+
import sys
|
|
11
|
+
import os
|
|
12
|
+
|
|
13
|
+
# Add lib to path
|
|
14
|
+
sys.path.insert(0, os.path.dirname(__file__))
|
|
15
|
+
|
|
16
|
+
from lib.send_event import send_event
|
|
17
|
+
from lib.enrich import enrich_event
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
def main():
|
|
21
|
+
# Read event from stdin
|
|
22
|
+
data = json.load(sys.stdin)
|
|
23
|
+
|
|
24
|
+
# Truncate large fields
|
|
25
|
+
if "tool_result" in data:
|
|
26
|
+
result = data["tool_result"]
|
|
27
|
+
if isinstance(result, str) and len(result) > 1000:
|
|
28
|
+
data["tool_result"] = result[:1000] + "...[truncated]"
|
|
29
|
+
|
|
30
|
+
if "tool_input" in data:
|
|
31
|
+
tool_input = data["tool_input"]
|
|
32
|
+
if isinstance(tool_input, dict):
|
|
33
|
+
for key, value in tool_input.items():
|
|
34
|
+
if isinstance(value, str) and len(value) > 500:
|
|
35
|
+
data["tool_input"][key] = value[:500] + "..."
|
|
36
|
+
|
|
37
|
+
# Enrich with AIOS context
|
|
38
|
+
data = enrich_event(data)
|
|
39
|
+
|
|
40
|
+
# Send to monitor server
|
|
41
|
+
send_event("PostToolUse", data)
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
if __name__ == "__main__":
|
|
45
|
+
main()
|