Repository navigation
docs: WP-13b slice 0 — D-93..D-98, response/ai/notify contracts, data model, stories, specs - #84
Merged
Merged
Conversation
…93..D-98) Six decisions after D-91 (D-92 is left for PR #82): connections and their secrets move to core (D-93, admin-declared public targets allowed, PRIVACY flow 12 lands with the GUI in 13b-1), generic device transports (D-94), check-before and read-back as template data (D-95), approval channels split between notify and response (D-96), the AI agent as an in-process service identity (D-97) and a per-approval step-up check in core/auth (D-98). response CONTRACT/IMPACT: INV-3/4/9/13/15/16 updated, INV-21 (connection secrets live in core), INV-22 (executor port and budgets), FORBID-5 adds the proposals route, FORBID-9, open questions 1/3/4/5/7 answered, slice map. ai and notify contracts: minimal factual changes (INV-11 moves to core; channel filter, VerifyApprovalLink, Decisions port, RecordReplyCode). DATA_MODEL, stories S-RESP-2/4 and S-AI-7, approval-tokens 7.1 reply-code hash with a test vector and 14 answers, action-templates 12.1 data fixes, and the deferred list for WP-13b. No code, no modules/core change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rifyTwoStep D-98 gains: the code bound to one request (purpose response.approve.<id>), a server-built summary mailed through a separate StepUpMailer (never the sign-in text), a separate step-up send budget, and a re-read of the user when the check commits. INV-16: VerifyTwoStep errors pass through unchanged (400 code_required/invalid_code/..., 403 twofa_required, 429 with Retry-After, 503), not 403 invalid_code. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts: # docs/DECISIONS.md
This was referenced Nov 9, 2026
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.
Slice 13b-0 of WP-13b (response part 2): the docs come first. This PR changes no code.
Decisions
core/conn,core_connection,core_connection_tool. Endpoints:/core/connections*. GUI: Settings → Connections.aioff (D-44).precheckandprecheck_refuse, andexpecton the template.ai:response).POST /response/ai/proposalsanswers 404 in the real build.core/auth.(*Service).VerifyTwoStep.D-92 is in #82, which is still in flight. Once it merges I'll merge main here and keep D-92 before D-93.
Contracts
Proposeport;ai_connectorsdropped.Channels(empty means send nothing) andInAppOnly.VerifyApprovalLink, which never creates the key.Config.Decisionsport andRecordReplyCode.response.decision.made.Other docs
core_connection,core_connection_tool,resp_tokensv2,resp_cataloggainsprecheck/precheck_refuse/expect,resp_hints..ai/deferred/feat-response-13b.md.modules/core/*(connection invariants come in 13b-4) andPRIVACY.md(flow 12 comes in 13b-1).For Emily (D-65)
@kiennt049 this changes your
aiandnotifycontracts. Read the plan's interfaces inmodules/notify/CONTRACT.md, PRE-4, PRE-7 and PRE-8. Under D-65 I may write the notify parts (1) and (2) myself when slice 13b-7 comes, and I'll tell you first. Nothing changes in your current work.Local checks
Docs only:
make checkruns nothing. Every URL cited in D-93..D-98 was opened and checked.🤖 Generated with Claude Code