Skip to content

chore(guides): update guides#348

Merged
krls2020 merged 1 commit into
mainfrom
zcp/guides-20260604-5e86
Jun 4, 2026
Merged

chore(guides): update guides#348
krls2020 merged 1 commit into
mainfrom
zcp/guides-20260604-5e86

Conversation

@krls2020

@krls2020 krls2020 commented Jun 4, 2026

Copy link
Copy Markdown
Collaborator

Automated guide sync from ZCP.

Updates 3 guide files.

@krls2020 krls2020 merged commit 5ceea52 into main Jun 4, 2026
2 checks passed
@krls2020 krls2020 deleted the zcp/guides-20260604-5e86 branch June 4, 2026 18:51
krls2020 added a commit to zeropsio/zcp that referenced this pull request Jun 4, 2026
…rce surface

ZCP is now tools-only: all curated knowledge is retrieved through the
zerops_knowledge tool (uri="zerops://<ns>/<path>"), never the MCP resources
protocol — a non-universal client capability (codex/grok/antigravity may not
implement it) that cannot carry ZCP's adaptive, placeholder-substituted
knowledge.

- Remove internal/server/resources.go + resources_test.go + the
  registerResources() call site; the go-sdk now omits capabilities.resources
  from the initialize handshake (no AddResourceTemplate, HasResources unset).
  Pinned by TestServer_DoesNotAdvertiseResourcesCapability.
- query= search output: tools-layer searchHit carries an explicit `fetch`
  directive instead of a bare `uri` (B-replace); recipe-atom synonym hits emit
  `zerops_workflow action=dispatch-brief-atom atomId=...` (not a dead uri=).
  Pinned by TestKnowledgeTool_Query_EmitsFetchHint + _SynonymHit_FetchIsDispatch;
  the two []SearchResult parse tests migrated to []searchHit.
- Converge agent-facing bare `zerops://` onto the tool-call form: 8 theme
  refinement-reference cross-refs (ig_one_mechanism, refinement_thresholds) +
  3 recipe brief sites (briefs_refinement catalog, refinement_suspects reason,
  tailwind_componentry); recipe pins updated to assert the tool-call shape.
- Add TestNoBareZeropsURIInAgentContent — fails CI if a bare backticked
  zerops:// reappears in git-tracked agent-facing markdown.
- CLAUDE.md: pin the tools-only single-format invariant.
- 3 guides converged upstream via zeropsio/docs#348 (gitignored; lands via CI
  sync pull guides).
- Known follow-up: internal/recipe/briefs_design_tokens.go:29 (read-denied
  locally) still emits one bare `zerops://themes/design-system` — convert when
  edit access permits.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant