Skip to content

feat: public org surface + agent manifest stubs (WS1 + WS2 day 1)#43

Merged
Skanislav merged 2 commits into
devfrom
feat/agent-native-mvp-ws1
Apr 14, 2026
Merged

feat: public org surface + agent manifest stubs (WS1 + WS2 day 1)#43
Skanislav merged 2 commits into
devfrom
feat/agent-native-mvp-ws1

Conversation

@Skanislav

Copy link
Copy Markdown
Contributor

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 runtime agent.json manifest endpoints.

  • WS1 — public org surface: new #/o/:orgId route rendered outside the auth gate, PublicOrgView (hero / circles / members) fed entirely by indexing-client hooks — zero wagmi imports, zero useAccount, zero RPC calls to anvil from the public tree. Minimal inline shell on App.tsx means no Topbar / WalletAuthControl / ChainSwitcher chrome leaks onto the public route.
  • WS2 — manifest stubs: GET /agents/index.json and GET /agents/:orgId.json added to the Ponder Hono app with the v1 manifest shape; Day 2 fills them with real DB queries via db from "ponder:api".
  • Test infra: Vitest now runs on hola-modern (node env, workspace-hoisted vitest@2.1.9 — no new dep). 7 unit tests on useHashRouter cover the new public variant, negative no-id fallthrough, and round-trip for all existing routes.
  • Sprint doc: docs/sprint-agent-native-mvp.md carries the Day 1 findings inline — agent-sdk audit resolved (SDK is real, CreateRole is 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 where packages/agent-sdk itself isn't tracked yet. Will ride in the next PR once feat/agent-sdk merges.
  • Read-only extraction of StructureView / circle-tree on PublicOrgView — Day 2.
  • Seed demo orgs script — Day 1 remainder, non-blocking for code review.

Test plan

  • pnpm --filter hola-modern exec tsc --noEmit — clean
  • pnpm --filter hollab-indexing exec tsc --noEmit — clean
  • pnpm --filter hola-modern exec vitest run — 7/7 passing
  • pnpm --filter hola-modern lint + pnpm --filter hollab-indexing lint — clean on touched files
  • Live smoke test (./scripts/dev-local.sh + open #/o/<orgId> in incognito) — not run; requires seed-orgs script which is Day 1's remaining item
  • Incognito wallet-less render — to verify once seed script lands

🤖 Generated with Claude Code

Skanislav and others added 2 commits April 14, 2026 10:30
…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>
@Skanislav Skanislav merged commit 1d86a6b into dev Apr 14, 2026
6 checks passed
@Skanislav Skanislav deleted the feat/agent-native-mvp-ws1 branch April 14, 2026 08:49
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