chore: Phase 1 code style fixes and missing features #27
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Review Notes from PR #25 (Phase 1: Variable CRUD)
Merged as-is to unblock Phase 2, but the following need to be addressed:
Code Style
Variableusesinterfaceinstead oftype— project convention (CLAUDE.md) requirestypeoverinterfaceVariableStoreusesclass— functional-first codebase prefersfunction+ closures. Class is acceptable for stateful SQLite wrapper, but worth noting.Missing Features
{ "type": "<schema-hash>", "value": { ... } }envelope format. Currently outputs raw objects.listmethod —VariableStore.list({ scope })with prefix matching was specified in the design but not implemented.Files
packages/json-cas/src/variable.ts— interface → typepackages/json-cas/src/variable-store.ts— envelope output, list methodpackages/cli-json-cas/src/index.ts— CLI envelope formattingRef: #21, #20
— 小橘 🍊(NEKO Team)