@ngockhoale/ukit 1.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +179 -0
- package/LICENSE +21 -0
- package/README.md +189 -0
- package/bin/ukit +30 -0
- package/manifests/platform.full.yaml +1194 -0
- package/package.json +71 -0
- package/scripts/bug/triage.mjs +37 -0
- package/scripts/index/build-index.mjs +35 -0
- package/scripts/index/query-index.mjs +92 -0
- package/scripts/index/refresh-index.mjs +85 -0
- package/scripts/release/verify-release.mjs +56 -0
- package/src/bug/triageBug.js +123 -0
- package/src/cli/adapters.js +148 -0
- package/src/cli/commands/diff.js +51 -0
- package/src/cli/commands/doctor.js +125 -0
- package/src/cli/commands/indexArgs.js +73 -0
- package/src/cli/commands/indexTools.js +509 -0
- package/src/cli/commands/install.js +293 -0
- package/src/cli/commands/memory.js +126 -0
- package/src/cli/commands/status.js +8 -0
- package/src/cli/commands/uninstall.js +51 -0
- package/src/cli/index.js +109 -0
- package/src/context/detectProjectContext.js +49 -0
- package/src/context/detectProviders.js +12 -0
- package/src/core/applyPlan.js +89 -0
- package/src/core/buildPlan.js +228 -0
- package/src/core/compact/index.js +294 -0
- package/src/core/compact/threshold.js +936 -0
- package/src/core/diffPlan.js +73 -0
- package/src/core/ensureGitignore.js +117 -0
- package/src/core/fileOps.js +188 -0
- package/src/core/memory/hygiene.js +160 -0
- package/src/core/memory/index.js +2 -0
- package/src/core/memory/retrieval.js +476 -0
- package/src/core/memory/store.js +202 -0
- package/src/core/metadata.js +132 -0
- package/src/core/migrateLegacy.js +139 -0
- package/src/core/output/index.js +1309 -0
- package/src/core/paths.js +13 -0
- package/src/core/report.js +17 -0
- package/src/core/router/advisor.js +42 -0
- package/src/core/router/index.js +2 -0
- package/src/core/router/router.js +164 -0
- package/src/core/runInstallPipeline.js +365 -0
- package/src/core/runtimeConfig.js +190 -0
- package/src/core/runtimePaths.js +24 -0
- package/src/core/status.js +186 -0
- package/src/core/token/index.js +328 -0
- package/src/core/uninstall.js +246 -0
- package/src/core/validation/confidence.js +89 -0
- package/src/core/validation/index.js +2 -0
- package/src/core/validation/validator.js +165 -0
- package/src/index/buildIndex.js +1392 -0
- package/src/index/gitHooks.js +109 -0
- package/src/index/importResolution.js +377 -0
- package/src/index/languageTools.js +127 -0
- package/src/index/paths.js +27 -0
- package/src/index/queryIndex.js +637 -0
- package/src/index/relatedTests.js +237 -0
- package/src/index/resolveContext.js +345 -0
- package/src/index/routeCatalog.js +258 -0
- package/src/index/taskRouting.js +677 -0
- package/src/index/verificationPlan.js +437 -0
- package/src/manifest/loadManifest.js +22 -0
- package/src/manifest/selectItems.js +78 -0
- package/src/manifest/validateManifest.js +115 -0
- package/src/render/buildVariables.js +39 -0
- package/src/render/renderTemplate.js +44 -0
- package/src/stack/detectStack.js +213 -0
- package/templates/.claude/agents/bug-debugger.md +57 -0
- package/templates/.claude/agents/feature-implementer.md +55 -0
- package/templates/.claude/config/providers.md +25 -0
- package/templates/.claude/hooks/auto-allow-bash.sh +155 -0
- package/templates/.claude/hooks/auto-prune-bash.sh +75 -0
- package/templates/.claude/hooks/block-dangerous.sh +54 -0
- package/templates/.claude/hooks/compress-output.sh +17 -0
- package/templates/.claude/hooks/protect-files.sh +37 -0
- package/templates/.claude/hooks/reinject-context.sh +28 -0
- package/templates/.claude/hooks/session-start.md +13 -0
- package/templates/.claude/hooks/skill-router.sh +1681 -0
- package/templates/.claude/hooks/verification-guard.sh +271 -0
- package/templates/.claude/settings.json +144 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/mce/mc.xsd +75 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/microsoft/wml-2010.xsd +560 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/microsoft/wml-2012.xsd +67 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/microsoft/wml-2018.xsd +14 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/microsoft/wml-cex-2018.xsd +20 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/microsoft/wml-cid-2016.xsd +13 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
- package/templates/.claude/skills/_shared/ooxml/schemas/microsoft/wml-symex-2015.xsd +8 -0
- package/templates/.claude/skills/_shared/ooxml/scripts/pack.py +159 -0
- package/templates/.claude/skills/_shared/ooxml/scripts/unpack.py +29 -0
- package/templates/.claude/skills/_shared/ooxml/scripts/validate.py +69 -0
- package/templates/.claude/skills/_shared/ooxml/scripts/validation/__init__.py +15 -0
- package/templates/.claude/skills/_shared/ooxml/scripts/validation/base.py +951 -0
- package/templates/.claude/skills/_shared/ooxml/scripts/validation/docx.py +274 -0
- package/templates/.claude/skills/_shared/ooxml/scripts/validation/pptx.py +315 -0
- package/templates/.claude/skills/_shared/ooxml/scripts/validation/redlining.py +279 -0
- package/templates/.claude/skills/backend-api/SKILL.md +26 -0
- package/templates/.claude/skills/canvas-design/LICENSE.txt +202 -0
- package/templates/.claude/skills/canvas-design/SKILL.md +130 -0
- package/templates/.claude/skills/canvas-design/canvas-fonts/BricolageGrotesque-Bold.ttf +0 -0
- package/templates/.claude/skills/canvas-design/canvas-fonts/BricolageGrotesque-OFL.txt +93 -0
- package/templates/.claude/skills/canvas-design/canvas-fonts/BricolageGrotesque-Regular.ttf +0 -0
- package/templates/.claude/skills/canvas-design/canvas-fonts/InstrumentSans-Bold.ttf +0 -0
- package/templates/.claude/skills/canvas-design/canvas-fonts/InstrumentSans-BoldItalic.ttf +0 -0
- package/templates/.claude/skills/canvas-design/canvas-fonts/InstrumentSans-Italic.ttf +0 -0
- package/templates/.claude/skills/canvas-design/canvas-fonts/InstrumentSans-OFL.txt +93 -0
- package/templates/.claude/skills/canvas-design/canvas-fonts/InstrumentSans-Regular.ttf +0 -0
- package/templates/.claude/skills/canvas-design/canvas-fonts/InstrumentSerif-Italic.ttf +0 -0
- package/templates/.claude/skills/canvas-design/canvas-fonts/InstrumentSerif-Regular.ttf +0 -0
- package/templates/.claude/skills/canvas-design/canvas-fonts/JetBrainsMono-Bold.ttf +0 -0
- package/templates/.claude/skills/canvas-design/canvas-fonts/JetBrainsMono-OFL.txt +93 -0
- package/templates/.claude/skills/canvas-design/canvas-fonts/JetBrainsMono-Regular.ttf +0 -0
- package/templates/.claude/skills/canvas-design/canvas-fonts/Lora-Bold.ttf +0 -0
- package/templates/.claude/skills/canvas-design/canvas-fonts/Lora-BoldItalic.ttf +0 -0
- package/templates/.claude/skills/canvas-design/canvas-fonts/Lora-Italic.ttf +0 -0
- package/templates/.claude/skills/canvas-design/canvas-fonts/Lora-OFL.txt +93 -0
- package/templates/.claude/skills/canvas-design/canvas-fonts/Lora-Regular.ttf +0 -0
- package/templates/.claude/skills/canvas-design/canvas-fonts/NothingYouCouldDo-OFL.txt +93 -0
- package/templates/.claude/skills/canvas-design/canvas-fonts/NothingYouCouldDo-Regular.ttf +0 -0
- package/templates/.claude/skills/canvas-design/canvas-fonts/Outfit-Bold.ttf +0 -0
- package/templates/.claude/skills/canvas-design/canvas-fonts/Outfit-OFL.txt +93 -0
- package/templates/.claude/skills/canvas-design/canvas-fonts/Outfit-Regular.ttf +0 -0
- package/templates/.claude/skills/canvas-design/canvas-fonts/Tektur-Medium.ttf +0 -0
- package/templates/.claude/skills/canvas-design/canvas-fonts/Tektur-OFL.txt +93 -0
- package/templates/.claude/skills/canvas-design/canvas-fonts/Tektur-Regular.ttf +0 -0
- package/templates/.claude/skills/canvas-design/canvas-fonts/YoungSerif-OFL.txt +93 -0
- package/templates/.claude/skills/canvas-design/canvas-fonts/YoungSerif-Regular.ttf +0 -0
- package/templates/.claude/skills/code-review/SKILL.md +97 -0
- package/templates/.claude/skills/debugging-toolkit/SKILL.md +156 -0
- package/templates/.claude/skills/delivery/SKILL.md +92 -0
- package/templates/.claude/skills/discover-security/SKILL.md +86 -0
- package/templates/.claude/skills/docker-packaging/SKILL.md +60 -0
- package/templates/.claude/skills/docs-manager/SKILL.md +465 -0
- package/templates/.claude/skills/docs-manager/init-project-docs.sh +70 -0
- package/templates/.claude/skills/docs-manager/templates/README.md.template +50 -0
- package/templates/.claude/skills/docs-manager/templates/agent-roles.md.template +24 -0
- package/templates/.claude/skills/docs-manager/templates/coding-conventions.md.template +28 -0
- package/templates/.claude/skills/docs-manager/templates/memory.md.template +30 -0
- package/templates/.claude/skills/docs-manager/templates/onboarding.md.template +20 -0
- package/templates/.claude/skills/docs-manager/templates/project.md.template +26 -0
- package/templates/.claude/skills/docs-quality/SKILL.md +148 -0
- package/templates/.claude/skills/docx/LICENSE.txt +30 -0
- package/templates/.claude/skills/docx/SKILL.md +197 -0
- package/templates/.claude/skills/docx/docx-js.md +350 -0
- package/templates/.claude/skills/docx/ooxml.md +610 -0
- package/templates/.claude/skills/docx/scripts/__init__.py +1 -0
- package/templates/.claude/skills/docx/scripts/document.py +1276 -0
- package/templates/.claude/skills/docx/scripts/templates/comments.xml +3 -0
- package/templates/.claude/skills/docx/scripts/templates/commentsExtended.xml +3 -0
- package/templates/.claude/skills/docx/scripts/templates/commentsExtensible.xml +3 -0
- package/templates/.claude/skills/docx/scripts/templates/commentsIds.xml +3 -0
- package/templates/.claude/skills/docx/scripts/templates/people.xml +3 -0
- package/templates/.claude/skills/docx/scripts/utilities.py +374 -0
- package/templates/.claude/skills/duraone/SKILL.md +204 -0
- package/templates/.claude/skills/duraone/references/backend.md +636 -0
- package/templates/.claude/skills/duraone/references/frontend.md +1506 -0
- package/templates/.claude/skills/duraone/references/sql.md +631 -0
- package/templates/.claude/skills/duraone/references/workflow.md +520 -0
- package/templates/.claude/skills/executing-plans/SKILL.md +76 -0
- package/templates/.claude/skills/file-organizer/SKILL.md +433 -0
- package/templates/.claude/skills/frontend/SKILL.md +26 -0
- package/templates/.claude/skills/frontend-design/LICENSE.txt +177 -0
- package/templates/.claude/skills/frontend-design/SKILL.md +42 -0
- package/templates/.claude/skills/frontend-vue/SKILL.md +127 -0
- package/templates/.claude/skills/frontend-vue/components/Control/Box.vue +137 -0
- package/templates/.claude/skills/frontend-vue/components/Control/Button.vue +93 -0
- package/templates/.claude/skills/frontend-vue/components/Control/ButtonBar.vue +29 -0
- package/templates/.claude/skills/frontend-vue/components/Control/ButtonFloat.vue +62 -0
- package/templates/.claude/skills/frontend-vue/components/Control/CheckButton.vue +75 -0
- package/templates/.claude/skills/frontend-vue/components/Control/Checkbox.vue +58 -0
- package/templates/.claude/skills/frontend-vue/components/Control/Datetime.vue +148 -0
- package/templates/.claude/skills/frontend-vue/components/Control/Dropdownlist.vue +156 -0
- package/templates/.claude/skills/frontend-vue/components/Control/Input.vue +106 -0
- package/templates/.claude/skills/frontend-vue/components/Control/Label.vue +38 -0
- package/templates/.claude/skills/frontend-vue/components/Control/Master/BoxColumn.vue +24 -0
- package/templates/.claude/skills/frontend-vue/components/Control/Popup/Confirm.vue +33 -0
- package/templates/.claude/skills/frontend-vue/components/Control/Popup/Info.vue +32 -0
- package/templates/.claude/skills/frontend-vue/components/Control/Popup/ModalInfo.vue +39 -0
- package/templates/.claude/skills/frontend-vue/components/Control/Popup/Reject.vue +64 -0
- package/templates/.claude/skills/frontend-vue/components/Control/Tag.vue +82 -0
- package/templates/.claude/skills/frontend-vue/components/Control/Upload.vue +61 -0
- package/templates/.claude/skills/frontend-vue/components/ControlMobile/Dropdownlist.vue +103 -0
- package/templates/.claude/skills/frontend-vue/components/ControlMobile/PagingBar.vue +108 -0
- package/templates/.claude/skills/frontend-vue/components/ControlMobile/UploadImage.vue +137 -0
- package/templates/.claude/skills/frontend-vue/components/Grid/AG.vue +806 -0
- package/templates/.claude/skills/frontend-vue/components/Grid/AntTable.vue +253 -0
- package/templates/.claude/skills/frontend-vue/components/Grid/CustomDropdownEditor.vue +43 -0
- package/templates/.claude/skills/frontend-vue/components/Grid/CustomDropdownEditorEnable.vue +55 -0
- package/templates/.claude/skills/frontend-vue/components/Grid/HtmlTable.vue +40 -0
- package/templates/.claude/skills/frontend-vue/components/PDFViewer.vue +25 -0
- package/templates/.claude/skills/frontend-vue/components/Panel/FormView.vue +309 -0
- package/templates/.claude/skills/frontend-vue/components/Partial/Footer.vue +23 -0
- package/templates/.claude/skills/frontend-vue/components/Partial/Header.vue +265 -0
- package/templates/.claude/skills/frontend-vue/components/Partial/Sidebar.vue +122 -0
- package/templates/.claude/skills/frontend-vue/components/Template.vue +16 -0
- package/templates/.claude/skills/frontend-vue/components/View/Form.vue +89 -0
- package/templates/.claude/skills/frontend-vue/composables/indexDBStore.js +140 -0
- package/templates/.claude/skills/frontend-vue/composables/masterApi.js +362 -0
- package/templates/.claude/skills/frontend-vue/composables/state.js +578 -0
- package/templates/.claude/skills/frontend-vue/composables/useRequest.js +221 -0
- package/templates/.claude/skills/frontend-vue/composables/useSession.js +179 -0
- package/templates/.claude/skills/frontend-vue/composables/useTranslation.js +54 -0
- package/templates/.claude/skills/frontend-vue/composables/useWebSocket.js +257 -0
- package/templates/.claude/skills/frontend-vue/composables/userObj.js +111 -0
- package/templates/.claude/skills/frontend-vue/composables/utils.js +322 -0
- package/templates/.claude/skills/frontend-vue/reference/composables-example.vue +320 -0
- package/templates/.claude/skills/frontend-vue/reference/form-example.vue +183 -0
- package/templates/.claude/skills/frontend-vue/reference/grid-example.vue +147 -0
- package/templates/.claude/skills/frontend-vue/reference/masterdata-example/[id].vue +106 -0
- package/templates/.claude/skills/frontend-vue/reference/masterdata-example/index.vue +58 -0
- package/templates/.claude/skills/frontend-vue/reference/popup-example.vue +159 -0
- package/templates/.claude/skills/pdf/LICENSE.txt +30 -0
- package/templates/.claude/skills/pdf/SKILL.md +294 -0
- package/templates/.claude/skills/pdf/forms.md +205 -0
- package/templates/.claude/skills/pdf/reference.md +612 -0
- package/templates/.claude/skills/pdf/scripts/check_bounding_boxes.py +70 -0
- package/templates/.claude/skills/pdf/scripts/check_bounding_boxes_test.py +226 -0
- package/templates/.claude/skills/pdf/scripts/check_fillable_fields.py +12 -0
- package/templates/.claude/skills/pdf/scripts/convert_pdf_to_images.py +35 -0
- package/templates/.claude/skills/pdf/scripts/create_validation_image.py +41 -0
- package/templates/.claude/skills/pdf/scripts/extract_form_field_info.py +152 -0
- package/templates/.claude/skills/pdf/scripts/fill_fillable_fields.py +114 -0
- package/templates/.claude/skills/pdf/scripts/fill_pdf_form_with_annotations.py +108 -0
- package/templates/.claude/skills/pdf-processing/SKILL.md +107 -0
- package/templates/.claude/skills/pdf-processing-pro/FORMS.md +610 -0
- package/templates/.claude/skills/pdf-processing-pro/OCR.md +137 -0
- package/templates/.claude/skills/pdf-processing-pro/SKILL.md +296 -0
- package/templates/.claude/skills/pdf-processing-pro/TABLES.md +626 -0
- package/templates/.claude/skills/pdf-processing-pro/scripts/analyze_form.py +307 -0
- package/templates/.claude/skills/postgres/SKILL.md +69 -0
- package/templates/.claude/skills/postgres/reference/fn_get_examples.sql +208 -0
- package/templates/.claude/skills/postgres/reference/fn_rpt_examples.sql +239 -0
- package/templates/.claude/skills/postgres/reference/utility_functions.sql +94 -0
- package/templates/.claude/skills/pptx/LICENSE.txt +30 -0
- package/templates/.claude/skills/pptx/SKILL.md +484 -0
- package/templates/.claude/skills/pptx/html2pptx.md +625 -0
- package/templates/.claude/skills/pptx/ooxml.md +427 -0
- package/templates/.claude/skills/pptx/scripts/html2pptx.js +979 -0
- package/templates/.claude/skills/pptx/scripts/inventory.py +1020 -0
- package/templates/.claude/skills/pptx/scripts/rearrange.py +231 -0
- package/templates/.claude/skills/pptx/scripts/replace.py +385 -0
- package/templates/.claude/skills/pptx/scripts/thumbnail.py +450 -0
- package/templates/.claude/skills/repo-maintenance/SKILL.md +97 -0
- package/templates/.claude/skills/research/EXAMPLES.md +434 -0
- package/templates/.claude/skills/research/REFERENCE.md +399 -0
- package/templates/.claude/skills/research/SKILL.md +136 -0
- package/templates/.claude/skills/root-cause-tracing/SKILL.md +174 -0
- package/templates/.claude/skills/root-cause-tracing/find-polluter.sh +63 -0
- package/templates/.claude/skills/sharing-skills/SKILL.md +194 -0
- package/templates/.claude/skills/sql-optimization-patterns/SKILL.md +493 -0
- package/templates/.claude/skills/subagent-driven-development/SKILL.md +189 -0
- package/templates/.claude/skills/systematic-debugging/CREATION-LOG.md +119 -0
- package/templates/.claude/skills/systematic-debugging/SKILL.md +295 -0
- package/templates/.claude/skills/systematic-debugging/test-academic.md +14 -0
- package/templates/.claude/skills/systematic-debugging/test-pressure-1.md +58 -0
- package/templates/.claude/skills/systematic-debugging/test-pressure-2.md +68 -0
- package/templates/.claude/skills/systematic-debugging/test-pressure-3.md +69 -0
- package/templates/.claude/skills/test-driven-development/SKILL.md +364 -0
- package/templates/.claude/skills/testing-anti-patterns/SKILL.md +302 -0
- package/templates/.claude/skills/testing-quality/SKILL.md +97 -0
- package/templates/.claude/skills/verification-before-completion/SKILL.md +139 -0
- package/templates/.claude/skills/webapp-testing/LICENSE.txt +202 -0
- package/templates/.claude/skills/webapp-testing/SKILL.md +96 -0
- package/templates/.claude/skills/webapp-testing/examples/console_logging.py +35 -0
- package/templates/.claude/skills/webapp-testing/examples/element_discovery.py +40 -0
- package/templates/.claude/skills/webapp-testing/examples/static_html_automation.py +33 -0
- package/templates/.claude/skills/webapp-testing/scripts/with_server.py +106 -0
- package/templates/.claude/ukit/index/build-index.mjs +28 -0
- package/templates/.claude/ukit/index/cache-utils.mjs +140 -0
- package/templates/.claude/ukit/index/lib/index-core.mjs +2800 -0
- package/templates/.claude/ukit/index/query-index.mjs +150 -0
- package/templates/.claude/ukit/index/refresh-index.mjs +57 -0
- package/templates/.claude/ukit/index/reset-auto-permissions.mjs +76 -0
- package/templates/.claude/ukit/index/resolve-context.mjs +279 -0
- package/templates/.claude/ukit/index/route-catalog.mjs +258 -0
- package/templates/.claude/ukit/index/route-task.mjs +1994 -0
- package/templates/.claude/ukit/index/triage.mjs +133 -0
- package/templates/.claude/ukit/index/verify-context.mjs +689 -0
- package/templates/.claude/ukit/runtime/compact-threshold.mjs +1013 -0
- package/templates/.claude/ukit/runtime/output-compression.mjs +1340 -0
- package/templates/.claude/ukit/runtime/reinject-context.mjs +874 -0
- package/templates/.claude/ukit/runtime/token-utils.mjs +500 -0
- package/templates/.codex/README.md +83 -0
- package/templates/.codex/settings.json +187 -0
- package/templates/.gitignore +75 -0
- package/templates/AGENTS.md +116 -0
- package/templates/CLAUDE.md +93 -0
- package/templates/adapter-presets/antigravity/README.md +22 -0
- package/templates/adapter-presets/antigravity/rules.md +49 -0
- package/templates/adapter-presets/claude/settings.local.json +42 -0
- package/templates/adapter-presets/codex/settings.local.json +6 -0
- package/templates/adapter-presets/opencode/opencode.template.json +1 -0
- package/templates/docs/BUGFIX.md +20 -0
- package/templates/docs/BUG_INDEX.md +12 -0
- package/templates/docs/BUG_METRICS.md +7 -0
- package/templates/docs/BUG_TEMPLATE.md +13 -0
- package/templates/docs/CODE_MAP.md +35 -0
- package/templates/docs/INSTALL.md +113 -0
- package/templates/docs/MEMORY.md +49 -0
- package/templates/docs/PROJECT.md +50 -0
- package/templates/docs/UKIT_USAGE_GUIDE.md +147 -0
- package/templates/docs/WORKLOG.md +10 -0
- package/templates/ukit/README.md +14 -0
- package/templates/ukit/storage/cache/compact-history.json +3 -0
- package/templates/ukit/storage/cache/compact-pressure.json +1 -0
- package/templates/ukit/storage/cache/output-history.json +3 -0
- package/templates/ukit/storage/cache/prompt-cache.json +3 -0
- package/templates/ukit/storage/config.json +37 -0
- package/templates/ukit/storage/memory/projects/.gitkeep +2 -0
- package/templates/ukit/storage/memory/sessions/.gitkeep +0 -0
- package/templates/ukit/storage/memory/user.json +5 -0
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Code Map — {{project.name}}
|
|
2
|
+
|
|
3
|
+
> Navigation aid for AI sessions. Source code is ground truth.
|
|
4
|
+
> If this conflicts with source → source wins. Update this file to match source.
|
|
5
|
+
> AI: when you discover new structure, fill this in. Do not wait to be asked.
|
|
6
|
+
|
|
7
|
+
## Module Map
|
|
8
|
+
|
|
9
|
+
<!-- path/ — what it is responsible for — entry point if non-obvious -->
|
|
10
|
+
<!-- AI: scan the repo structure and fill this in during your first session. -->
|
|
11
|
+
|
|
12
|
+
## Key Files
|
|
13
|
+
|
|
14
|
+
<!-- file — what it does — when to read it -->
|
|
15
|
+
<!-- AI: add files here as you discover their purpose during implementation. -->
|
|
16
|
+
|
|
17
|
+
## Data Flow
|
|
18
|
+
|
|
19
|
+
<!-- End-to-end: request/trigger → processing steps → output/side effects -->
|
|
20
|
+
<!-- AI: infer from reading controllers, services, middleware. Fill in what you find. -->
|
|
21
|
+
|
|
22
|
+
## External Integrations
|
|
23
|
+
|
|
24
|
+
<!-- Service name — purpose — which module calls it -->
|
|
25
|
+
<!-- AI: grep for fetch/axios/http calls, env vars for external URLs. -->
|
|
26
|
+
|
|
27
|
+
## Test Coverage
|
|
28
|
+
|
|
29
|
+
<!-- Test directory — what's covered — known gaps -->
|
|
30
|
+
<!-- AI: scan test files, note what's missing. -->
|
|
31
|
+
|
|
32
|
+
## Dangerous Areas
|
|
33
|
+
|
|
34
|
+
<!-- Areas that are complex, fragile, or caused past bugs. -->
|
|
35
|
+
<!-- AI: flag areas with deep conditionals, many side effects, or noted in WORKLOG. -->
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
# Installation Guide
|
|
2
|
+
|
|
3
|
+
## Team Rule
|
|
4
|
+
|
|
5
|
+
**For this project, the only UKit command teammates should need to remember is `ukit install`.**
|
|
6
|
+
|
|
7
|
+
After it runs, the normal workflow is:
|
|
8
|
+
1. fill the docs baseline
|
|
9
|
+
2. open the AI tool
|
|
10
|
+
3. work in natural language
|
|
11
|
+
|
|
12
|
+
Do not turn normal onboarding into a list of UKit subcommands.
|
|
13
|
+
How the CLI binary itself gets installed or updated can stay a maintainer/platform concern; inside projects, the human-facing workflow still centers on `ukit install`.
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## Initial Installation
|
|
18
|
+
|
|
19
|
+
### 1) Install the UKit CLI
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
npm install -g @ngockhoale/ukit
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
### 2) Install UKit into this project
|
|
26
|
+
|
|
27
|
+
Run from the project root:
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
ukit install
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
This creates or refreshes the UKit workspace (`.claude/`, adapters, metadata, and `docs/`).
|
|
34
|
+
|
|
35
|
+
It also provisions the shared runtime in `.ukit/storage/`, including:
|
|
36
|
+
- memory state
|
|
37
|
+
- prompt/output caches
|
|
38
|
+
- compact history
|
|
39
|
+
- threshold-based compact pressure tracking
|
|
40
|
+
|
|
41
|
+
If the repo still has a legacy visible `ukit/` runtime from older installs, rerunning `ukit install` now migrates that shared runtime into hidden `.ukit/` when it is safe to do so.
|
|
42
|
+
|
|
43
|
+
End users do not need to manage any of that manually.
|
|
44
|
+
|
|
45
|
+
### 3) Fill in the docs baseline
|
|
46
|
+
|
|
47
|
+
Complete these files before first serious use:
|
|
48
|
+
- `docs/PROJECT.md`
|
|
49
|
+
- `docs/MEMORY.md`
|
|
50
|
+
- `docs/WORKLOG.md`
|
|
51
|
+
|
|
52
|
+
### 4) Open your AI tool
|
|
53
|
+
|
|
54
|
+
After install, give natural-language requests such as:
|
|
55
|
+
- review this change
|
|
56
|
+
- fix this bug
|
|
57
|
+
- implement this feature
|
|
58
|
+
- follow the existing pattern
|
|
59
|
+
|
|
60
|
+
No slash command is required.
|
|
61
|
+
Teammates also should not need to know skill names — Claude Code / Codex should auto-detect and use the right project-local skill from the prompt plus the files/tools involved.
|
|
62
|
+
The workspace should also lean on indexed source code to find files/tests fast and prefer targeted verification before broad blanket checks.
|
|
63
|
+
When long sessions grow large, the shared runtime should compact old safe-zone context automatically near its configured threshold without changing the human workflow.
|
|
64
|
+
By default, the soft threshold comes from the configured compact token threshold and the hard threshold is about 20% above that; UKit should compact logs/history first while preserving the active task, rules, decisions, and current code focus.
|
|
65
|
+
|
|
66
|
+
---
|
|
67
|
+
|
|
68
|
+
## Updating
|
|
69
|
+
|
|
70
|
+
To refresh the workspace after UKit changes, rerun the same command:
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
ukit install
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
UKit is designed so first install and later refreshes use the same command.
|
|
77
|
+
|
|
78
|
+
---
|
|
79
|
+
|
|
80
|
+
## Troubleshooting
|
|
81
|
+
|
|
82
|
+
### `ukit` command not found
|
|
83
|
+
|
|
84
|
+
```bash
|
|
85
|
+
npm install -g @ngockhoale/ukit
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
### Workspace files seem stale
|
|
89
|
+
|
|
90
|
+
```bash
|
|
91
|
+
ukit install
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
### The AI lacks project context
|
|
95
|
+
|
|
96
|
+
Check that the docs baseline files exist and are filled in:
|
|
97
|
+
- `docs/PROJECT.md`
|
|
98
|
+
- `docs/MEMORY.md`
|
|
99
|
+
- `docs/WORKLOG.md`
|
|
100
|
+
|
|
101
|
+
---
|
|
102
|
+
|
|
103
|
+
## Maintainer / Debug Note
|
|
104
|
+
|
|
105
|
+
UKit may expose additional subcommands for maintainers and debugging. Upstream skill catalogs, GitHub skill repos, and awesome lists are also maintainer inputs — not the default team workflow.
|
|
106
|
+
|
|
107
|
+
If maintainers pull ideas from official skill ecosystems or curated lists, they should package those improvements into UKit and have teammates rerun the same install command.
|
|
108
|
+
|
|
109
|
+
Those sources should not become a new onboarding burden.
|
|
110
|
+
|
|
111
|
+
When in doubt, keep the guidance simple:
|
|
112
|
+
|
|
113
|
+
> rerun `ukit install`, then work in natural language inside the AI tool.
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# Project Memory
|
|
2
|
+
|
|
3
|
+
## Protocol
|
|
4
|
+
|
|
5
|
+
- **This is the most critical doc in the project.** Future AI sessions read this first to understand the system.
|
|
6
|
+
- **Source code is ground truth.** If this file contradicts source → source wins, update this file immediately.
|
|
7
|
+
- **After every non-trivial task**, ask: "What did I learn about this system?" → write it here if durable.
|
|
8
|
+
- Keep entries concise and actionable — future sessions must be able to act on this in seconds.
|
|
9
|
+
- Do NOT record temporary session notes here. Only durable knowledge.
|
|
10
|
+
|
|
11
|
+
## AI Filling Guide
|
|
12
|
+
|
|
13
|
+
<!-- When to write each section: -->
|
|
14
|
+
<!-- Architecture Decisions → any time a "why" is settled (tech choice, pattern, approach) -->
|
|
15
|
+
<!-- Active Constraints → any non-obvious rule AI must follow (security, layer boundaries, invariants) -->
|
|
16
|
+
<!-- Known Bugs → any bug investigated: root cause + pattern to watch, even if not yet fixed -->
|
|
17
|
+
<!-- Open Risks → deferred decisions, fragile areas, unresolved questions -->
|
|
18
|
+
<!-- Session Handoff → always update "Last worked on" before ending a session -->
|
|
19
|
+
|
|
20
|
+
## Architecture Decisions
|
|
21
|
+
|
|
22
|
+
<!-- WHY choices were made. Prevents future sessions from re-debating settled questions. -->
|
|
23
|
+
<!-- Format: [YYYY-MM-DD] Decision: X. Reason: Y. Do NOT change because: Z. -->
|
|
24
|
+
|
|
25
|
+
## Active Constraints
|
|
26
|
+
|
|
27
|
+
<!-- Rules AI must respect during implementation. Non-obvious limits not visible in the code. -->
|
|
28
|
+
<!-- Example: Never bypass validate() in users/ — it's a security boundary, not optional. -->
|
|
29
|
+
<!-- Example: Do not add direct DB calls in controllers — always go through service layer. -->
|
|
30
|
+
|
|
31
|
+
## Known Bugs & Root Causes
|
|
32
|
+
|
|
33
|
+
<!-- Prevents re-investigating the same issues across sessions. -->
|
|
34
|
+
<!-- Format: [YYYY-MM-DD] Bug: X. Root cause: Y. Fix applied: Z. Watch for: W. -->
|
|
35
|
+
|
|
36
|
+
## Open Risks
|
|
37
|
+
|
|
38
|
+
<!-- Unresolved questions, known fragile areas, or deferred decisions. -->
|
|
39
|
+
<!-- Clear this entry once the risk is resolved. -->
|
|
40
|
+
|
|
41
|
+
## Session Handoff
|
|
42
|
+
|
|
43
|
+
- Last worked on: —
|
|
44
|
+
- Next step: —
|
|
45
|
+
|
|
46
|
+
## Completed Milestones
|
|
47
|
+
|
|
48
|
+
<!-- Significant shipped work. For historical context. One line per milestone. -->
|
|
49
|
+
<!-- Format: [YYYY-MM-DD] Milestone: X. Verified by: Y. -->
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# {{project.name}} — Project Context
|
|
2
|
+
|
|
3
|
+
## Stack
|
|
4
|
+
|
|
5
|
+
- Runtime: Node {{runtime.nodeVersion}} | OS: {{runtime.os}} | PM: {{runtime.packageManager}}
|
|
6
|
+
- Frontend: {{stack.frontend}} | Backend API: {{stack.backendApi}} | PostgreSQL: {{stack.postgres}}
|
|
7
|
+
- Provider: {{providers.unic}}
|
|
8
|
+
|
|
9
|
+
## Architecture
|
|
10
|
+
|
|
11
|
+
<!-- 3-5 sentences describing what this system does, its main components, and how they connect. -->
|
|
12
|
+
<!-- Fill in after initial setup. If empty, AI must read source carefully — no shortcuts. -->
|
|
13
|
+
|
|
14
|
+
## Key Modules
|
|
15
|
+
|
|
16
|
+
<!-- path/ — what it is responsible for — entry point if non-obvious -->
|
|
17
|
+
<!-- Example: src/auth/ — JWT + session management — auth.service.ts -->
|
|
18
|
+
<!-- Example: src/orders/ — core business logic — orders.service.ts -->
|
|
19
|
+
|
|
20
|
+
## Data Flow
|
|
21
|
+
|
|
22
|
+
<!-- How data moves through the system end-to-end. -->
|
|
23
|
+
<!-- Example: HTTP request → auth.guard → controller → service → repository → PostgreSQL -->
|
|
24
|
+
<!-- Include: external APIs called, message queues, background jobs, key middleware. -->
|
|
25
|
+
|
|
26
|
+
## Business Rules & Domain Constraints
|
|
27
|
+
|
|
28
|
+
<!-- Rules that CANNOT be violated. Non-obvious logic that isn't clear from the code. -->
|
|
29
|
+
<!-- Example: "Orders cannot be deleted — only cancelled. Status machine: draft→confirmed→cancelled." -->
|
|
30
|
+
<!-- If this section is empty, AI must not assume business rules from code patterns alone. -->
|
|
31
|
+
|
|
32
|
+
## Known Dangerous Areas
|
|
33
|
+
|
|
34
|
+
<!-- Complex, fragile, or bug-prone code. Flag before AI touches these areas. -->
|
|
35
|
+
<!-- Example: src/pricing.ts — complex discounting logic, 2 past bugs, always run full test suite. -->
|
|
36
|
+
|
|
37
|
+
## Delivery Profile
|
|
38
|
+
|
|
39
|
+
- Primary workflow: natural-language AI tooling installed by UKit
|
|
40
|
+
- Shared adapters: Claude Code, OpenAI Codex, Antigravity
|
|
41
|
+
- Change policy: smallest correct change with clear verification
|
|
42
|
+
|
|
43
|
+
## Session Start Routine
|
|
44
|
+
|
|
45
|
+
1. Run `ukit memory recall "<current task>"` for non-trivial work; reuse relevant `## Previous Context` before asking the user to restate prior decisions
|
|
46
|
+
2. Read `docs/MEMORY.md` — architecture decisions, active constraints, known bugs
|
|
47
|
+
3. Read `docs/CODE_MAP.md` if it exists — structural navigation index
|
|
48
|
+
4. Use the installed source-code index / routed helpers to localize the smallest relevant file + test set first
|
|
49
|
+
5. Scan recent `docs/WORKLOG.md` entries if continuing prior work
|
|
50
|
+
6. Verify understanding against source before acting — **docs orient, source is truth; keep the index-first workflow intact**
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
# UKit Usage Guide
|
|
2
|
+
|
|
3
|
+
## Core Product Promise
|
|
4
|
+
|
|
5
|
+
**Teammates should only need to remember one UKit command:**
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
ukit install
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
After that, the expected workflow is natural language.
|
|
12
|
+
|
|
13
|
+
UKit should handle:
|
|
14
|
+
- hidden skill selection
|
|
15
|
+
- source-code indexing
|
|
16
|
+
- compact context selection
|
|
17
|
+
- targeted verification
|
|
18
|
+
- optional internal delegation when it is actually useful
|
|
19
|
+
|
|
20
|
+
The user should **not** need to know skill names, router names, or agent names.
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
## How UKit should behave
|
|
25
|
+
|
|
26
|
+
### 1) Prompt first
|
|
27
|
+
The user asks naturally:
|
|
28
|
+
- `review this PR for regressions`
|
|
29
|
+
- `fix login bug in src/api/auth/login.js`
|
|
30
|
+
- `clone this screen following the existing pattern`
|
|
31
|
+
- `containerize this app with Docker and docker compose`
|
|
32
|
+
- `làm theo kiểu duraone cho flow này`
|
|
33
|
+
|
|
34
|
+
### 2) Skill auto-detection
|
|
35
|
+
UKit should infer the right lane from:
|
|
36
|
+
- prompt wording
|
|
37
|
+
- target file path
|
|
38
|
+
- tools already used (`Read`, `Grep`, `Glob`, `Edit`, `Write`, `Bash`)
|
|
39
|
+
|
|
40
|
+
### 3) Index-first localization
|
|
41
|
+
For real code work, UKit should use the **source-code index first** to find:
|
|
42
|
+
- primary targets
|
|
43
|
+
- analog/reference files
|
|
44
|
+
- shared abstractions
|
|
45
|
+
- related tests
|
|
46
|
+
|
|
47
|
+
This is extremely important: the index is what keeps file discovery fast and token-efficient.
|
|
48
|
+
|
|
49
|
+
### 4) Minimal useful verification
|
|
50
|
+
After the lane is clear, UKit should verify in scope order:
|
|
51
|
+
1. related tests
|
|
52
|
+
2. then lint/typecheck if the scope warrants it
|
|
53
|
+
3. then broader checks only when risk/shared scope justifies it
|
|
54
|
+
|
|
55
|
+
### 5) Internal delegation only when it helps
|
|
56
|
+
Subagents/internal delegation are optional implementation details.
|
|
57
|
+
They are useful when they:
|
|
58
|
+
- reduce context pollution
|
|
59
|
+
- allow parallel side work
|
|
60
|
+
- isolate noisy debug/research lanes
|
|
61
|
+
|
|
62
|
+
They are **not** part of the end-user mental model.
|
|
63
|
+
|
|
64
|
+
---
|
|
65
|
+
|
|
66
|
+
## Common workflows
|
|
67
|
+
|
|
68
|
+
### A) Fix a bug
|
|
69
|
+
User says:
|
|
70
|
+
|
|
71
|
+
```text
|
|
72
|
+
Fix the failing order summary total in src/cart/summary.ts and add the right test coverage.
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
Expected UKit behavior:
|
|
76
|
+
1. activate debug/testing lane if relevant
|
|
77
|
+
2. use the index to find the target + related test files
|
|
78
|
+
3. patch the smallest relevant area
|
|
79
|
+
4. run targeted verification first
|
|
80
|
+
|
|
81
|
+
### B) Review code
|
|
82
|
+
User says:
|
|
83
|
+
|
|
84
|
+
```text
|
|
85
|
+
Review this auth permission change for regressions.
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
Expected UKit behavior:
|
|
89
|
+
1. activate review/security lane if relevant
|
|
90
|
+
2. localize files with the index
|
|
91
|
+
3. inspect risky shared abstractions and related tests
|
|
92
|
+
4. avoid unrelated broad reads
|
|
93
|
+
|
|
94
|
+
### C) Clone/follow pattern
|
|
95
|
+
User says:
|
|
96
|
+
|
|
97
|
+
```text
|
|
98
|
+
Create supplier detail page similar to customer detail page.
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
Expected UKit behavior:
|
|
102
|
+
1. use the index to find the closest analog page
|
|
103
|
+
2. open shared abstractions and related tests
|
|
104
|
+
3. follow existing project structure instead of generating generic code
|
|
105
|
+
|
|
106
|
+
### D) Docker / packaging
|
|
107
|
+
User says:
|
|
108
|
+
|
|
109
|
+
```text
|
|
110
|
+
Package this app into Docker with a Dockerfile and docker compose setup.
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
Expected UKit behavior:
|
|
114
|
+
1. auto-load the hidden Docker packaging lane
|
|
115
|
+
2. still use the source-code index first to identify entrypoints, env, ports, services
|
|
116
|
+
3. generate packaging assets that match the real app
|
|
117
|
+
|
|
118
|
+
### E) DuraOne style
|
|
119
|
+
User says:
|
|
120
|
+
|
|
121
|
+
```text
|
|
122
|
+
Làm theo kiểu duraone cho màn agreement này.
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
Expected UKit behavior:
|
|
126
|
+
1. if the DuraOne skill is installed, auto-load it
|
|
127
|
+
2. use DuraOne references only when the repo actually matches that domain/shape
|
|
128
|
+
3. keep the user away from manual skill selection
|
|
129
|
+
|
|
130
|
+
---
|
|
131
|
+
|
|
132
|
+
## What users should NOT need to do
|
|
133
|
+
|
|
134
|
+
Users should not need to:
|
|
135
|
+
- remember `/ukit`-style slash commands
|
|
136
|
+
- remember skill names
|
|
137
|
+
- choose subagents manually
|
|
138
|
+
- know router/helper filenames
|
|
139
|
+
- manually orchestrate verification order
|
|
140
|
+
|
|
141
|
+
If UKit requires that, the UX is drifting away from the product goal.
|
|
142
|
+
|
|
143
|
+
---
|
|
144
|
+
|
|
145
|
+
## One-line summary
|
|
146
|
+
|
|
147
|
+
> `ukit install`, then ask naturally. UKit should auto-pick the right hidden skill, use the source-code index to find files fast, and verify only as broadly as needed.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# UKit Shared Runtime
|
|
2
|
+
|
|
3
|
+
This folder stores shared UKit runtime state for v1.1.6 features.
|
|
4
|
+
|
|
5
|
+
- `storage/config.json` — runtime feature flags and defaults
|
|
6
|
+
- `storage/cache/` — prompt-cache, compact history, compact pressure state, output summaries, and preserved raw tool outputs under `storage/cache/tee/`
|
|
7
|
+
- `storage/memory/` — shared file-based memory across agents
|
|
8
|
+
|
|
9
|
+
The compact-pressure state is used to trigger conservative auto-compact behavior near the configured session threshold:
|
|
10
|
+
- soft threshold = configured compact token threshold
|
|
11
|
+
- hard threshold = about 20% above soft
|
|
12
|
+
- preserve active task, rules, decisions, and current code focus first
|
|
13
|
+
|
|
14
|
+
This folder is generated by `ukit install` and is safe to keep local-only.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"updatedAt":0,"softThreshold":100000,"hardThreshold":120000,"baselineTokens":18000,"estimatedContextTokens":0,"estimatedTotalTokens":0,"phase":"monitor","taskMode":"chat","routingContext":{},"recentPrompts":[],"recentOutputs":[],"latestPlan":null,"historyLayers":[],"stats":{"thresholdHits":0,"softHits":0,"hardHits":0}}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "1.1.6",
|
|
3
|
+
"agent": "claude-code",
|
|
4
|
+
"compact": {
|
|
5
|
+
"enabled": true,
|
|
6
|
+
"tokenThreshold": 100000,
|
|
7
|
+
"contextRotDetection": true,
|
|
8
|
+
"askBeforeDrop": true
|
|
9
|
+
},
|
|
10
|
+
"tokenPipeline": {
|
|
11
|
+
"inputCompression": true,
|
|
12
|
+
"outputCompression": true,
|
|
13
|
+
"promptCache": true
|
|
14
|
+
},
|
|
15
|
+
"router": {
|
|
16
|
+
"enabled": true,
|
|
17
|
+
"defaultModel": "claude-sonnet-4-6",
|
|
18
|
+
"advisorModel": "claude-opus-4-6",
|
|
19
|
+
"advisorEnabled": true,
|
|
20
|
+
"maxAdvisorCalls": 3
|
|
21
|
+
},
|
|
22
|
+
"memory": {
|
|
23
|
+
"enabled": true,
|
|
24
|
+
"autoCapture": true,
|
|
25
|
+
"progressiveRetrieval": true,
|
|
26
|
+
"maxInjectionTokens": 1000,
|
|
27
|
+
"archiveAfterDays": 30,
|
|
28
|
+
"maxSessions": 20,
|
|
29
|
+
"redactSecrets": true
|
|
30
|
+
},
|
|
31
|
+
"validation": {
|
|
32
|
+
"enabled": true,
|
|
33
|
+
"autoRetry": true,
|
|
34
|
+
"maxRetries": 1,
|
|
35
|
+
"confidenceThreshold": 50
|
|
36
|
+
}
|
|
37
|
+
}
|
|
File without changes
|