4 Commits

Author SHA1 Message Date
yuhao
99f92f0525 WIP transfer root-skills and hub updates 2026-04-18 10:12:58 +00:00
yuhao
56552ea522 Address review feedback: fix hardcoded paths, PATH logic, SQLite mode
1. Replace all hardcoded /Users/whitenoise-oc/ dev paths in SEACLIP.md
   and TEST.md files (seaclip, pm2, chromadb) with generic placeholders
2. Extract shared _EXTRA_PATH_DIRS constant and _augmented_path() helper
   in pm2_backend.py so _find_pm2() and _build_env() use identical logic
3. Open SQLite in read-only mode (file:...?mode=ro) in _query_db()
4. Add trailing newline to registry.json

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-08 08:00:21 +00:00
yuhao
369e02b9c0 Address reviewer feedback: merge main, fix namespace packages, hardcoded path, PATH mutation, SKILL.md format, setup.py completeness
Must fix:
- Merge conflicts with main resolved
- Remove hardcoded developer path in seaclip_backend.py; require SEACLIP_DB
  env var for SQLite queries (raises RuntimeError if unset)
- Switch all three setup.py from find_packages() to
  find_namespace_packages(include=["cli_anything.*"])
- Remove global os.environ["PATH"] mutation in pm2_backend.py; use
  shutil.which(path=...) with a local variable instead

Should fix:
- Align PM2 SKILL.md format with existing convention (name + description
  with >- folding syntax, command group tables)
- Add missing setup.py fields: classifiers, extras_require, package_data,
  include_package_data, zip_safe, url, consistent author

All 91 unit tests pass (25 seaclip + 28 pm2 + 38 chromadb).
2026-04-06 13:25:31 +00:00
t4tarzan
aa71e17094 feat: Add SeaClip, PM2, and ChromaDB CLI harnesses
Three new agent-native CLI harnesses for the CLI-Anything ecosystem:

**cli-anything-seaclip** — Kanban board + 6-agent AI pipeline management
- Wraps SeaClip-Lite FastAPI (HTTP) + SQLite (direct reads)
- Commands: issue (list/create/move/delete), agent (list), pipeline (start/stop/resume/status), scheduler (list/sync), activity (list), server (health)
- 35 tests (25 unit + 10 E2E)

**cli-anything-pm2** — Node.js process management
- Wraps PM2 CLI via subprocess
- Commands: process (list/describe/metrics), lifecycle (start/stop/restart/delete), logs (view/flush), system (save/version)
- 37 tests (28 unit + 9 E2E)

**cli-anything-chromadb** — Vector database operations
- Wraps ChromaDB HTTP API v2
- Commands: collection (list/create/delete/info), document (add/get/delete/count), query (search), server (heartbeat/version)
- 51 tests (38 unit + 14 E2E, 1 skip)

All harnesses follow the standard CLI-Anything patterns:
- Dual output mode (human-readable + --json)
- Interactive REPL with unified repl_skin
- Full SOP documentation (<SOFTWARE>.md)
- SKILL.md with YAML frontmatter
- Comprehensive test suites (test_core.py + test_full_e2e.py)
- TEST.md with test plan and results

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-23 01:48:22 +05:30