Skip to content

chore: record that develop supersedes v9.1.4 (merge commit, do not squash) - #1479

Merged
llbartekll merged 163 commits into
developfrom
chore/record-develop-supersedes-v9.1.4
Nov 23, 2026
Merged

llbartekll merged 163 commits into
developfrom
chore/record-develop-supersedes-v9.1.4

Conversation

@llbartekll

Copy link
Copy Markdown
Collaborator

Issue being fixed or feature implemented

v9.1.4, the release the App Store has now, is not an ancestor of develop. It shipped from release/dashconnect-mainnet, and its pull requests reached develop as squash merges, so the content is on develop and the history is not. The release mirror in #1473 (ADR-0054) can only fast-forward master from one release to the next when each descends from the one before.

What was done?

One commit: git merge -s ours v9.1.4 into develop. It has two parents, develop and v9.1.4, and the tree of develop unchanged — the diff of this pull request is empty. After it, v9.1.4 is an ancestor of develop, so master can start at v9.1.4 and fast-forward to the next release cut from develop.

Merge with "Create a merge commit". A squash would produce an empty commit and drop the second parent, which is the only thing this changes.

The claim this records — that develop contains what 9.1.4 shipped — rests on the commit-by-commit comparison in this review comment on #1473.

How Has This Been Tested?

  • git diff develop <merge> is empty.
  • git merge-base --is-ancestor v9.1.4 <merge> succeeds.

Breaking Changes

None. No file changes.

🤖 Generated with Claude Code

jeanpierreroma and others added 30 commits October 8, 2026 19:14
…l 14

From protocol version 14 the wallet answers a `dash-key:` request by itself:
it derives the request's session key (DIP-13 application session
authentication, leaf `hash256` of the app's ephemeral key), registers it on
the identity as an AUTHENTICATION / HIGH / ECDSA_HASH160 key bound to the
requested contract with a budget and an expiry, and only then publishes the
encrypted key to the App Connect system contract. The app no longer sends a
`dash-st:` key registration. Earlier responses for the same app are deleted
by their values first; the published values are recorded for that.

Below protocol 14 the two-QR flow runs unchanged. Testnet's SDK is pinned to
protocol 13, so testnet stays on it until that pin moves.

