feat(portal): manual hypothesis authoring — add, attach, detach (26 H.3)#172
Closed
bryanmatthewsimonson wants to merge 1 commit into
Closed
Conversation
Phase 26 slice H.3 (docs/HYPOTHESIS_MAP_DESIGN.md §7): - 'Add hypothesis…' on the block: label (identity, immutable) + statement, HypothesisModel.create with suggested_by 'user'. Renders even on an empty map when the case has orbit claims, so the map is startable without LLM synthesis; a claimless case still renders nothing. - 'Attach claim…' per card: orbit-claim picker + Supports/Undermines role + optional note. A brief-seeded card is PROMOTED on first attach (idempotent create — label is identity), then the edge lands on the persisted record. The form copy states the never-netted rule. - '✕ detach' per edge row; '✕ delete hypothesis' on persisted cards with the blast-radius confirm (cascades edges, dependents-first). - All authoring + tooltip strings exported (AUTHORING_STRINGS, CRUX_BADGE_TITLE, VERDICT_CHIP_TITLE) and walked by the no-scoreboard guard test — nothing the block puts on screen escapes the guard. Edge ids ride the view model for detach. - Re-render via callbacks.onReloadCase (the add-sources/synthesis precedent). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This was referenced Jul 16, 2026
Owner
Author
|
Landed on main via the #183 consolidation merge — this PR was auto-closed by the base-branch deletion cascade, but its commits are all in main. |
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.
Summary
Phase-26 slice H.3 — the human-drawn-edges affordance. Stacked on #171 (→ #170 → #169); merge in order.
Supports/Underminesrole, optional note. Attaching to a brief-seeded card promotes it: the idempotent label-derived create lands the record, then the edge. The form copy states the rule: a claim can support one hypothesis and undermine another; nothing is netted.Tests: 1,758 green · build clean · lint 0 errors.
Next
H.4 (LLM edge suggestion through the map/reduce firewall) follows — the last hypothesis-map slice before the counterfactual pair.
🤖 Generated with Claude Code