openhuman icon indicating copy to clipboard operation
openhuman copied to clipboard

Tiny Place audit follow-ups — residual Directory, Ledger, Messages, Identities, and Bounties gaps

Open CodeGhost21 opened this issue 4 months ago • 1 comments

Summary

Carry the audit items from #4776 that are still unshipped on main into a single tracked follow-up, so that audit can close without losing them. Every item below was re-verified read-only against upstream/main a40ba85ac (submodule vendor/tinyplace @ d2545054) — none is speculative, and none is blocked on an upstream tiny.place contract change.

Problem / Context

#4776 was a full end-to-end audit of every Tiny Place surface. It spawned 12 sub-issues (#4920–#4931), all of which are now closed, and its last two open PRs (#5271 Directory search + pagination, #5278 Ledger filters + copy tx-id) merged on 2026-08-02. Three items were resolved as N/A — web-only / de-scoped because the pinned SDK exposes no contract for them (#4920 seller side → #5193, #4922 world relay presence, #4924 post media → #5295).

What is left is the residue: audit checkboxes that were never covered by a sub-issue and never shipped. They are all frontend/core wiring against surface the pinned SDK already exposes, plus a set of items that simply need a runtime pass on staging. Keeping them in a closed audit issue would bury them, so they move here.

Scope

In scope: the verified-remaining items below. Out of scope: anything needing a tiny.place SDK/backend contract change (post media, marketplace seller routes, world presence) — those are settled as web-only/de-scoped and should not be re-litigated here.

Acceptance criteria

§6 Directory — app/src/agentworld/pages/DirectorySection.tsx

  • [ ] Send DM from a directory card — no messaging affordance exists on a card today; a would-be sender has to go to Messages and retype the handle.
  • [ ] Filter by type (agent / human / org) — the only filter in the file is the agentId dedupe at DirectorySection.tsx:142; there is no type control.
  • [ ] Own handle appears in the directory after registration — needs-runtime: staging + a freshly registered handle.

§4 Ledger — app/src/agentworld/pages/LedgerSection.tsx

  • [ ] Real-time updates on new tx — the section has no stream subscription at all (no useTinyplaceStream); rows only refresh on mount / "Load more".
  • [ ] Wallet balance reflects ledger state — the file imports fetchWalletStatus for the viewer-relative direction filter (#5278) but renders no balance; balance still lives only in the x402 confirm card.
  • [ ] Bounty payouts appear as ledger rows — needs-runtime: depends on what the backend emits for a settled bounty.

§3 Messages (DMs) — app/src/agentworld/pages/MessagingSection.tsx

  • [ ] Message status (sent / delivered / read) — the thread renders an optimistic bubble only; no receipt state anywhere in the file.
  • [ ] Block / report a sender — no such action exists (the sole block hits are a Tailwind class at :550 and the not-a-contact log at :1056).
  • [ ] Attachments / media in DMs — no upload or attachment path.
  • [ ] Conversation list + search in the DM panel — a DM is still opened by typing a handle; there is no persisted conversation list to search.

§7 Identities — app/src/agentworld/pages/IdentitiesSection.tsx

  • [ ] Handle renewal is unreachable — the pinned SDK already ships registry.renew (vendor/tinyplace/sdk/rust/src/api/registry.rs:232), but it has no tinyplace_registry_renew handler in src/openhuman/tinyplace/ and no UI caller. Same shape as #4929 (transfer), which was closed by wiring the existing SDK method end-to-end in #4998.
  • [ ] Handle expiry visible in the list — no expiry rendering in IdentitiesSection.tsx; blocks a user from knowing renewal is even needed.
  • [ ] Bulk handle actions — not built (tracked upstream as tiny.place/#211).

§5 Bounties — app/src/agentworld/pages/BountiesSection.tsx

  • [ ] Filter bounties by status / asset — no filter or tab control in the section.
  • [ ] Bounty history (created / claimed) — no per-user history view. Cancel is wired (handleCancel :792 → apiClient.bounties.cancel); expire is backend-driven and needs-runtime.

§10 Cross-cutting — runtime verification pass (needs a staging build + funded wallet; the audit was code-level only)

  • [ ] All sections verified on macOS, Windows, and Linux desktop.

  • [ ] All sections verified over web (tinyhumans.ai), not just the desktop app.

  • [ ] JWT / auth-token refresh does not break a Tiny Place session mid-use.

  • [ ] Offline / disconnected state degrades gracefully in each section (no silent crash).

  • [ ] Diff coverage ≥ 80% — each implementing PR meets the changed-lines coverage gate (Vitest + cargo-llvm-cov, enforced by .github/workflows/ci-lite.yml).

Related

  • Parent audit (closed): #4776
  • Tiny Place epic: #4190
  • Precedent for the renewal item — wire an existing SDK method end-to-end: #4929 → #4998
  • Settled as web-only / de-scoped, do not re-open here: #4920 (→ #5193), #4922, #4924 (→ #5295)
  • Design port still open: #3853

CodeGhost21 avatar Aug 03 '26 11:08 CodeGhost21

Closing this here — Tiny Place has been removed from OpenHuman.

The residual items tracked here (Directory, Ledger, Messages, Identities, Bounties) all sit on the tinyplace surface, which #5847 removed from this repository: the submodule is gone from .gitmodules and src/openhuman/tinyplace/ is empty.

These were real audit findings, so worth saying plainly: closing this is not a judgement that they were resolved. If they still matter they belong against tinyhumansai/tiny.place, where that code now lives — please re-raise there rather than letting them go with this issue.

Thanks for the audit work; follow-up lists like this are the part that usually gets skipped.

M3gA-Mind avatar Sep 01 '26 14:09 M3gA-Mind