Files
coinhunter/references/shim-templates.md
Tacit Lab d1737cdcb8 feat: add decision calibration, prediction tracking, and reference routing
SKILL.md
- Add triggers/mode to frontmatter for better skill routing
- Add mandatory JSON decision skeleton before every trade
- Add multi-source confirmation rule and common-mistakes guardrails
- Add prediction logging to hourly review workflow
- Restructure References into an explicit routing table

CLAUDE.md
- Add Reference routing table for agent context
- Fix remaining Hermes-only wording in gate description

references/user-data-layout.md
- Add complete log schema: decisions, trades, predictions, errors
- Document predictions_YYYYMMDD.jsonl for calibration feedback loop

README.md
- Mention prediction tracking in "Why it works"
- Update runtime directory layout to include predictions.jsonl

references/shim-templates.md
- Show platform cron config usage examples
2026-04-16 03:03:25 +08:00

25 lines
1.0 KiB
Markdown

# CoinHunter shim templates
These files are tiny compatibility shims for cron-based platforms (Hermes, OpenClaw, etc.) that expect scripts under a scripts directory such as `~/.hermes/scripts/` or `~/.openclaw/scripts/`.
## Unified shim
`scripts/coinhunter_shim.py` is the cross-platform wrapper. It takes the subcommand as its first argument and delegates to the installed `coinhunter` CLI:
```bash
cp scripts/coinhunter_shim.py ~/.hermes/scripts/coinhunter_shim.py
# or
cp scripts/coinhunter_shim.py ~/.openclaw/scripts/coinhunter_shim.py
```
Usage in platform cron configs:
- `"script": "coinhunter_shim.py pre"` — lightweight gate / precheck
- `"script": "coinhunter_shim.py gate"` — external gate runner
- `"script": "coinhunter_shim.py review"` — review context generator
- `"script": "coinhunter_shim.py rotate-log"` — log rotation helper
The real business logic lives in the external `coinhunter` CLI package (installed from PyPI). This shim only delegates to it.
The user runtime data stays under:
- `~/.coinhunter/`