feat: public org surface + agent manifest stubs (WS1 + WS2 day 1)#43
Merged
Conversation
…st stubs (WS1 + WS2 day 1) Adds a wallet-less #/o/:orgId route and PublicOrgView rendering mission, circles, and members straight from the local indexer — the foundation for the agent-native MVP's public, cold-readable org surface. Also scaffolds the runtime agent.json manifest endpoints on the Ponder indexer and lands Vitest on hola-modern with the first useHashRouter unit tests. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…ariable Ponder generates organization(id: BigInt!) because organization.id is a bigint primary key; declaring $id: String! in GET_ORGANIZATION caused a GraphQL variable-type mismatch, the request threw, and PublicOrgView silently rendered "Org not found" instead of the actual indexer error. Also surface the TanStack Query error in PublicOrgView so a future failure shows the real message instead of masquerading as a 404. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Day 1 of the agent-native MVP sprint (
docs/sprint-agent-native-mvp.md). Lands the foundation for the public, wallet-less org surface and scaffolds the runtimeagent.jsonmanifest endpoints.#/o/:orgIdroute rendered outside the auth gate,PublicOrgView(hero / circles / members) fed entirely byindexing-clienthooks — zero wagmi imports, zerouseAccount, zero RPC calls to anvil from the public tree. Minimal inline shell onApp.tsxmeans no Topbar /WalletAuthControl/ChainSwitcherchrome leaks onto the public route.GET /agents/index.jsonandGET /agents/:orgId.jsonadded to the Ponder Hono app with the v1 manifest shape; Day 2 fills them with real DB queries viadbfrom"ponder:api".hola-modern(node env, workspace-hoistedvitest@2.1.9— no new dep). 7 unit tests onuseHashRoutercover the newpublicvariant, negative no-id fallthrough, and round-trip for all existing routes.docs/sprint-agent-native-mvp.mdcarries the Day 1 findings inline —agent-sdkaudit resolved (SDK is real,CreateRoleis the demo path), and Ponder 0.16.6 custom-route support confirmed (no sibling-server fallback needed).Out of scope / deferred
packages/agent-sdk/docs/agent-manifest-v1.md— written but lives on a branch wherepackages/agent-sdkitself isn't tracked yet. Will ride in the next PR oncefeat/agent-sdkmerges.StructureView/ circle-tree onPublicOrgView— Day 2.Test plan
pnpm --filter hola-modern exec tsc --noEmit— cleanpnpm --filter hollab-indexing exec tsc --noEmit— cleanpnpm --filter hola-modern exec vitest run— 7/7 passingpnpm --filter hola-modern lint+pnpm --filter hollab-indexing lint— clean on touched files./scripts/dev-local.sh+ open#/o/<orgId>in incognito) — not run; requires seed-orgs script which is Day 1's remaining item🤖 Generated with Claude Code