kenaz 0.3.3 โ 0.3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/core/.agents/skills/typesafe-ai/LICENSE +21 -21
- package/core/.agents/skills/typesafe-ai/SKILL.md +149 -149
- package/core/.claude/commands/Ansuz.md +15 -2
- package/core/.claude/hooks/__tests__/task-2395-project-registration.test.js +84 -0
- package/core/.claude/hooks/handoff-staleness.js +2 -2
- package/core/.claude/hooks/session-init.ps1 +49 -49
- package/core/.claude/hooks/turn-context.js +50 -2
- package/core/.claude/skills/ui-ux-pro-max/data/charts.csv +26 -26
- package/core/.claude/skills/ui-ux-pro-max/data/colors.csv +97 -97
- package/core/.claude/skills/ui-ux-pro-max/data/icons.csv +101 -101
- package/core/.claude/skills/ui-ux-pro-max/data/landing.csv +31 -31
- package/core/.claude/skills/ui-ux-pro-max/data/products.csv +96 -96
- package/core/.claude/skills/ui-ux-pro-max/data/react-performance.csv +45 -45
- package/core/.claude/skills/ui-ux-pro-max/data/stacks/astro.csv +54 -54
- package/core/.claude/skills/ui-ux-pro-max/data/stacks/flutter.csv +53 -53
- package/core/.claude/skills/ui-ux-pro-max/data/stacks/html-tailwind.csv +56 -56
- package/core/.claude/skills/ui-ux-pro-max/data/stacks/jetpack-compose.csv +53 -53
- package/core/.claude/skills/ui-ux-pro-max/data/stacks/nextjs.csv +53 -53
- package/core/.claude/skills/ui-ux-pro-max/data/stacks/nuxt-ui.csv +51 -51
- package/core/.claude/skills/ui-ux-pro-max/data/stacks/nuxtjs.csv +59 -59
- package/core/.claude/skills/ui-ux-pro-max/data/stacks/react-native.csv +52 -52
- package/core/.claude/skills/ui-ux-pro-max/data/stacks/react.csv +54 -54
- package/core/.claude/skills/ui-ux-pro-max/data/stacks/shadcn.csv +61 -61
- package/core/.claude/skills/ui-ux-pro-max/data/stacks/svelte.csv +54 -54
- package/core/.claude/skills/ui-ux-pro-max/data/stacks/swiftui.csv +51 -51
- package/core/.claude/skills/ui-ux-pro-max/data/stacks/vue.csv +50 -50
- package/core/.claude/skills/ui-ux-pro-max/data/styles.csv +68 -68
- package/core/.claude/skills/ui-ux-pro-max/data/typography.csv +57 -57
- package/core/.claude/skills/ui-ux-pro-max/data/ui-reasoning.csv +101 -101
- package/core/.claude/skills/ui-ux-pro-max/data/ux-guidelines.csv +99 -99
- package/core/.claude/skills/ui-ux-pro-max/data/web-interface.csv +31 -31
- package/core/.claude/skills/ui-ux-pro-max/scripts/core.py +253 -253
- package/core/.claude/skills/ui-ux-pro-max/scripts/design_system.py +1067 -1067
- package/core/.claude/skills/ui-ux-pro-max/scripts/search.py +106 -106
- package/core/.collaboration/core/task-api.js +1 -4
- package/core/.formation/README.md +21 -146
- package/core/.formation/bifrost/codex-doctor.js +37 -2
- package/core/.formation/bifrost/codex-doctor.test.js +18 -0
- package/core/.formation/bifrost/launch.js +1 -1
- package/core/.formation/bifrost/openai/codex-hook-shim.js +6 -0
- package/core/.formation/bifrost/openai/codex-hook-shim.test.js +11 -1
- package/core/.formation/bifrost/setup-codex.js +3 -0
- package/core/.formation/native/claude/README.md +1 -1
- package/core/.formation/role-map.yaml +3 -3
- package/core/.formation/spec/task_operations.parity.test.js +0 -1
- package/core/.formation/spec/task_operations.yaml +3 -3
- package/core/.formation/tests/hello.txt +2 -2
- package/core/.formation/tools/__tests__/subagent-bifrost-guard.test.js +4 -4
- package/core/.formation/tools/dashboard-models-chain.test.js +0 -6
- package/core/.formation/tools/dispatch-detail/cross-project-worktree.md +1 -9
- package/core/.formation/tools/dispatch-detail/worktree-subagent-mode.md +2 -2
- package/core/.formation/tools/dispatch.js +33 -554
- package/core/.formation/tools/mcp-allowlist.test.js +0 -1
- package/core/.formation/tools/post-complete/task2345.test.js +0 -5
- package/core/.formation/tools/pre-dispatch-snapshot.test.js +0 -100
- package/core/.formation/tools/prompt.js +33 -1623
- package/core/.formation/tools/prompt.test.js +26 -594
- package/core/.formation/unit/do.yaml +2 -4
- package/core/.kenaz/knowledge/ladybug_2c51da1e_shadow_file_frame_group.patch +163 -163
- package/core/.kenaz/knowledge/ladybug_30cf85690e_shadow_page_read_during_checkpoint.patch +393 -393
- package/core/.kenaz/knowledge/ladybug_7a17858d3a_node_group_delete_lock.patch +102 -102
- package/core/.kenaz/knowledge/ladybug_926a0ba1_column_checkpoint.patch +412 -412
- package/core/.kenaz/knowledge/ladybug_a346c4c4b6_pk_index_header_pages.patch +144 -144
- package/core/.kenaz/knowledge/ladybug_ba5f38815b_csr_node_group.patch +86 -86
- package/core/.kenaz/muninn_episode_write.ps1 +17 -17
- package/core/.kenaz/specialist/field_report_watermark.json +1 -1
- package/core/.kenaz/specialist/memory_guard_fired.json +1 -1
- package/core/.kenaz/specialist/memory_guard_trigger_cache.json +1 -1
- package/core/.kenaz/specialist/t1777_probe.txt +1 -1
- package/core/.matrix/index.matrix +5 -5
- package/core/.rule/general/agent-workflow.yaml +4 -4
- package/core/.rule/general/file-size-threshold.yaml +16 -4
- package/core/.rule/general/rust-verify-target.yaml +0 -1
- package/core/.rule/general/system-invariants.yaml +8 -25
- package/core/.specialist/Ansuz/SYSTEM_DOC.md +17 -42
- package/core/.specialist/Ansuz/capability.yaml +7 -14
- package/core/.specialist/Ansuz/concepts/formation_quick_ref.yaml +4 -11
- package/core/.specialist/Ansuz/elixir.yaml +3 -4
- package/core/.specialist/Ansuz/identity_contract.yaml +1 -1
- package/core/.specialist/Ansuz/knowledge.yaml +7 -10
- package/core/.specialist/Ansuz/rule.yaml +2 -2
- package/core/.specialist/Ansuz/tools/verify-and-land.js +22 -0
- package/core/.specialist/Ansuz/tools/verify-and-land.test.js +59 -5
- package/core/.specialist/Ansuz/workflow.yaml +7 -11
- package/core/.specialist/Forseti/core.yaml +1 -1
- package/core/.specialist/Heimdall/SKILL.md +1 -1
- package/core/.specialist/Heimdall/core.yaml +2 -2
- package/core/.specialist/Huginn/rule.yaml +1 -1
- package/core/.specialist/tools/README.md +2 -2
- package/core/.specialist/tools/__tests__/freya-cli-contract.test.js +0 -1
- package/core/.system/collaboration/README.md +1 -1
- package/core/.system/formation/LEGACY_SKILLS.md +2 -0
- package/core/.system/formation/POST_COMPLETE.md +2 -0
- package/core/.system/formation/README.md +2 -0
- package/core/KENAZ_CORE_VERSION +1 -1
- package/core/dev/ANSUZ_STARTUP_INJECTION_REVIEW.md +355 -355
- package/core/dev/JEV_INTEGRATION_PLAN.md +189 -189
- package/core/dev/design/matrix_format_EXAMPLE_memory.matrix +13 -13
- package/core/dev/design/matrix_format_EXAMPLE_project_status.matrix +9 -9
- package/core/dev/design/matrix_format_EXAMPLE_tasks.matrix +14 -14
- package/core/dev/design/matrix_v2_EXAMPLE.matrix +67 -67
- package/core/dev/jev-eval/ACTIVE_CORRECTION.md +52 -52
- package/core/dev/jev-eval/CONTEXT_REVIEW.md +31 -31
- package/core/dev/jev-eval/EVALUATION_STATUS.md +39 -39
- package/core/dev/jev-eval/HISTORICAL_CORPUS.md +33 -33
- package/core/dev/jev-eval/README.md +99 -99
- package/core/dev/jev-eval/THALAMUS_RANKING.md +58 -58
- package/core/dev/jev-eval/reports/annotation-pilot-2026-09-20.json +32 -32
- package/core/dev/jev-eval/reports/context-review-2026-09-20.json +48 -48
- package/core/dev/jev-eval/reports/history-corpus-2026-09-20.json +52 -52
- package/core/dev/pipeline/SELF_ENHANCEMENT_STATUS.json.bak +47 -47
- package/core/dev/pipeline/tasks/.gitkeep +1 -1
- package/core/dev/pipeline/test_results/TASK_TEST_PARALLEL_002_result.txt +27 -27
- package/core/dev/scripts/check-file-size.js +44 -17
- package/core/dev/scripts/init_git.sh +0 -0
- package/core/dev/scripts/init_project.sh +0 -0
- package/core/dev/scripts/legacy/dev_agent_scheduler.ps1.bak +536 -536
- package/core/dev/scripts/legacy/multi_agent_scheduler.ps1.bak +1978 -1978
- package/core/dev/scripts/matrix/src/cli/commands/list-tags.ts.wip +140 -140
- package/core/dev/scripts/matrix/src/cli/commands/manage-tags.ts.wip +173 -173
- package/core/dev/scripts/matrix/src/cli/commands/stats.ts.wip +168 -168
- package/core/dev/scripts/matrix/src/cli/commands/tokens.ts.wip +126 -126
- package/core/dev/scripts/multi_agent_scheduler.sh +0 -0
- package/core/dev/scripts/run_once.sh +0 -0
- package/core/dev/scripts/setup_mcp.sh +0 -0
- package/core/dev/scripts/setup_rag.sh +0 -0
- package/core/dev/scripts/start_dev_agent.sh +0 -0
- package/core/dev/scripts/start_multi_agent.sh +0 -0
- package/core/dev/scripts/sync_task_queue.sh +0 -0
- package/core/k-cli/README.md +1 -94
- package/core/k-cli/test/TEST_SPEC.md +5 -22
- package/core/k-cli/test/run.sh +1 -67
- package/core/plugins/kenaz/commands/Amelia.md +1 -1
- package/core/plugins/kenaz/commands/Ansuz.md +16 -3
- package/core/plugins/kenaz/scripts/kenaz-mode.js +11 -1
- package/core/plugins/kenaz/scripts/sync.js +6 -2
- package/core/plugins/kenaz/scripts/ygg.js +13 -1
- package/core/plugins/kenaz/skills/product_manager/SKILL.md +12 -12
- package/core/plugins/kenaz/skills/ui-ux-pro-max/data/charts.csv +26 -26
- package/core/plugins/kenaz/skills/ui-ux-pro-max/data/colors.csv +97 -97
- package/core/plugins/kenaz/skills/ui-ux-pro-max/data/icons.csv +101 -101
- package/core/plugins/kenaz/skills/ui-ux-pro-max/data/landing.csv +31 -31
- package/core/plugins/kenaz/skills/ui-ux-pro-max/data/products.csv +96 -96
- package/core/plugins/kenaz/skills/ui-ux-pro-max/data/react-performance.csv +45 -45
- package/core/plugins/kenaz/skills/ui-ux-pro-max/data/stacks/astro.csv +54 -54
- package/core/plugins/kenaz/skills/ui-ux-pro-max/data/stacks/flutter.csv +53 -53
- package/core/plugins/kenaz/skills/ui-ux-pro-max/data/stacks/html-tailwind.csv +56 -56
- package/core/plugins/kenaz/skills/ui-ux-pro-max/data/stacks/jetpack-compose.csv +53 -53
- package/core/plugins/kenaz/skills/ui-ux-pro-max/data/stacks/nextjs.csv +53 -53
- package/core/plugins/kenaz/skills/ui-ux-pro-max/data/stacks/nuxt-ui.csv +51 -51
- package/core/plugins/kenaz/skills/ui-ux-pro-max/data/stacks/nuxtjs.csv +59 -59
- package/core/plugins/kenaz/skills/ui-ux-pro-max/data/stacks/react-native.csv +52 -52
- package/core/plugins/kenaz/skills/ui-ux-pro-max/data/stacks/react.csv +54 -54
- package/core/plugins/kenaz/skills/ui-ux-pro-max/data/stacks/shadcn.csv +61 -61
- package/core/plugins/kenaz/skills/ui-ux-pro-max/data/stacks/svelte.csv +54 -54
- package/core/plugins/kenaz/skills/ui-ux-pro-max/data/stacks/swiftui.csv +51 -51
- package/core/plugins/kenaz/skills/ui-ux-pro-max/data/stacks/vue.csv +50 -50
- package/core/plugins/kenaz/skills/ui-ux-pro-max/data/styles.csv +68 -68
- package/core/plugins/kenaz/skills/ui-ux-pro-max/data/typography.csv +57 -57
- package/core/plugins/kenaz/skills/ui-ux-pro-max/data/ui-reasoning.csv +101 -101
- package/core/plugins/kenaz/skills/ui-ux-pro-max/data/ux-guidelines.csv +99 -99
- package/core/plugins/kenaz/skills/ui-ux-pro-max/data/web-interface.csv +31 -31
- package/core/plugins/kenaz/skills/ui-ux-pro-max/scripts/core.py +253 -253
- package/core/plugins/kenaz/skills/ui-ux-pro-max/scripts/design_system.py +1067 -1067
- package/core/plugins/kenaz/skills/ui-ux-pro-max/scripts/search.py +106 -106
- package/lib/cli.js +11 -4
- package/package.json +11 -7
- package/vendor/install-kenaz-cli.js +18 -7
- package/core/.formation/legion/forge.yaml +0 -299
- package/core/.formation/legion/hive.yaml +0 -238
- package/core/.formation/squad/blitz.yaml +0 -192
- package/core/.formation/squad/strategy-tribunal.yaml +0 -354
- package/core/.formation/squad/strategy.yaml +0 -349
- package/core/.formation/squad/sweep.yaml +0 -208
- package/core/.formation/tools/broadcast.js +0 -103
- package/core/.formation/tools/dispatch-dryrun.test.js +0 -54
- package/core/.formation/tools/dispatch-notifier.js +0 -84
- package/core/.formation/tools/formations.js +0 -1203
- package/core/.formation/tools/headless-branch-recovery.test.js +0 -64
- package/core/.formation/tools/headless-dryrun.test.js +0 -79
- package/core/.formation/tools/headless-v2.js +0 -659
- package/core/.formation/tools/headless.js +0 -1071
- package/core/.formation/tools/legacy-scheduler.js +0 -1994
- package/core/.formation/tools/logger.js +0 -273
- package/core/.formation/tools/memory-loader.js +0 -422
- package/core/.formation/tools/process-state.js +0 -33
- package/core/.formation/tools/remote-conflict.js +0 -98
- package/core/.formation/tools/runner.js +0 -1332
- package/core/.formation/tools/task-utils.js +0 -344
- package/core/.formation/tools/task2028-headless-worktree.test.js +0 -112
- package/core/.formation/tools/tests/headless-mcp-args-plumbing.test.js +0 -123
- package/core/.formation/tools/worktree-leak.test.js +0 -162
- package/core/k-cli/dist/alaya/run.js +0 -91
- package/core/k-cli/dist/core/output.js +0 -24
- package/core/k-cli/dist/core/process.js +0 -38
- package/core/k-cli/dist/core/project.js +0 -80
- package/core/k-cli/dist/core/spawn.js +0 -268
- package/core/k-cli/dist/core/types.js +0 -2
- package/core/k-cli/dist/dashboard/update.js +0 -53
- package/core/k-cli/dist/dashboard/version.js +0 -20
- package/core/k-cli/dist/dispatch/run.js +0 -241
- package/core/k-cli/dist/dispatch/status.js +0 -103
- package/core/k-cli/dist/index.js +0 -283
- package/core/k-cli/dist/project/initialize.js +0 -301
- package/core/k-cli/dist/project/install.js +0 -89
- package/core/k-cli/dist/project/status.js +0 -138
- package/core/k-cli/dist/specialist/list.js +0 -100
- package/core/k-cli/dist/specialist/run.js +0 -93
- package/core/k-cli/dist/task/create.js +0 -194
- package/core/k-cli/dist/task/delete.js +0 -98
- package/core/k-cli/dist/task/get.js +0 -55
- package/core/k-cli/dist/task/list.js +0 -58
- package/core/k-cli/dist/task/submit.js +0 -156
- package/core/k-cli/dist/ygg/run.js +0 -51
- package/core/k-cli/node_modules/.bin/yaml +0 -16
- package/core/k-cli/node_modules/.bin/yaml.cmd +0 -17
- package/core/k-cli/node_modules/.bin/yaml.ps1 +0 -28
- package/core/k-cli/node_modules/.package-lock.json +0 -23
- package/core/k-cli/node_modules/yaml/LICENSE +0 -13
- package/core/k-cli/node_modules/yaml/README.md +0 -172
- package/core/k-cli/node_modules/yaml/bin.mjs +0 -11
- package/core/k-cli/node_modules/yaml/browser/dist/compose/compose-collection.js +0 -88
- package/core/k-cli/node_modules/yaml/browser/dist/compose/compose-doc.js +0 -43
- package/core/k-cli/node_modules/yaml/browser/dist/compose/compose-node.js +0 -109
- package/core/k-cli/node_modules/yaml/browser/dist/compose/compose-scalar.js +0 -86
- package/core/k-cli/node_modules/yaml/browser/dist/compose/composer.js +0 -217
- package/core/k-cli/node_modules/yaml/browser/dist/compose/resolve-block-map.js +0 -115
- package/core/k-cli/node_modules/yaml/browser/dist/compose/resolve-block-scalar.js +0 -198
- package/core/k-cli/node_modules/yaml/browser/dist/compose/resolve-block-seq.js +0 -49
- package/core/k-cli/node_modules/yaml/browser/dist/compose/resolve-end.js +0 -37
- package/core/k-cli/node_modules/yaml/browser/dist/compose/resolve-flow-collection.js +0 -207
- package/core/k-cli/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js +0 -223
- package/core/k-cli/node_modules/yaml/browser/dist/compose/resolve-props.js +0 -146
- package/core/k-cli/node_modules/yaml/browser/dist/compose/util-contains-newline.js +0 -34
- package/core/k-cli/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js +0 -26
- package/core/k-cli/node_modules/yaml/browser/dist/compose/util-flow-indent-check.js +0 -15
- package/core/k-cli/node_modules/yaml/browser/dist/compose/util-map-includes.js +0 -13
- package/core/k-cli/node_modules/yaml/browser/dist/doc/Document.js +0 -335
- package/core/k-cli/node_modules/yaml/browser/dist/doc/anchors.js +0 -71
- package/core/k-cli/node_modules/yaml/browser/dist/doc/applyReviver.js +0 -55
- package/core/k-cli/node_modules/yaml/browser/dist/doc/createNode.js +0 -88
- package/core/k-cli/node_modules/yaml/browser/dist/doc/directives.js +0 -176
- package/core/k-cli/node_modules/yaml/browser/dist/errors.js +0 -57
- package/core/k-cli/node_modules/yaml/browser/dist/index.js +0 -17
- package/core/k-cli/node_modules/yaml/browser/dist/log.js +0 -11
- package/core/k-cli/node_modules/yaml/browser/dist/nodes/Alias.js +0 -114
- package/core/k-cli/node_modules/yaml/browser/dist/nodes/Collection.js +0 -147
- package/core/k-cli/node_modules/yaml/browser/dist/nodes/Node.js +0 -38
- package/core/k-cli/node_modules/yaml/browser/dist/nodes/Pair.js +0 -36
- package/core/k-cli/node_modules/yaml/browser/dist/nodes/Scalar.js +0 -24
- package/core/k-cli/node_modules/yaml/browser/dist/nodes/YAMLMap.js +0 -144
- package/core/k-cli/node_modules/yaml/browser/dist/nodes/YAMLSeq.js +0 -113
- package/core/k-cli/node_modules/yaml/browser/dist/nodes/addPairToJSMap.js +0 -63
- package/core/k-cli/node_modules/yaml/browser/dist/nodes/identity.js +0 -36
- package/core/k-cli/node_modules/yaml/browser/dist/nodes/toJS.js +0 -37
- package/core/k-cli/node_modules/yaml/browser/dist/parse/cst-scalar.js +0 -214
- package/core/k-cli/node_modules/yaml/browser/dist/parse/cst-stringify.js +0 -61
- package/core/k-cli/node_modules/yaml/browser/dist/parse/cst-visit.js +0 -97
- package/core/k-cli/node_modules/yaml/browser/dist/parse/cst.js +0 -98
- package/core/k-cli/node_modules/yaml/browser/dist/parse/lexer.js +0 -717
- package/core/k-cli/node_modules/yaml/browser/dist/parse/line-counter.js +0 -39
- package/core/k-cli/node_modules/yaml/browser/dist/parse/parser.js +0 -967
- package/core/k-cli/node_modules/yaml/browser/dist/public-api.js +0 -102
- package/core/k-cli/node_modules/yaml/browser/dist/schema/Schema.js +0 -37
- package/core/k-cli/node_modules/yaml/browser/dist/schema/common/map.js +0 -17
- package/core/k-cli/node_modules/yaml/browser/dist/schema/common/null.js +0 -15
- package/core/k-cli/node_modules/yaml/browser/dist/schema/common/seq.js +0 -17
- package/core/k-cli/node_modules/yaml/browser/dist/schema/common/string.js +0 -14
- package/core/k-cli/node_modules/yaml/browser/dist/schema/core/bool.js +0 -19
- package/core/k-cli/node_modules/yaml/browser/dist/schema/core/float.js +0 -43
- package/core/k-cli/node_modules/yaml/browser/dist/schema/core/int.js +0 -38
- package/core/k-cli/node_modules/yaml/browser/dist/schema/core/schema.js +0 -23
- package/core/k-cli/node_modules/yaml/browser/dist/schema/json/schema.js +0 -62
- package/core/k-cli/node_modules/yaml/browser/dist/schema/tags.js +0 -96
- package/core/k-cli/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.js +0 -58
- package/core/k-cli/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js +0 -26
- package/core/k-cli/node_modules/yaml/browser/dist/schema/yaml-1.1/float.js +0 -46
- package/core/k-cli/node_modules/yaml/browser/dist/schema/yaml-1.1/int.js +0 -71
- package/core/k-cli/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js +0 -64
- package/core/k-cli/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js +0 -74
- package/core/k-cli/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js +0 -78
- package/core/k-cli/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.js +0 -39
- package/core/k-cli/node_modules/yaml/browser/dist/schema/yaml-1.1/set.js +0 -93
- package/core/k-cli/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.js +0 -101
- package/core/k-cli/node_modules/yaml/browser/dist/stringify/foldFlowLines.js +0 -146
- package/core/k-cli/node_modules/yaml/browser/dist/stringify/stringify.js +0 -129
- package/core/k-cli/node_modules/yaml/browser/dist/stringify/stringifyCollection.js +0 -153
- package/core/k-cli/node_modules/yaml/browser/dist/stringify/stringifyComment.js +0 -20
- package/core/k-cli/node_modules/yaml/browser/dist/stringify/stringifyDocument.js +0 -85
- package/core/k-cli/node_modules/yaml/browser/dist/stringify/stringifyNumber.js +0 -24
- package/core/k-cli/node_modules/yaml/browser/dist/stringify/stringifyPair.js +0 -150
- package/core/k-cli/node_modules/yaml/browser/dist/stringify/stringifyString.js +0 -336
- package/core/k-cli/node_modules/yaml/browser/dist/util.js +0 -11
- package/core/k-cli/node_modules/yaml/browser/dist/visit.js +0 -233
- package/core/k-cli/node_modules/yaml/browser/index.js +0 -5
- package/core/k-cli/node_modules/yaml/browser/package.json +0 -3
- package/core/k-cli/node_modules/yaml/dist/cli.d.ts +0 -8
- package/core/k-cli/node_modules/yaml/dist/cli.mjs +0 -201
- package/core/k-cli/node_modules/yaml/dist/compose/compose-collection.d.ts +0 -11
- package/core/k-cli/node_modules/yaml/dist/compose/compose-collection.js +0 -90
- package/core/k-cli/node_modules/yaml/dist/compose/compose-doc.d.ts +0 -7
- package/core/k-cli/node_modules/yaml/dist/compose/compose-doc.js +0 -45
- package/core/k-cli/node_modules/yaml/dist/compose/compose-node.d.ts +0 -29
- package/core/k-cli/node_modules/yaml/dist/compose/compose-node.js +0 -112
- package/core/k-cli/node_modules/yaml/dist/compose/compose-scalar.d.ts +0 -5
- package/core/k-cli/node_modules/yaml/dist/compose/compose-scalar.js +0 -88
- package/core/k-cli/node_modules/yaml/dist/compose/composer.d.ts +0 -63
- package/core/k-cli/node_modules/yaml/dist/compose/composer.js +0 -222
- package/core/k-cli/node_modules/yaml/dist/compose/resolve-block-map.d.ts +0 -6
- package/core/k-cli/node_modules/yaml/dist/compose/resolve-block-map.js +0 -117
- package/core/k-cli/node_modules/yaml/dist/compose/resolve-block-scalar.d.ts +0 -11
- package/core/k-cli/node_modules/yaml/dist/compose/resolve-block-scalar.js +0 -200
- package/core/k-cli/node_modules/yaml/dist/compose/resolve-block-seq.d.ts +0 -6
- package/core/k-cli/node_modules/yaml/dist/compose/resolve-block-seq.js +0 -51
- package/core/k-cli/node_modules/yaml/dist/compose/resolve-end.d.ts +0 -6
- package/core/k-cli/node_modules/yaml/dist/compose/resolve-end.js +0 -39
- package/core/k-cli/node_modules/yaml/dist/compose/resolve-flow-collection.d.ts +0 -7
- package/core/k-cli/node_modules/yaml/dist/compose/resolve-flow-collection.js +0 -209
- package/core/k-cli/node_modules/yaml/dist/compose/resolve-flow-scalar.d.ts +0 -10
- package/core/k-cli/node_modules/yaml/dist/compose/resolve-flow-scalar.js +0 -225
- package/core/k-cli/node_modules/yaml/dist/compose/resolve-props.d.ts +0 -23
- package/core/k-cli/node_modules/yaml/dist/compose/resolve-props.js +0 -148
- package/core/k-cli/node_modules/yaml/dist/compose/util-contains-newline.d.ts +0 -2
- package/core/k-cli/node_modules/yaml/dist/compose/util-contains-newline.js +0 -36
- package/core/k-cli/node_modules/yaml/dist/compose/util-empty-scalar-position.d.ts +0 -2
- package/core/k-cli/node_modules/yaml/dist/compose/util-empty-scalar-position.js +0 -28
- package/core/k-cli/node_modules/yaml/dist/compose/util-flow-indent-check.d.ts +0 -3
- package/core/k-cli/node_modules/yaml/dist/compose/util-flow-indent-check.js +0 -17
- package/core/k-cli/node_modules/yaml/dist/compose/util-map-includes.d.ts +0 -4
- package/core/k-cli/node_modules/yaml/dist/compose/util-map-includes.js +0 -15
- package/core/k-cli/node_modules/yaml/dist/doc/Document.d.ts +0 -141
- package/core/k-cli/node_modules/yaml/dist/doc/Document.js +0 -337
- package/core/k-cli/node_modules/yaml/dist/doc/anchors.d.ts +0 -24
- package/core/k-cli/node_modules/yaml/dist/doc/anchors.js +0 -76
- package/core/k-cli/node_modules/yaml/dist/doc/applyReviver.d.ts +0 -9
- package/core/k-cli/node_modules/yaml/dist/doc/applyReviver.js +0 -57
- package/core/k-cli/node_modules/yaml/dist/doc/createNode.d.ts +0 -17
- package/core/k-cli/node_modules/yaml/dist/doc/createNode.js +0 -90
- package/core/k-cli/node_modules/yaml/dist/doc/directives.d.ts +0 -49
- package/core/k-cli/node_modules/yaml/dist/doc/directives.js +0 -178
- package/core/k-cli/node_modules/yaml/dist/errors.d.ts +0 -21
- package/core/k-cli/node_modules/yaml/dist/errors.js +0 -62
- package/core/k-cli/node_modules/yaml/dist/index.d.ts +0 -25
- package/core/k-cli/node_modules/yaml/dist/index.js +0 -50
- package/core/k-cli/node_modules/yaml/dist/log.d.ts +0 -3
- package/core/k-cli/node_modules/yaml/dist/log.js +0 -19
- package/core/k-cli/node_modules/yaml/dist/nodes/Alias.d.ts +0 -29
- package/core/k-cli/node_modules/yaml/dist/nodes/Alias.js +0 -116
- package/core/k-cli/node_modules/yaml/dist/nodes/Collection.d.ts +0 -73
- package/core/k-cli/node_modules/yaml/dist/nodes/Collection.js +0 -151
- package/core/k-cli/node_modules/yaml/dist/nodes/Node.d.ts +0 -53
- package/core/k-cli/node_modules/yaml/dist/nodes/Node.js +0 -40
- package/core/k-cli/node_modules/yaml/dist/nodes/Pair.d.ts +0 -22
- package/core/k-cli/node_modules/yaml/dist/nodes/Pair.js +0 -39
- package/core/k-cli/node_modules/yaml/dist/nodes/Scalar.d.ts +0 -43
- package/core/k-cli/node_modules/yaml/dist/nodes/Scalar.js +0 -27
- package/core/k-cli/node_modules/yaml/dist/nodes/YAMLMap.d.ts +0 -53
- package/core/k-cli/node_modules/yaml/dist/nodes/YAMLMap.js +0 -147
- package/core/k-cli/node_modules/yaml/dist/nodes/YAMLSeq.d.ts +0 -60
- package/core/k-cli/node_modules/yaml/dist/nodes/YAMLSeq.js +0 -115
- package/core/k-cli/node_modules/yaml/dist/nodes/addPairToJSMap.d.ts +0 -4
- package/core/k-cli/node_modules/yaml/dist/nodes/addPairToJSMap.js +0 -65
- package/core/k-cli/node_modules/yaml/dist/nodes/identity.d.ts +0 -23
- package/core/k-cli/node_modules/yaml/dist/nodes/identity.js +0 -53
- package/core/k-cli/node_modules/yaml/dist/nodes/toJS.d.ts +0 -29
- package/core/k-cli/node_modules/yaml/dist/nodes/toJS.js +0 -39
- package/core/k-cli/node_modules/yaml/dist/options.d.ts +0 -350
- package/core/k-cli/node_modules/yaml/dist/parse/cst-scalar.d.ts +0 -64
- package/core/k-cli/node_modules/yaml/dist/parse/cst-scalar.js +0 -218
- package/core/k-cli/node_modules/yaml/dist/parse/cst-stringify.d.ts +0 -8
- package/core/k-cli/node_modules/yaml/dist/parse/cst-stringify.js +0 -63
- package/core/k-cli/node_modules/yaml/dist/parse/cst-visit.d.ts +0 -39
- package/core/k-cli/node_modules/yaml/dist/parse/cst-visit.js +0 -99
- package/core/k-cli/node_modules/yaml/dist/parse/cst.d.ts +0 -109
- package/core/k-cli/node_modules/yaml/dist/parse/cst.js +0 -112
- package/core/k-cli/node_modules/yaml/dist/parse/lexer.d.ts +0 -87
- package/core/k-cli/node_modules/yaml/dist/parse/lexer.js +0 -719
- package/core/k-cli/node_modules/yaml/dist/parse/line-counter.d.ts +0 -22
- package/core/k-cli/node_modules/yaml/dist/parse/line-counter.js +0 -41
- package/core/k-cli/node_modules/yaml/dist/parse/parser.d.ts +0 -84
- package/core/k-cli/node_modules/yaml/dist/parse/parser.js +0 -972
- package/core/k-cli/node_modules/yaml/dist/public-api.d.ts +0 -44
- package/core/k-cli/node_modules/yaml/dist/public-api.js +0 -107
- package/core/k-cli/node_modules/yaml/dist/schema/Schema.d.ts +0 -17
- package/core/k-cli/node_modules/yaml/dist/schema/Schema.js +0 -39
- package/core/k-cli/node_modules/yaml/dist/schema/common/map.d.ts +0 -2
- package/core/k-cli/node_modules/yaml/dist/schema/common/map.js +0 -19
- package/core/k-cli/node_modules/yaml/dist/schema/common/null.d.ts +0 -4
- package/core/k-cli/node_modules/yaml/dist/schema/common/null.js +0 -17
- package/core/k-cli/node_modules/yaml/dist/schema/common/seq.d.ts +0 -2
- package/core/k-cli/node_modules/yaml/dist/schema/common/seq.js +0 -19
- package/core/k-cli/node_modules/yaml/dist/schema/common/string.d.ts +0 -2
- package/core/k-cli/node_modules/yaml/dist/schema/common/string.js +0 -16
- package/core/k-cli/node_modules/yaml/dist/schema/core/bool.d.ts +0 -4
- package/core/k-cli/node_modules/yaml/dist/schema/core/bool.js +0 -21
- package/core/k-cli/node_modules/yaml/dist/schema/core/float.d.ts +0 -4
- package/core/k-cli/node_modules/yaml/dist/schema/core/float.js +0 -47
- package/core/k-cli/node_modules/yaml/dist/schema/core/int.d.ts +0 -4
- package/core/k-cli/node_modules/yaml/dist/schema/core/int.js +0 -42
- package/core/k-cli/node_modules/yaml/dist/schema/core/schema.d.ts +0 -1
- package/core/k-cli/node_modules/yaml/dist/schema/core/schema.js +0 -25
- package/core/k-cli/node_modules/yaml/dist/schema/json/schema.d.ts +0 -2
- package/core/k-cli/node_modules/yaml/dist/schema/json/schema.js +0 -64
- package/core/k-cli/node_modules/yaml/dist/schema/json-schema.d.ts +0 -69
- package/core/k-cli/node_modules/yaml/dist/schema/tags.d.ts +0 -48
- package/core/k-cli/node_modules/yaml/dist/schema/tags.js +0 -99
- package/core/k-cli/node_modules/yaml/dist/schema/types.d.ts +0 -92
- package/core/k-cli/node_modules/yaml/dist/schema/yaml-1.1/binary.d.ts +0 -2
- package/core/k-cli/node_modules/yaml/dist/schema/yaml-1.1/binary.js +0 -70
- package/core/k-cli/node_modules/yaml/dist/schema/yaml-1.1/bool.d.ts +0 -7
- package/core/k-cli/node_modules/yaml/dist/schema/yaml-1.1/bool.js +0 -29
- package/core/k-cli/node_modules/yaml/dist/schema/yaml-1.1/float.d.ts +0 -4
- package/core/k-cli/node_modules/yaml/dist/schema/yaml-1.1/float.js +0 -50
- package/core/k-cli/node_modules/yaml/dist/schema/yaml-1.1/int.d.ts +0 -5
- package/core/k-cli/node_modules/yaml/dist/schema/yaml-1.1/int.js +0 -76
- package/core/k-cli/node_modules/yaml/dist/schema/yaml-1.1/merge.d.ts +0 -9
- package/core/k-cli/node_modules/yaml/dist/schema/yaml-1.1/merge.js +0 -68
- package/core/k-cli/node_modules/yaml/dist/schema/yaml-1.1/omap.d.ts +0 -22
- package/core/k-cli/node_modules/yaml/dist/schema/yaml-1.1/omap.js +0 -77
- package/core/k-cli/node_modules/yaml/dist/schema/yaml-1.1/pairs.d.ts +0 -10
- package/core/k-cli/node_modules/yaml/dist/schema/yaml-1.1/pairs.js +0 -82
- package/core/k-cli/node_modules/yaml/dist/schema/yaml-1.1/schema.d.ts +0 -1
- package/core/k-cli/node_modules/yaml/dist/schema/yaml-1.1/schema.js +0 -41
- package/core/k-cli/node_modules/yaml/dist/schema/yaml-1.1/set.d.ts +0 -28
- package/core/k-cli/node_modules/yaml/dist/schema/yaml-1.1/set.js +0 -96
- package/core/k-cli/node_modules/yaml/dist/schema/yaml-1.1/timestamp.d.ts +0 -6
- package/core/k-cli/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js +0 -105
- package/core/k-cli/node_modules/yaml/dist/stringify/foldFlowLines.d.ts +0 -34
- package/core/k-cli/node_modules/yaml/dist/stringify/foldFlowLines.js +0 -151
- package/core/k-cli/node_modules/yaml/dist/stringify/stringify.d.ts +0 -21
- package/core/k-cli/node_modules/yaml/dist/stringify/stringify.js +0 -132
- package/core/k-cli/node_modules/yaml/dist/stringify/stringifyCollection.d.ts +0 -17
- package/core/k-cli/node_modules/yaml/dist/stringify/stringifyCollection.js +0 -155
- package/core/k-cli/node_modules/yaml/dist/stringify/stringifyComment.d.ts +0 -10
- package/core/k-cli/node_modules/yaml/dist/stringify/stringifyComment.js +0 -24
- package/core/k-cli/node_modules/yaml/dist/stringify/stringifyDocument.d.ts +0 -4
- package/core/k-cli/node_modules/yaml/dist/stringify/stringifyDocument.js +0 -87
- package/core/k-cli/node_modules/yaml/dist/stringify/stringifyNumber.d.ts +0 -2
- package/core/k-cli/node_modules/yaml/dist/stringify/stringifyNumber.js +0 -26
- package/core/k-cli/node_modules/yaml/dist/stringify/stringifyPair.d.ts +0 -3
- package/core/k-cli/node_modules/yaml/dist/stringify/stringifyPair.js +0 -152
- package/core/k-cli/node_modules/yaml/dist/stringify/stringifyString.d.ts +0 -9
- package/core/k-cli/node_modules/yaml/dist/stringify/stringifyString.js +0 -338
- package/core/k-cli/node_modules/yaml/dist/test-events.d.ts +0 -4
- package/core/k-cli/node_modules/yaml/dist/test-events.js +0 -134
- package/core/k-cli/node_modules/yaml/dist/util.d.ts +0 -16
- package/core/k-cli/node_modules/yaml/dist/util.js +0 -28
- package/core/k-cli/node_modules/yaml/dist/visit.d.ts +0 -102
- package/core/k-cli/node_modules/yaml/dist/visit.js +0 -236
- package/core/k-cli/node_modules/yaml/package.json +0 -97
- package/core/k-cli/node_modules/yaml/util.js +0 -2
|
@@ -1,349 +0,0 @@
|
|
|
1
|
-
skill: strategy
|
|
2
|
-
formation: squad
|
|
3
|
-
version: "3.0"
|
|
4
|
-
|
|
5
|
-
name: Strategy Squad โ Evolution Model
|
|
6
|
-
description: |
|
|
7
|
-
ไธไบบ็จ็ซๅๆๅไธไปฝ็ญ็ฅ๏ผๅๅธถไธๅ่ฆ่งใ
|
|
8
|
-
v3.0: ้ฒๅๆจกๅ๏ผๅไปฃ่พฏ่ซๆจกๅ๏ผใ
|
|
9
|
-
ๆถๆงๅธซ่จญ่จ่ทฏ็ท โ ็ ดๅฃ่
ๆพ่ดๅฝ็ผบ้ท โ ้ฒๅ่
ไฟฎๆญฃ็ญ็ฅใ
|
|
10
|
-
ๅฎ่ผชไธฆ่ก + Synthesis๏ผไธ่พฏ่ซใ
|
|
11
|
-
|
|
12
|
-
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
13
|
-
# ๆ ธๅฟๅๅ๏ผๆๆๆๅกๅ
ฑ็จ๏ผ
|
|
14
|
-
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
15
|
-
|
|
16
|
-
principles:
|
|
17
|
-
focus: |
|
|
18
|
-
ๅช่จ่ซ็ญ็ฅ็ๅฏ่กๆง่ไธๅฏ่กๆงใ
|
|
19
|
-
ไธๅฏ่ก็้จๅ๏ผๅฟ
้ ๆๅบๅฆไฝไฟฎๆญฃไฝฟๅ
ถๅฏ่กใ
|
|
20
|
-
forbidden:
|
|
21
|
-
- ไธ่จ่ซๆๆฌ๏ผๆ้ใtokenใไบบๅใAPI ่ฒป็จใๅทฅๆไผฐ็ฎ๏ผ
|
|
22
|
-
- ไธ่ชชใๅคช่ค้ใใไธๅผๅพใใๅ
ๆธฌ้ๅ่ชชใ
|
|
23
|
-
- ไธๅ ROI ๅๆใๆๆฌๆ็่ฉไผฐ
|
|
24
|
-
- ไธๅ ็บใๆฒๆๆญทๅฒๆธๆใๅฐฑๅฆๅฎๆนๅ
|
|
25
|
-
- ไธๅปบ่ญฐใไป้บผ้ฝไธๅใ
|
|
26
|
-
required:
|
|
27
|
-
- ๆฏๅ่ซ้ปๅฟ
้ ๆๆบ็ขผ่ญๆ๏ผๆชๆก่ทฏๅพ + ่ก่๏ผ
|
|
28
|
-
- ่ชชใไธๅฏ่กใๆๅฟ
้ ้ไธใๅฆไฝไฟฎๆญฃๆๅฏ่กใ
|
|
29
|
-
- ่ชชใๆ้ขจ้ชใๆๅฟ
้ ้ไธใde-risk ๆนๆณใ
|
|
30
|
-
- ๅๅใๆ่กไธไธๅฏ่ฝใๅใ้ๆฒ่ฉฆ้ใ
|
|
31
|
-
|
|
32
|
-
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
33
|
-
# ๅๆๆจกๅผ
|
|
34
|
-
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
35
|
-
|
|
36
|
-
analysis_mode:
|
|
37
|
-
default: innovation
|
|
38
|
-
modes:
|
|
39
|
-
optimization:
|
|
40
|
-
description: |
|
|
41
|
-
ๅชๅ็พๆ็ณป็ตฑใๆบ็ขผๆฏ ground truthใ
|
|
42
|
-
่็ฆ๏ผ็พๆๆถๆง็้ๅถใๆดๅฑ่ทฏๅพใ็ถ้ ธ็ช็ ดใ
|
|
43
|
-
innovation:
|
|
44
|
-
description: |
|
|
45
|
-
ๆข็ดขๆฐๆนๅใ็ญ็ฅๆไปถๆฏ ground truthใ
|
|
46
|
-
่็ฆ๏ผๆ่กๅฏ่กๆงใ้้ตๅ่จญ้ฉ่ญใๆๅฐๅฏฆ้ฉ่จญ่จใ
|
|
47
|
-
|
|
48
|
-
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
49
|
-
# Squad ๅ
ฑ็จ่จญๅฎ
|
|
50
|
-
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
51
|
-
|
|
52
|
-
role:
|
|
53
|
-
identity: |
|
|
54
|
-
ไฝ ๆฏ Strategy Squad ็่ชฟๅบฆ่
ใ
|
|
55
|
-
ไฝ ๆดพๅบไธๅ่ฆ่งไธๅ็ๅๆ่
๏ผๅ่ช็จ็ซ่ฉไผฐๅไธไปฝ็ญ็ฅใ
|
|
56
|
-
ๆถๆงๅธซ่จญ่จๆไฝณ่ทฏ็ท๏ผ็ ดๅฃ่
ๆพๅบ่ดๅฝ็ผบ้ท๏ผ้ฒๅ่
ไฟฎๆญฃ็ญ็ฅใ
|
|
57
|
-
ไฝ ไธๆๅฐ็ต่ซ๏ผไฝ ๆดๅไธ่
็ขๅบ้ฒๅๅพ็็ญ็ฅใ
|
|
58
|
-
priority: |
|
|
59
|
-
็ฎๆจๆฏ็ขๅบไธไปฝใ้ฒๅๅพ็็ญ็ฅใ๏ผ
|
|
60
|
-
ๅฏ่ก็่ทฏ็ท + ๅทฒ่ญๅฅ็็ผบ้ท + ้ๅฐ็ผบ้ท็ไฟฎๆญฃ + ้ฉ่ญๅฏฆ้ฉ่จญ่จใ
|
|
61
|
-
|
|
62
|
-
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
63
|
-
# ๆๅ็ญ็ฅ
|
|
64
|
-
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
65
|
-
|
|
66
|
-
split:
|
|
67
|
-
strategy: by-lens
|
|
68
|
-
description: |
|
|
69
|
-
ไธ็จฎๅๆ้้ก๏ผๅไธไปฝ่ผธๅ
ฅใ
|
|
70
|
-
ๆถๆงๅธซ็ใๆ้บผๅๅฐใ๏ผ็ ดๅฃ่
็ใๅช่ฃกๆๆทใ๏ผ้ฒๅ่
็ใๆ้บผไฟฎๆญฃใใ
|
|
71
|
-
ไธ่
ไบไธ้่จ๏ผๅ่ช็จ็ซ็ขๅบใ
|
|
72
|
-
rules:
|
|
73
|
-
- ไธๅๆๅก่ฎๅฐๅฎๅ
จ็ธๅ็ brief ๅ shared_context
|
|
74
|
-
- ๆฏๅๆๅกๆๆ็ขบไธๅ็ๅๆ้้ก
|
|
75
|
-
- ๆๅกไธ็ฅ้ๅ
ถไปๆๅก็ๅญๅจ
|
|
76
|
-
- ๆๅก็ๅๆๅฏไปฅๅๆฟ๏ผๆดๅๆฏ Lead ็ไบ
|
|
77
|
-
|
|
78
|
-
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
79
|
-
# ๆๅกๅฎ็พฉ
|
|
80
|
-
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
81
|
-
|
|
82
|
-
members:
|
|
83
|
-
- id: architect
|
|
84
|
-
name: "Architect๏ผๆถๆงๅธซ๏ผ"
|
|
85
|
-
skill: do
|
|
86
|
-
role: |
|
|
87
|
-
ไฝ ็ไปปๅ๏ผๅ่จญ้ๅ็ญ็ฅไธๅฎๆๅท่ก๏ผ่จญ่จๆ็ๆณ็ๆ่ก่ทฏ็ทใ
|
|
88
|
-
|
|
89
|
-
ไฝ ๅชๅ็ญไธๅๅ้ก๏ผใๅฆๆ่ฆๅๅฐๆๅฅฝ๏ผๅ
ท้ซๆ้บผๅ๏ผใ
|
|
90
|
-
|
|
91
|
-
ไฝ ็ๅๆ้้ก๏ผ
|
|
92
|
-
- ่ฎๆบ็ขผ๏ผ็่งฃ็พๆๆถๆง็็ๅฏฆ็ๆ
|
|
93
|
-
- ่จญ่จๅฎๆด็ๆ่ก่ทฏ็ทๅ๏ผๅพ็พๅจๅฐ็ฎๆจ็ๆ
๏ผ
|
|
94
|
-
- ่ญๅฅ้้ตๆ่กๆฑบ็ญ้ป๏ผๆฏๅๆฑบ็ญๅๅบ้ธ้
ๅๆจ่ฆ๏ผ
|
|
95
|
-
- ๅๅบๆๆๅฟ
้ ๆ็ซ็ๅ่จญ๏ผๆจ่จๆฏๅๅ่จญ็็ฝฎไฟกๅบฆ๏ผ
|
|
96
|
-
- ๅฏซๅบ้้ตไปฃ็ขผ็ๆฎต๏ผ่ฝ็ดๆฅ็จ็ไปฃ็ขผ๏ผไธๆฏๅฝไปฃ็ขผ๏ผ
|
|
97
|
-
- ๆจ่จๅ
ๆฑบๆขไปถ๏ผใๅ B ไนๅๅฟ
้ ๅ
ๅฎๆ Aใ
|
|
98
|
-
|
|
99
|
-
ไฝ ็้ขจๆ ผ๏ผ
|
|
100
|
-
่จญ่จๅธซๆ็ถญใ็ซ่ๅใๆจ่ทฏๅพใๅไพ่ณดใ
|
|
101
|
-
ไธ่ณช็ๆนๅๅฐไธๅฐ๏ผๅช็ฎกๆ้บผๅๅฐๆๅฅฝใ
|
|
102
|
-
mode_behavior:
|
|
103
|
-
optimization: |
|
|
104
|
-
่็ฆ็พๆๆถๆง็ๆผ้ฒ่ทฏๅพใ
|
|
105
|
-
ๆจ่จใๅฏไปฅ็ดๆฅๅพฉ็จใvsใ้่ฆ้ๅฏซใ็ๅ
ไปถใ
|
|
106
|
-
่จญ่จๅๅพ็ธๅฎน็้ท็งป่ทฏๅพใ
|
|
107
|
-
innovation: |
|
|
108
|
-
่็ฆๆๅฐๅฏ้ฉ่ญๅๅ๏ผMVP๏ผใ
|
|
109
|
-
่จญ่จๆๅฐ prototype ไพ้ฉ่ญๆ ธๅฟๅ่จญใ
|
|
110
|
-
ๆจ่จใๆ ธๅฟ่ทฏๅพใvsใๅฏๅปถๅพ่ฟญไปฃใ็้จๅใ
|
|
111
|
-
behavior:
|
|
112
|
-
- ๅ
่ฎ brief ็่งฃ็ญ็ฅ็ฎๆจ
|
|
113
|
-
- ่ฎๆบ็ขผ็่งฃ็พๆๆถๆง๏ผ่จ้ๆชๆก่ทฏๅพๅ่ก่๏ผ
|
|
114
|
-
- ๅๅบๅพ็พ็ๅฐ็ฎๆจ็ๅฎๆด่ทฏ็ทๅ
|
|
115
|
-
- ๆฏๅๆญฅ้ฉๆจ่จ๏ผๅ
ๆฑบๆขไปถใ้้ตๅ่จญใๆ่ก้ธๅ
|
|
116
|
-
- ๅฏซๅบ้้ตๆนๅ็ before/after ไปฃ็ขผ
|
|
117
|
-
- ็ซๅบๆถๆงๆผ้ฒๅ๏ผASCII๏ผ
|
|
118
|
-
- ๅๅบๆๆๅ่จญ๏ผๆจ่จ็ฝฎไฟกๅบฆ๏ผ้ซ/ไธญ/ไฝ๏ผ
|
|
119
|
-
output: |
|
|
120
|
-
ๆถๆงๅ ฑๅ๏ผๅฏซๅ
ฅ .formation/reports/{session}/architect.md
|
|
121
|
-
|
|
122
|
-
- id: breaker
|
|
123
|
-
name: "Breaker๏ผ็ ดๅฃ่
๏ผ"
|
|
124
|
-
skill: do
|
|
125
|
-
role: |
|
|
126
|
-
ไฝ ็ไปปๅ๏ผๆพๅบ้ๅ็ญ็ฅๆๆๆๅคฑๆ็ๅฐๆนใ
|
|
127
|
-
|
|
128
|
-
ไฝ ๅชๅ็ญไธๅๅ้ก๏ผใ้ๅ็ญ็ฅๅช่ฃกๆๆท๏ผใ
|
|
129
|
-
|
|
130
|
-
ไฝ ็ๅๆ้้ก๏ผ
|
|
131
|
-
- ๆฏๅๅ่จญ้ไธ้ฉ่ญ๏ผ็จๆบ็ขผ่ญๆๅฎๆฏๅฐ็้ๆฏ้ฏ็
|
|
132
|
-
- ๆพๅบ่ดๅฝ็ผบ้ท๏ผๅชไบๅ้กๆๅฐ่ดๆดๅ็ญ็ฅๅคฑๆ๏ผ
|
|
133
|
-
- ๆพๅบ้ฑ่ไพ่ณด๏ผ็ญ็ฅๆฒๆๅฐไฝๅฟ
้ ๅญๅจ็ๆขไปถ
|
|
134
|
-
- ๆพๅบ้็ๆ
ๆณ๏ผๆญฃๅธธๆ
ๆณๅฏ่กไฝๆฅต็ซฏๆ
ๆณๆๅดฉๆฝฐ็้ป
|
|
135
|
-
- ๅๅใๆ่กไธไธๅฏ่ฝใๅใ้ๆฒ่ฉฆ้ไฝๅฏ่ฝๅฏ่กใ
|
|
136
|
-
|
|
137
|
-
้้ต่ฆๅ๏ผ
|
|
138
|
-
- ๆฏๅ็ผบ้ทๅฟ
้ ้ไธ de-risk ๆนๆณ๏ผใๅฆไฝ้ไฝ้ๅ้ขจ้ชใ๏ผ
|
|
139
|
-
- ไธ่ฝๅช่ชชใ้ไธ่กใ๏ผๅฟ
้ ่ชชใ้ไธ่ก๏ผไฝๅฆๆๆนๆ X ๅฐฑๅฏ่กใ
|
|
140
|
-
- ไธ่จ่ซๆๆฌใใๅคช่ฑๆ้ใไธๆฏ็ผบ้ท๏ผใๆ่กไธๅไธๅฐใๆๆฏใ
|
|
141
|
-
|
|
142
|
-
ไฝ ็้ขจๆ ผ๏ผ
|
|
143
|
-
ๅฃๅๆธฌ่ฉฆๅกใๆพๆท่ฃ้ป๏ผไฝไนๆไพไฟฎ่ฃๆนๆกใ
|
|
144
|
-
ไฝ ๆฏ็ญ็ฅ็ๆตไบบ๏ผไฝไฝ ็็ฎๆจๆฏ่ฎ็ญ็ฅ่ฎๆดๅผทใ
|
|
145
|
-
mode_behavior:
|
|
146
|
-
optimization: |
|
|
147
|
-
้ฉ่ญๆฏๅใๅฏๅพฉ็จใ็ๅฎฃ็จฑโโ็็่ฝ็ดๆฅ็จๅ๏ผ
|
|
148
|
-
ๆพๅบๅๅพ็ธๅฎน็็ ดๅฃ้ปใ
|
|
149
|
-
ๆชขๆฅ้ท็งป่ทฏๅพไธญ็ๆธๆๅฎๆดๆง้ขจ้ชใ
|
|
150
|
-
innovation: |
|
|
151
|
-
ไธ็จใๆฒๆๆญทๅฒๆธๆใไพๅฆๅฎๆนๅใ
|
|
152
|
-
่็ฆๅจ๏ผๆ่กไธ็ๆญฃๅไธๅฐ็้็คๆฏไป้บผ๏ผ
|
|
153
|
-
ๅๅใไธๅฏ่ฝใๅใๆฒ่ฉฆ้ใใ
|
|
154
|
-
ๅฐๆฏๅใๆฒ่ฉฆ้ใ็้จๅ๏ผ่จญ่จๆๅฐ้ฉ่ญๅฏฆ้ฉใ
|
|
155
|
-
behavior:
|
|
156
|
-
- ๅ
่ฎ brief๏ผๅๅบๆๆๆ็คบๅๆ็คบ็ๅ่จญ
|
|
157
|
-
- ้ไธ่ฎๆบ็ขผ้ฉ่ญๅ่จญ๏ผ่ก่ใไปฃ็ขผ็ๆฎต๏ผ
|
|
158
|
-
- ๅ้ก๏ผๅทฒ้ฉ่ญ / ๅทฒๆจ็ฟป / ้ๅฏฆ้ฉ้ฉ่ญ
|
|
159
|
-
- ๅฐๆฏๅ่ดๅฝ็ผบ้ท๏ผๆ่ฟฐๅคฑๆๅ ดๆฏ + ๆๅบ de-risk ๆนๆณ
|
|
160
|
-
- ๅฐๆฏๅ้ฑ่ไพ่ณด๏ผๆๅบ็ผบๅคฑ็ๅๆ + ๅปบ่ญฐๅฆไฝ่ฃ้ฝ
|
|
161
|
-
- ๅฝ็ธฝ๏ผ่ดๅฝ็ผบ้ทๆธ
ๅฎ + de-risk ๆนๆก + ้่ฆๅฏฆ้ฉ้ฉ่ญ็ๅ่จญ
|
|
162
|
-
output: |
|
|
163
|
-
็ ดๅฃๅ ฑๅ๏ผๅฏซๅ
ฅ .formation/reports/{session}/breaker.md
|
|
164
|
-
|
|
165
|
-
- id: evolver
|
|
166
|
-
name: "Evolver๏ผ้ฒๅ่
๏ผ"
|
|
167
|
-
skill: do
|
|
168
|
-
role: |
|
|
169
|
-
ไฝ ็ไปปๅ๏ผๅ่จญๅๅง็ญ็ฅๆ็ผบ้ท๏ผ่จญ่จ้ฒๅ็ๆฌใ
|
|
170
|
-
|
|
171
|
-
ไฝ ๅชๅ็ญไธๅๅ้ก๏ผใๆ้บผไฟฎๆญฃ้ๅ็ญ็ฅไฝฟๅ
ถไธๅฎ่ฝๆๅ๏ผใ
|
|
172
|
-
|
|
173
|
-
ไฝ ็ๅๆ้้ก๏ผ
|
|
174
|
-
- ็ญ็ฅ็ๆฏๅๆ ธๅฟ็ตไปถ๏ผๆณๅบ่ณๅฐไธๅๆฟไปฃๆนๆก
|
|
175
|
-
- ่จญ่จ fallback ่ทฏๅพ๏ผใๅฆๆ A ๆนๆกๅคฑๆ๏ผ่ชๅๅๆๅฐ Bใ
|
|
176
|
-
- ่จญ่จๆๅฐ้ฉ่ญๅฏฆ้ฉ๏ผ็จๆๅฐ็ๆญฅ้ฉ้ฉ่ญๆ้้ต็ๅ่จญ
|
|
177
|
-
- ๆพๅบ็ญ็ฅ็ใๆๅผฑ็ฐ็ฏใ๏ผๆๅบๅผทๅๆนๆก
|
|
178
|
-
- ๆณๅบๅๅง็ญ็ฅๆฒ่ๆ
ฎๅฐ็ๆฐๅฏ่ฝๆง
|
|
179
|
-
|
|
180
|
-
้้ต่ฆๅ๏ผ
|
|
181
|
-
- ๆฏๅไฟฎๆญฃๅฟ
้ ๆๆบ็ขผไพๆ๏ผไธ่ฝ็ฉบๆณ๏ผ
|
|
182
|
-
- ๆฟไปฃๆนๆกๅฟ
้ ๅ
ท้ซๅฐๅฏๅท่ก๏ผไธๆฏใๆๅๆนๆณใ๏ผ่ๆฏใๆๆ X ๆนๆณ๏ผๅ
ท้ซไปฃ็ขผๅฆไธใ๏ผ
|
|
183
|
-
- ๅๆกไธ่ฝๆฏใๆพๆฃใโโๅฟ
้ ๆฏๅฆไธๆขๅฏ่ก่ทฏๅพ
|
|
184
|
-
|
|
185
|
-
ไฝ ็้ขจๆ ผ๏ผ
|
|
186
|
-
้ฒๅ็็ฉๅญธๅฎถใ็ญ็ฅๆฏ็็ฉ๏ผ็ฐๅข๏ผๆบ็ขผใๆถๆง้ๅถ๏ผๆฏ้ธๆๅฃๅใ
|
|
187
|
-
ไฝ ็ๅทฅไฝๆฏ่ฎ็ญ็ฅใ้ฉๆ็ฐๅขใ๏ผ่้่ณช็็ฐๅข็บไป้บผ้ๆจฃใ
|
|
188
|
-
mode_behavior:
|
|
189
|
-
optimization: |
|
|
190
|
-
ๆพๅบ็พๆ็ณป็ตฑไธญ่ขซๅฟฝ็ฅ็ๅฏๅพฉ็จๅ
ไปถใ
|
|
191
|
-
ๆๅบใๆผธ้ฒๅผ้ฒๅใ่ทฏๅพ๏ผๆฏๆญฅ้ฝ่ฝ็จ็ซไบคไปๅนๅผ๏ผใ
|
|
192
|
-
่จญ่จๅฎๅ
จ็ๅ้ๆฉๅถใ
|
|
193
|
-
innovation: |
|
|
194
|
-
่็ฆๅจๆ ธๅฟๅ่จญ็้ฉ่ญๅฏฆ้ฉ่จญ่จใ
|
|
195
|
-
็บๆฏๅไธ็ขบๅฎ็ๅ่จญ่จญ่จ A/B ๆนๆกใ
|
|
196
|
-
ๆๅบใๆๅฐๅญๆดป็ญ็ฅใโโๅณไฝฟไธๅๅ่จญๆฏ้ฏ็๏ผ็ญ็ฅไป่ฝๆๅ็็ๆฌใ
|
|
197
|
-
behavior:
|
|
198
|
-
- ๅ
่ฎ brief ็่งฃๅๅง็ญ็ฅ
|
|
199
|
-
- ่ฎๆบ็ขผๆพๅบ้ๅถๅๆฉๆ๏ผ่จ้่ทฏๅพๅ่ก่๏ผ
|
|
200
|
-
- ็บๆฏๅๆ ธๅฟ็ตไปถ่จญ่จ๏ผไธปๆนๆก + ๅๆก
|
|
201
|
-
- ่จญ่จๆๅฐ้ฉ่ญๅฏฆ้ฉ๏ผ้ฉ่ญๆ้้ต็ 1-3 ๅๅ่จญ๏ผ
|
|
202
|
-
- ๆพๅบๅๅง็ญ็ฅ็็ฒๅ๏ผๆฒ่ๆ
ฎๅฐ็ๅฏ่ฝๆง๏ผ
|
|
203
|
-
- ็ขๅบ๏ผ้ฒๅ็ญ็ฅ = ๅๅง็ญ็ฅ + ไฟฎๆญฃ + ๅๆก + ้ฉ่ญๅฏฆ้ฉ
|
|
204
|
-
output: |
|
|
205
|
-
้ฒๅๅ ฑๅ๏ผๅฏซๅ
ฅ .formation/reports/{session}/evolver.md
|
|
206
|
-
|
|
207
|
-
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
208
|
-
# ๅ
ฑไบซไธไธๆ
|
|
209
|
-
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
210
|
-
|
|
211
|
-
shared_context:
|
|
212
|
-
description: |
|
|
213
|
-
ไธๅๆๅก่ฎๅฐๅฎๅ
จ็ธๅ็ brief ๅๆบ็ขผๅ่่ทฏๅพใ
|
|
214
|
-
ไปๅไธ็ฅ้ๅ
ถไปไบบ็ๅญๅจ๏ผๅ่ช็จ็ซๅๆใ
|
|
215
|
-
includes:
|
|
216
|
-
brief: |
|
|
217
|
-
ๅๆๅฐ่ฑก็ๅฎๆด brief๏ผ็ฑ Formation Lead ๆณจๅ
ฅ๏ผใ
|
|
218
|
-
ๆๅกๅฟ
้ ๅ
่ฎๅ้ไปฝ brief๏ผๅ่ฎๆบ็ขผ้ฉ่ญใ
|
|
219
|
-
source_paths: |
|
|
220
|
-
็ธ้ๆบ็ขผ่ทฏๅพ๏ผ็ฑ Formation Lead ๆ นๆ brief ๅ
งๅฎนๅกซๅ
ฅ๏ผใ
|
|
221
|
-
ๆๅกๆ่ช่ก่ฎๅ้ไบๆชๆก้ฒ่ก้ฉ่ญใ
|
|
222
|
-
analysis_target: |
|
|
223
|
-
้ๆฏไธๅ AI Agent ๅไฝ็ณป็ตฑ๏ผKenaz Dashboard Multi-Agent Scheduler๏ผใ
|
|
224
|
-
ๅๆๅฐ่ฑกๆฏ็ณป็ตฑ็ๆ็จใ่ก็ชๅคๅฎใ้ๆฉๅถ็ญๅ
ง้จๆถๆงใ
|
|
225
|
-
ๆๆ่ฉไผฐไปฅ AI Agent ่ฝๅ็บๅบๆบ๏ผไธไผฐ็ฎไบบ้กๅทฅๆใ
|
|
226
|
-
|
|
227
|
-
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
228
|
-
# ๆๆๆดๅ็ญ็ฅ
|
|
229
|
-
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
230
|
-
|
|
231
|
-
merge:
|
|
232
|
-
strategy: evolve-and-validate
|
|
233
|
-
description: |
|
|
234
|
-
ไธๆฏๆพๅ
ฑ่ญ๏ผๆฏ็ขๅบ้ฒๅ็ญ็ฅใ
|
|
235
|
-
่ฎๅไธไปฝๅ ฑๅ๏ผๆดๅๆไธไปฝๅฏๅท่ก็้ฒๅ็ญ็ฅใ
|
|
236
|
-
steps:
|
|
237
|
-
- step: ๆถ้ๅ ฑๅ
|
|
238
|
-
action: |
|
|
239
|
-
ๆถ้ไธไปฝๅ ฑๅ๏ผarchitect.md, breaker.md, evolver.mdใ
|
|
240
|
-
|
|
241
|
-
- step: ๆๅๅฏ่ก่ทฏ็ท
|
|
242
|
-
action: |
|
|
243
|
-
ๅพ Architect ๅ ฑๅไธญๆๅ๏ผ
|
|
244
|
-
- ๅฎๆดๆ่ก่ทฏ็ทๅ
|
|
245
|
-
- ้้ตๅ่จญๆธ
ๅฎ๏ผๅซ็ฝฎไฟกๅบฆ๏ผ
|
|
246
|
-
- ๅ
ๆฑบๆขไปถๅไพ่ณด้ไฟ
|
|
247
|
-
|
|
248
|
-
- step: ๆจ่จ็ผบ้ท
|
|
249
|
-
action: |
|
|
250
|
-
็จ Breaker ๅ ฑๅๆจ่จ Architect ่ทฏ็ทไธญ็ๅ้ก๏ผ
|
|
251
|
-
- ๅชไบๅ่จญ่ขซๆจ็ฟป๏ผ๏ผ้่ญๆ๏ผ
|
|
252
|
-
- ๅชไบๆญฅ้ฉๆๅคฑๆ๏ผ๏ผ้ๅคฑๆๅ ดๆฏ๏ผ
|
|
253
|
-
- ๅชไบไพ่ณดไธๅญๅจ๏ผ๏ผ้ๆบ็ขผ่ญๆ๏ผ
|
|
254
|
-
ๆฏๅ็ผบ้ท้ไธ Breaker ๆๅบ็ de-risk ๆนๆณใ
|
|
255
|
-
|
|
256
|
-
- step: ๆณจๅ
ฅไฟฎๆญฃ
|
|
257
|
-
action: |
|
|
258
|
-
็จ Evolver ๅ ฑๅไฟฎๆญฃ่ทฏ็ท๏ผ
|
|
259
|
-
- ่ขซๆจ็ฟป็ๅ่จญ โ ๆก็จ Evolver ็ๆฟไปฃๆนๆก
|
|
260
|
-
- ๆๅคฑๆ็ๆญฅ้ฉ โ ๆก็จ Evolver ็ fallback
|
|
261
|
-
- ไธ็ขบๅฎ็ๅ่จญ โ ๆก็จ Evolver ็้ฉ่ญๅฏฆ้ฉ่จญ่จ
|
|
262
|
-
|
|
263
|
-
- step: ็ขๅบ้ฒๅ็ญ็ฅ
|
|
264
|
-
action: |
|
|
265
|
-
ๆดๅๅ ฑๅๅฏซๅ
ฅ .formation/reports/{session}/synthesis.md
|
|
266
|
-
ๆ ผๅผ๏ผ
|
|
267
|
-
- ้ฒๅ่ทฏ็ทๅ๏ผArchitect ่ทฏ็ท + Breaker ๆจ่จ + Evolver ไฟฎๆญฃ๏ผ
|
|
268
|
-
- ่ดๅฝ็ผบ้ท่ไฟฎๆญฃๆนๆก๏ผBreaker ็ผบ้ท โ Evolver ไฟฎๆญฃ๏ผ
|
|
269
|
-
- ้้ตๅ่จญ้ฉ่ญ่จๅ๏ผ้ๅฏฆ้ฉ็ๅ่จญ + ๅฏฆ้ฉ่จญ่จ๏ผ
|
|
270
|
-
- ๅๆก่ทฏๅพๅ๏ผๆฏๅ้้ต็ฏ้ป็ A/B ๆนๆก๏ผ
|
|
271
|
-
- ๆๅฐๅญๆดป็ญ็ฅ๏ผๅณไฝฟ้จๅๅ่จญ้ฏ่ชคไป่ฝๆๅ็็ๆฌ๏ผ
|
|
272
|
-
|
|
273
|
-
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
274
|
-
# ่ผธๅ
ฅ่ผธๅบ
|
|
275
|
-
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
276
|
-
|
|
277
|
-
input:
|
|
278
|
-
required:
|
|
279
|
-
- task: ไปปๅ ID ๆๅ้กๆ่ฟฐ
|
|
280
|
-
optional:
|
|
281
|
-
- brief_path: brief ๆชๆก่ทฏๅพ
|
|
282
|
-
- source_paths: ็ธ้ๆบ็ขผ่ทฏๅพๆธ
ๅฎ
|
|
283
|
-
- mode: ๅๆๆจกๅผ๏ผoptimization | innovation๏ผ
|
|
284
|
-
|
|
285
|
-
output:
|
|
286
|
-
primary: |
|
|
287
|
-
้ฒๅ็ญ็ฅๅ ฑๅ๏ผ
|
|
288
|
-
- ้ฒๅ่ทฏ็ทๅ๏ผๅๅง + ไฟฎๆญฃ๏ผ
|
|
289
|
-
- ่ดๅฝ็ผบ้ท่ไฟฎๆญฃๆธ
ๅฎ
|
|
290
|
-
- ๅ่จญ้ฉ่ญ่จๅ
|
|
291
|
-
- ๅๆก่ทฏๅพๅ
|
|
292
|
-
- ๆๅฐๅญๆดป็ญ็ฅ
|
|
293
|
-
secondary: |
|
|
294
|
-
ไธไปฝ็จ็ซๅ ฑๅ๏ผ
|
|
295
|
-
- architect.md๏ผๆ่ก่ทฏ็ท + ๅ่จญ๏ผ
|
|
296
|
-
- breaker.md๏ผ็ผบ้ท + de-risk๏ผ
|
|
297
|
-
- evolver.md๏ผไฟฎๆญฃ + ๅๆก + ๅฏฆ้ฉ๏ผ
|
|
298
|
-
|
|
299
|
-
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
300
|
-
# ่ก็บๆบๅ
|
|
301
|
-
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
302
|
-
|
|
303
|
-
behavior:
|
|
304
|
-
- ไธๅๆๅกๅฟ
้ ็จ็ซๅๆ๏ผไธ่ฝไบ็ธๅ่
|
|
305
|
-
- ๆฏๅๆๅกๅฟ
้ ่ฎๆบ็ขผ้ฉ่ญ๏ผไธๆฅๅ็ด่ง้ป
|
|
306
|
-
- ๆๅก็ๅๆๅฏไปฅๅๆฟ๏ผๆดๅๆฏ Lead ็ไบ
|
|
307
|
-
- ็ตๅฐ็ฆๆญข่จ่ซๆๆฌ๏ผๆ้ใไบบๅใtoken๏ผ
|
|
308
|
-
- ่ชชใไธๅฏ่กใๅฟ
้ ้ใๆ้บผไฟฎๆญฃๆๅฏ่กใ
|
|
309
|
-
- ไธ่ถ
้ 3 ๅๆๅก
|
|
310
|
-
|
|
311
|
-
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
312
|
-
# ๅไฝๆต็จ
|
|
313
|
-
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
314
|
-
|
|
315
|
-
collaboration:
|
|
316
|
-
task_api: node .collaboration/core/task-api.js
|
|
317
|
-
|
|
318
|
-
workflow:
|
|
319
|
-
- step: ่ฎๅไปปๅ
|
|
320
|
-
run: node .collaboration/core/task-api.js get {task_id}
|
|
321
|
-
note: ๅๅพไปปๅ่ฉณๆ
|
|
322
|
-
|
|
323
|
-
- step: ่ช้ ไปปๅ
|
|
324
|
-
run: node .collaboration/core/task-api.js claim {task_id}
|
|
325
|
-
|
|
326
|
-
- step: ๆบๅ shared_context
|
|
327
|
-
actions:
|
|
328
|
-
- ็ขบ่ช brief ๅญๅจไธๅ
งๅฎนๅฎๆด
|
|
329
|
-
- ๅๅบ็ธ้ๆบ็ขผ่ทฏๅพ
|
|
330
|
-
- ๆณจๅ
ฅๅฐไธๅๆๅก็ prompt
|
|
331
|
-
|
|
332
|
-
- step: ไธฆ่กๆดพ้ฃ
|
|
333
|
-
actions:
|
|
334
|
-
- ๅๆๅๅ architect / breaker / evolver
|
|
335
|
-
- ไธ่
่ฎๅฐ็ธๅ็ brief ๅ shared_context
|
|
336
|
-
- ไธ่
ๅ่ช็จ็ซๅๆใๅ่ชๅฏซๅ ฑๅ
|
|
337
|
-
|
|
338
|
-
- step: ๆดๅๆๆ
|
|
339
|
-
actions:
|
|
340
|
-
- ๆถ้ไธไปฝๅ ฑๅ
|
|
341
|
-
- ๆ merge.steps ๆดๅ็บ้ฒๅ็ญ็ฅ
|
|
342
|
-
- ็ขๅบๆดๅๅ ฑๅ
|
|
343
|
-
|
|
344
|
-
- step: ๅฎๆไปปๅ
|
|
345
|
-
run: node .collaboration/core/task-api.js complete {task_id}
|
|
346
|
-
|
|
347
|
-
on_blocked:
|
|
348
|
-
run: node .collaboration/core/task-api.js move {task_id} blocked
|
|
349
|
-
note: brief ไธๅฎๆดๆๆบ็ขผ่ทฏๅพไธๆๆ
|
|
@@ -1,208 +0,0 @@
|
|
|
1
|
-
skill: sweep
|
|
2
|
-
formation: squad
|
|
3
|
-
version: "1.0"
|
|
4
|
-
|
|
5
|
-
name: Sweep Squad
|
|
6
|
-
description: |
|
|
7
|
-
ๅค็ฏๅๅๆญฅๆ่ฉใๅไธ็จฎ่ฎๆด้่ผฏ๏ผๅฅ็จๅฐๅคๅ็จ็ซ็ๆจก็ตๆๅๅใ
|
|
8
|
-
ๆฏๅๆๅกๆฟๅฐ็ธๅ็่ฎๆด่ฆๅ๏ผๅ่ช่ฒ ่ฒฌไธๅ็ๆชๆก็ฏๅ๏ผไธฆ่กๅท่กใ
|
|
9
|
-
้ฉ็จๅ ดๆฏ๏ผ่ทจๆจก็ต้ๆงใๆน้้ท็งปใไธ่ดๆงไฟฎๆญฃใๅคๅๅ bug ไฟฎๅพฉใ
|
|
10
|
-
|
|
11
|
-
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
12
|
-
# Squad ๅ
ฑ็จ่จญๅฎ
|
|
13
|
-
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
14
|
-
|
|
15
|
-
role:
|
|
16
|
-
identity: |
|
|
17
|
-
ไฝ ๆฏ Sweep Squad ็่ชฟๅบฆ่
ใ
|
|
18
|
-
ไฝ ๆไธๅ้่ฆๅฅ็จๅฐๅคๅๅฐๆน็่ฎๆด่ฆๅ๏ผไฝ ๆๅทฅไฝๅๅ๏ผๆดพๅบๆๅกๅๆไธๅใ
|
|
19
|
-
ไฝ ็ขบไฟๆฏๅๆๅก็จๅฎๅ
จ็ธๅ็่ฆๅๅ่ฎๆด๏ผๆๅพ้ฉ่ญไธ่ดๆงใ
|
|
20
|
-
priority: ็ขบไฟๆๆๅๅ็่ฎๆด้่ผฏๅฎๅ
จไธ่ด๏ผๆฒๆ้บๆผใ
|
|
21
|
-
|
|
22
|
-
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
23
|
-
# ไปปๅๆๅ็ญ็ฅ
|
|
24
|
-
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
25
|
-
|
|
26
|
-
split:
|
|
27
|
-
strategy: by-scope
|
|
28
|
-
description: |
|
|
29
|
-
ๆๆชๆก็ฏๅๆๅ๏ผๆ้่ฆ่ฎๆด็ๅๅๅๆไบไธ้็็ๅๅใ
|
|
30
|
-
ๆฏๅๆๅกๆฟๅฐ็ธๅ็่ฎๆด่ฆๅ + ไธๅ็ๆชๆก็ฏๅใ
|
|
31
|
-
ๅๅๅๅ๏ผๆๆจก็ตใๆ็ฎ้ใๆๅ่ฝ้็ใ
|
|
32
|
-
rules:
|
|
33
|
-
- ๆฏๅๆๅก็ scope_paths ๅฟ
้ ไธ้็
|
|
34
|
-
- ๆๆๆๅกๅ
ฑไบซๅฎๅ
จ็ธๅ็ change_rule
|
|
35
|
-
- ๅๅ่ฆ็ก้ๅๅป๏ผ้ฟๅ
ๆๅๆๅกๅทฅไฝ้้ ๅคงๆผๅ
ถไปไบบ๏ผ
|
|
36
|
-
- ๅฆๆ่ฎๆดไน้ๆ้ ๅบไพ่ณด๏ผA ๆนๅฎๆ่ฝๆน B๏ผ๏ผไธ่ฆ็จ Squad
|
|
37
|
-
|
|
38
|
-
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
39
|
-
# ๆๅกๅฎ็พฉ๏ผๅๆ
็ๆ๏ผ
|
|
40
|
-
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
41
|
-
|
|
42
|
-
members:
|
|
43
|
-
# Sweep ็ๆๅกไธๆฏ้ ๅฎ็พฉ่ง่ฒ๏ผ่ๆฏๆ นๆ scope ๅๆ
็ๆ
|
|
44
|
-
# ไปฅไธๆฏๆจกๆฟ๏ผlead ๆ นๆๅฏฆ้ scope ่ค่ฃฝ้ๅๆจกๆฟ N ไปฝ
|
|
45
|
-
- id: "zone_{n}"
|
|
46
|
-
name: "ๅๅ {n} ๅท่ก่
"
|
|
47
|
-
skill: do
|
|
48
|
-
role: |
|
|
49
|
-
ไฝ ่ฒ ่ฒฌๅจๆๅฎ็ๆชๆก็ฏๅๅ
ง๏ผๅดๆ ผๆ็
ง change_rule ๅท่ก่ฎๆดใ
|
|
50
|
-
ไธ่ฆๅ้ข่ฆๅ๏ผไธ่ฆใ้ ไพฟใๆนๅ
ถไปๆฑ่ฅฟใ
|
|
51
|
-
ๅฆๆ็ผ็พๆ่็กๆณๅฅ็จ่ฆๅ๏ผ็ตๆงไธๅใ็นๆฎๆ
ๆณ๏ผ๏ผ
|
|
52
|
-
ๅจๆ่ฆไธญๆจ่จ็บ็ฐๅธธ๏ผไธ่ฆ็กฌๅฅใ
|
|
53
|
-
scope:
|
|
54
|
-
include: "{็ฑ lead ๅจ split ้ๆฎตๅๆ
ๅ้
}"
|
|
55
|
-
exclude: "{็ฑ lead ๅจ split ้ๆฎตๅๆ
ๆๅฎ}"
|
|
56
|
-
behavior:
|
|
57
|
-
- ๅ
่ฎ shared_context ไธญ็ change_rule๏ผๅฎๆด็่งฃ่ฎๆด้่ผฏ
|
|
58
|
-
- ๆๆ scope ๅ
งๆๆ็ฎๆจๆชๆก
|
|
59
|
-
- ้ไธๅฅ็จ change_rule
|
|
60
|
-
- ้ๅฐ็กๆณๅฅ็จ็ๆ
ๆณ๏ผๆจ่จ็บ็ฐๅธธ่้่ทณ้
|
|
61
|
-
- ๅฎๆๅพๅจๆ่ฆไธญๅๅบ๏ผๅทฒ่ฎๆด / ่ทณ้๏ผ้็็ฑ๏ผ/ ็ฐๅธธ
|
|
62
|
-
output: |
|
|
63
|
-
ๅๅๆ่ฉๅ ฑๅ๏ผ
|
|
64
|
-
- ๅทฒ่ฎๆด็ๆชๆกๆธ
ๅฎ๏ผๅซๅ
ท้ซไฟฎๆนๅ
งๅฎนๆ่ฆ๏ผ
|
|
65
|
-
- ่ทณ้็ๆชๆก๏ผ้็็ฑ๏ผ
|
|
66
|
-
- ็ฐๅธธๆจ่จ๏ผ็กๆณๅฅ็จ่ฆๅ็ๆ
ๆณ๏ผ
|
|
67
|
-
- ่ฎๆด่จๆธ็ตฑ่จ
|
|
68
|
-
|
|
69
|
-
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
70
|
-
# ๅ
ฑไบซไธไธๆ
|
|
71
|
-
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
72
|
-
|
|
73
|
-
shared_context:
|
|
74
|
-
description: |
|
|
75
|
-
Sweep ็ๆ ธๅฟ๏ผๆๆๆๅกๅ
ฑไบซๅฎๅ
จ็ธๅ็ change_ruleใ
|
|
76
|
-
้ไปฝ่ฆๅๅฟ
้ ็ฒพ็ขบใ็กๆญง็พฉ๏ผๅ ็บๆฏๅๆๅก็จ็ซๅท่ก๏ผไธ่ฝไบ็ธๅ้ใ
|
|
77
|
-
includes:
|
|
78
|
-
- change_rule: |
|
|
79
|
-
่ฎๆด่ฆๅ๏ผ็ฑ lead ๅฎ็พฉ๏ผ๏ผๅฟ
้ ๅ
ๅซ๏ผ
|
|
80
|
-
- what: ่ฆๆนไป้บผ๏ผ็ฒพ็ขบๆ่ฟฐ็ฎๆจๆจกๅผ๏ผ
|
|
81
|
-
- how: ๆ้บผๆน๏ผๅ
ท้ซ็่ฎๆดๆนๅผ๏ผๆๅฅฝๆ before/after ็ฏไพ๏ผ
|
|
82
|
-
- skip_when: ไป้บผๆ
ๆณไธไธๆน๏ผๆ้คๆขไปถ๏ผ
|
|
83
|
-
- examples: ่ณๅฐไธๅ before/after ็ฏไพ
|
|
84
|
-
- scope_total: ๆๆๅๅ็ๅฎๆดๆธ
ๅฎ๏ผ่ฎๆๅก็ฅ้ๆด้ซ็ฏๅ๏ผ
|
|
85
|
-
|
|
86
|
-
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
87
|
-
# ๆๆๆดๅ็ญ็ฅ
|
|
88
|
-
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
89
|
-
|
|
90
|
-
merge:
|
|
91
|
-
strategy: collect-and-verify
|
|
92
|
-
description: |
|
|
93
|
-
ๆถ้ๆๆๆๅก็ๅ ฑๅ๏ผ้ฉ่ญไธ่ดๆง๏ผ็ตฑ่จๆด้ซ็ตๆใ
|
|
94
|
-
steps:
|
|
95
|
-
- step: ๆถ้ๅ ฑๅ
|
|
96
|
-
action: ็ญๅพ
ๆๆๆๅกๅๅ ฑ
|
|
97
|
-
on_partial_failure: |
|
|
98
|
-
ๆๅๅๅๅคฑๆไธๅฝฑ้ฟๅ
ถไปๅๅใ
|
|
99
|
-
ๆๅๅๅ็่ฎๆดไฟ็๏ผๅคฑๆๅๅๅปบ็ซๆฐไปปๅ้่ฉฆใ
|
|
100
|
-
|
|
101
|
-
- step: ้ฉ่ญไธ่ดๆง
|
|
102
|
-
action: |
|
|
103
|
-
ๆชขๆฅๆๆๆๅก็่ฎๆดๆฏๅฆ้ตๅพช็ธๅ็ change_rule๏ผ
|
|
104
|
-
- ่ฎๆดๆจกๅผๆฏๅฆไธ่ด
|
|
105
|
-
- ๅฝๅๆ
ฃไพๆฏๅฆ็ตฑไธ
|
|
106
|
-
- ๆฒๆๆๅกๆ
่ชๅ้ข่ฆๅ
|
|
107
|
-
|
|
108
|
-
- step: ๅฝ็ธฝ็ตฑ่จ
|
|
109
|
-
action: |
|
|
110
|
-
ๅไฝตๆๆๆๅก็ๅ ฑๅ๏ผ็ขๅบๆด้ซๆ่ฉๅ ฑๅ๏ผ
|
|
111
|
-
- ็ธฝ่ฎๆดๆชๆกๆธ
|
|
112
|
-
- ็ธฝ่ทณ้ๆชๆกๆธ
|
|
113
|
-
- ็ฐๅธธๆธ
ๅฎ
|
|
114
|
-
- ่ฆ่็๏ผๅทฒ่็ / ็ธฝ็ฎๆจ๏ผ
|
|
115
|
-
|
|
116
|
-
- step: ่็็ฐๅธธ
|
|
117
|
-
action: |
|
|
118
|
-
ๅฝ็ธฝๆๆๆๅกๆจ่จ็็ฐๅธธ๏ผๆฑบๅฎ๏ผ
|
|
119
|
-
- ๅชไบๅฏไปฅๆๅ่็
|
|
120
|
-
- ๅชไบ้่ฆ่ชฟๆด change_rule ๅพ้่ท
|
|
121
|
-
- ๅชไบๆฏ็ๆญฃ็็นๆฎๆกไพ๏ผ้่ฆๅฎ็จ่็
|
|
122
|
-
|
|
123
|
-
- step: ๆไบค
|
|
124
|
-
action: |
|
|
125
|
-
ๆๆ้ฉ่ญ้้ๅพ๏ผ็ตฑไธ commitใ
|
|
126
|
-
commit message ๆ ผๅผ๏ผ[SWEEP] {change_rule ๆ่ฆ} ({N} files across {M} zones)
|
|
127
|
-
|
|
128
|
-
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
129
|
-
# ่ผธๅ
ฅ่ผธๅบ
|
|
130
|
-
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
131
|
-
|
|
132
|
-
input:
|
|
133
|
-
required:
|
|
134
|
-
- task: ไปปๅ ID ๆ่ฎๆดๆ่ฟฐ
|
|
135
|
-
- change_rule: ่ฎๆด่ฆๅ๏ผwhat + how + skip_when๏ผ
|
|
136
|
-
optional:
|
|
137
|
-
- scope_paths: ่ฆๅฏซ็ฎๆจ็ฏๅ๏ผ้ ่จญๅพไปปๅ่ฎๅ๏ผ
|
|
138
|
-
- max_members: ๆๅคงๆๅกๆธ๏ผ้ ่จญ 3๏ผไธ้ 5๏ผ
|
|
139
|
-
- examples: before/after ็ฏไพ
|
|
140
|
-
|
|
141
|
-
output:
|
|
142
|
-
primary: |
|
|
143
|
-
ๆ่ฉๅ ฑๅ๏ผ
|
|
144
|
-
- ๅๅๅๅฎๆ็ๆ
|
|
145
|
-
- ็ธฝ่ฎๆด/่ทณ้/็ฐๅธธ็ตฑ่จ
|
|
146
|
-
- ๆด้ซ่ฆ่็
|
|
147
|
-
secondary: |
|
|
148
|
-
ๅพ็บ่กๅ๏ผ
|
|
149
|
-
- ้่ฆๆๅ่็็็ฐๅธธๆธ
ๅฎ
|
|
150
|
-
- ๆฏๅฆ้่ฆไบๆฌกๆ่ฉ
|
|
151
|
-
|
|
152
|
-
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
153
|
-
# ่ก็บๆบๅ
|
|
154
|
-
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
155
|
-
|
|
156
|
-
behavior:
|
|
157
|
-
- change_rule ๅฟ
้ ๅฏซๆธ
ๆฅ๏ผๅซ before/after ็ฏไพใ่ฆๅไธๆธ
ๅฐฑไธๆดพไบบ
|
|
158
|
-
- ๅๅ่ฆไนพๆทจ๏ผ็ตๅฐไธ่ฝๆๆชๆก่ขซๅ
ฉๅๆๅกๅๆ็ขฐๅฐ
|
|
159
|
-
- ๅฏงๅฏๅๅฐไธ้ปๅ๏ผ2-3 ๅ๏ผ๏ผไนไธ่ฆๅๅคชๅค๏ผ5 ๅไปฅไธๆๆฌๅคช้ซ๏ผ
|
|
160
|
-
- ๅฆๆ็ฎๆจๆชๆกไธๅฐ 5 ๅ๏ผไธ่ฆ็จ Squad๏ผไธๅ Unit/do ๅฐฑๅค ไบ
|
|
161
|
-
- ็ฐๅธธไธๆฏๅคฑๆ๏ผๆฏ่ณ่จใๆถ้็ฐๅธธๆฏๅผทๅถๅฅ็จๆด้่ฆ
|
|
162
|
-
|
|
163
|
-
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
164
|
-
# ๅไฝๆต็จ
|
|
165
|
-
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
166
|
-
|
|
167
|
-
collaboration:
|
|
168
|
-
task_api: node .collaboration/core/task-api.js
|
|
169
|
-
|
|
170
|
-
workflow:
|
|
171
|
-
- step: ่ฎๅไปปๅ
|
|
172
|
-
run: node .collaboration/core/task-api.js get {task_id}
|
|
173
|
-
note: ๅๅพไปปๅ็ๅฎๆด่ณ่จ
|
|
174
|
-
|
|
175
|
-
- step: ่ช้ ไปปๅ
|
|
176
|
-
run: node .collaboration/core/task-api.js claim {task_id}
|
|
177
|
-
|
|
178
|
-
- step: ๅฎ็พฉ่ฎๆด่ฆๅ
|
|
179
|
-
actions:
|
|
180
|
-
- ๆ็ขบ change_rule๏ผwhat, how, skip_when
|
|
181
|
-
- ๆบๅ่ณๅฐไธๅ before/after ็ฏไพ
|
|
182
|
-
- ๆๆ codebase ็ขบ่ช็ฎๆจๆชๆกๆธ้ๅๅไฝ
|
|
183
|
-
|
|
184
|
-
- step: ๆๅ็ฏๅ
|
|
185
|
-
actions:
|
|
186
|
-
- ๆ็ฎๆจๆชๆกๅๆไบไธ้็็ๅๅ
|
|
187
|
-
- ็บๆฏๅๅๅๅปบ็ซไธๅๆๅก๏ผ่ค่ฃฝ zone ๆจกๆฟ๏ผ
|
|
188
|
-
- ็ขบไฟๅๅๅๅป๏ผๆฏๅๆๅกๅทฅไฝ้็ธ่ฟ
|
|
189
|
-
|
|
190
|
-
- step: ไธฆ่กๆดพ้ฃ
|
|
191
|
-
actions:
|
|
192
|
-
- ๅๆๅๅๆๆๆๅก็ subagent
|
|
193
|
-
- ๆฏๅๆๅก็ prompt ๅ
ๅซ๏ผ่ง่ฒๅฎ็พฉ + change_rule + ็ฏไพ + ๅ้
็ scope
|
|
194
|
-
- ๆๅกไน้ไธ้่จ๏ผๅ่ช็จ็ซๅท่ก
|
|
195
|
-
|
|
196
|
-
- step: ๆดๅๆๆ
|
|
197
|
-
actions:
|
|
198
|
-
- ๆถ้ๆๆๆๅก็ๆ่ฉๅ ฑๅ
|
|
199
|
-
- ๆ merge.steps ้ฉ่ญไธ่ดๆง
|
|
200
|
-
- ๅฝ็ธฝ็ตฑ่จ๏ผ่็็ฐๅธธ
|
|
201
|
-
|
|
202
|
-
- step: ๅฎๆไปปๅ
|
|
203
|
-
run: node .collaboration/core/task-api.js complete {task_id}
|
|
204
|
-
note: ๆดๅๆๅๅพ๏ผๆจ่จไปปๅๅฎๆ
|
|
205
|
-
|
|
206
|
-
on_blocked:
|
|
207
|
-
run: node .collaboration/core/task-api.js move {task_id} blocked
|
|
208
|
-
note: change_rule ไธๅค ๆธ
ๆฐๆ็ฎๆจๆชๆกๆไพ่ณด้ไฟๆ
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
/**
|
|
3
|
-
* Broadcast Layer
|
|
4
|
-
*
|
|
5
|
-
* Supabase/Yggdrasil broadcast helpers extracted from headless.js.
|
|
6
|
-
* Lazy-loaded singletons โ no hard dependency on supabase-client at require time.
|
|
7
|
-
*
|
|
8
|
-
* Exports: getSupabaseClient, getTaskSync, getCommitSync, syncCommit,
|
|
9
|
-
* broadcastStatus, broadcastStatusSync
|
|
10
|
-
*/
|
|
11
|
-
|
|
12
|
-
const path = require('path');
|
|
13
|
-
const { ROOT } = require('./utils');
|
|
14
|
-
|
|
15
|
-
// โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
16
|
-
// Yggdrasil: kenaz_status ๅปฃๆญ + commit-sync๏ผlazy loaded, graceful degradation๏ผ
|
|
17
|
-
// โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
18
|
-
let _supabaseClient = null;
|
|
19
|
-
let _taskSync = null;
|
|
20
|
-
let _commitSync = null;
|
|
21
|
-
|
|
22
|
-
function getSupabaseClient(projectPath) {
|
|
23
|
-
if (_supabaseClient === undefined) return null;
|
|
24
|
-
if (!_supabaseClient) try { _supabaseClient = require('./supabase-client'); } catch { _supabaseClient = undefined; return null; }
|
|
25
|
-
return _supabaseClient.getClient(projectPath);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
function getTaskSync() {
|
|
29
|
-
if (_taskSync === undefined) return null;
|
|
30
|
-
if (!_taskSync) try { _taskSync = require('./task-sync'); } catch { _taskSync = undefined; return null; }
|
|
31
|
-
return _taskSync;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
function getCommitSync() {
|
|
35
|
-
if (_commitSync === undefined) return null;
|
|
36
|
-
if (!_commitSync) try { _commitSync = require('./commit-sync'); } catch { _commitSync = undefined; return null; }
|
|
37
|
-
return _commitSync;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* ๅๆญฅ commit ๅฐ kenaz_commitsใ
|
|
42
|
-
* ๅๅณ Promise๏ผawait ๆ็ขบไฟๅฎๆ๏ผๆ fire-and-forget๏ผใ
|
|
43
|
-
*/
|
|
44
|
-
function syncCommit(taskId, projectPath) {
|
|
45
|
-
try {
|
|
46
|
-
const cs = getCommitSync();
|
|
47
|
-
if (!cs) return Promise.resolve();
|
|
48
|
-
return cs.syncLatestCommit({ taskId, projectPath }).catch(() => {});
|
|
49
|
-
} catch { return Promise.resolve(); }
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
/**
|
|
53
|
-
* ๅปฃๆญ kenaz_status โ ่ฎ Agent Monitor ๅๅ
ถไปๆฉๅจ็ๅฐ dispatch agentใ
|
|
54
|
-
* ๅๅณ Promise โ caller ๅฏ await ็ขบไฟๅฎๆใ
|
|
55
|
-
*/
|
|
56
|
-
function broadcastStatus(projectPath, updates) {
|
|
57
|
-
try {
|
|
58
|
-
const sb = getSupabaseClient(projectPath);
|
|
59
|
-
if (!sb) return Promise.resolve();
|
|
60
|
-
const { client, config } = sb;
|
|
61
|
-
const ts = getTaskSync();
|
|
62
|
-
const project = ts?.resolveProjectName?.(projectPath || ROOT) || path.basename(ROOT);
|
|
63
|
-
return client.from('kenaz_status').upsert({
|
|
64
|
-
node_name: config.node_name,
|
|
65
|
-
project,
|
|
66
|
-
...updates,
|
|
67
|
-
}, { onConflict: 'node_name,project' }).then(() => {}).catch(() => {});
|
|
68
|
-
} catch { return Promise.resolve(); }
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
/**
|
|
72
|
-
* ๅๆญฅ็ broadcastStatus โ ็จๆผ process exit ๅ็ขบไฟ้้ใ
|
|
73
|
-
* ไฝฟ็จ synchronous HTTP๏ผspawnSync + curl๏ผ้ฟๅ
async ๅจ้ๅบๆไธๅคฑใ
|
|
74
|
-
*/
|
|
75
|
-
function broadcastStatusSync(projectPath, updates) {
|
|
76
|
-
try {
|
|
77
|
-
const sb = getSupabaseClient(projectPath);
|
|
78
|
-
if (!sb) return;
|
|
79
|
-
const { config } = sb;
|
|
80
|
-
const ts = getTaskSync();
|
|
81
|
-
const project = ts?.resolveProjectName?.(projectPath || ROOT) || path.basename(ROOT);
|
|
82
|
-
const payload = { node_name: config.node_name, project, ...updates };
|
|
83
|
-
const url = `${config.supabase_url}/rest/v1/kenaz_status`;
|
|
84
|
-
const { spawnSync } = require('child_process');
|
|
85
|
-
spawnSync('curl', [
|
|
86
|
-
'-s', '-X', 'POST', url,
|
|
87
|
-
'-H', `apikey: ${config.supabase_anon_key}`,
|
|
88
|
-
'-H', `Authorization: Bearer ${config.supabase_anon_key}`,
|
|
89
|
-
'-H', 'Content-Type: application/json',
|
|
90
|
-
'-H', 'Prefer: resolution=merge-duplicates',
|
|
91
|
-
'-d', JSON.stringify(payload),
|
|
92
|
-
], { timeout: 5000, stdio: 'ignore', windowsHide: true });
|
|
93
|
-
} catch { /* best-effort */ }
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
module.exports = {
|
|
97
|
-
getSupabaseClient,
|
|
98
|
-
getTaskSync,
|
|
99
|
-
getCommitSync,
|
|
100
|
-
syncCommit,
|
|
101
|
-
broadcastStatus,
|
|
102
|
-
broadcastStatusSync,
|
|
103
|
-
};
|