seeds: merge calendar and productivity_management into nextcloud
Consolidate the calendar and productivity_management seed categories into one nextcloud category: create_event/next_event move from calendar, and create_nextcloud_task becomes create_task (dropping the redundant prefix). Replace the two CATEGORY_DESCRIPTIONS entries with a single nextcloud description and update every reference across the repo (docs, bridge comments, tests, navigation tuning labels, seed docstrings).
This commit is contained in:
1 parent
e434b9fbe5
commit
b8f86849ea
26 files changed
+134
-131
No files matched your search
File renamed without changes.
File renamed without changes.
@@ -481,7 +481,7 @@ def _build_ics(uid, summary, start, end, all_day, stamp, description=""):
|
||||
lines = [
|
||||
"BEGIN:VCALENDAR",
|
||||
"VERSION:2.0",
|
||||
"PRODID:-//semif-agent//calendar.create_event//EN",
|
||||
"PRODID:-//semif-agent//nextcloud.create_event//EN",
|
||||
"CALSCALE:GREGORIAN",
|
||||
"BEGIN:VEVENT",
|
||||
f"UID:{uid}",
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
"""Hermetic mechanics test for calendar.create_event.
|
||||
"""Hermetic mechanics test for nextcloud.create_event.
|
||||
|
||||
Run from this folder: `python skill.test.py`. No external network: a loopback
|
||||
http.server plays a Nextcloud CalDAV endpoint (PROPFIND discovery + PUT create)
|
||||
@@ -422,7 +422,7 @@ def test_unreachable_server_fails_honestly():
|
||||
action, request, _engine = run(
|
||||
None, "http://127.0.0.1:1", "add standup on 2026-11-10 at 9am"
|
||||
)
|
||||
assert action.action_log and "calendar.create_event" not in action.action_log, action.action_log
|
||||
assert action.action_log and "nextcloud.create_event" not in action.action_log, action.action_log
|
||||
assert action.new_state == request.text
|
||||
print(action.action_log)
|
||||
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
+1
-1
@@ -1,4 +1,4 @@
|
||||
"""Hermetic mechanics test for productivity_management.create_nextcloud_task.
|
||||
"""Hermetic mechanics test for nextcloud.create_task.
|
||||
|
||||
Run from this folder: `python skill.test.py`. No external network: a loopback
|
||||
http.server plays the Nextcloud bridge (`GET /tasklists`, `POST /tasks`) and the
|
||||
File renamed without changes.
File renamed without changes.
@@ -212,7 +212,7 @@ def _default_calendar(ctx, calendars):
|
||||
|
||||
|
||||
def _resolve_calendar(ctx, request, calendars, decisions):
|
||||
"""Resolve which calendar the request means, mirroring calendar.create_event.
|
||||
"""Resolve which calendar the request means, mirroring nextcloud.create_event.
|
||||
|
||||
A strong SemIf winner is used; a weak winner falls back to the configured
|
||||
default calendar, and with no configured default the weak winner stands.
|
||||
@@ -1,4 +1,4 @@
|
||||
"""Hermetic mechanics test for calendar.next_event.
|
||||
"""Hermetic mechanics test for nextcloud.next_event.
|
||||
|
||||
Run from this folder: `python skill.test.py`. No external network: a loopback
|
||||
http.server plays the Nextcloud CalDAV endpoint. This proves the body builds
|
||||
@@ -128,7 +128,7 @@ def _default_sender(ctx, senders):
|
||||
|
||||
|
||||
def _resolve_contact(ctx, request, senders, decisions):
|
||||
"""Resolve which conversation to read, mirroring calendar.create_event.
|
||||
"""Resolve which conversation to read, mirroring nextcloud.create_event.
|
||||
|
||||
A strong SemIf winner is used; a weak winner falls back to the configured
|
||||
default contact, and with no configured default the weak winner stands.
|
||||
|
||||
Reference in new issue
Block a user