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:
Denton Social committed 2026-09-26 03:17:11 -05:00
1 parent dde034f1b4
commit b66d1e325a
19 files changed
+877 -101

No files matched your search

+3 -3
View File
@@ -30,7 +30,7 @@ def build_scheduler(tmp_path):
engine=engine,
llm=llm,
log=log,
config={"skills": {}},
config={"skills": {}, "skill_seeds": str(tmp_path / "seeds")},
trace=trace,
)
return scheduler
@@ -81,8 +81,8 @@ def test_tree_endpoint(tmp_path):
try:
status, payload = server.get("/api/tree")
assert status == 200
assert "email" in payload["categories"]
assert any(s["name"] == "email.compose" for s in payload["categories"]["email"])
assert "response" in payload["categories"]
assert any(s["name"] == "response.reject" for s in payload["categories"]["response"])
finally:
server.close()