agent-enderun 0.9.0 → 0.9.2
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/.enderun/BRAIN_DASHBOARD.md +2 -2
- package/.enderun/PROJECT_MEMORY.md +28 -4
- package/.enderun/STATUS.md +24 -28
- package/.enderun/agents/backend.md +37 -8
- package/.enderun/agents/database.md +55 -0
- package/.enderun/agents/devops.md +28 -14
- package/.enderun/agents/explorer.md +1 -1
- package/.enderun/agents/frontend.md +21 -7
- package/.enderun/agents/git.md +1 -1
- package/.enderun/agents/manager.md +41 -20
- package/.enderun/agents/mobile.md +1 -1
- package/.enderun/agents/native.md +1 -1
- package/.enderun/agents/quality.md +122 -0
- package/.enderun/cli-commands.json +3 -3
- package/.enderun/config.json +7 -1
- package/.enderun/knowledge/context_boundary_rules.md +57 -0
- package/.enderun/knowledge/corporate-governance/high-risk-action-approval-flow.md +29 -0
- package/.enderun/knowledge/documentation_ownership.md +53 -0
- package/.enderun/knowledge/frontend_professionalization_guidelines.md +7 -7
- package/.enderun/knowledge/hermes_live_test_guidelines.md +5 -5
- package/.enderun/knowledge/lessons-learned.md +14 -0
- package/.enderun/knowledge/manager_authority_audit_enforcement.md +8 -8
- package/.enderun/knowledge/project_scaffold_guidelines.md +4 -4
- package/.enderun/knowledge/reference_application_guidelines.md +6 -6
- package/.enderun/memory-graph/agent-contexts/quality.json +1 -0
- package/.enderun/queue/README.md +13 -13
- package/README.md +204 -102
- package/bin/cli.js +1 -1
- package/bin/init-check.js +69 -0
- package/bin/update-contract.js +24 -2
- package/docs/README.md +21 -32
- package/docs/architecture/README.md +9 -0
- package/docs/architecture/standards/data-fetching-patterns.md +13 -0
- package/docs/architecture/standards/design-system.md +31 -0
- package/docs/architecture/standards/logging.md +7 -0
- package/docs/architecture/standards/tech-stack.md +9 -0
- package/docs/getting-started.md +9 -259
- package/docs/user/README.md +35 -0
- package/docs/user/action-plan-2026.md +9 -0
- package/docs/user/getting-started.md +13 -0
- package/docs/user/roadmap.md +13 -0
- package/eslint.config.js +1 -1
- package/framework-mcp/dist/index.js +7 -13
- package/framework-mcp/node_modules/@types/node/LICENSE +21 -0
- package/framework-mcp/node_modules/@types/node/README.md +15 -0
- package/framework-mcp/node_modules/@types/node/assert/strict.d.ts +111 -0
- package/framework-mcp/node_modules/@types/node/assert.d.ts +1078 -0
- package/framework-mcp/node_modules/@types/node/async_hooks.d.ts +603 -0
- package/framework-mcp/node_modules/@types/node/buffer.buffer.d.ts +472 -0
- package/framework-mcp/node_modules/@types/node/buffer.d.ts +1934 -0
- package/framework-mcp/node_modules/@types/node/child_process.d.ts +1476 -0
- package/framework-mcp/node_modules/@types/node/cluster.d.ts +578 -0
- package/framework-mcp/node_modules/@types/node/compatibility/disposable.d.ts +14 -0
- package/framework-mcp/node_modules/@types/node/compatibility/index.d.ts +9 -0
- package/framework-mcp/node_modules/@types/node/compatibility/indexable.d.ts +20 -0
- package/framework-mcp/node_modules/@types/node/compatibility/iterators.d.ts +20 -0
- package/framework-mcp/node_modules/@types/node/console.d.ts +452 -0
- package/framework-mcp/node_modules/@types/node/constants.d.ts +21 -0
- package/framework-mcp/node_modules/@types/node/crypto.d.ts +4545 -0
- package/framework-mcp/node_modules/@types/node/dgram.d.ts +600 -0
- package/framework-mcp/node_modules/@types/node/diagnostics_channel.d.ts +578 -0
- package/framework-mcp/node_modules/@types/node/dns/promises.d.ts +503 -0
- package/framework-mcp/node_modules/@types/node/dns.d.ts +923 -0
- package/framework-mcp/node_modules/@types/node/domain.d.ts +170 -0
- package/framework-mcp/node_modules/@types/node/events.d.ts +976 -0
- package/framework-mcp/node_modules/@types/node/fs/promises.d.ts +1295 -0
- package/framework-mcp/node_modules/@types/node/fs.d.ts +4461 -0
- package/framework-mcp/node_modules/@types/node/globals.d.ts +172 -0
- package/framework-mcp/node_modules/@types/node/globals.typedarray.d.ts +38 -0
- package/framework-mcp/node_modules/@types/node/http.d.ts +2089 -0
- package/framework-mcp/node_modules/@types/node/http2.d.ts +2721 -0
- package/framework-mcp/node_modules/@types/node/https.d.ts +579 -0
- package/framework-mcp/node_modules/@types/node/index.d.ts +97 -0
- package/framework-mcp/node_modules/@types/node/inspector.d.ts +253 -0
- package/framework-mcp/node_modules/@types/node/inspector.generated.d.ts +4052 -0
- package/framework-mcp/node_modules/@types/node/module.d.ts +891 -0
- package/framework-mcp/node_modules/@types/node/net.d.ts +1076 -0
- package/framework-mcp/node_modules/@types/node/os.d.ts +506 -0
- package/framework-mcp/node_modules/@types/node/package.json +145 -0
- package/framework-mcp/node_modules/@types/node/path.d.ts +200 -0
- package/framework-mcp/node_modules/@types/node/perf_hooks.d.ts +968 -0
- package/framework-mcp/node_modules/@types/node/process.d.ts +2084 -0
- package/framework-mcp/node_modules/@types/node/punycode.d.ts +117 -0
- package/framework-mcp/node_modules/@types/node/querystring.d.ts +152 -0
- package/framework-mcp/node_modules/@types/node/readline/promises.d.ts +161 -0
- package/framework-mcp/node_modules/@types/node/readline.d.ts +594 -0
- package/framework-mcp/node_modules/@types/node/repl.d.ts +428 -0
- package/framework-mcp/node_modules/@types/node/sea.d.ts +153 -0
- package/framework-mcp/node_modules/@types/node/sqlite.d.ts +721 -0
- package/framework-mcp/node_modules/@types/node/stream/consumers.d.ts +38 -0
- package/framework-mcp/node_modules/@types/node/stream/promises.d.ts +90 -0
- package/framework-mcp/node_modules/@types/node/stream/web.d.ts +622 -0
- package/framework-mcp/node_modules/@types/node/stream.d.ts +1687 -0
- package/framework-mcp/node_modules/@types/node/string_decoder.d.ts +67 -0
- package/framework-mcp/node_modules/@types/node/test.d.ts +2163 -0
- package/framework-mcp/node_modules/@types/node/timers/promises.d.ts +108 -0
- package/framework-mcp/node_modules/@types/node/timers.d.ts +287 -0
- package/framework-mcp/node_modules/@types/node/tls.d.ts +1319 -0
- package/framework-mcp/node_modules/@types/node/trace_events.d.ts +197 -0
- package/framework-mcp/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +468 -0
- package/framework-mcp/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +34 -0
- package/framework-mcp/node_modules/@types/node/ts5.6/index.d.ts +97 -0
- package/framework-mcp/node_modules/@types/node/tty.d.ts +208 -0
- package/framework-mcp/node_modules/@types/node/url.d.ts +984 -0
- package/framework-mcp/node_modules/@types/node/util.d.ts +2606 -0
- package/framework-mcp/node_modules/@types/node/v8.d.ts +920 -0
- package/framework-mcp/node_modules/@types/node/vm.d.ts +1000 -0
- package/framework-mcp/node_modules/@types/node/wasi.d.ts +181 -0
- package/framework-mcp/node_modules/@types/node/web-globals/abortcontroller.d.ts +34 -0
- package/framework-mcp/node_modules/@types/node/web-globals/domexception.d.ts +68 -0
- package/framework-mcp/node_modules/@types/node/web-globals/events.d.ts +97 -0
- package/framework-mcp/node_modules/@types/node/web-globals/fetch.d.ts +55 -0
- package/framework-mcp/node_modules/@types/node/web-globals/navigator.d.ts +22 -0
- package/framework-mcp/node_modules/@types/node/web-globals/storage.d.ts +24 -0
- package/framework-mcp/node_modules/@types/node/worker_threads.d.ts +784 -0
- package/framework-mcp/node_modules/@types/node/zlib.d.ts +747 -0
- package/framework-mcp/node_modules/typescript/LICENSE.txt +55 -0
- package/framework-mcp/node_modules/typescript/README.md +50 -0
- package/framework-mcp/node_modules/typescript/SECURITY.md +41 -0
- package/framework-mcp/node_modules/typescript/ThirdPartyNoticeText.txt +193 -0
- package/framework-mcp/node_modules/typescript/bin/tsc +2 -0
- package/framework-mcp/node_modules/typescript/bin/tsserver +2 -0
- package/framework-mcp/node_modules/typescript/lib/_tsc.js +133818 -0
- package/framework-mcp/node_modules/typescript/lib/_tsserver.js +659 -0
- package/framework-mcp/node_modules/typescript/lib/_typingsInstaller.js +222 -0
- package/framework-mcp/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +2122 -0
- package/framework-mcp/node_modules/typescript/lib/de/diagnosticMessages.generated.json +2122 -0
- package/framework-mcp/node_modules/typescript/lib/es/diagnosticMessages.generated.json +2122 -0
- package/framework-mcp/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +2122 -0
- package/framework-mcp/node_modules/typescript/lib/it/diagnosticMessages.generated.json +2122 -0
- package/framework-mcp/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +2122 -0
- package/framework-mcp/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +2122 -0
- package/framework-mcp/node_modules/typescript/lib/lib.d.ts +22 -0
- package/framework-mcp/node_modules/typescript/lib/lib.decorators.d.ts +384 -0
- package/framework-mcp/node_modules/typescript/lib/lib.decorators.legacy.d.ts +22 -0
- package/framework-mcp/node_modules/typescript/lib/lib.dom.asynciterable.d.ts +41 -0
- package/framework-mcp/node_modules/typescript/lib/lib.dom.d.ts +39429 -0
- package/framework-mcp/node_modules/typescript/lib/lib.dom.iterable.d.ts +571 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2015.collection.d.ts +147 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2015.core.d.ts +597 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2015.d.ts +28 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2015.generator.d.ts +77 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2015.iterable.d.ts +605 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2015.promise.d.ts +81 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2015.proxy.d.ts +128 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2015.reflect.d.ts +144 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2015.symbol.d.ts +46 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts +326 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2016.array.include.d.ts +116 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2016.d.ts +21 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2016.full.d.ts +23 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2016.intl.d.ts +31 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts +21 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2017.d.ts +26 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2017.date.d.ts +31 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2017.full.d.ts +23 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2017.intl.d.ts +44 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2017.object.d.ts +49 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts +135 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2017.string.d.ts +45 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts +53 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts +77 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts +53 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2018.d.ts +24 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2018.full.d.ts +24 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2018.intl.d.ts +83 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2018.promise.d.ts +30 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2018.regexp.d.ts +37 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2019.array.d.ts +79 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2019.d.ts +24 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2019.full.d.ts +24 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2019.intl.d.ts +23 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2019.object.d.ts +33 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2019.string.d.ts +37 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2019.symbol.d.ts +24 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2020.bigint.d.ts +765 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2020.d.ts +27 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2020.date.d.ts +42 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2020.full.d.ts +24 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2020.intl.d.ts +474 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2020.number.d.ts +28 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2020.promise.d.ts +47 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts +99 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2020.string.d.ts +44 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts +41 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2021.d.ts +23 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2021.full.d.ts +24 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2021.intl.d.ts +166 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2021.promise.d.ts +48 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2021.string.d.ts +33 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2021.weakref.d.ts +78 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2022.array.d.ts +121 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2022.d.ts +25 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2022.error.d.ts +75 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2022.full.d.ts +24 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2022.intl.d.ts +145 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2022.object.d.ts +26 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2022.regexp.d.ts +39 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2022.string.d.ts +25 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2023.array.d.ts +924 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2023.collection.d.ts +21 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2023.d.ts +22 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2023.full.d.ts +24 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2023.intl.d.ts +56 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts +65 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2024.collection.d.ts +29 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2024.d.ts +26 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2024.full.d.ts +24 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2024.object.d.ts +29 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2024.promise.d.ts +35 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2024.regexp.d.ts +25 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts +68 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es2024.string.d.ts +29 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es5.d.ts +4601 -0
- package/framework-mcp/node_modules/typescript/lib/lib.es6.d.ts +23 -0
- package/framework-mcp/node_modules/typescript/lib/lib.esnext.array.d.ts +35 -0
- package/framework-mcp/node_modules/typescript/lib/lib.esnext.collection.d.ts +96 -0
- package/framework-mcp/node_modules/typescript/lib/lib.esnext.d.ts +29 -0
- package/framework-mcp/node_modules/typescript/lib/lib.esnext.decorators.d.ts +28 -0
- package/framework-mcp/node_modules/typescript/lib/lib.esnext.disposable.d.ts +193 -0
- package/framework-mcp/node_modules/typescript/lib/lib.esnext.error.d.ts +24 -0
- package/framework-mcp/node_modules/typescript/lib/lib.esnext.float16.d.ts +445 -0
- package/framework-mcp/node_modules/typescript/lib/lib.esnext.full.d.ts +24 -0
- package/framework-mcp/node_modules/typescript/lib/lib.esnext.intl.d.ts +21 -0
- package/framework-mcp/node_modules/typescript/lib/lib.esnext.iterator.d.ts +148 -0
- package/framework-mcp/node_modules/typescript/lib/lib.esnext.promise.d.ts +34 -0
- package/framework-mcp/node_modules/typescript/lib/lib.esnext.sharedmemory.d.ts +25 -0
- package/framework-mcp/node_modules/typescript/lib/lib.scripthost.d.ts +322 -0
- package/framework-mcp/node_modules/typescript/lib/lib.webworker.asynciterable.d.ts +41 -0
- package/framework-mcp/node_modules/typescript/lib/lib.webworker.d.ts +13150 -0
- package/framework-mcp/node_modules/typescript/lib/lib.webworker.importscripts.d.ts +23 -0
- package/framework-mcp/node_modules/typescript/lib/lib.webworker.iterable.d.ts +340 -0
- package/framework-mcp/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +2122 -0
- package/framework-mcp/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +2122 -0
- package/framework-mcp/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +2122 -0
- package/framework-mcp/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +2122 -0
- package/framework-mcp/node_modules/typescript/lib/tsc.js +8 -0
- package/framework-mcp/node_modules/typescript/lib/tsserver.js +8 -0
- package/framework-mcp/node_modules/typescript/lib/tsserverlibrary.d.ts +17 -0
- package/framework-mcp/node_modules/typescript/lib/tsserverlibrary.js +21 -0
- package/framework-mcp/node_modules/typescript/lib/typesMap.json +497 -0
- package/framework-mcp/node_modules/typescript/lib/typescript.d.ts +11437 -0
- package/framework-mcp/node_modules/typescript/lib/typescript.js +200276 -0
- package/framework-mcp/node_modules/typescript/lib/typingsInstaller.js +8 -0
- package/framework-mcp/node_modules/typescript/lib/watchGuard.js +53 -0
- package/framework-mcp/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +2122 -0
- package/framework-mcp/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +2122 -0
- package/framework-mcp/node_modules/typescript/package.json +120 -0
- package/framework-mcp/node_modules/undici-types/LICENSE +21 -0
- package/framework-mcp/node_modules/undici-types/README.md +6 -0
- package/framework-mcp/node_modules/undici-types/agent.d.ts +31 -0
- package/framework-mcp/node_modules/undici-types/api.d.ts +43 -0
- package/framework-mcp/node_modules/undici-types/balanced-pool.d.ts +29 -0
- package/framework-mcp/node_modules/undici-types/cache.d.ts +36 -0
- package/framework-mcp/node_modules/undici-types/client.d.ts +108 -0
- package/framework-mcp/node_modules/undici-types/connector.d.ts +34 -0
- package/framework-mcp/node_modules/undici-types/content-type.d.ts +21 -0
- package/framework-mcp/node_modules/undici-types/cookies.d.ts +28 -0
- package/framework-mcp/node_modules/undici-types/diagnostics-channel.d.ts +66 -0
- package/framework-mcp/node_modules/undici-types/dispatcher.d.ts +256 -0
- package/framework-mcp/node_modules/undici-types/env-http-proxy-agent.d.ts +21 -0
- package/framework-mcp/node_modules/undici-types/errors.d.ts +149 -0
- package/framework-mcp/node_modules/undici-types/eventsource.d.ts +61 -0
- package/framework-mcp/node_modules/undici-types/fetch.d.ts +209 -0
- package/framework-mcp/node_modules/undici-types/file.d.ts +39 -0
- package/framework-mcp/node_modules/undici-types/filereader.d.ts +54 -0
- package/framework-mcp/node_modules/undici-types/formdata.d.ts +108 -0
- package/framework-mcp/node_modules/undici-types/global-dispatcher.d.ts +9 -0
- package/framework-mcp/node_modules/undici-types/global-origin.d.ts +7 -0
- package/framework-mcp/node_modules/undici-types/handlers.d.ts +15 -0
- package/framework-mcp/node_modules/undici-types/header.d.ts +4 -0
- package/framework-mcp/node_modules/undici-types/index.d.ts +71 -0
- package/framework-mcp/node_modules/undici-types/interceptors.d.ts +17 -0
- package/framework-mcp/node_modules/undici-types/mock-agent.d.ts +50 -0
- package/framework-mcp/node_modules/undici-types/mock-client.d.ts +25 -0
- package/framework-mcp/node_modules/undici-types/mock-errors.d.ts +12 -0
- package/framework-mcp/node_modules/undici-types/mock-interceptor.d.ts +93 -0
- package/framework-mcp/node_modules/undici-types/mock-pool.d.ts +25 -0
- package/framework-mcp/node_modules/undici-types/package.json +55 -0
- package/framework-mcp/node_modules/undici-types/patch.d.ts +33 -0
- package/framework-mcp/node_modules/undici-types/pool-stats.d.ts +19 -0
- package/framework-mcp/node_modules/undici-types/pool.d.ts +39 -0
- package/framework-mcp/node_modules/undici-types/proxy-agent.d.ts +28 -0
- package/framework-mcp/node_modules/undici-types/readable.d.ts +65 -0
- package/framework-mcp/node_modules/undici-types/retry-agent.d.ts +8 -0
- package/framework-mcp/node_modules/undici-types/retry-handler.d.ts +116 -0
- package/framework-mcp/node_modules/undici-types/util.d.ts +18 -0
- package/framework-mcp/node_modules/undici-types/webidl.d.ts +228 -0
- package/framework-mcp/node_modules/undici-types/websocket.d.ts +150 -0
- package/framework-mcp/src/declarations.d.ts +3 -0
- package/framework-mcp/src/index.ts +228 -0
- package/package.json +4 -3
- package/src/cli/adapters.ts +208 -0
- package/src/cli/commands/app.ts +38 -0
- package/src/cli/commands/check.ts +87 -0
- package/src/cli/commands/compliance.ts +55 -0
- package/src/cli/commands/contract.ts +45 -0
- package/src/cli/commands/explorer.ts +45 -0
- package/src/cli/commands/git.ts +39 -0
- package/src/cli/commands/init.ts +272 -0
- package/src/cli/commands/knowledge.ts +44 -0
- package/src/cli/commands/lint.ts +25 -0
- package/src/cli/commands/log.ts +37 -0
- package/src/cli/commands/memory.ts +78 -0
- package/src/cli/commands/orchestrate.ts +111 -0
- package/src/cli/commands/script.ts +20 -0
- package/src/cli/commands/security.ts +38 -0
- package/src/cli/commands/status.ts +59 -0
- package/src/cli/commands/trace.ts +46 -0
- package/src/cli/index.ts +107 -0
- package/src/cli/utils/app.ts +764 -0
- package/src/cli/utils/claude.ts +56 -0
- package/src/cli/utils/fs.ts +139 -0
- package/src/cli/utils/memory.ts +141 -0
- package/src/cli/utils/pkg.ts +215 -0
- package/src/cli/utils/string.ts +48 -0
- package/src/cli/utils/time.ts +27 -0
- package/.enderun/agents/analyst.md +0 -236
- package/.enderun/agents/orchestrator.md +0 -172
- package/.enderun/agents/qa.md +0 -121
- package/.enderun/agents/security.md +0 -202
- package/.enderun/knowledge/api_design_rules.md +0 -6
- package/.enderun/knowledge/branded_types_pattern.md +0 -8
- package/.enderun/knowledge/code_review_checklist.md +0 -7
- package/.enderun/knowledge/contract_versioning.md +0 -7
- package/.enderun/knowledge/database_migration.md +0 -6
- package/.enderun/knowledge/deployment_checklist.md +0 -7
- package/.enderun/knowledge/git_commit_strategy.md +0 -10
- package/.enderun/knowledge/monitoring_setup.md +0 -5
- package/.enderun/knowledge/performance_guidelines.md +0 -11
- package/.enderun/knowledge/repository_patterns.md +0 -9
- package/.enderun/knowledge/security_scanning.md +0 -6
- package/.enderun/knowledge/testing_standards.md +0 -7
- package/.enderun/knowledge/troubleshooting_guide.md +0 -5
- package/.enderun/memory-graph/agent-contexts/analyst.json +0 -1
- package/.enderun/memory-graph/agent-contexts/orchestrator.json +0 -1
- package/.enderun/memory-graph/agent-contexts/qa.json +0 -1
- package/.enderun/memory-graph/agent-contexts/security.json +0 -1
- package/docs/action-plan-2026.md +0 -119
- package/docs/roadmap.md +0 -142
- package/docs/tech-stack.md +0 -30
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: quality
|
|
3
|
+
description: "Unified Quality, Security, and Analysis Authority for Agent Enderun"
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# @quality — Unified Quality, Security & Analysis
|
|
7
|
+
|
|
8
|
+
- **Role:** Verification, QA, Security Auditor, and Compliance Officer
|
|
9
|
+
- **Specialization:**
|
|
10
|
+
- **QA:** Vitest, regression suite management, deployment gate validation, TDD design patterns.
|
|
11
|
+
- **Security:** AST vulnerability scanning, OWASP compliance, hardcoded secret detection.
|
|
12
|
+
- **Analysis:** Memory discipline, contract drift detection, procedural continuity auditing, technical debt reporting.
|
|
13
|
+
- **Permitted Directories:**
|
|
14
|
+
- `.enderun/`
|
|
15
|
+
- `apps/backend/src/`
|
|
16
|
+
- `apps/web/src/`
|
|
17
|
+
- `framework-mcp/src/`
|
|
18
|
+
- `docs/`
|
|
19
|
+
- **Hermes Channels:**
|
|
20
|
+
- `@quality->@manager`
|
|
21
|
+
- `@quality->@backend`
|
|
22
|
+
- `@quality->@frontend`
|
|
23
|
+
- `@quality->@git`
|
|
24
|
+
- `@quality->@devops`
|
|
25
|
+
- **Tags:** specialist, quality, security, governance
|
|
26
|
+
|
|
27
|
+
## Core Rules
|
|
28
|
+
- **Gatekeeping:** You are the final gate. No code merges or deploys proceed without @quality sign-off.
|
|
29
|
+
- **Verification First:** Run full verification (lint, typecheck, contract drift, branded types, high-risk patterns) before any work is considered complete.
|
|
30
|
+
- **Never Implement:** You audit, assess, and report. You never implement application features.
|
|
31
|
+
- **Zero Mock Policy:** Integration tests must use real database or service-compatible test backends.
|
|
32
|
+
- **Memory Discipline:** Maintain PROJECT_MEMORY.md integrity and manage locking protocols.
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
## 🔍 QA & Audit Protocols
|
|
37
|
+
|
|
38
|
+
### 1. API Contract Audit (Mandatory Gate)
|
|
39
|
+
- Run `verify_contract_integrity` on phase transitions.
|
|
40
|
+
- Check `contract.version.json` for hash mismatches.
|
|
41
|
+
- Verify modular type imports in `shared-types`.
|
|
42
|
+
|
|
43
|
+
### 2. Procedural Continuity Audit
|
|
44
|
+
- Use `analyze_procedural_continuity` to compare agent changes against "Gold Standard" files.
|
|
45
|
+
- Enforce: Branded Types, Domain Errors, Audit Logging for mutations.
|
|
46
|
+
|
|
47
|
+
### 3. Security Auditing (OWASP & Constitution)
|
|
48
|
+
- Run `security_audit_scan` (secrets, raw SQL, unsafe patterns).
|
|
49
|
+
- Run `analyze_constitution_compliance` (No `any`, Zero Mock, File ownership).
|
|
50
|
+
- **Logging Audit:** Scan for and reject `console.log` usage; verify `AuditService.log()` calls in mutation handlers.
|
|
51
|
+
- **Responsive/Breakpoint Audit:** Verify all UI components against defined Panda CSS breakpoints and Mobile-First mandates.
|
|
52
|
+
- **Native Dialog Audit:** Scan for and reject usage of `alert()` and `confirm()` in frontend code.
|
|
53
|
+
- **Post-Mortem Procedure:** If a task fails or is rejected, perform root-cause analysis and append to `.enderun/knowledge/lessons-learned.md`.
|
|
54
|
+
- Findings must be categorized: CRITICAL, HIGH, MEDIUM, LOW.
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
---
|
|
59
|
+
|
|
60
|
+
## Log Schema (Mandatory)
|
|
61
|
+
Every action must be logged using `log_agent_action` to `.enderun/logs/quality.json`.
|
|
62
|
+
|
|
63
|
+
```json
|
|
64
|
+
{
|
|
65
|
+
"timestamp": "ISO-8601",
|
|
66
|
+
"agent": "@quality",
|
|
67
|
+
"action": "QA | SECURITY | ANALYST",
|
|
68
|
+
"requestId": "TRACE-ID",
|
|
69
|
+
"status": "SUCCESS | FAILURE",
|
|
70
|
+
"summary": "English summary",
|
|
71
|
+
"findings": []
|
|
72
|
+
}
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
---
|
|
76
|
+
|
|
77
|
+
# Operational Protocols (Combined)
|
|
78
|
+
|
|
79
|
+
## 🎯 Memory Management (Analyst)
|
|
80
|
+
- Read `PROJECT_MEMORY.md` at session start.
|
|
81
|
+
- Enforce Lock Protocol for writing to memory.
|
|
82
|
+
|
|
83
|
+
## 🧪 Deployment Gate (QA)
|
|
84
|
+
- Unit tests pass, Integration tests pass against real test DB.
|
|
85
|
+
- Coverage meets project threshold.
|
|
86
|
+
- No skipped tests without manager approval.
|
|
87
|
+
|
|
88
|
+
## 🛡️ Security Audit Gate (Security)
|
|
89
|
+
- Zero CRITICAL/HIGH findings for deploy/merge.
|
|
90
|
+
- No hardcoded secrets.
|
|
91
|
+
- Redact all sensitive values in reports.
|
|
92
|
+
|
|
93
|
+
---
|
|
94
|
+
|
|
95
|
+
## 📋 Code Review Checklist (Mandatory)
|
|
96
|
+
|
|
97
|
+
When conducting or auditing code reviews, the following verification checklist must be completely satisfied:
|
|
98
|
+
- [ ] **Constitution:** Does the code strictly follow `ENDERUN.md` and all core mandates?
|
|
99
|
+
- [ ] **Contract Compliance:** Are all types imported from the app's local types directory? No inline drift?
|
|
100
|
+
- [ ] **Database Integrity:** Is there any Raw SQL usage? (Kysely queries only, raw SQL is forbidden).
|
|
101
|
+
- [ ] **Test Integrity:** Are corresponding unit/integration tests included for all new changes?
|
|
102
|
+
- [ ] **UI Standards:** Is the code strictly mobile-first with zero native dialogs (if UI)?
|
|
103
|
+
|
|
104
|
+
---
|
|
105
|
+
|
|
106
|
+
## 🧪 Testing Standards (Mandatory)
|
|
107
|
+
|
|
108
|
+
All test suites and coverage reports must conform to the following enterprise rules:
|
|
109
|
+
1. **Unit Tests:** Mandatory for all business logic, services, utilities, and helper functions.
|
|
110
|
+
2. **Integration Tests:** Required for API endpoints using a real database or service-compatible test backend (Zero Mock Policy).
|
|
111
|
+
3. **Naming Standard:** Test files must end in `.test.ts` (or `.test.tsx`).
|
|
112
|
+
4. **Coverage Target:** Aim for >80% coverage in core packages and domain logic.
|
|
113
|
+
|
|
114
|
+
---
|
|
115
|
+
|
|
116
|
+
## 🛡️ Security Scanning Standards (Mandatory)
|
|
117
|
+
|
|
118
|
+
All packages and source code must meet the following threat vectors and automated checks:
|
|
119
|
+
1. **No Raw SQL:** Always use Kysely query builder to prevent SQL injection.
|
|
120
|
+
2. **Secrets Management:** Never hardcode API keys, credentials, tokens, or passwords. Strictly use `.env` files.
|
|
121
|
+
3. **Automated Audit:** Run `agent-enderun check:security` before every Pull Request is finalized.
|
|
122
|
+
|
|
@@ -13,15 +13,15 @@
|
|
|
13
13
|
"description": "Create new trace ID"
|
|
14
14
|
},
|
|
15
15
|
"check": {
|
|
16
|
-
"agent": "@
|
|
16
|
+
"agent": "@quality",
|
|
17
17
|
"description": "Full health check"
|
|
18
18
|
},
|
|
19
19
|
"check:security": {
|
|
20
|
-
"agent": "@
|
|
20
|
+
"agent": "@quality",
|
|
21
21
|
"description": "Security audit scan"
|
|
22
22
|
},
|
|
23
23
|
"check:compliance": {
|
|
24
|
-
"agent": "@
|
|
24
|
+
"agent": "@quality",
|
|
25
25
|
"description": "Constitution compliance check"
|
|
26
26
|
},
|
|
27
27
|
"verify-contract": {
|
package/.enderun/config.json
CHANGED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# Context Boundaries & Constitution Caching Standard
|
|
2
|
+
|
|
3
|
+
> **Trace ID:** 01HGT8J5E2N0W0W0W0W0W0W0W4
|
|
4
|
+
> **Status:** ACTIVE
|
|
5
|
+
> **Applicability:** All Agent Enderun Framework Components and Subagents
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## 🏛️ 1. Overview & Core Philosophy
|
|
10
|
+
|
|
11
|
+
In large-scale enterprise projects, keeping the AI's context window clean and lightweight is critical. Overloading the context with unnecessary files (like bulk package lockfiles, build artifacts, or duplicated rule documents) wastes tokens, slows down execution, and dilutes the AI's attention.
|
|
12
|
+
|
|
13
|
+
This standard establishes:
|
|
14
|
+
1. **The Constitution Caching Rule:** Reading `.enderun/ENDERUN.md` is strictly optimized.
|
|
15
|
+
2. **File & Folder Read Boundaries:** Defines allowed vs. ignored paths to protect context integrity.
|
|
16
|
+
3. **Search-Before-Reading Discipline:** Mandatory search heuristics.
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
## 🔒 2. The Constitution Caching Rule (Initial Read Only)
|
|
21
|
+
|
|
22
|
+
To prevent severe token-bloat and redundant file I/O operations, the supreme constitution (`.enderun/ENDERUN.md`) must be loaded efficiently:
|
|
23
|
+
|
|
24
|
+
- **The Initial Read Mandate:** The AI agent must read `{{FRAMEWORK_DIR}}/ENDERUN.md` **exactly once** at the very beginning of the session (during initial bootstrap/startup). This loads all rules into the active system/warm context.
|
|
25
|
+
- **The Read Prohibition:** For all subsequent turns, tasks, and file modifications in that session, the AI agent **is strictly prohibited from calling `read_file` on `ENDERUN.md` again**.
|
|
26
|
+
- **Memory Graph Cache:** The CLI/MCP runtime maintains a session flag (`CONSTITUTION_LOADED: true`) in `{{FRAMEWORK_DIR}}/memory-graph/` to signal that the rules are already active in the warm prompt, rendering repeated reads unnecessary.
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
## 🚫 3. Path-Based Read Boundaries
|
|
31
|
+
|
|
32
|
+
To prevent token waste, agents must strictly ignore the following directories and files during read/analysis operations. Here, `{{FRAMEWORK_DIR}}` is dynamically resolved at runtime to whichever folder the framework is initialized in (e.g., `.enderun`, `.gemini`, `.claude`, or `.agent`).
|
|
33
|
+
|
|
34
|
+
### ❌ Ignored Paths (Strictly Prohibited for AI Read)
|
|
35
|
+
* **`node_modules/`** — Massive dependency tree. Absolutely out of bounds.
|
|
36
|
+
* **`dist/`, `build/`, `out/`** — Transpiled/compiled production bundles.
|
|
37
|
+
* **`.git/`** — Version control internal database files.
|
|
38
|
+
* **`package-lock.json`** — Extremely large lockfile (can easily exceed 150KB+). Reading this is forbidden unless explicitly diagnosing a deep dependency lock drift.
|
|
39
|
+
* **`.DS_Store`, `.vscode/`, `.idea/`** — OS and IDE-specific metadata.
|
|
40
|
+
* **`{{FRAMEWORK_DIR}}/logs/`** — Historical execution logs (except the active agent's own log file during write-updates).
|
|
41
|
+
|
|
42
|
+
### 🟢 Allowed Paths (Active Context Space)
|
|
43
|
+
* **`{{BACKEND_DIR}}/src/`** and **`{{FRONTEND_DIR}}/src/`** — Active user code.
|
|
44
|
+
* **`{{DOCS_DIR}}/`** — Project architecture, guides, and requirements.
|
|
45
|
+
* **`package.json`** — Workspace configurations and script references.
|
|
46
|
+
* **`panda.config.ts`, `tsconfig.json`, `eslint.config.js`** — Design and compiler options.
|
|
47
|
+
* **`{{FRAMEWORK_DIR}}/STATUS.md` & `{{FRAMEWORK_DIR}}/PROJECT_MEMORY.md`** — Live status and SSOT.
|
|
48
|
+
* **`{{FRAMEWORK_DIR}}/agents/{active_agent}.md`** — The active agent instruction prompt.
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
## 🕵️ 4. Search-Before-Reading Protocol
|
|
53
|
+
|
|
54
|
+
To ensure minimal and clean context usage:
|
|
55
|
+
- **Rule:** Never open or read a file blindly.
|
|
56
|
+
- **Heuristic:** Use `search_codebase` or `grep_search` to identify exact matches, line numbers, or specific functions first.
|
|
57
|
+
- **Action:** Read *only* the specific lines or narrow ranges of target files instead of reading large, full-length files by default.
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# High-Risk Action Approval Protocol
|
|
2
|
+
|
|
3
|
+
This protocol defines the non-negotiable process for executing high-risk operations (e.g., database schema changes, production environment configuration, user permission management, bulk data deletion) within the Agent Enderun framework.
|
|
4
|
+
|
|
5
|
+
## 1. Scope Definition
|
|
6
|
+
Any action that meets the following criteria is classified as "High-Risk":
|
|
7
|
+
- Modifies production database schema.
|
|
8
|
+
- Changes system-wide security policies or IAM permissions.
|
|
9
|
+
- Triggers destructive data operations (bulk delete, purge).
|
|
10
|
+
- Modifies production-level configuration files (e.g., `.env.prod`).
|
|
11
|
+
|
|
12
|
+
## 2. Mandatory Approval Flow
|
|
13
|
+
|
|
14
|
+
All high-risk actions MUST follow the "Three-Key" principle:
|
|
15
|
+
|
|
16
|
+
1. **Initiation:** The requesting specialist agent MUST brief `@manager` using the `send_agent_message` Hermes protocol, explicitly stating the intent and risk.
|
|
17
|
+
2. **Analysis:** `@manager` logs the intent to `.enderun/logs/manager.json` and updates `PROJECT_MEMORY.md` with a new Trace ID status: `PENDING_APPROVAL`.
|
|
18
|
+
3. **Quality/Security Gate:** `@manager` delegates the task to `@quality` via Hermes with a `SECURITY_AND_IMPACT_AUDIT` category.
|
|
19
|
+
- `@quality` MUST run `analyze_procedural_continuity` and `security_audit_scan`.
|
|
20
|
+
- `@quality` MUST issue a formal `APPROVAL` or `REJECTION` Hermes message back to `@manager`.
|
|
21
|
+
4. **Execution:** ONLY upon receiving an `APPROVAL` Hermes message, `@manager` is authorized to execute the action via internal tools.
|
|
22
|
+
|
|
23
|
+
## 3. Tool Enforcement (MCP)
|
|
24
|
+
- Specialists must NOT have direct MCP tool permissions for high-risk actions.
|
|
25
|
+
- These tools MUST be wrapped in a decorator that forces the request through the `@manager` approval flow.
|
|
26
|
+
|
|
27
|
+
## 4. Audit Trail (Non-Negotiable)
|
|
28
|
+
- All steps must be recorded in `.enderun/logs/governance.json`.
|
|
29
|
+
- Missing audit trails for any high-risk action constitute a "Critical Rule Violation" and trigger an automatic system-wide lock.
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# Documentation Ownership Standard
|
|
2
|
+
|
|
3
|
+
> **Trace ID:** 01HGT8J5E2N0W0W0W0W0W0W0W4
|
|
4
|
+
> **Status:** ACTIVE
|
|
5
|
+
> **Applicability:** All Agent Enderun Framework Components and Subagents
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## 🏛️ 1. Overview & Core Philosophy
|
|
10
|
+
|
|
11
|
+
In a high-integrity agentic development environment, keeping a strict separation of concerns between the **Agent Enderun Framework** and the **User's Application Codebase** is critical. Documentation is no exception.
|
|
12
|
+
|
|
13
|
+
This standard defines the boundary of where documentation can and must be written. Any deviation from this policy is treated as a major architectural governance violation and will be flagged immediately by `@manager`.
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## 🚫 2. The Framework Boundary
|
|
18
|
+
|
|
19
|
+
To maintain portability and avoid cluttering the core framework directory, agents must strictly follow the directory permissions:
|
|
20
|
+
|
|
21
|
+
1. **Framework Directories (`.enderun/` or `{{FRAMEWORK_DIR}}`)**:
|
|
22
|
+
- **Allowed**: Core system configurations, internal agent instructions, status metrics, and global, generic framework-level architectural patterns.
|
|
23
|
+
- **Strictly Prohibited**: Any user-project specific research, implementation details, API guides, component documentation, database schemas, or deployment instructions.
|
|
24
|
+
|
|
25
|
+
2. **User Application Directories (e.g., `docs/`, `apps/`, `src/`)**:
|
|
26
|
+
- **Mandatory**: All project-specific architectural decisions (ADRs), layout specs, technical guides, system integration plans, API specifications, and research findings must be written **exclusively** into the user's own `docs/` directory.
|
|
27
|
+
|
|
28
|
+
```mermaid
|
|
29
|
+
graph TD
|
|
30
|
+
A[Agent Produces Documentation] --> B{Is it Framework Internal?}
|
|
31
|
+
B -->|Yes| C[Write to .enderun/knowledge/ or .enderun/agents/]
|
|
32
|
+
B -->|No - Project Specific| D[Write exclusively to user's docs/ directory]
|
|
33
|
+
C --> E[Enterprise Framework Knowledge Base]
|
|
34
|
+
D --> F[User Project Documentation Assets]
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
## 📝 3. User Project `docs/` Structure
|
|
40
|
+
|
|
41
|
+
When producing user-facing documentation, agents must use a clean, logical structure inside the user's `docs/` directory:
|
|
42
|
+
|
|
43
|
+
- `/docs/architecture/` — Architectural Decision Records (ADRs), system designs, database schemas.
|
|
44
|
+
- `/docs/api/` — API route documentation, contract hashes, payload structures.
|
|
45
|
+
- `/docs/guides/` — Developer onboarding, building, running, and troubleshooting the specific application.
|
|
46
|
+
- `/docs/research/` — Third-party library evaluations, performance benchmarks, and exploration logs.
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
## 🚨 4. Enforcement & Governance
|
|
51
|
+
|
|
52
|
+
- **Zero-Tolerance Audit**: During any code review or check command (e.g., `agent-enderun check`), `@manager` or `@quality` will verify if any files have been erroneously created in `.enderun/knowledge/`.
|
|
53
|
+
- **Auto-Correction**: Any violating file will be immediately moved to the appropriate user-project `docs/` directory, and a warning log carrying the active Trace ID will be raised.
|
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
**Version:** 1.0
|
|
4
4
|
**Owner:** @manager
|
|
5
|
-
**Last Updated:** 23
|
|
5
|
+
**Last Updated:** 23 May 2026
|
|
6
6
|
|
|
7
7
|
## Purpose
|
|
8
8
|
|
|
9
|
-
This document defines the official **@frontend Professionalization Program** to close the critical risk item **"@frontend
|
|
9
|
+
This document defines the official **@frontend Professionalization Program** to close the critical risk item **"@frontend Weakness"** in the Risk Tracking Dashboard.
|
|
10
10
|
|
|
11
11
|
The goal is to elevate the @frontend agent from its current level (6.5) to a true **kurumsal (enterprise) grade** frontend architect (target: 9.0) within 6–8 weeks.
|
|
12
12
|
|
|
13
|
-
## Current Risk Assessment (23
|
|
13
|
+
## Current Risk Assessment (23 May 2026)
|
|
14
14
|
|
|
15
|
-
- **Risk Name:** @frontend
|
|
15
|
+
- **Risk Name:** @frontend Weakness
|
|
16
16
|
- **Current Level:** 6.5 / 10
|
|
17
17
|
- **Target Level:** 9.0 / 10
|
|
18
|
-
- **Risk Severity:**
|
|
18
|
+
- **Risk Severity:** Critical / High Risk
|
|
19
19
|
- **Main Weaknesses:**
|
|
20
20
|
- Component architecture and composition patterns exist on paper but are not deeply enforced.
|
|
21
21
|
- Accessibility (WCAG 2.2) is defined but lacks mandatory enforcement and audit mechanisms.
|
|
@@ -48,7 +48,7 @@ The goal is to elevate the @frontend agent from its current level (6.5) to a tru
|
|
|
48
48
|
- Establish formal **Design System Evolution Process** (proposal → @manager review → approval → migration plan).
|
|
49
49
|
- Create @frontend Growth Task system (similar to other agents).
|
|
50
50
|
- Integrate @frontend performance and accessibility metrics into BRAIN_DASHBOARD.md.
|
|
51
|
-
- Close the "@frontend
|
|
51
|
+
- Close the "@frontend Weakness" risk item in the Risk Tracking Dashboard upon successful demonstration in a reference application.
|
|
52
52
|
|
|
53
53
|
## Mandatory Requirements (Non-Negotiable)
|
|
54
54
|
|
|
@@ -89,7 +89,7 @@ Any task involving @frontend must satisfy the following:
|
|
|
89
89
|
|
|
90
90
|
## Success Criteria (Risk Closure)
|
|
91
91
|
|
|
92
|
-
The "@frontend
|
|
92
|
+
The "@frontend Weakness" risk can be closed when:
|
|
93
93
|
|
|
94
94
|
- @frontend agent consistently applies compound components, accessibility, and performance patterns in real tasks.
|
|
95
95
|
- A reference application demonstrates professional-grade frontend work (including high-risk admin flows with Hermes).
|
|
@@ -2,19 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
**Version:** 1.0
|
|
4
4
|
**Owner:** @manager
|
|
5
|
-
**Last Updated:** 23
|
|
5
|
+
**Last Updated:** 23 May 2026
|
|
6
6
|
|
|
7
7
|
## Purpose
|
|
8
8
|
|
|
9
|
-
This document defines the official **Hermes Live Test Program** to close the risk item **"Hermes '
|
|
9
|
+
This document defines the official **Hermes Live Test Program** to close the risk item **"Hermes 'On Paper'"** in the Risk Tracking Dashboard.
|
|
10
10
|
|
|
11
11
|
Although the Hermes protocol is now technically stateful and mandatory on paper (send_agent_message, read_agent_messages, update_agent_message_status, proper lifecycle), it has not yet been proven in real inter-agent communication cycles.
|
|
12
12
|
|
|
13
13
|
The goal is to move Hermes from **"defined and mandated"** to **"actually used and verified in live scenarios"**.
|
|
14
14
|
|
|
15
|
-
## Current Risk Status (23
|
|
15
|
+
## Current Risk Status (23 May 2026)
|
|
16
16
|
|
|
17
|
-
- **Risk Name:** Hermes “
|
|
17
|
+
- **Risk Name:** Hermes “On Paper”
|
|
18
18
|
- **Previous Progress:** %70 (protocol made stateful + mandatory in all agents)
|
|
19
19
|
- **Current Gap:** No real, end-to-end live message flows have been executed and verified between agents in a working context.
|
|
20
20
|
- **Risk Severity:** Orta (but blocking full autonomous orchestration claim)
|
|
@@ -50,7 +50,7 @@ To consider the Hermes protocol "live and proven", the following scenarios **mus
|
|
|
50
50
|
|
|
51
51
|
## Acceptance Criteria (Risk Closure)
|
|
52
52
|
|
|
53
|
-
The "Hermes
|
|
53
|
+
The "Hermes On Paper" risk can be closed only when **all** of the following are true:
|
|
54
54
|
|
|
55
55
|
- At least the 4 scenarios above have been executed in a real context (preferably inside the reference application).
|
|
56
56
|
- Every message uses correct `from`, `to`, `traceId`, `category`, `priority`, and proper status transitions.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Lessons Learned - Agent Enderun
|
|
2
|
+
|
|
3
|
+
This repository stores the collective intelligence of the Agent Army. Every failure is analyzed, and a corresponding "Prevention Rule" is established here.
|
|
4
|
+
|
|
5
|
+
## Structure of a Lesson
|
|
6
|
+
- **Trace ID:** The original task chain ID.
|
|
7
|
+
- **Agent:** The agent responsible for the failure.
|
|
8
|
+
- **Root Cause:** Deep analysis of why the failure occurred.
|
|
9
|
+
- **Solution:** How the failure was resolved.
|
|
10
|
+
- **Prevention Rule:** A mandatory rule added to the agent's Core Rules or `ENDERUN.md` to prevent recurrence.
|
|
11
|
+
|
|
12
|
+
## Archive
|
|
13
|
+
|
|
14
|
+
*(No lessons learned yet. System is in pristine state.)*
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
**Version:** 1.0
|
|
4
4
|
**Owner:** @manager
|
|
5
|
-
**Last Updated:** 23
|
|
5
|
+
**Last Updated:** 23 May 2026
|
|
6
6
|
|
|
7
7
|
## Purpose
|
|
8
8
|
|
|
@@ -12,14 +12,14 @@ Even though strong rules exist in individual agent files, without a systematic a
|
|
|
12
12
|
|
|
13
13
|
## Why This Is Necessary
|
|
14
14
|
|
|
15
|
-
From the agent control audit (23
|
|
15
|
+
From the agent control audit (23 May 2026):
|
|
16
16
|
|
|
17
17
|
- @backend, @frontend, @analyst, and @explorer have partial governance rules, but enforcement is inconsistent.
|
|
18
18
|
- @git, @mobile, and @native have almost no @manager control defined.
|
|
19
19
|
- Hermes usage and High-Risk Admin compliance are still largely declarative in many agents.
|
|
20
20
|
- Memory Discipline and briefing requirements are frequently bypassed in practice.
|
|
21
21
|
|
|
22
|
-
Without regular auditing and clear enforcement, the "
|
|
22
|
+
Without regular auditing and clear enforcement, the "Single Point of Authority" and "Zero Tolerance" principles lose effectiveness.
|
|
23
23
|
|
|
24
24
|
## Core Principles
|
|
25
25
|
|
|
@@ -77,10 +77,10 @@ When a violation is detected, @manager must apply the following in order:
|
|
|
77
77
|
|
|
78
78
|
This authority system directly supports the closure of multiple risks:
|
|
79
79
|
|
|
80
|
-
-
|
|
81
|
-
- @frontend
|
|
82
|
-
- Hermes “
|
|
83
|
-
-
|
|
80
|
+
- Lack of Reference Application
|
|
81
|
+
- @frontend Weakness
|
|
82
|
+
- Hermes “On Paper”
|
|
83
|
+
- Lack of Real-world Usage
|
|
84
84
|
|
|
85
85
|
Every time a reference application or major task is executed, @manager must run an Authority Audit and record findings.
|
|
86
86
|
|
|
@@ -92,7 +92,7 @@ Every time a reference application or major task is executed, @manager must run
|
|
|
92
92
|
|
|
93
93
|
## Related Documents
|
|
94
94
|
|
|
95
|
-
- `.enderun/agents/manager.md` →
|
|
95
|
+
- `.enderun/agents/manager.md` → Mandatory @manager Behavioral Rules for Enterprise Projects + Hermes Communication Mandate
|
|
96
96
|
- `.enderun/knowledge/hermes_live_test_guidelines.md`
|
|
97
97
|
- `.enderun/knowledge/frontend_professionalization_guidelines.md`
|
|
98
98
|
- `.enderun/knowledge/reference_application_guidelines.md`
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
**Version:** 1.0
|
|
4
4
|
**Owner:** @manager
|
|
5
|
-
**Last Updated:** 23
|
|
5
|
+
**Last Updated:** 23 May 2026
|
|
6
6
|
|
|
7
7
|
## Purpose
|
|
8
8
|
|
|
@@ -14,8 +14,8 @@ The goal is to move from "empty `apps/` folder" to a **minimal but meaningful pr
|
|
|
14
14
|
|
|
15
15
|
@manager should initiate a project scaffold in the following cases:
|
|
16
16
|
|
|
17
|
-
- The Risk Tracking Dashboard shows **"
|
|
18
|
-
- The team needs a concrete starting point to validate governance rules (especially
|
|
17
|
+
- The Risk Tracking Dashboard shows **"Lack of Reference Application"** as a top-priority open risk.
|
|
18
|
+
- The team needs a concrete starting point to validate governance rules (especially Corporate CRUD Governance and Hermes).
|
|
19
19
|
- A new major capability needs to be proven before being used in client projects.
|
|
20
20
|
- During the early stages of Phase 1 or Phase 2 when moving from theory to real implementation.
|
|
21
21
|
|
|
@@ -74,7 +74,7 @@ Any project scaffold created with Agent Enderun **must** include at least the fo
|
|
|
74
74
|
- The scaffold must respect the **Framework vs User Project Boundary** (only work inside `apps/`).
|
|
75
75
|
- The scaffold is **temporary and educational** — it is meant to prove concepts, not to become a full product.
|
|
76
76
|
- All high-risk operations in the scaffold must follow the `managerApproval` + Hermes + audit pattern.
|
|
77
|
-
- After successful completion, update the Risk Tracking Dashboard to reflect progress on "
|
|
77
|
+
- After successful completion, update the Risk Tracking Dashboard to reflect progress on "Lack of Reference Application".
|
|
78
78
|
|
|
79
79
|
## Success Criteria
|
|
80
80
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
**Version:** 1.0
|
|
4
4
|
**Owner:** @manager
|
|
5
|
-
**Last Updated:** 23
|
|
5
|
+
**Last Updated:** 23 May 2026
|
|
6
6
|
|
|
7
7
|
## Purpose
|
|
8
8
|
|
|
@@ -14,8 +14,8 @@ The goal of a reference application is to **prove** that Agent Enderun’s gover
|
|
|
14
14
|
|
|
15
15
|
@manager should initiate a reference application in the following situations:
|
|
16
16
|
|
|
17
|
-
- The Risk Tracking Dashboard shows **"
|
|
18
|
-
- The team needs to validate that new governance rules (especially
|
|
17
|
+
- The Risk Tracking Dashboard shows **"Lack of Reference Application"** as a top-priority open risk.
|
|
18
|
+
- The team needs to validate that new governance rules (especially Corporate CRUD Governance and Hermes) work end-to-end.
|
|
19
19
|
- A new major capability (e.g., advanced Hermes flows, complex admin patterns) needs to be demonstrated before being trusted in client projects.
|
|
20
20
|
- During Phase 1 or early Phase 2 when moving from theory to practice.
|
|
21
21
|
|
|
@@ -38,7 +38,7 @@ Any reference application **must** demonstrate the following:
|
|
|
38
38
|
- At least one real inter-agent message flow (e.g., @backend → @analyst or @manager → @backend)
|
|
39
39
|
- Proper use of `send_agent_message` + `update_agent_message_status`
|
|
40
40
|
|
|
41
|
-
5. **
|
|
41
|
+
5. **Corporate Governance Compliance**
|
|
42
42
|
- All high-risk actions must go through @manager briefing and approval
|
|
43
43
|
- Full audit logging with Trace ID, previousState/newState, and actor
|
|
44
44
|
|
|
@@ -73,7 +73,7 @@ This scope is small enough to build quickly but rich enough to prove the most cr
|
|
|
73
73
|
|
|
74
74
|
- Never create a reference application without an explicit @manager briefing.
|
|
75
75
|
- The reference app is **temporary and educational** — it is not a product.
|
|
76
|
-
- After the reference application successfully closes the "
|
|
76
|
+
- After the reference application successfully closes the "Lack of Reference Application" risk, it may be archived or replaced with a cleaner example.
|
|
77
77
|
- All work must be logged in HISTORY and the Risk Tracking Dashboard must be updated.
|
|
78
78
|
|
|
79
79
|
## Updating Risk Status
|
|
@@ -81,7 +81,7 @@ This scope is small enough to build quickly but rich enough to prove the most cr
|
|
|
81
81
|
When a reference application is completed and accepted:
|
|
82
82
|
|
|
83
83
|
1. Update the Risk Tracking Dashboard in both `docs/roadmap.md` and `PROJECT_MEMORY.md`
|
|
84
|
-
2. Mark "
|
|
84
|
+
2. Mark "Lack of Reference Application" as **Closed**
|
|
85
85
|
3. Record the achievement in the HISTORY section of PROJECT_MEMORY.md
|
|
86
86
|
4. Optionally create a short "Reference Application Walkthrough" under `docs/`
|
|
87
87
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"agent": "quality", "version": "0.9.0", "lastUpdated": "2026-05-29T15:41:37Z", "sessionHistory": [], "notes": "Merged from analyst, qa, and security agents."}
|
package/.enderun/queue/README.md
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
# .enderun/queue — Agent
|
|
1
|
+
# .enderun/queue — Agent Task Queue
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
This directory contains the file-based asynchronous task queue for the Agent Enderun Army.
|
|
4
4
|
|
|
5
|
-
## Alt
|
|
5
|
+
## Alt Directoryler
|
|
6
6
|
|
|
7
|
-
|
|
|
7
|
+
| Directory | Content |
|
|
8
8
|
|---|---|
|
|
9
|
-
| `pending/` |
|
|
10
|
-
| `processing/` |
|
|
11
|
-
| `completed/` |
|
|
12
|
-
| `failed/` |
|
|
13
|
-
| `pipelines/` | `create_execution_pipeline` MCP tool
|
|
9
|
+
| `pending/` | Assigned but not yet started tasks (`{traceId}.json`) |
|
|
10
|
+
| `processing/` | Tasks currently being executed |
|
|
11
|
+
| `completed/` | Successfully completed tasks (archive) |
|
|
12
|
+
| `failed/` | Failed tasks (managed by retry logic) |
|
|
13
|
+
| `pipelines/` | `create_execution_pipeline` MCP tool pipeline JSON files generated by |
|
|
14
14
|
|
|
15
|
-
##
|
|
15
|
+
## Task File Format
|
|
16
16
|
|
|
17
17
|
```json
|
|
18
18
|
{
|
|
@@ -29,8 +29,8 @@ Bu dizin, Agent Enderun Army'nin file-based asenkron görev kuyruğunu içerir.
|
|
|
29
29
|
}
|
|
30
30
|
```
|
|
31
31
|
|
|
32
|
-
##
|
|
32
|
+
## Locking Protocol
|
|
33
33
|
|
|
34
|
-
|
|
34
|
+
Before writing to a file `.lock` check the
|
|
35
35
|
Varsa 500ms bekle, max 3 retry.
|
|
36
|
-
3
|
|
36
|
+
After 3 retries, it is considered a stale lock and reported to @manager.
|