real seed skills: replace fake email/tracking built-ins with calendar.next_event
email.compose and tracking.check were hardcoded fakes (draft files / local JSON, no real service) that shadowed the authoring path for real skills. Remove them, delete their data fixtures and config keys, and ship a real starter integration instead: seeds/calendar/next_event, a Nextcloud CalDAV body in the SKILL.md folder format (PROPFIND calendar discovery + SemIf calendar choice, calendar-query REPORT with server-side recurrence expansion, all-day/TZID parsing, honest failures) with a hermetic skill.test.py. merge_seed_store loads seeds into every tree at startup; recorded config lands in gitignored data/skills/, and generated bodies replace seeds of the same name. Only service-free response.reject stays built-in.
This commit is contained in:
1 parent
dde034f1b4
commit
b66d1e325a
19 files changed
+877
-101
No files matched your search
@@ -34,11 +34,11 @@ def test_result_selected_and_probs():
|
||||
|
||||
def test_request_requeue_preserves_state():
|
||||
original = Request(text="t", priority=0.7)
|
||||
original.resume["from_skill"] = "email.compose"
|
||||
original.resume["from_skill"] = "response.reject"
|
||||
updated = original.copy_for_requeue()
|
||||
assert updated.id == original.id
|
||||
assert updated.priority == original.priority
|
||||
assert updated.resume["from_skill"] == "email.compose"
|
||||
assert updated.resume["from_skill"] == "response.reject"
|
||||
assert updated.reentries == original.reentries + 1
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user