selftune 0.2.18 → 0.2.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/README.md +9 -4
  2. package/apps/local-dashboard/dist/assets/index-DnhnXQm6.js +60 -0
  3. package/apps/local-dashboard/dist/assets/index-_EcLywDg.css +1 -0
  4. package/apps/local-dashboard/dist/assets/vendor-table-BIiI3YhS.js +1 -0
  5. package/apps/local-dashboard/dist/assets/vendor-ui-CGEmUayx.js +12 -0
  6. package/apps/local-dashboard/dist/index.html +5 -5
  7. package/cli/selftune/alpha-upload/stage-canonical.ts +7 -6
  8. package/cli/selftune/constants.ts +10 -0
  9. package/cli/selftune/contribute/contribute.ts +30 -2
  10. package/cli/selftune/contribution-config.ts +249 -0
  11. package/cli/selftune/contribution-relay.ts +177 -0
  12. package/cli/selftune/contribution-signals.ts +219 -0
  13. package/cli/selftune/contribution-staging.ts +147 -0
  14. package/cli/selftune/contributions.ts +532 -0
  15. package/cli/selftune/creator-contributions.ts +333 -0
  16. package/cli/selftune/dashboard-contract.ts +205 -1
  17. package/cli/selftune/dashboard-server.ts +45 -11
  18. package/cli/selftune/eval/family-overlap.ts +395 -0
  19. package/cli/selftune/eval/hooks-to-evals.ts +182 -28
  20. package/cli/selftune/eval/synthetic-evals.ts +298 -11
  21. package/cli/selftune/export.ts +2 -2
  22. package/cli/selftune/index.ts +41 -5
  23. package/cli/selftune/ingestors/codex-rollout.ts +31 -35
  24. package/cli/selftune/ingestors/codex-wrapper.ts +32 -24
  25. package/cli/selftune/localdb/db.ts +2 -2
  26. package/cli/selftune/localdb/queries.ts +701 -30
  27. package/cli/selftune/localdb/schema.ts +20 -0
  28. package/cli/selftune/recover.ts +153 -0
  29. package/cli/selftune/repair/skill-usage.ts +363 -4
  30. package/cli/selftune/routes/actions.ts +35 -1
  31. package/cli/selftune/routes/analytics.ts +14 -0
  32. package/cli/selftune/routes/index.ts +1 -0
  33. package/cli/selftune/routes/overview.ts +112 -4
  34. package/cli/selftune/routes/skill-report.ts +569 -10
  35. package/cli/selftune/status.ts +81 -2
  36. package/cli/selftune/sync.ts +56 -2
  37. package/cli/selftune/trust-model.ts +66 -0
  38. package/cli/selftune/types.ts +49 -0
  39. package/cli/selftune/utils/skill-detection.ts +43 -0
  40. package/cli/selftune/watchlist.ts +65 -0
  41. package/package.json +1 -1
  42. package/packages/ui/src/components/ActivityTimeline.tsx +165 -150
  43. package/packages/ui/src/components/EvidenceViewer.tsx +335 -144
  44. package/packages/ui/src/components/EvolutionTimeline.tsx +58 -28
  45. package/packages/ui/src/components/OrchestrateRunsPanel.tsx +33 -16
  46. package/packages/ui/src/components/RecentActivityFeed.tsx +72 -41
  47. package/packages/ui/src/components/section-cards.tsx +12 -9
  48. package/packages/ui/src/primitives/card.tsx +1 -1
  49. package/skill/SKILL.md +11 -1
  50. package/skill/Workflows/AlphaUpload.md +4 -0
  51. package/skill/Workflows/Composability.md +64 -0
  52. package/skill/Workflows/Contribute.md +6 -3
  53. package/skill/Workflows/Contributions.md +97 -0
  54. package/skill/Workflows/CreatorContributions.md +74 -0
  55. package/skill/Workflows/Dashboard.md +31 -0
  56. package/skill/Workflows/Evals.md +57 -8
  57. package/skill/Workflows/Ingest.md +7 -0
  58. package/skill/Workflows/Initialize.md +20 -1
  59. package/skill/Workflows/Recover.md +84 -0
  60. package/skill/Workflows/RepairSkillUsage.md +12 -4
  61. package/skill/Workflows/Sync.md +18 -12
  62. package/apps/local-dashboard/dist/assets/index-BMIS6uUh.css +0 -2
  63. package/apps/local-dashboard/dist/assets/index-DOu3iLD9.js +0 -16
  64. package/apps/local-dashboard/dist/assets/vendor-table-pHbDxq36.js +0 -8
  65. package/apps/local-dashboard/dist/assets/vendor-ui-DIwlrGlb.js +0 -12