Also ports the `dash-st:` parser to the SDK's `ParsedStateTransition`
summary (dashpay/platform#4844): a key registration maps as before, and a
batch is accepted only as a lone, complete token direct purchase.

Needs dashpay/platform#4844 and the delete-by-values entry point. The
budget and lifetime are placeholders. Mainnet is still gated off, the
approval sheet and disconnect are unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ed off

Turning a connection off only changed its local status, so the app kept a
key that could still sign. For a connection made by the one-QR login the
wallet now disables that session key on the identity and deletes the
published response by its values before the row is downgraded; a failure
leaves the row active and is shown to the user.

A two-QR connection stays local-only: that login derives the same key every
time and Platform never re-adds a disabled key, so disabling it would lock
the app out for good.

`disconnect(id:)` now throws, and the view model keeps a second tap and
inbound requests out while the identity update is in flight.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Review pass on the one-QR login and its disconnect:

- A later login to the same app deleted the earlier record together with
  its key id, so that key stayed live and could no longer be found. The
  record now outlives its response (marked as deleted) until a disconnect
  disables the key.
- The grant and the connection row are recorded once the key is on the
  identity, before the publish, so a publish with an unknown outcome still
  leaves a key the user can see and disable. Approving the same QR again
  reuses the recorded values and does nothing when already published.
- A connection remembers which login made it. Turning a one-QR connection
  off removes the row instead of parking it in the two-QR "approved" state,
  and refuses, rather than reporting success, when its records are missing.
- A scanned `dash-st:` key registration keeps the budget and expiry it
  carried instead of being rebuilt as an unlimited key.
- Disconnect has its own in-flight flag, does not overlap an approval or a
  resolving request, and re-resolves the wallet context after the PIN
  prompt. Grant records are read, changed and written in one step.
- The protocol-version query runs off the cooperative pool.
- The two logins share one `AppConnect.seal` instead of two copies of the
  encrypt-and-wipe sequence, and the session private key is the sole owner
  of its buffer so the wipe reaches it.

Still open, marked in code: key state is read from the SDK's local view of
the identity (TODO(app-connect-stale-keys)); the approval sheet still shows
the two-QR text.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…dentity view

Second review pass on the one-QR login:

- A grant was looked up in the store by whole-value equality, and its date
  does not survive the store's millisecond round trip bit for bit, so about
  half of all publishes never recorded their document id. Records are now
  matched on what identifies a grant: identity, app, key id, request hash.
- A granted key id missing from the wallet's local view of the identity was
  treated as gone, after which the records and the row were dropped as if
  the key had been disabled. Platform never removes a key, so a missing id
  now stops the disconnect with an error.
- The one-QR approval re-resolves the wallet context after the PIN prompt
  and refuses to continue for a different identity.
- The grant store decodes row by row and writes back rows it cannot read
  instead of overwriting them.
- Two doc comments corrected to say what the code does.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The wallet decided whether to add or disable a session key from the SDK's
local copy of the identity, which is only replaced when an identity update
returns success. It now reloads the identity before both decisions.

A publish or a delete of the response can land without confirming. A refused
publish is now looked up and adopted with the values that are on Platform,
a failed delete is checked against Platform, and a disconnect no longer
drops the record of a response whose publish never confirmed.

Also:
- a response deleted by a later login is published again when its own
  request comes back, instead of being reported as already published;
- a connection stays while the app holds a key on another identity of the
  wallet, and a disconnect from an identity that gave it none says so;
- a login does not start when the grant store cannot save;
- records left by a disconnect are retried by the next login with the
  same identity.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…record of

A reinstalled wallet has no grant records, so disconnect left the app's
earlier session keys live. Disconnect now also takes the live keys on the
active identity that the wallet's key store shows bound to the app's
contract and that are shaped as this login registers them (AUTHENTICATION,
HIGH, ECDSA_HASH160, with a budget and an expiry).

- Stops with an error when a live session key cannot be placed, or when a
  stored key of the app's is missing from the fetched key list.
- Disables at most 10 keys per identity update, the consensus limit.
- A one-QR row with no record no longer fails; the identity is checked.

Not covered: the response behind a key with no record stays on Platform,
and a key on a non-active identity with no record is not seen.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The request v2 proposed in Yappr's App Connect profile names several keys
(a contract group, a document type, a single contract, an encryption key)
with a budget and an expiry each. This adds the parts that are fully
specified and have published vectors; nothing reads them in the login flow
yet, so a v2 QR is still refused.

- AppConnectRequest: the body decoder (header, TLVs, bindings) and the
  request age check. `unsupported` and `invalid` follow the reference codec.
- DashConnectUri.parseAppConnectRequest: the `dash-key:` v=2 URI and its
  `cb` return URL.
- KeyExchangeCrypto: the v2 response key (HKDF info "app-connect:v2"), its
  associated data and the multi-key payload.

Checked against vendor/platform-auth/src/app-connect/vectors.json.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…e host

A bracketed host passed the check and read back without its brackets,
and IP addresses passed in every spelling. The host is now a plain DNS
name in lowercase. Query values are form-decoded one sequence at a
time, and the version in the unsupported error is echoed only when it
is a short number.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Saving grants replaced or removed a stored value that did not parse as
a JSON array, although reading it logs that it is left in place. The
save is now skipped. The test spy's disconnect state moves behind its
lock.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…pproval to it

The approval sheet now resolves which login the network takes before it is
shown. For the one-QR login it names the session key's budget and lifetime,
and the key is registered with the terms that were shown. An approval is
refused, and the sheet rebuilt, when the active identity or the login is no
longer the one on the sheet; with the protocol version unknown there is
nothing to approve.

- A session key found already registered is reused only when it is bound to
  the request's contract and carries limits within the approved terms.
- A publish is recorded as unconfirmed before it is submitted, so a
  republished response is not dropped by a later disconnect.
- The grant store reports that it cannot persist while its stored value is
  not a row list, and a grant that did not land stops the login before the
  response is published.
- Disconnecting a one-QR connection that replaced a two-QR one keeps the row
  in the two-QR "approved" state while that login's keys are live, and never
  disables them.
- The two remaining English-only errors are localized, and the PR's new
  strings are added to the catalogs.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…wo-QR keys out of a disconnect

- A connection request says which login it would run: unresolved, two-QR or
  one-QR with its terms. One built without asking the network is unresolved,
  and the sheet then offers another try instead of an approval.
- A disconnect derives the two-QR keys before it disables anything. When
  they cannot be derived, only the recorded session keys are disabled and
  the row stays with an error.
- An expired two-QR key no longer keeps the row.
- The connection row is named from a lookup made at approval again.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
… two-QR keys

A one-QR connection that replaced a two-QR one left that login's keys live
on the identity after a disconnect. The disconnect now derives them first,
disables them with the session keys in the same updates, and removes the
row; if they cannot be derived nothing is turned off. A two-QR connection
stays local-only as before.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…sion key on the identity

- A one-QR row goes on to the PIN prompt when the identity holds no session
  key of the app: its two-QR keys can only be looked for after it.
- An unresolved sign-in says why, and the sheet retries through its own
  action; the approval cannot be reached from that state.
- Comments state what a disconnect disables, not more.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…let's other identities

- Before a one-QR row is removed, the wallet's store is read for keys of the
  app on its other identities that no grant record names: a session key
  bound to the app's contract, or a key the two-QR login derives for it.
  The row stays while one is found, and stays with an error when that could
  not be checked.
- The id for a new session key no longer overflows after the last key id;
  the sign-in is refused instead.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…nection, and keep unknown apart from none

A disconnect that leaves the row because another identity of the wallet holds
a key of the app now reports that instead of returning silently. The store
check goes through every other identity: one that cannot be told no longer
hides a key found on another, and an identity whose keys are not in the store
counts as unknown rather than as holding none.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
… an operation ran for

The connection and grant stores follow the active wallet, and an approval
or a disconnect waits on the network and on a PIN prompt. Each operation
now works through one pair of stores fixed to the wallet of its context,
so a wallet switch while it is suspended cannot move its records to the
wallet that became active.

- requireContext refuses while the SDK wallet is not the active one.
- The published list is tracked by wallet and network scope on the main
  actor, reloaded when the active wallet changes, and a disconnect or a
  remove picked from another wallet's list is refused.
- A dash-st: key registration resolves the context again after the PIN.
- The protocol version lookup in the request preview no longer passes an
  async closure to Result's synchronous initializer.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…w was shown for

A published row now names the wallet and network it was published for,
and disconnect and remove take that scope back. A row picked from a list
that has since moved to another wallet is refused, also when the new
wallet has a row for the same app and the list was already replaced by
the wallet-change notification before the call arrived.

The scope is set where rows are published and cleared before they are
stored.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…t at a time per wallet

An approval keeps running after its screen is closed, and a screen opened
again gets a new data source over the same stores. A disconnect started
there could pick the keys to disable before that approval registered one
more, and then mark the new grant as disabled too.

- A process-wide gate lets one approval, key registration or disconnect
  run at a time for a wallet, in arrival order, whichever data source it
  came through. A turn that comes after the active wallet changed does not
  start.
- A disconnect marks disabled, and deletes the responses of, only the
  grants it read before disabling.
- Rows are read from the store for every change instead of from the
  list a data source loaded earlier, so two data sources do not overwrite
  each other's rows.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…nd show the app contract on the sheet

- A context resolved again after a PIN prompt or a wait at the operation
  gate must match the whole scope of the stores it carries on with, the
  wallet and the network scope: the same wallet on another devnet is
  refused.
- A dash-st: key registration takes its turn for the wallet of the context
  it resolved, and resolves the context again once the turn comes.
- The approval sheet shows the app's contract id in full, selectable: the
  name next to it can be chosen by the code or the contract's owner, and
  the id is what a one-QR key is bound to.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The rules a wallet applies between decoding a v2 request and registering
its keys (Yappr docs/APP_CONNECT_PROFILE.md), as pure functions:

- the grant plan: every binding granted, budget capped at 5 DASH, lifetime
  at 365 days, a 90-day expiry when none is asked, no requested limit
  dropped; stale and future requests refused
- owner consistency: groups and contracts owned by the app's owner, DashPay
  profile the only foreign document type, system contracts never an app or
  a binding target, the app opting in to bound encryption keys
- one auth key per binding at the session-authentication leaf
  hash256(appEphPub || u8 bindingIndex), with deriveConnectKey as it is
- the encryption key (rule 7): resend this wallet's rotation-0 key while it
  is current, register it when there is none, leave the slot out otherwise
- supersession by CONNECTION_ID, and the callback's ac= status

The grant record keeps a v2 grant's other auth keys and its connection id,
and disconnect counts every key a record names.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Moves the tail of the one-QR approval (record check, delete of earlier
responses, publish, settling an unconfirmed publish) into
publishAppConnectResponse so the v2 login can share it. No behaviour
change.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
A v=2 dash-key: request now reaches the approval sheet instead of being
refused. Building the sheet settles the grant plan and checks it against
Platform (contract and group owners, the identity hint). Approving it
derives one key per binding, settles the app's encryption key, and in one
MASTER-signed identity update adds the new keys and disables this
connection's previous grant. It then records the grant and publishes the
sealed response (one slot per key) to the App Connect contract.

A key already on the identity at a binding's derived payload is sent again
only within the plan's level and limits; an update that lands without
confirming is settled by re-reading the identity.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The approval sheet lists each key the app is given with what it can do,
its budget and its expiry, plus how old the request is and where the
wallet returns. A refused request shows why, with nothing to approve.
After the user answers, the wallet opens the request's callback with
ac=ok, declined or failed. A refused request's callback is never opened.

The new strings are in every catalog in English.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
… grant

A request that repeats another request's ephemeral key derives the same key
payloads. A key already on the identity is now sent again only when no
grant for another app or request names it, so the second request cannot
take over the first one's key or record it under its app.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…etwork its sheet was resolved for

The request the approval sheet shows now records the wallet and network
scope it was resolved for. An approval is refused, and the sheet rebuilt,
when the active wallet or network scope is another one, also when the same
wallet and identity exist under another devnet name. The check runs before
the protocol version is asked for.

The grant store also leaves alone a stored value that is not data at all
(a string, a dictionary, a number), like data that is not a list of rows:
nothing is written over it and no sign-in starts.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…DashConnect approval

- The scope an operation runs for now also names where the network is
  reached (the devnet's quorum URL), so consent given for a devnet is not
  used after it is pointed at other nodes under the same name. Rows and
  grant records stay keyed by wallet and devnet name.
- When the protocol version cannot be read at approve time the approval
  fails as an unresolved login and the sheet is rebuilt: it offers "Try
  again" while it still cannot tell, and otherwise says why nothing was
  approved.
- States what `active` means for a one-QR connection.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…submitted

An identity update can land on Platform and still report a failure. The
grant was recorded only after the update returned, so such a key stayed
live with no record and no row to turn it off from.

- The grant is recorded unconfirmed (the key's hash) just before the update
  is submitted. After a reported failure the identity is read again and
  the login goes on if the key is there; otherwise the failure stands and
  the record stays unconfirmed.
- An unconfirmed record is confirmed, and its app given a row, once its own
  key (id and hash, live) is seen on the identity — at every one-QR
  approval and every disconnect. Until then it takes no part in a
  disconnect, and it is never dropped on the strength of a view that may be
  behind.
- A confirmed record is never replaced by a new unconfirmed one: a retry
  that does not see its key stops as "identity keys out of date".
- The context read for an operation checks that the SDK runtime is still
  the one it started from after the devnet settings are read.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
romchornyi and others added 22 commits November 1, 2026 00:41
…tent, the keypad shows the amount, no origin note

- The funding limit, expiry and both info sheets are as tall as what
  they show (selfSizingSheet), so the keypad's and the date picker's
  Submit no longer sit under the home indicator.
- The keypad shows the typed amount with the Dash sign and the error
  under it above the keys, as in the design.
- The v2 approve sheet drops the note on where the request came from;
  it is not in the design. The old sheet keeps it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…d that holds a key gets a row back

- `pendingV2Outcome` no longer takes a later update of this wallet as
  proof that a waiting one cannot land: the SDK's copy of the identity
  can be reloaded while an update is on its way. A waiting record settles
  only on its own keys, an id held by other data, or its encryption key
  under another id. `outlivedBy` is only decoded; nothing notes it.
- A waiting record that holds a key a disconnect can turn off gets a
  confirming row when the app has none offering a disconnect; a two-QR
  row waiting for its second scan is remembered for the drop.
- Another identity's waiting record holds the row only while the store
  shows it holding an auth key, so one whose update never left the device
  does not block that app's disconnects elsewhere for good; nor does it
  keep a disconnect from turning off the unattributed profile keys.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…it or date shows as selected, errors as toasts

- The funding-limit and expiry sheets switch between presets and the
  keypad or the calendar in one slot, and the sheet's height follows in
  an animation (animatedSelfSizingSheet) instead of jumping.
- A limit or expiry that is none of the presets (an app's own ask, a
  typed amount, a picked date) selects "Set limit" / "Set date" with its
  value; the keypad opens on that amount.
- Errors show as DashUIKit toasts, read out by VoiceOver: over the end of
  the approve sheet's content (with room left under it), and under the
  keypad's amount and above the date picker's Submit.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…e picker's new string

The previous commit took the catalogs as a test build had rewritten
them. Back to their earlier content, with only the new key added.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…name and its disconnected entry

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ign-approve-sheet

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Following the updated design, each row carries its action: Disconnect on
Active and Confirming rows, Reconnect on Disconnected and Expired ones.
A row's Disconnect opens the connection's sheet, which asks there, so
there is one disconnect question. The Expired sheet offers Reconnect,
with Disconnect under it: an expired connection's keys stay on Platform
until a disconnect, or a renewal of the same connection, turns them off.

What a disconnect does is read from the data source when the question is
asked (disconnectRevokesKeys), and again when it is confirmed: if it no
longer holds, nothing runs and the sheet says why. A scan is refused, with
a message, while something signs or an approval is on screen.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ollows its wallet

- An expiry read that could not tell a listed app's expiry is not shown
  as complete: the Expired tab keeps what an earlier read told and shows
  "could not be checked" with Retry. An app whose recorded keys are all
  off (`ConnectionExpiry.keysOff`) reads the same every time and does
  not ask for a retry.
- When the rows republish with another wallet's row of the app a
  connection sheet shows, the sheet closes, and its question with it.
- A connection's end date is not shown when one of its records has no
  expiry noted.
- A disconnect's history entry is dated when the revocation ends.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…; disconnect history and keys-off are said

- The expiry read returns the wallet it was read for. A read of another
  wallet than the rows shown is not applied, the rows switching wallet
  drop the expiries, and an earlier Expired is carried over an
  incomplete read only for a row unchanged since (no renewal). A listed
  active app with no answer makes the check incomplete.
- An app counts as expired only once both the phone's clock and the
  time of the last Core block SPV has synced are past its keys' expiry;
  until then, or without a chain time, it is not told.
- An app whose recorded keys are all off shows "Keys turned off".
- A disconnect whose app could not be saved among the disconnected apps
  says so, on the page once a closing sheet has gone.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ng keypad refuses partial credits

- An App Connect v2 identity update refused for the identity's balance
  is settled by reading the identity, as any failure: an earlier attempt
  of the same broadcast may still land, and the record may name a live
  key it reuses, so the error alone no longer drops the record.
- After any approval failure, a recorded grant fixes the retry's terms:
  the response's publish can run out of balance after the keys were
  registered.
- A typed funding limit finer than a credit is refused with a message
  rather than cut.
- The no-username callback check is a pure function, tested with a
  known app's own website, another host, a non-https page and an
  unknown app.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Also adds the funding keypad's precision message to the catalogs.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…mainnet

Conflicts: the locale catalogs take both sides' keys; the SDK host and SPV
coordinator keep develop's (auto-detected protocol on every network, the
SPV chain-store rebuild); the DashConnect data source and its tests take
the stack's. The platform pin moves to v5.1-dev f830a1c73c.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
DashUIKit now ships the app's segmented control (#45) and the tinted red
button style (#46): the app's own copy of the control goes, and its users
take DashUIKit's, which has the same API.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…pr's testnet App ID

- DashConnect is no longer turned off on mainnet. Each request is still
  refused while the network's Platform protocol is below 14, the one
  App Connect needs, so mainnet opens with its protocol 14 activation
  without a release. The two-QR login's contract was never deployed on
  mainnet, and it stays refused there.
- Yappr's App Connect App ID on testnet is D8benQ… since its release set
  of 2026-10-21; EWR695…, an earlier contract of it, stays for the test
  vectors. Yappr has no mainnet App ID yet.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
DashUIKit's SegmentedControl has no drag-to-select and draws no pill for
a selection outside its options, which the payments landing and DashSpend
rely on. The app keeps its own control, which shadows DashUIKit's in this
module; DashUIKit stays on master for everything else.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
… waits for protocol 14

- The data source checked a non-devnet network against the testnet
  runtime, so every mainnet operation was refused as a network mismatch.
- On mainnet a scanned dash-st transition (key registration, token
  purchase) is refused below protocol 14, and so is a legacy two-QR
  sign-in, before the sheet offers it: its contract was never deployed
  on mainnet.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…choice and refusal

- A scanned dash-st transition refused on mainnet below protocol 14
  says the network does not support DashConnect requests yet, localized.
- The approval picks the login with the same network-aware rule as the
  sheet, and both refuse a network below App Connect with one shared
  refusal.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
History only (git merge -s ours): develop's tree is unchanged. 9.1.4 shipped
from release/dashconnect-mainnet, whose pull requests reached develop as
squashes, so its content is here and its history was not. With v9.1.4 an
ancestor of develop, master can start at v9.1.4 and fast-forward to the
next release cut from develop (ADR-0054).

Co-Authored-By: Claude Fable 5.2 <[email protected]>
@thepastaclaw

thepastaclaw commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

✅ Final review complete — Phase 1 only — no blockers (commit 69f8b3f) · triage: trivial

@romchornyi romchornyi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Verified at 69f8b3feb7:

  • one merge commit with parents ee68513eb (current develop) and 8ea58b0b8 (the commit v9.1.4 names);
  • its tree is identical to develop's — no file changes;
  • after it, both v9.1.4 and v9.1.3 are ancestors.

Reminder for whoever merges: Create a merge commit only — squash is enabled in this repo and would drop the second parent, which is the whole point. Merge this before the master cutover in #1473.

🤖 Reviewed with Claude Code

@thepastaclaw thepastaclaw left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ DEGRADED — Final review — Phase 1 only (trivial change)

⚠️ DEGRADED review. The primary review models were unavailable (gpt-6.2-sol unavailable: Request rejected (429) · All credentials for model gpt-6.2-sol are cooling down (last error: usage_limit_reached: The us), so this review ran on stand-in models: gpt-5.6-luna → muse-spark-1.3-contributor, gpt-5.6-sol → muse-spark-1.3-contributor, gpt-5.6-terra → muse-spark-1.3-contributor, gpt-6-astra → muse-spark-1.3-contributor, gpt-6.1-sol → muse-spark-1.3-contributor, gpt-6.2-astra → muse-spark-1.3-contributor, gpt-6.2-sol → muse-spark-1.3-contributor. Both review phases and the independent verifiers still ran, but on weaker models, with Phase 1 capped at high effort. Treat the verdict as provisional; a full-strength re-review will run on the next push once the primary models are back.

Nothing blocks: no blocking finding stands on this head.

This PR records v9.1.4 as an ancestor of develop with a history-only merge -s ours commit that leaves the develop tree unchanged. CI is green: DashWalletTests, test-target membership, workflow lint, and PR-title checks succeed with only this review pending.

🟡 1 suggestion(s)

1 finding(s) not shown inline (the lines are not part of this PR's diff)

🟡 Suggestion: A future release cut from develop would lose 9.1.4's trust-keyed Yappr name/URL and show the QR's own label instead
Impact: Users scanning Yappr codes while offline or when the DPNS lookup fails would see the QR-supplied label with an empty website instead of the pinned 'Yappr / yap.pr' branding that 9.1.4 shipped.
DashWallet/Sources/Models/DashConnect/PlatformDashConnectDataSource.swift:596-618

Consequence: after this merge records that develop supersedes 9.1.4, one small display-only delta from the release line is silently dropped, so the next release cut from develop regresses it. Mechanism: verified against both parents — v9.1.4 (8ea58b0) defines DashConnectFallbackAppMetadata.knownApps keyed by contract id (D8benQ... testnet Yappr App ID, EWR695... test vectors) with the comment that branding comes from the contract id, while develop (ee68513) and this head have no such table and no DashConnectFallbackAppMetadata symbol. On develop ConnectionRequest(loginRequest:) in DashConnectModels.swift uses the QR's own label with an empty URL, and makeConnectionRequest returns appLabel: appName ?? fallback.appLabel with hardcoded appUrl: "", where resolveAppName is nil when the DPNS read fails. The online DPNS path still works, so this is cosmetic, not a trust or funds issue. Fix: port the knownApps table plus its assertion in AppConnectV2LoginTests onto develop in a follow-up, or explicitly record in this PR that this cosmetic delta was intentionally left behind.

source: muse-spark-1.3-contributor (phase1-reviewer: general)

Review provenance

Source: reviewer 1: muse-spark-1.3-contributor (agent: phase1-reviewer, role: general); final verifier: muse-spark-1.3-contributor (standing in for gpt-6.2-sol) (agent: sol-gate-verifier, role: final-verifier)

  • Degraded mode: gpt-6.2-sol unavailable: Request rejected (429) · All credentials for model gpt-6.2-sol are cooling down (last error: usage_limit_reached: The us (detected by probe); stand-ins gpt-5.6-luna → muse-spark-1.3-contributor, gpt-5.6-sol → muse-spark-1.3-contributor, gpt-5.6-terra → muse-spark-1.3-contributor, gpt-6-astra → muse-spark-1.3-contributor, gpt-6.1-sol → muse-spark-1.3-contributor, gpt-6.2-astra → muse-spark-1.3-contributor, gpt-6.2-sol → muse-spark-1.3-contributor; Phase 1 effort capped at high
  • Triage: trivial by muse-spark-1.3-contributor (standing in for gpt-6.2-sol) (effort low) — The PR has zero file changes and an empty tree diff, only adding ancestry metadata.
  • Phase 1 reviewers: muse-spark-1.3-contributor — general (completed, effort high); agent phase1-reviewer
  • Phase 1 model: muse-spark-1.3-contributor — not quota-gated; passed over gemini-3.8-flash-high (antigravity below 15% reserve: models 0% left), glm-5.3-flash (zai below 15% reserve: 5h 7% left, weekly 82% left)
  • Fresh verifier: muse-spark-1.3-contributor (standing in for gpt-6.2-sol) — final-verifier; agent sol-gate-verifier
  • Phase 2 reviewers: not run (triage rated this change trivial); this review comments and never approves
🤖 Prompt for all review comments with AI agents
These findings are from an automated code review (PastaClaw). How to work through them:
- Verify each finding against the code; fix only what is real, as narrowly as the finding.
- If a finding is wrong, decline it on its thread in one or two sentences; the bot answers once and stops.
- To defer one, link a tracking issue on its thread (or reply asking the bot to file one).
- Suggestions don't block the merge, but most are worth fixing in this PR; judge each on its merits.
- Keep the PR's scope; don't grow it to satisfy hardening suggestions.
- Carried items were raised in an earlier round: read the thread first, and don't re-fix what you already fixed, declined or deferred there. Disputed and deferred items are already handled and are not listed.

In `DashWallet/Sources/Models/DashConnect/PlatformDashConnectDataSource.swift`:
- [SUGGESTION] DashWallet/Sources/Models/DashConnect/PlatformDashConnectDataSource.swift:596-618: A future release cut from develop would lose 9.1.4's trust-keyed Yappr name/URL and show the QR's own label instead
  Impact: Users scanning Yappr codes while offline or when the DPNS lookup fails would see the QR-supplied label with an empty website instead of the pinned 'Yappr / yap.pr' branding that 9.1.4 shipped.
  Consequence: after this merge records that develop supersedes 9.1.4, one small display-only delta from the release line is silently dropped, so the next release cut from develop regresses it. Mechanism: verified against both parents — v9.1.4 (8ea58b0b) defines `DashConnectFallbackAppMetadata.knownApps` keyed by contract id (D8benQ... testnet Yappr App ID, EWR695... test vectors) with the comment that branding comes from the contract id, while develop (ee68513eb) and this head have no such table and no `DashConnectFallbackAppMetadata` symbol. On develop `ConnectionRequest(loginRequest:)` in DashConnectModels.swift uses the QR's own label with an empty URL, and `makeConnectionRequest` returns `appLabel: appName ?? fallback.appLabel` with hardcoded `appUrl: ""`, where `resolveAppName` is nil when the DPNS read fails. The online DPNS path still works, so this is cosmetic, not a trust or funds issue. Fix: port the `knownApps` table plus its assertion in AppConnectV2LoginTests onto develop in a follow-up, or explicitly record in this PR that this cosmetic delta was intentionally left behind.

@thepastaclaw thepastaclaw left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Re-review — Final review — Phase 1 only (trivial change)

Nothing blocks: no blocking finding stands on this head.

New on this head: The reviewed head is unchanged from the prior review: it makes v9.1.4 an ancestor of develop without changing develop’s tree. Simulator tests, test-target membership, workflow lint, and PR-title checks passed.

🟡 1 suggestion(s)

1 finding(s) not shown inline (the lines are not part of this PR's diff)

🟡 Suggestion: A future release cut from develop would lose 9.1.4's trust-keyed Yappr name/URL and show the QR's own label instead
Impact: In a release cut from develop, users reviewing a request for a Yappr contract listed in v9.1.4 will no longer see the pinned website and will see the request’s label if no contract-owner username resolves.
DashWallet/Sources/Models/DashConnect/PlatformDashConnectDataSource.swift:596-618

The next release from develop will not preserve v9.1.4’s Yappr branding. The release tip uses a contract-ID lookup for the fallback name and website, and keeps the website even when DPNS supplies the name. The merge head instead uses the contract owner’s DPNS name or the request label and always leaves the website empty. This is consistent with accepted ADR-0056, which explicitly rejects a curated brand map. Keep that behavior and qualify the PR’s content-equivalence claim: this merge records ancestry while retaining develop’s intentional branding policy, not every behavior from v9.1.4.

source: glm-5.3-flash (phase1-reviewer: general)

Review provenance

Source: reviewer 1: glm-5.3-flash (agent: phase1-reviewer, role: general); final verifier: gpt-6.2-sol (agent: sol-gate-verifier, role: final-verifier)

  • Triage: trivial by gpt-6.2-sol (effort low) — The diff is empty and changes no application behavior; the only effect is to record v9.1.4 as an ancestor, which is straightforward to verify.
  • Phase 1 reviewers: glm-5.3-flash — general (completed, effort high); agent phase1-reviewer
  • Phase 1 model: glm-5.3-flash — zai quota: 5h 92% left, weekly 80% left; passed over gemini-3.8-flash-high (antigravity below 15% reserve: models 0% left)
  • Fresh verifier: gpt-6.2-sol — final-verifier; agent sol-gate-verifier
  • Phase 2 reviewers: not run (triage rated this change trivial); this review comments and never approves
🤖 Prompt for all review comments with AI agents
These findings are from an automated code review (PastaClaw). How to work through them:
- Verify each finding against the code; fix only what is real, as narrowly as the finding.
- If a finding is wrong, decline it on its thread in one or two sentences; the bot answers once and stops.
- To defer one, link a tracking issue on its thread (or reply asking the bot to file one).
- Suggestions don't block the merge, but most are worth fixing in this PR; judge each on its merits.
- Keep the PR's scope; don't grow it to satisfy hardening suggestions.
- Carried items were raised in an earlier round: read the thread first, and don't re-fix what you already fixed, declined or deferred there. Disputed and deferred items are already handled and are not listed.

In `DashWallet/Sources/Models/DashConnect/PlatformDashConnectDataSource.swift`:
- [SUGGESTION] DashWallet/Sources/Models/DashConnect/PlatformDashConnectDataSource.swift:596-618: A future release cut from develop would lose 9.1.4's trust-keyed Yappr name/URL and show the QR's own label instead
  Impact: In a release cut from develop, users reviewing a request for a Yappr contract listed in v9.1.4 will no longer see the pinned website and will see the request’s label if no contract-owner username resolves.
  The next release from develop will not preserve v9.1.4’s Yappr branding. The release tip uses a contract-ID lookup for the fallback name and website, and keeps the website even when DPNS supplies the name. The merge head instead uses the contract owner’s DPNS name or the request label and always leaves the website empty. This is consistent with accepted ADR-0056, which explicitly rejects a curated brand map. Keep that behavior and qualify the PR’s content-equivalence claim: this merge records ancestry while retaining develop’s intentional branding policy, not every behavior from v9.1.4.

@llbartekll
llbartekll merged commit 43e07f3 into develop Nov 23, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants