Help me choose and deploy the right B4.run build target. B4.run can emit a self-hosted Node server, an opt-in edge app, generated LangGraph entries, or any combination named in `build.targets`.

1. Verify the app before deployment:
   ```
   b4 verify
   b4 test
   ```
   `b4 verify` covers the app contract, route discovery, typegen, dependency/environment advisories, and runtime readiness. `b4 test` runs scenario tests. A configured `hono` target is capability-validated by both `b4 check` and `b4 build`.

2. Optionally catch B4.run HTTP protocol-shape issues before a Node or Hono deploy. Add `.server("http://127.0.0.1:3001")` to selected `scenarios(...)` builder chains, then run:
   ```
   b4 dev --port 3001 &
   b4 test
   ```
   This exercises the Agent Protocol thread lifecycle locally. LangSmith uses a distinct `assistant_id` request envelope, so test that platform boundary separately.

3. Make the target decision explicit in `b4.config.ts`. Naming targets replaces the defaults, so include every artifact this app needs:

   **B4.run Node runtime — full self-hosted surface**
   ```ts
   import { config } from "@b4run/cli"

   export default config({ build: { targets: ["node"] } })
   ```
   This emits `.b4/build/server.mjs`, a static module manifest, and a hardened Node 24 Dockerfile. Serve the B4.run runtime directly with `b4 start` or build the emitted Dockerfile. Ensure `@b4run/cli` is in `dependencies`, not `devDependencies`. Supply runtime secrets in the process/container environment: `b4 start` does not load the file named by `config.env`. The Node runtime serves Agent Protocol, AG-UI, middleware, and the configured sandbox. Its default local stores and in-process run/cancel registry require one replica unless thread-keyed stickiness or distributed coordination is guaranteed.

   **Hono edge app — compatible subset only**
   ```ts
   import { config } from "@b4run/cli"

   export default config({ build: { targets: ["hono"] } })
   ```
   This emits `app.mjs`, `modules.edge.mjs`, a per-request Postgres store factory, and `wrangler.toml`. It serves Agent Protocol, AG-UI, and middleware, with Postgres-backed checkpoints, threads, and permissions. It cannot serve sandbox, filesystem/shell workspace capabilities, tool-output offloading, route skills, or typed long-term memory; custom store handles are rejected by the capability gate. `memory.md` and `plan.md` do not activate without a filesystem marker provider. Configure `DATABASE_URL` and the generated runtime dependencies, then deploy only after the capability validation passes. Run/cancel coordination remains isolate-local, so the same stickiness/distributed-coordination rule applies.

   **LangSmith entries — platform-owned transport**
   ```ts
   import { config } from "@b4run/cli"

   export default config({ build: { targets: ["langsmith"] } })
   ```
   This emits `.b4/build/langgraph.json` and per-route entries keyed by `<routeId>#<kind>`, such as `/navlog#agent`. These are generated graphs, not the B4.run HTTP server: B4.run middleware, AG-UI, and the sandbox manager are absent. The generated config currently sets `node_version: "22"`, while B4.run packages require Node >=24. Treat that as an unresolved compatibility mismatch and confirm the platform can run the required Node version before deployment.

4. Build the selected target only after verification and tests pass:
   ```
   b4 build --clean
   ```

5. Show me the exact files the build emitted, the command that starts or deploys them, the required runtime environment and storage, and one target-boundary smoke test. Refer to https://b4.run/docs/deployment for the full service and limitation matrix rather than reproducing it.

Reference: https://b4.run/llms.txt