package/README.md CHANGED
@@ -107,10 +107,10 @@ Your agent runs these — you just say what you want ("improve my skills", "show
107
107
 
108
108
  | Group | Command | What it does |
109
109
  | ---------- | -------------------------------------------- | ------------------------------------------------------------------------------------------- |
110
- | | `selftune status` | See which skills are undertriggering and why |
110
+ | | `selftune status` | Get a one-line health summary plus compact attention / improving highlights |
111
111
  | | `selftune last` | Quick insight from the most recent session |
112
112
  | | `selftune orchestrate` | Run the full autonomous loop (sync → grade → evolve → watch) |
113
- | | `selftune sync` | Refresh telemetry from source-truth transcripts |
113
+ | | `selftune sync` | Replay source-truth transcripts/rollouts into SQLite and refresh repair state |
114
114
  | | `selftune dashboard` | Open the visual skill health dashboard |
115
115
  | | `selftune doctor` | Health check: logs, hooks, config, permissions |
116
116
  | **ingest** | `selftune ingest claude` | Backfill from Claude Code transcripts |
@@ -124,13 +124,18 @@ Your agent runs these — you just say what you want ("improve my skills", "show
124
124
  | **eval** | `selftune eval generate --skill <name>` | Generate eval sets (`--synthetic` for cold-start) |
125
125
  | | `selftune eval unit-test --skill <name>` | Run or generate skill-level unit tests |
126
126
  | | `selftune eval composability --skill <name>` | Detect conflicts between co-occurring skills |
127
+ | | `selftune eval family-overlap --prefix sc-` | Detect sibling overlap and suggest when a skill family should be consolidated |
127
128
  | | `selftune eval import` | Import external eval corpus from [SkillsBench](https://github.com/benchflow-ai/skillsbench) |
128
129
  | **auto** | `selftune cron setup` | Install OS-level scheduling (cron/launchd/systemd) |
129
130
  | | `selftune watch --skill <name>` | Monitor after deploy. Auto-rollback on regression. |
130
131
  | **other** | `selftune workflows` | Discover and manage multi-skill workflows |
132
+ | | `selftune contributions` | Manage creator-directed sharing preferences |
133
+ | | `selftune creator-contributions` | Create or remove bundled `selftune.contribute.json` configs for skill creators |
134
+ | | `selftune contribute` | Export an anonymized community contribution bundle |
135
+ | | `selftune recover` | Recover SQLite from legacy/exported JSONL during migration or disaster recovery |
131
136
  | | `selftune badge --skill <name>` | Generate a health badge for your skill's README |
132
137
  | | `selftune telemetry` | Manage anonymous usage analytics (status, enable, disable) |
133
- | | `selftune alpha upload` | Run a manual alpha upload cycle and emit a JSON send summary |
138
+ | | `selftune alpha upload` | Run a manual SQLite-backed alpha upload cycle and emit a JSON send summary |
134
139
 
135
140
  Full command reference: `selftune --help`
136
141
 
@@ -162,7 +167,7 @@ selftune is complementary to these tools, not competitive. They trace what happe
162
167
 
163
168
  **Claude Code** (fully supported) — Hooks install automatically. `selftune ingest claude` backfills existing transcripts. This is the primary supported platform.
164
169
 
165
- **Codex** (experimental) — `selftune ingest wrap-codex -- <args>` or `selftune ingest codex`. Adapter exists but is not actively tested.
170
+ **Codex** (experimental) — `selftune ingest wrap-codex -- <args>` or `selftune ingest codex`. Adapter exists but is not actively tested. Skill attribution is conservative: selftune only records explicit Codex skill evidence, not incidental assistant/meta mentions.
166
171
 
167
172
  **OpenCode** (experimental) — `selftune ingest opencode`. Adapter exists but is not actively tested.
168
173