piker/ai/prompt-io/opencode/20260828T021411Z_6ca6ab2a_p...

2.2 KiB
Raw Blame History

Prompt

Move the symcache/accounting fix into an isolated worktree and, as part of its commit plan, distill a Piker-specific skill for deep clearing, accounting, order-control, and trade-ledger expertise. A follow-up required the skills canonical files to begin moving into a cross-harness, AI-provider-neutral standard location.

Response

Created the shared repository skill bundle under the provider-neutral .agents/skills/piker-clearing-expert/ location. Its main skill defines activation cues, runtime ownership, event and identifier contracts, accounting and persistence invariants, market identity rules, an editing workflow, and a canonical source map.

git diff HEAD~1..HEAD -- .agents/skills/piker-clearing-expert/SKILL.md

Added a detailed architecture reference for EMS routing, ack/cancel ordering, paper and live execution, ledger normalization, position events, symbology, and context-managed persistence.

git diff HEAD~1..HEAD -- .agents/skills/piker-clearing-expert/architecture.md

Added symptom-driven gotchas and debugging breadcrumbs for actor teardown, ID skew, position reconciliation, duplicate fills, paper/live differences, and RapidFuzz mapping misuse.

git diff HEAD~1..HEAD -- .agents/skills/piker-clearing-expert/gotchas.md

Added a deterministic-to-live test map and regression-design guidance.

git diff HEAD~1..HEAD -- .agents/skills/piker-clearing-expert/test-map.md

Updated the worktree runtime ignore block to include the canonical root-level wkts/ directory required by the worktree lifecycle.

git diff HEAD~1..HEAD -- .gitignore

Added a relative Claude compatibility link and documented the provider-neutral source convention in the shared and harness-specific inventories.

git diff HEAD~1..HEAD -- .claude/skills/piker-clearing-expert

git diff HEAD~1..HEAD -- ai/README.md

git diff HEAD~1..HEAD -- ai/claude-code/README.md

git diff HEAD~1..HEAD -- ai/opencode/README.md

The skill cross-links piker-conc-expert for actor-runtime mechanics instead of duplicating structured-concurrency guidance.