Commit 6a9d30a
committed
Integrate local skills CLI after mainline drift
PR Gitlawb#1162 adds local skills discovery and CLI management. Current main already changed startup heap handling and knowledge graph corruption-test isolation, so the merge keeps the skills CLI fast-path while preserving main's unconditional NODE_OPTIONS heap guard and searches corruption artifacts from the resolved Orama path.
Constraint: Resolve PR Gitlawb#1162 against main at f102b60 without dropping either the skills CLI bypass or the mainline heap/knowledge-graph fixes.
Rejected: Keep the PR's older CCR-only heap guard | main intentionally expanded the heap guard for local long-running agents.
Rejected: Search corrupted Orama files from a broad config root | the resolved persistence path is the authoritative location under redirected config state.
Confidence: high
Scope-risk: moderate
Directive: Keep skills management commands available before provider startup validation so broken provider config does not block local skills inspection.
Tested: bun test src/utils/conversationArc.perf.test.ts src/skills/loadSkillsDir.test.ts src/cli/handlers/skills.test.ts src/commands.test.ts src/entrypoints/cli.skills.test.ts src/utils/knowledgeGraph.stress.test.ts
Tested: bun run build
Tested: node dist/cli.mjs --version
Tested: git diff --check21 files changed
Lines changed: 2231 additions & 123 deletions
File tree
- src
- bootstrap
- cli/handlers
- components/skills
- entrypoints
- skills
- types
- utils
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
514 | 514 | | |
515 | 515 | | |
516 | 516 | | |
517 | | - | |
| 517 | + | |
518 | 518 | | |
519 | 519 | | |
520 | 520 | | |
| |||
1651 | 1651 | | |
1652 | 1652 | | |
1653 | 1653 | | |
1654 | | - | |
0 commit comments