[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6K1TXYFTS6JPZ6AQEYAZPYS":3,"skill-same:01M6K1TXYFTS6JPZ6AQEYAZPYS":64},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":35,"linkOnly":36,"markdownContent":37,"markdownBody":38,"frontMatter":39,"refName":40,"commitSha":41,"skillDirectory":42,"forksCount":43,"repositoryHtmlUrl":44,"repositoryHomepageUrl":45,"ownerHtmlUrl":46,"ownerBlogUrl":47,"ownerDescription":48,"updatedAt":49,"install":50,"resources":63},"01M6K1TXYFTS6JPZ6AQEYAZPYS","calendar-sync",null,"Maintain Gnosi's calendar aggregation and dated-vault integration without reviving legacy sync scripts. Use for calendar loading, provider routing and synchronization regressions.","ismigar\u002FGnosi","ismigar","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6537880?v=4","01M6K1KJFJXCT6S4ATNXFRD1Y7","Ismael García","01M6K1KJM0CK16BDEYVZCV6949",2,"AGPL-3.0","https:\u002F\u002Fgithub.com\u002Fismigar\u002FGnosi\u002Fblob\u002Fmain\u002Fpipeline\u002Fskills\u002Fcalendar_sync\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34],"sync","calendar","calendar sync","routing","integration","aggregation","vault","synchronization","use","Legacy","provider","maintain","scripts","loading","for","provider routing","2026-11-10 10:12:30",false,"---\nname: calendar-sync\ndescription: Maintain Gnosi's calendar aggregation and dated-vault integration without reviving legacy sync scripts. Use for calendar loading, provider routing and synchronization regressions.\n---\n\n# SKILL: Calendar Sync\n\nThis skill manages the synchronization between the Vault data engine and the Calendar interface.\n\n> ID: CAL-SYNC-20260408 \u003C!-- @language-example: stable identifier -->\n> Status: ACTIVE\n\n---\n\n## 1. Current architecture\n\n`backend\u002Fapi\u002Fcalendar_routes.py` owns the hybrid calendar API. `GET\n\u002Fapi\u002Fcalendar\u002Fevents` aggregates configured Google\u002FCalDAV events and, when\nrequested, dated vault notes. The existing `POST \u002Fapi\u002Fcalendar\u002Fsync` is a\ncompatibility no-op; a successful response does not mean files were imported.\nInspect the provider adapter before promising write support for a provider.\n\nThe old standalone ICS-to-Markdown script was retired after consumer review and\nprivate historical preservation. Do not restore it as a development startup or\nmaintenance job: it deleted local event files before fetching replacements and\nused obsolete credential paths. Existing vault event files are not removed by\nthe source cleanup. Never run a real sync to validate a documentation change.\n\n## 2. Dated vault pages\n\nFor consumers that request dated pages directly:\n\n- **Endpoint**: `GET \u002Fapi\u002Fvault\u002Fpages?only_calendar=true`\n- **Behavior**: The backend filters the results to only return pages with `date` metadata or those belonging to tables with calendar functionality enabled.\n\n---\n\n## 3. Performance Optimization (Technical Protocol)\nIn large vaults, searching for files can be slow. The following architectural rules must be applied:\n\n1. **Pre-calculation**: Do not index or sort folders within the main page processing loop. Do it once at the start of the request.\n2. **Server-side Filtering**: Use the calendar events API for the hybrid view. When requesting vault pages directly, use `only_calendar=true`; do not fetch every page and filter in the browser.\n3. **Context and cache**: Preserve the active-vault context and existing cache invalidation. Do not introduce per-event filesystem scans or change API payloads while refactoring.\n\n---\n\n## 4. Verification and learning\n\nUse synthetic provider responses and a disposable vault. Verify Google\u002FCalDAV\nrouting, dated-note inclusion, hidden events and the compatibility no-op without\ncalling real accounts. Run the relevant backend tests, type checks and the\ncalendar UI flow before claiming a functional change complete.\n\n| Date | Error \u002F Learning | Root Cause | Solution \u002F Refinement |\n| --- | --- | --- | --- |\n| 2026-04-07 | Axios Timeout (30s) | O(N*M log M) complexity in backend | Refactored `vault_routes.py` to pre-sort folders and added server-side filtering. |\n| 2026-04-08 | Lack of Documentation | Fragmented memory in `docs\u002F` | Created official `SKILL.md` integrating the timeout fix learnings. |\n| 2026-09-03 | The calendar looked empty while 21 external events were still loading; compact mode also highlighted Day while FullCalendar opened Month | External events used an imperative request with no visible pending\u002Ferror state, and the page did not pass its selected initial view to the calendar | Route external data through TanStack Query with cancellation\u002Fcache reuse, retain previous verified events during refetch, expose loading\u002Ferror\u002Fretry state, and pass the controller's initial view. Note: do not validate query-driven rendering with fixed sleeps or one long enclosing `act`; poll the observable state between short completed `act` cycles because an extra React commit is legitimate. Do not import a test helper unless the frontend manifest actually declares it. |\n| 2026-09-03 | A cold real month request took about 42 seconds even though it eventually returned all events | Accounts and every Google calendar were queried sequentially, multiplying provider latency | Fetch independent accounts with a small bounded worker pool and use Google Calendar's batch transport for multiple calendars, retaining a sequential compatibility fallback. Keep cache writes in the coordinating thread, cache valid empty results, isolate provider failures, and prove concurrency\u002Fbatching with synthetic providers before a read-only real timing check. |\n| 2026-09-03 | The first implementation of bounded account loading pushed `calendar_routes.py` above the 800-line guardrail | Concurrency orchestration was added inside an already large route module | Keep the route responsible for HTTP composition and cache policy, but place provider-neutral bounded loading in `services\u002Fcalendar_event_aggregation.py`. Do not waive or baseline a new size violation when a cohesive extraction is available. |\n| 2026-09-04 | Photon JSON leaked `Any` through the calendar domain even though every consumed field is validated at runtime | The HTTP client's dynamic JSON return type was propagated into otherwise provider-neutral helpers | Store the response as `object`, narrow containers before access, and expose `Mapping[str, object]` \u002F `dict[str, object]` contracts. Keep unavoidable SDK dynamism localized to the Google provider adapter. |\n\n---\n*Maintenance: If the Calendar starts being slow again, verify the caching mechanism of the `_get_pages_snapshot` function in the backend.*\n","# SKILL: Calendar Sync\n\nThis skill manages the synchronization between the Vault data engine and the Calendar interface.\n\n> ID: CAL-SYNC-20260408 \u003C!-- @language-example: stable identifier -->\n> Status: ACTIVE\n\n---\n\n## 1. Current architecture\n\n`backend\u002Fapi\u002Fcalendar_routes.py` owns the hybrid calendar API. `GET\n\u002Fapi\u002Fcalendar\u002Fevents` aggregates configured Google\u002FCalDAV events and, when\nrequested, dated vault notes. The existing `POST \u002Fapi\u002Fcalendar\u002Fsync` is a\ncompatibility no-op; a successful response does not mean files were imported.\nInspect the provider adapter before promising write support for a provider.\n\nThe old standalone ICS-to-Markdown script was retired after consumer review and\nprivate historical preservation. Do not restore it as a development startup or\nmaintenance job: it deleted local event files before fetching replacements and\nused obsolete credential paths. Existing vault event files are not removed by\nthe source cleanup. Never run a real sync to validate a documentation change.\n\n## 2. Dated vault pages\n\nFor consumers that request dated pages directly:\n\n- **Endpoint**: `GET \u002Fapi\u002Fvault\u002Fpages?only_calendar=true`\n- **Behavior**: The backend filters the results to only return pages with `date` metadata or those belonging to tables with calendar functionality enabled.\n\n---\n\n## 3. Performance Optimization (Technical Protocol)\nIn large vaults, searching for files can be slow. The following architectural rules must be applied:\n\n1. **Pre-calculation**: Do not index or sort folders within the main page processing loop. Do it once at the start of the request.\n2. **Server-side Filtering**: Use the calendar events API for the hybrid view. When requesting vault pages directly, use `only_calendar=true`; do not fetch every page and filter in the browser.\n3. **Context and cache**: Preserve the active-vault context and existing cache invalidation. Do not introduce per-event filesystem scans or change API payloads while refactoring.\n\n---\n\n## 4. Verification and learning\n\nUse synthetic provider responses and a disposable vault. Verify Google\u002FCalDAV\nrouting, dated-note inclusion, hidden events and the compatibility no-op without\ncalling real accounts. Run the relevant backend tests, type checks and the\ncalendar UI flow before claiming a functional change complete.\n\n| Date | Error \u002F Learning | Root Cause | Solution \u002F Refinement |\n| --- | --- | --- | --- |\n| 2026-04-07 | Axios Timeout (30s) | O(N*M log M) complexity in backend | Refactored `vault_routes.py` to pre-sort folders and added server-side filtering. |\n| 2026-04-08 | Lack of Documentation | Fragmented memory in `docs\u002F` | Created official `SKILL.md` integrating the timeout fix learnings. |\n| 2026-09-03 | The calendar looked empty while 21 external events were still loading; compact mode also highlighted Day while FullCalendar opened Month | External events used an imperative request with no visible pending\u002Ferror state, and the page did not pass its selected initial view to the calendar | Route external data through TanStack Query with cancellation\u002Fcache reuse, retain previous verified events during refetch, expose loading\u002Ferror\u002Fretry state, and pass the controller's initial view. Note: do not validate query-driven rendering with fixed sleeps or one long enclosing `act`; poll the observable state between short completed `act` cycles because an extra React commit is legitimate. Do not import a test helper unless the frontend manifest actually declares it. |\n| 2026-09-03 | A cold real month request took about 42 seconds even though it eventually returned all events | Accounts and every Google calendar were queried sequentially, multiplying provider latency | Fetch independent accounts with a small bounded worker pool and use Google Calendar's batch transport for multiple calendars, retaining a sequential compatibility fallback. Keep cache writes in the coordinating thread, cache valid empty results, isolate provider failures, and prove concurrency\u002Fbatching with synthetic providers before a read-only real timing check. |\n| 2026-09-03 | The first implementation of bounded account loading pushed `calendar_routes.py` above the 800-line guardrail | Concurrency orchestration was added inside an already large route module | Keep the route responsible for HTTP composition and cache policy, but place provider-neutral bounded loading in `services\u002Fcalendar_event_aggregation.py`. Do not waive or baseline a new size violation when a cohesive extraction is available. |\n| 2026-09-04 | Photon JSON leaked `Any` through the calendar domain even though every consumed field is validated at runtime | The HTTP client's dynamic JSON return type was propagated into otherwise provider-neutral helpers | Store the response as `object`, narrow containers before access, and expose `Mapping[str, object]` \u002F `dict[str, object]` contracts. Keep unavoidable SDK dynamism localized to the Google provider adapter. |\n\n---\n*Maintenance: If the Calendar starts being slow again, verify the caching mechanism of the `_get_pages_snapshot` function in the backend.*\n",{"name":5,"description":7},"main","ddf5fc580ae6656e98e3222889a9c49181664a45","pipeline\u002Fskills\u002Fcalendar_sync",0,"https:\u002F\u002Fgithub.com\u002Fismigar\u002FGnosi","https:\u002F\u002Fgnosi.temenosismael.org","https:\u002F\u002Fgithub.com\u002Fismigar","https:\u002F\u002Ftemenosismael.org","💻 & 📚 Computer scientist & philosopher. Exploring the intersection of tech & philosophy for social change & the common good.","2026-11-15 01:43:32",{"source":8,"skillName":5,"commands":51,"prompt":61,"zipAvailable":62},[52,55,58],{"tool":53,"command":54},"npx","npx skills add ismigar\u002FGnosi --skill calendar-sync",{"tool":56,"command":57},"bunx","bunx skills add ismigar\u002FGnosi --skill calendar-sync",{"tool":59,"command":60},"pnpm","pnpm dlx skills add ismigar\u002FGnosi --skill calendar-sync","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fismigar\u002FGnosi\u002Fblob\u002Fmain\u002Fpipeline\u002Fskills\u002Fcalendar_sync\u002FSKILL.md",true,[],[65,83,104,125,140,153],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":35},"01M6K1XMNQTR2Z9F0HV40M9CV6","zotero-sync-compatibility","Preserve the historical Zotero reference-table configuration path after Gnosi replaced bidirectional Zotero synchronization with its native reference manager.","https:\u002F\u002Fgithub.com\u002Fismigar\u002FGnosi\u002Fblob\u002Fmain\u002Fpipeline\u002Fskills\u002Fzotero_sync\u002FSKILL.md",[],[19,72,73,74,75,76,77,78,79,80,81,26,82],"Zotero","compatibility","zotero sync compatibility","preserve","path","manager","with","native","configuration","reference","table",{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":35},"01M6K1XE33SSY5RXR5D4S8Y4RV","zotero-schema","Generate Gnosi's Python and TypeScript item-type constants from the repository-pinned Zotero schema, or perform an explicitly requested pinned schema refresh. Use for mapping or generated-constant maintenance, not runtime downloads.","https:\u002F\u002Fgithub.com\u002Fismigar\u002FGnosi\u002Fblob\u002Fmain\u002Fpipeline\u002Fskills\u002Fzotero_schema\u002FSKILL.md",[],[72,90,91,92,93,94,95,96,33,97,98,99,100,27,101,102,103],"schema","zotero schema","generate","python","typescript","constants","repository","mapping","type","runtime","maintenance","generated","refresh","downloads",{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":35},"01M6K1X9M6AKK8JTQJA9G37ZRP","vault-core","Preserve Gnosi vault identifiers, internal links and active-vault context during file or metadata changes. Use for vault integrity work, not blanket normalization or cleanup of user documents.","https:\u002F\u002Fgithub.com\u002Fismigar\u002FGnosi\u002Fblob\u002Fmain\u002Fpipeline\u002Fskills\u002Fvault_core\u002FSKILL.md",[],[111,112,25,113,75,114,33,115,116,27,117,118,119,120,121,122,123,124],"vault core","core","integrity","changes","links","active","user","context","work","normalization","metadata","cleanup","documents","file",{"skillNo":126,"name":127,"nameZh":6,"description":128,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":129,"categories":130,"keywords":131,"publishedAt":35},"01M6K1X4TE0YP62D789CJWZ4YY","translate-row","Translate configured table-row fields and Markdown into language children, updating existing translations in place. Use for the explicit translate-row action or maintenance of its provider adapters.","https:\u002F\u002Fgithub.com\u002Fismigar\u002FGnosi\u002Fblob\u002Fmain\u002Fpipeline\u002Fskills\u002Ftranslate_row\u002FSKILL.md",[],[132,133,134,100,135,33,136,137,116,138,29,27,82,139],"translate","translate row","fields","Existing","action","Adapters","language","markdown",{"skillNo":141,"name":142,"nameZh":6,"description":143,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":144,"categories":145,"keywords":146,"publishedAt":35},"01M6K1X0G5C2E91RS71NMX0GHG","translate-page","Translate a Vault page title and Markdown body into language children, updating existing translations and preserving Gnosi directives. Use for the explicit translate-page action or Markdown segmentation maintenance.","https:\u002F\u002Fgithub.com\u002Fismigar\u002FGnosi\u002Fblob\u002Fmain\u002Fpipeline\u002Fskills\u002Ftranslate_page\u002FSKILL.md",[],[147,132,148,100,27,139,25,149,138,150,151,152,135,33,136,116],"page","translate page","segmentation","body","title","directives",{"skillNo":154,"name":155,"nameZh":6,"description":156,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":157,"categories":158,"keywords":159,"publishedAt":35},"01M6K1WSRJTN93ZY4VPNZ2BJW3","technical-documentation","Generate and validate Gnosi's engineering portal from reviewed guides and deterministic source catalogs. Use for source-traceable documentation updates and pre-PR gates; never translate generated catalogs with a model.","https:\u002F\u002Fgithub.com\u002Fismigar\u002FGnosi\u002Fblob\u002Fmain\u002Fpipeline\u002Fskills\u002Ftechnical_documentation\u002FSKILL.md",[],[160,161,162,163,164,33,165,78,166,167,168,27,101,169,170,92,171,172,132],"technical","technical documentation","documentation","gates","source","updates","guides","deterministic","never","model","engineering","pr","validate"]