Teknium
4c2961c511
fix(curator): never archive cron-referenced skills + floor use=0 pruning ( #54443 )
...
The curator's inactivity prune archived any non-pinned agent-created
skill whose activity was older than archive_after_days (90d). A skill
loaded only by a cron job had its usage bumped solely when the job
fired, so paused jobs, infrequent (quarterly/annual) schedules, and
far-future one-shots aged their skills out from under them — the next
run then failed to load the now-archived skill.
- cron/jobs.py: add referenced_skill_names() returning skills used by
ANY job (incl. paused/disabled).
- curator.apply_automatic_transitions(): skip cron-referenced skills
like pinned; add a use=0 grace floor so a never-used skill is not
marked stale/archived until it is at least stale_after_days old.
- LLM review pass: candidate list marks cron=yes; prompt forbids
pruning cron-referenced skills and never-used skills under 30 days.
Tested E2E against a real cron job + real usage records and with 4 new
unit tests.
2026-06-28 15:10:21 -07:00
..
2026-06-08 22:46:57 -07:00
2026-06-24 23:11:21 -05:00
2026-06-08 22:46:57 -07:00
2026-06-24 21:46:30 -07:00
2026-05-28 00:20:11 -07:00
2026-06-12 08:51:10 +00:00
2026-06-27 20:46:00 -07:00
2026-06-27 20:46:00 -07:00
2026-06-27 19:23:15 -07:00
2026-05-15 14:00:01 -07:00
2026-06-27 21:22:49 -07:00
2026-05-18 10:14:38 -07:00
2026-06-22 14:54:53 -07:00
2026-06-15 05:25:17 -07:00
2026-06-19 01:53:32 +05:30
2026-05-17 04:04:15 -07:00
2026-05-29 04:22:27 -07:00
2026-06-28 02:44:06 -07:00
2026-06-17 17:33:32 -07:00
2026-06-21 16:39:02 -07:00
2026-06-28 05:28:45 -07:00
2026-06-24 18:31:51 +05:30
2026-05-29 19:05:03 -07:00
2026-06-28 05:28:45 -07:00
2026-06-27 03:04:26 -07:00
2026-06-28 01:15:21 -07:00
2026-06-27 20:45:31 -07:00
2026-05-25 00:32:08 -07:00
2026-06-27 19:01:37 -07:00
2026-05-26 15:41:11 -07:00
2026-06-12 08:51:10 +00:00
2026-06-17 05:40:05 -07:00
2026-06-28 15:10:21 -07:00
2026-06-25 22:02:22 -07:00
2026-06-28 01:15:21 -07:00
2026-06-13 21:14:32 -07:00
2026-06-27 04:01:12 +05:30
2026-06-13 13:47:08 -07:00
2026-04-28 06:46:45 -07:00
2026-06-03 12:00:27 -07:00
2026-06-18 22:13:07 -07:00
2026-05-13 22:31:28 -07:00
2026-06-27 19:26:04 -07:00
2026-06-07 18:33:20 -07:00
2026-05-16 17:59:32 -07:00
2026-05-28 00:20:11 -07:00
2026-06-25 12:48:08 -07:00
2026-04-28 12:27:36 -07:00
2026-04-30 23:03:54 -07:00
2026-05-11 16:49:13 -07:00
2026-06-25 02:17:29 +05:30
2026-06-21 12:03:46 -07:00
2026-06-19 15:23:41 +08:00
2026-06-25 12:24:34 -05:00
2026-06-28 00:47:15 -07:00
2026-06-27 12:08:09 -07:00
2026-05-27 00:43:32 -07:00
2026-06-13 05:51:41 -07:00
2026-05-08 14:27:40 -07:00
2026-06-07 08:36:48 -07:00
2026-06-23 08:01:50 +00:00
2026-05-10 07:09:28 -07:00
2026-05-12 20:49:20 -07:00
2026-06-27 21:22:49 -07:00
2026-06-28 02:41:31 -07:00
2026-05-12 20:46:04 -07:00
2026-04-13 16:32:04 -07:00
2026-06-25 19:00:48 -07:00
2026-06-28 04:13:20 -07:00
2026-06-27 20:56:49 -07:00
2026-06-25 00:17:17 -07:00
2026-06-02 20:23:09 +00:00
2026-06-19 07:34:15 -07:00
2026-06-28 05:28:45 -07:00
2026-05-18 21:38:05 -07:00
2026-06-16 10:37:37 -07:00
2026-06-28 05:28:45 -07:00
2026-06-25 22:03:02 -07:00
2026-06-13 21:14:32 -07:00
2026-05-28 04:53:27 -07:00
2026-05-25 23:17:33 -07:00
2026-06-22 06:42:30 -07:00
2026-05-05 04:33:38 -07:00
2026-06-25 19:00:48 -07:00
2026-06-19 17:15:52 -07:00
2026-06-24 23:02:48 -05:00
2026-06-25 22:02:22 -07:00
2026-05-19 00:12:12 -07:00
2026-05-13 06:46:23 -07:00
2026-02-21 22:31:43 -08:00
2026-05-25 01:41:19 -07:00
2026-05-25 01:41:19 -07:00
2026-05-24 18:04:54 -07:00
2026-05-24 18:04:54 -07:00
2026-06-27 03:04:26 -07:00
2026-06-27 22:03:14 -07:00
2026-06-28 01:15:21 -07:00
2026-06-21 11:48:43 -07:00
2026-06-24 23:03:45 -05:00
2026-06-27 03:23:22 -07:00
2026-05-13 16:39:41 -07:00
2026-05-13 16:39:41 -07:00
2026-05-28 04:52:42 -07:00
2026-05-28 04:52:42 -07:00