Skip to content

docs(agents): settle native question answering and waiting policy - #674

Merged
bryantderosier merged 4 commits into
fix/281-native-question-routingfrom
docs/281-native-question-policy
Oct 20, 2026
Merged

bryantderosier merged 4 commits into
fix/281-native-question-routingfrom
docs/281-native-question-policy

Conversation

@bryantderosier

@bryantderosier bryantderosier commented Oct 20, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

The native-question fix left #281's answering and waiting scope unclear in GitHub. I made the existing policy explicit: follow upstream's mode checks and unattributed response records, keep t3_thread_wait hidden, and use parent notices for placed agents. The user guide now explains when an attributed Inbox reply is needed.

Stacked on #669 at 712a45c5a38241454a4197071056d0bff9b1a6a2. Merge #669 first, then retarget this PR to j5/main. Closes #281 when the stack lands.

The scope note on #281 supplies the recovered recommendation, the existing #345 decision, and a disposition for each option. The recommendation explicitly preserved upstream attribution and waiting behavior. It is not presented as proof of a separate Jackson sign-off.

Evidence

  • 115 focused tests passed at 718865b017 after synchronizing with current j5/main. The tests cover native-question routing, Inbox selection, runtime composition, Codex seat policy, tool registration, and MCP mode checks, including the new base-PR read-cost and spawned-Captain cases. These are existing behavior tests; this PR adds no runtime code.
    vp test run apps/server/src/j5/a2a/NativeQuestionNotifier.test.ts apps/server/src/j5/a2a/nativeQuestionInboxRead.test.ts apps/server/src/j5/a2a/runtimeLayer.test.ts apps/server/src/j5/a2a/crewSeatQuestions.test.ts apps/server/src/mcp/toolkits/worktree/registration.test.ts apps/server/src/mcp/McpToolAccess.test.ts
  • Formatting and the stack diff check passed. Both sides of the History conflict are retained, and the diff against fix(agents): surface placed agents' native questions #669 remains four documentation files.
    vp fmt --check docs/j5/product/a2a/index.md docs/j5/product/upstream.md docs/j5/product/upstream-convergence.md docs/j5/user/personas.md
    git diff --check fix/281-native-question-routing...HEAD
  • Rechecked upstream's delegated-question reactor at c911f654b9. It still routes through delegated tasks/native lineage, so J5 placement needs the notifier in fix(agents): surface placed agents' native questions #669. The watchlist records this focused check and retains its existing overall upstream-version boundary.

Not verified: no new live-client, provider, desktop, mobile, relay or tunnel run. The server package typecheck passed after the trunk synchronization; no local repo-wide checks were run. #669 retains its own validation limits and pending video evidence.

Merge Danger

Door: Two-way; reverting restores the prior documentation.

Blast Radius: Native-question policy documentation. Answer permissions, attribution records, adapters, wire contracts and clients do not change.

The accepted limitation is explicit: a native-question answer records the answer and resolution, but not who answered or a J5 ledger act. An Exchange supplies an attributed reply when needed.

After merge: close #281 only after #669 and this follow-up are both on j5/main.

Checklist

  • One concern: the description has no "also"
  • Tests cover the changed behavior (backend changes ship with focused tests) — no behavior changes; existing focused tests passed
  • UI changes: before/after screenshots above, and a video for motion or interaction — no UI changes
  • Live testing: the section above says what ran live and what did not — documentation only; limits are in Evidence
  • Upstream-owned files: each one is recorded in FORK.md (case text and file-table row) in this PR — all four files are J5-owned documentation
  • Upstream product: any change to what upstream's product does has a human decision linked above and a register entry in docs/j5/product/upstream.md — existing behavior and decisions are retained
  • Surfaces: entry points, clients, providers, contracts, reverse states, connection modes (see AGENTS.md)
  • Docs: definitions under docs/j5/product/ and user docs rewritten where this changes them

Implemented with GPT-6.1-Sol in the Codex harness.

@vercel

vercel Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
j5-code Ready Ready Preview Oct 20, 2026 1:13pm UTC

Request Review

@github-actions github-actions Bot added the vouch:trusted Author is trusted by repo permissions or the VOUCHED list. label Oct 20, 2026
@github-actions github-actions Bot added the size:S 10-29 effective changed lines (test files excluded in mixed PRs). label Oct 20, 2026
@bryantderosier
bryantderosier added this pull request to stack #675 October 20, 2026 11:45
@coderabbitai

coderabbitai Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: Path: .coderabbit.config.ts
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 89b20a45-2133-4d5e-88c8-67bd565155fe
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@bryantderosier bryantderosier self-assigned this Oct 20, 2026

@BastiHu BastiHu left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Combined Codex + Claude Opus 5.5 review: no blocking or security defects found in the documentation changes reviewed at c644c27. Rechecked the three suggestions against the current head a0b677d; they still apply and are nonblocking. The stack depends on #669; #281 should remain open until both PRs land. Neither reviewer reran tests or live-tested the app.

Comment thread docs/j5/product/a2a/index.md Resolved
Comment thread docs/j5/product/upstream.md Resolved
Comment thread docs/j5/user/personas.md Resolved
…uestion-policy

# Conflicts:
#	docs/j5/product/a2a/index.md

@Jacksondr5 Jacksondr5 left a comment •

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved. Docs only. The panel (Claude Opus 5.5 + GPT-6-Astra) checked each change against the code at 718865b and found it accurate. The Inbox decisions Jackson made are recorded on #669. Merge together with #669.

Posted by Claude Opus 5.5 for Jackson.

@bryantderosier
bryantderosier merged commit 5c3b9fa into j5/main Oct 20, 2026
48 of 60 checks passed
@bryantderosier
bryantderosier deleted the docs/281-native-question-policy branch October 20, 2026 17:39

This branch was successfully deployed

1 active deployment
Preview — 718865b0 Deployed Oct 20, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S 10-29 effective changed lines (test files excluded in mixed PRs). vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Crews and Peer Agents stall silently when a placed agent asks a native question

3 participants