freemo
7235d46ade
feat(skill): persist flattened tool sets
...
Add Alembic migration m4_002_skill_flattened_tools to extend the skills
table with five new columns: flattened_tools_json, includes_json,
capability_summary_json, yaml_text, and flattening_hash (SHA-256). A
defence-in-depth uniqueness constraint (uq_skills_name) is also added.
Update SkillModel with the new column definitions and extend
SkillRepository with update_flattened_tools(), get_flattened_tools(),
needs_refresh(), recompute_flattening_hash(), and
invalidate_cached_summaries() methods. The existing update() method
now nulls all cached fields on mutation (hash-based invalidation).
All new repository methods follow the session-factory pattern with
@database_retry and flush-but-don-t-commit semantics. Structured
logging via structlog records cache updates and invalidations.
Database schema docs updated with the new skills table columns and a
persistence-field-to-domain-model mapping table.
Tests:
- 6 Behave scenarios covering create, invalidation, hash staleness,
refresh recomputation, uniqueness constraint, and namespace filtering
- 2 Robot Framework smoke tests (round-trip and invalidation)
- 3 ASV benchmarks (persist, refresh check, namespace list)
ISSUES CLOSED : #166
2026-02-27 20:09:26 +00:00
..
2026-02-22 17:22:52 +00:00
2026-02-08 11:33:30 -05:00
2026-02-14 12:16:39 -05:00
2026-02-18 23:55:05 +00:00
2026-02-14 12:16:39 -05:00
2026-02-22 00:43:08 -05:00
2026-02-13 09:41:28 -05:00
2026-02-13 09:41:28 -05:00
2026-02-20 15:57:21 +00:00
2026-02-20 15:57:21 +00:00
2026-02-13 09:41:28 -05:00
2026-02-13 19:01:55 +05:30
2026-02-10 16:04:17 +00:00
2026-02-12 05:44:57 +00:00
2026-02-24 19:12:01 +00:00
2026-02-24 17:57:18 +00:00
2026-02-24 17:57:18 +00:00
2026-02-12 22:01:51 +00:00
2026-02-16 14:21:06 -05:00
2026-02-18 12:18:37 +00:00
2026-02-25 10:30:42 +00:00
2026-02-20 20:24:10 +00:00
2026-02-20 08:48:33 -05:00
2026-02-12 22:01:51 +00:00
2026-02-20 08:48:33 -05:00
2026-02-20 08:48:33 -05:00
2026-02-22 08:31:45 +00:00
2026-02-25 10:30:42 +00:00
2026-02-13 05:01:27 +00:00
2026-02-02 18:46:33 -05:00
2026-02-26 09:10:35 +00:00
2026-01-27 21:55:06 -05:00
2026-02-25 10:01:57 +00:00
2026-02-25 10:05:57 +00:00
2026-02-13 21:54:31 +00:00
2026-02-27 09:47:10 -05:00
2026-02-20 15:57:21 +00:00
2026-02-20 08:50:06 -05:00
2026-02-20 15:57:21 +00:00
2026-02-18 03:27:00 +00:00
2026-02-20 15:57:21 +00:00
2026-02-18 03:27:00 +00:00
2026-02-22 10:19:43 +00:00
2026-02-18 03:27:00 +00:00
2026-02-18 03:27:00 +00:00
2026-02-27 13:47:42 -05:00
2026-02-21 16:27:40 +00:00
2026-02-18 03:27:00 +00:00
2026-02-26 02:47:14 +00:00
2026-02-27 13:47:42 -05:00
2026-02-16 14:21:06 -05:00
2026-02-22 00:43:08 -05:00
2026-02-22 00:43:08 -05:00
2026-02-07 23:02:50 -05:00
2026-02-18 12:18:03 +00:00
2026-02-18 12:18:03 +00:00
2026-02-24 20:11:42 +00:00
2026-02-20 15:57:21 +00:00
2026-02-20 20:34:29 +00:00
2026-02-22 00:43:08 -05:00
2026-02-20 15:57:21 +00:00
2026-02-18 03:27:00 +00:00
2026-02-18 03:27:00 +00:00
2026-02-24 00:41:01 +00:00
2026-02-25 10:48:05 -05:00
2026-02-19 23:48:40 +00:00
2026-02-22 00:43:08 -05:00
2026-01-27 21:55:06 -05:00
2026-02-23 10:44:58 +00:00
2026-02-24 12:19:04 -05:00
2026-02-10 16:04:17 +00:00
2026-02-27 09:47:10 -05:00
2026-02-10 16:04:17 +00:00
2026-02-27 09:47:10 -05:00
2026-02-27 09:47:10 -05:00
2026-02-08 11:33:30 -05:00
2026-02-27 09:47:10 -05:00
2026-02-27 09:47:10 -05:00
2026-02-13 00:15:58 +00:00
2026-02-14 04:01:20 +00:00
2026-02-22 17:15:51 +00:00
2026-02-22 17:56:18 +00:00
2026-02-25 19:38:43 -05:00
2026-02-24 12:19:04 -05:00
2026-02-22 16:15:49 -05:00
2026-02-25 12:08:01 -05:00
2026-02-16 16:46:54 -05:00
2026-02-24 00:41:01 +00:00
2026-02-25 10:06:59 +00:00
2026-02-13 22:25:16 +00:00
2026-02-13 18:54:15 +00:00
2026-02-16 21:35:54 +00:00
2026-02-20 15:57:21 +00:00
2026-02-20 15:57:21 +00:00
2026-02-24 12:19:04 -05:00
2026-02-22 16:15:49 -05:00
2026-02-22 00:43:08 -05:00
2026-02-27 02:33:42 +00:00
2026-02-23 22:20:03 +00:00
2026-02-26 16:13:44 +00:00
2026-02-26 16:13:44 +00:00
2026-02-25 10:04:31 +00:00
2026-02-25 10:02:38 +00:00
2026-02-13 20:34:57 +00:00
2026-02-12 02:26:03 +00:00
2026-02-25 10:05:10 +00:00
2026-02-25 10:07:09 +00:00
2026-02-19 14:20:16 +00:00
2026-02-19 14:20:16 +00:00
2026-02-21 18:11:31 +00:00
2026-02-16 21:35:54 +00:00
2026-02-14 04:01:20 +00:00
2026-02-12 02:26:03 +00:00
2026-02-22 16:15:49 -05:00
2026-02-22 09:23:35 +00:00
2026-02-12 02:26:03 +00:00
2026-01-27 21:55:06 -05:00
2026-01-27 21:55:06 -05:00
2026-01-27 21:55:06 -05:00
2026-02-12 04:47:02 +00:00
2026-02-12 04:47:02 +00:00
2026-02-12 04:47:02 +00:00
2026-01-27 21:55:06 -05:00
2026-01-27 21:55:06 -05:00
2026-02-20 15:57:21 +00:00
2026-02-27 13:47:42 -05:00
2026-02-22 16:15:49 -05:00
2026-02-22 10:15:25 +00:00
2026-02-25 04:50:43 +00:00
2026-02-25 04:13:55 +00:00
2026-02-26 01:13:16 +00:00
2026-02-26 02:01:47 +00:00
2026-02-25 14:17:34 +00:00
2026-02-12 22:01:51 +00:00
2026-02-25 19:38:43 -05:00
2026-02-25 19:38:43 -05:00
2026-02-25 19:38:43 -05:00
2026-02-13 21:54:31 +00:00
2026-02-12 20:19:42 +00:00
2026-02-12 02:26:03 +00:00
2026-02-12 02:26:03 +00:00
2026-02-21 10:23:33 -05:00
2026-02-20 20:34:29 +00:00
2026-02-23 09:47:00 -05:00
2026-02-21 10:23:33 -05:00
2026-02-27 13:47:42 -05:00
2026-02-24 12:19:04 -05:00
2026-02-25 19:38:43 -05:00
2026-02-20 15:57:21 +00:00
2026-02-27 13:47:42 -05:00
2026-02-25 19:38:43 -05:00
2026-02-20 15:57:21 +00:00
2026-02-25 19:38:43 -05:00
2026-02-13 05:01:27 +00:00
2026-02-22 15:29:41 -05:00
2026-02-10 16:04:17 +00:00
2026-02-21 10:23:33 -05:00
2026-02-22 00:43:08 -05:00
2026-02-22 15:13:43 +00:00
2026-02-27 13:47:42 -05:00
2026-02-22 16:15:49 -05:00
2026-02-12 02:26:03 +00:00
2026-02-27 09:47:10 -05:00
2026-02-27 09:47:10 -05:00
2026-02-13 20:34:57 +00:00
2026-02-13 20:34:57 +00:00
2026-02-20 15:57:21 +00:00
2026-02-20 15:57:21 +00:00
2026-02-25 19:38:43 -05:00
2026-02-17 00:37:53 +00:00
2026-02-25 14:00:04 -05:00
2026-02-24 12:19:04 -05:00
2026-02-15 00:12:07 -05:00
2026-02-25 19:38:43 -05:00
2026-02-15 00:12:07 -05:00
2026-02-20 15:57:21 +00:00
2026-02-22 00:43:08 -05:00
2026-02-20 15:57:21 +00:00
2026-02-15 06:16:19 +00:00
2026-02-20 15:57:21 +00:00
2026-02-25 14:00:04 -05:00
2026-02-27 09:47:10 -05:00
2026-02-22 00:43:08 -05:00
2026-02-17 16:40:18 +00:00
2026-02-18 03:27:00 +00:00
2026-02-16 23:56:55 -05:00
2026-02-17 14:40:16 +00:00
2026-02-18 23:55:05 +00:00
2026-02-18 03:27:00 +00:00
2026-02-17 02:24:35 +00:00
2026-02-12 05:23:29 +00:00
2026-02-15 11:04:18 -05:00
2026-02-27 09:47:10 -05:00
2026-01-28 13:33:45 -05:00
2026-02-12 23:35:53 -05:00
2026-02-12 20:19:42 +00:00
2026-02-10 16:04:17 +00:00
2026-01-27 21:55:06 -05:00
2026-02-24 12:19:04 -05:00
2026-02-23 03:11:12 +00:00
2026-02-20 15:57:21 +00:00
2026-02-27 13:47:42 -05:00
2026-02-20 15:57:21 +00:00
2026-02-22 00:43:08 -05:00
2026-02-17 22:59:16 -05:00
2026-02-20 15:57:21 +00:00
2026-02-18 23:55:05 +00:00
2026-02-18 23:55:05 +00:00
2026-02-20 08:48:33 -05:00
2026-02-18 03:27:00 +00:00
2026-02-24 12:19:04 -05:00
2026-02-23 22:20:44 +00:00
2026-02-16 16:46:54 -05:00
2026-02-13 21:54:31 +00:00
2026-02-18 03:27:00 +00:00
2026-02-17 21:07:54 +00:00
2026-02-20 08:49:30 -05:00
2026-02-15 10:44:14 -05:00
2026-02-18 03:27:00 +00:00
2026-02-15 15:19:09 +00:00
2026-02-26 00:51:11 +00:00
2026-02-20 20:38:53 +00:00
2026-01-27 21:55:06 -05:00
2026-01-27 21:55:06 -05:00
2026-01-27 21:55:06 -05:00
2026-02-10 16:04:17 +00:00
2026-02-27 13:47:42 -05:00
2026-02-14 04:01:20 +00:00
2026-02-16 14:21:06 -05:00
2026-02-12 20:19:42 +00:00
2026-02-20 03:31:43 +00:00
2026-02-26 14:30:43 +00:00
2026-02-25 04:50:43 +00:00
2026-02-21 16:32:03 +00:00
2026-02-25 10:05:57 +00:00
2026-02-26 20:33:20 +00:00
2026-02-13 19:24:24 +00:00
2026-02-19 11:15:18 +00:00
2026-02-25 10:06:27 +00:00
2026-02-18 03:27:00 +00:00
2026-02-20 01:10:19 +00:00
2026-02-22 00:43:08 -05:00
2026-02-20 15:57:21 +00:00
2026-02-20 15:57:21 +00:00
2026-02-18 00:10:15 +00:00
2026-02-26 10:57:07 +00:00
2026-02-27 13:47:42 -05:00
2026-02-24 12:19:04 -05:00
2026-02-26 10:57:07 +00:00
2026-02-20 08:50:08 -05:00
2026-02-24 17:57:18 +00:00
2026-02-21 10:23:33 -05:00
2026-02-24 17:57:18 +00:00
2026-02-20 08:50:08 -05:00
2026-02-20 08:50:08 -05:00
2026-02-20 08:50:08 -05:00
2026-02-26 12:29:49 +00:00
2026-02-27 20:09:26 +00:00
2026-02-25 10:03:57 +00:00
2026-02-21 16:30:40 +00:00
2026-02-17 19:58:15 +00:00
2026-02-17 10:13:19 +00:00
2026-02-21 10:23:33 -05:00
2026-01-27 21:55:06 -05:00
2026-02-12 20:19:42 +00:00
2026-02-02 18:46:33 -05:00
2026-02-08 11:33:30 -05:00
2026-02-12 20:19:42 +00:00
2026-02-12 20:19:42 +00:00
2026-02-12 20:19:42 +00:00
2026-02-21 16:32:03 +00:00
2026-02-20 20:34:29 +00:00
2026-02-22 00:43:08 -05:00
2026-02-20 15:57:21 +00:00
2026-02-14 14:03:28 -05:00
2026-02-20 08:49:30 -05:00
2026-02-20 08:49:30 -05:00
2026-02-22 00:43:08 -05:00
2026-02-16 21:35:54 +00:00
2026-02-14 18:55:48 +00:00
2026-02-17 21:14:46 +00:00
2026-02-17 22:59:16 -05:00
2026-02-25 10:03:57 +00:00
2026-02-22 00:43:08 -05:00
2026-02-17 20:28:20 +00:00
2026-02-21 10:23:33 -05:00
2026-02-14 13:46:10 -05:00
2026-02-20 15:57:21 +00:00
2026-02-25 10:03:21 +00:00
2026-02-22 00:43:08 -05:00
2026-02-20 02:54:08 +00:00
2026-02-25 10:03:57 +00:00
2026-02-25 10:03:57 +00:00
2026-02-12 20:19:42 +00:00
2026-02-10 16:04:17 +00:00
2026-02-12 22:01:51 +00:00
2026-02-16 14:21:06 -05:00