Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
370 commits
Select commit Hold shift + click to select a range
ebf1b7d
fix(usdt): trust filtered confirmed TRC20 history
antuz123 Oct 9, 2026
4d60795
Merge commit 'ebf1b7d649dde9bdafbdca36b400a0d6146d7185' into codex/r4…
antuz123 Oct 9, 2026
7784bd0
fix(usdt): distinguish confirmed chain history from legacy success
antuz123 Oct 9, 2026
785071b
Merge commit '7784bd03269ec282ffafb9ae24d2f255524a4fe6' into codex/r4…
antuz123 Oct 9, 2026
22c4c68
test: accept wrong-key AES decode failure
antuz123 Oct 9, 2026
d59d620
fix(android): validate direct production release environment
antuz123 Oct 9, 2026
5765631
Merge remote-tracking branch 'origin/sprint' into codex/r4-264-combin…
redkeep-agents Oct 12, 2026
966cd0e
ci: check release trigger PR on its stacked base
redkeep-agents Oct 12, 2026
3592ede
test: make standalone USDT candidate Electrum checks deterministic
redkeep-agents Oct 12, 2026
a6b1a7b
fix(inheritance): preserve entry selection and clarify fixed activation
redkeep-agents Oct 12, 2026
6f3f0e2
Add verified production build-only Fastlane lanes
redkeep-agents Oct 12, 2026
33ac0bc
ci: exercise production build-only lanes without distribution
redkeep-agents Oct 12, 2026
276333c
docs: prepare inheritance acceptance steps and conditional release copy
redkeep-agents Oct 12, 2026
0ac33a8
test: stabilize stacked release CI with deterministic Electrum fixtures
redkeep-agents Oct 12, 2026
ebda673
fix(r4): complete fresh wallet setup and isolate faucet refreshes
redkeep-agents Oct 12, 2026
29192d3
fix: await collaborative modal hide and session readiness
redkeep-agents Oct 12, 2026
d0bf058
test: type deliberate native modal boundary subscription
redkeep-agents Oct 12, 2026
c3b9b37
test: accept wrong-key AES UTF-8 rejection
redkeep-agents Oct 12, 2026
f8ca5a8
test: accept wrong-key AES UTF-8 rejection
redkeep-agents Oct 12, 2026
831810c
Integrate final R4 diagnostic source fixtures; retain combined Electr…
redkeep-agents Oct 12, 2026
a3b8777
Integrate final R4 stacked CI source and deterministic test updates
redkeep-agents Oct 12, 2026
b78b480
docs: clarify inheritance maturity and isolated iOS validation inputs
redkeep-agents Oct 12, 2026
b46825b
fix: require complete production service config and iOS env selection
antuz123 Oct 12, 2026
3aa9c68
release: refresh authenticated Android Play baseline
antuz123 Oct 12, 2026
d12e4a2
fix: reject stale backup writes after account round trips
antuz123 Oct 12, 2026
d48cb19
Guard account-owned backup and recovery callers across session changes
antuz123 Oct 12, 2026
b63d4b0
fix: bind backup repair to account session
antuz123 Oct 12, 2026
b3729db
fix: stop stale recovery writes after account round trips
antuz123 Oct 12, 2026
1ea1526
fix: reject stale login after account round trips
antuz123 Oct 12, 2026
bc0c279
fix: isolate wallet refresh leases by account session
antuz123 Oct 12, 2026
33a55df
fix: decode iOS wallet configuration file URIs before reading
Oct 12, 2026
48d3e2c
fix: keep latest Realm open active across login races
antuz123 Oct 12, 2026
df26a80
Require revisioned route for incremental backup mutations
antuz123 Oct 12, 2026
9e13c8d
Guard post-response account sessions and update backup fixtures
antuz123 Oct 12, 2026
8b779d6
Fail closed on unsafe backup writes and guard revisioned repair
antuz123 Oct 12, 2026
b8d09bc
Carry backup write intent from source actions to relay mutations
antuz123 Oct 12, 2026
c5a6073
fix: keep keypad native container stable when enabling input
Oct 12, 2026
af15552
Invalidate backup verification for local Realm recovery writes
antuz123 Oct 12, 2026
df9a9d4
Preserve source intent across async label import
antuz123 Oct 12, 2026
ee99ad4
Commit backup verification state atomically after inspection
antuz123 Oct 12, 2026
b4d5847
Keep saved USDT receive addresses in backup comparison
antuz123 Oct 12, 2026
e3dc034
Reject unusable USDT addresses before recovery writes
antuz123 Oct 12, 2026
0550ac9
Include account identity on v2 vault creation payload
antuz123 Oct 12, 2026
6300fb9
Target exact signer map keys during fingerprint migration
antuz123 Oct 12, 2026
1c4b5ff
Document automatic backup write proof gates
antuz123 Oct 12, 2026
bb662a2
Report wallet and vault deletion only after local removal
antuz123 Oct 12, 2026
bc9c87d
Scope vault delete feedback to each request
antuz123 Oct 12, 2026
b160656
Keep callback vault deletes out of shared result state
antuz123 Oct 12, 2026
bb66cea
Integrate iOS configuration import and PIN keypad fixes into R4
antuz123 Oct 13, 2026
975f98e
docs: reconcile R4 automatic backup contract and proof gates
redkeep-agents Oct 13, 2026
361d537
Merge remote-tracking branch 'origin/codex/r4-264-combined-candidate'…
redkeep-agents Oct 13, 2026
e9d3a84
fix(backup): commit launch upgrades as one local operation
redkeep-agents Oct 13, 2026
9ead477
Commit label and coin-choice backups after atomic local changes
redkeep-agents Oct 13, 2026
949cd3a
fix: observe recovery generation after atomic Realm commit
redkeep-agents Oct 13, 2026
1efd75f
test(backup): verify grouped upgrades with native Realm and Relay
redkeep-agents Oct 13, 2026
54dc762
Allow owner-deferred physical checks in local validation gate (#7050)
antuz123 Oct 12, 2026
614dc54
Run genuine automatic backup matrix with pinned Relay in CI
redkeep-agents Oct 13, 2026
134562b
Type persisted label records when building send inheritance
redkeep-agents Oct 13, 2026
33973b9
test: retain version recovery provenance in local-first upgrades
redkeep-agents Oct 13, 2026
df816e2
Align backup and node regressions with committed local operations
redkeep-agents Oct 13, 2026
45c7cd9
test: exercise destructive backup account session guards
redkeep-agents Oct 13, 2026
ac2cd89
Exercise wallet and vault producers with native Realm and Relay
redkeep-agents Oct 13, 2026
ad6c9dc
test: bind vault repair and address counter evidence to current contr…
redkeep-agents Oct 13, 2026
37bf30f
test(recovery): align producer harness with local commit receipts
redkeep-agents Oct 13, 2026
f54e9dc
Bind automatic backup writes to committed Realm operations and origin…
redkeep-agents Oct 13, 2026
1169112
test(recovery): exercise atomic signer identity replacement
redkeep-agents Oct 13, 2026
ae6e395
Prove existing USDT hook backups and explicit unit readback baselines
redkeep-agents Oct 13, 2026
a53985a
Expect opted-in backup inspection markers to be invalidated
redkeep-agents Oct 13, 2026
f0a7eb3
fix: commit recovery producers before queued automatic backups
redkeep-agents Oct 13, 2026
74b90cf
test: verify native signer corrections and registration backup fanout
redkeep-agents Oct 13, 2026
a7f7399
docs: prepare exact-source automatic backup Local handoff
codex Oct 13, 2026
c308aa4
fix: scope signer and migration completion to originating session
redkeep-agents Oct 13, 2026
f01f0a2
test: prove automatic backup writes and clean native recovery
redkeep-agents Oct 13, 2026
0f37506
Permit proven development loopback backup testing while fencing hoste…
redkeep-agents Oct 13, 2026
e1ab9ab
Resolve the exact Local test SHA from the live durable handoff
redkeep-agents Oct 13, 2026
f241f91
Keep development transport fenced pending the additional interleaved …
redkeep-agents Oct 13, 2026
bccb3f3
Require every genuine producer matrix and pin final Relay fixture
redkeep-agents Oct 13, 2026
7b1ad70
test: prove held acknowledgement races across local writes and accoun…
redkeep-agents Oct 13, 2026
efa6f89
Enable development loopback after held-ack fanout and session proofs …
redkeep-agents Oct 13, 2026
8841aab
docs: record current R4 automatic backup source proof
redkeep-agents Oct 13, 2026
8b66afd
Use the paired Relay frozen Yarn lockfile in Local setup
redkeep-agents Oct 13, 2026
874e123
Install paired Relay with its frozen Yarn lockfile in CI
redkeep-agents Oct 13, 2026
13d6d48
Validate emails with a bounded ASCII scanner
redkeep-agents Oct 13, 2026
a243b53
fix: validate derivation account segments without quote stripping
redkeep-agents Oct 13, 2026
a25922f
docs: refresh exact-source recovery proof after CI fixes
redkeep-agents Oct 13, 2026
9414a1f
docs: record observed source PR CodeQL check success
redkeep-agents Oct 13, 2026
2071acb
docs: disclose observed source PR live-network CI failures
redkeep-agents Oct 13, 2026
dbc6b56
Require cold-launch verification rehydration acceptance in Local handoff
redkeep-agents Oct 13, 2026
a2c49c2
fix: expire persisted backup proof before state rehydration
redkeep-agents Oct 13, 2026
49349a5
Require current session proof for displayed backup verification
redkeep-agents Oct 13, 2026
3cc9368
test: verify native backup rehydration and session status
redkeep-agents Oct 13, 2026
fc33cda
Specify native consent precedence and persistence durability checks
redkeep-agents Oct 13, 2026
2f3d55d
docs: record rehydration and current-proof source validation
redkeep-agents Oct 13, 2026
d25d566
Clarify the six persistence cases and one source display case
redkeep-agents Oct 13, 2026
de3c63b
fix: complete R4 local login and paired Relay validation setup
antuz123 Oct 13, 2026
fb9ae0d
Fix managed wallet visibility before backup deletion
antuz123 Oct 13, 2026
698078e
Keep delete result fixture aligned with backup guard
antuz123 Oct 13, 2026
858b55f
Add Android 16 KB ELF and APK inspection evidence
redkeep-agents Oct 15, 2026
5ed2366
Pin Portal JNA with verified Android 16 KB native support
redkeep-agents Oct 15, 2026
17e0d9b
Handle truncated ZIP reads in portable Android checker
redkeep-agents Oct 15, 2026
9a19c6a
Expire backup baselines only after inspection queue admission
redkeep-agents Oct 15, 2026
4927ad5
Back up committed Electrum bootstrap nodes with original authority
redkeep-agents Oct 15, 2026
c3d23ea
feat(r5): start guarded key deletion and setup error cleanup
redkeep-agents Oct 15, 2026
f0a7f97
Integrate recoverable protected backup authority and scoped recovery
redkeep-agents Oct 16, 2026
03e4138
Verify restored node selection separately from encrypted connection f…
redkeep-agents Oct 16, 2026
be89c34
Fence superseded recovery requests before local effects and fix fixtu…
antuz123 Oct 16, 2026
7ba2dc8
ci(r5): make JavaScript checks frozen and explicit
redkeep-agents Oct 18, 2026
625435a
fix(r5): protect deletion intent and setup callback lifetimes
redkeep-agents Oct 18, 2026
ffb89f2
Enable hosted protected backup availability for 2.6.4 review
redkeep-agents Oct 19, 2026
1d8a86a
release: refresh 2.6.4 store baselines
antuz123 Oct 21, 2026
98c4e2e
fix(r5): decouple splash readiness and guard startup navigation
redkeep-agents Oct 21, 2026
5954c41
fix(r5): correct Emergency Key helper and record R4 preflight
redkeep-agents Oct 22, 2026
a8947c8
chore(r5): reconcile released 2.6.4 baseline and plan origin checks
redkeep-agents Oct 22, 2026
5e8fa7a
fix(r5): bind deletion to released account-session authority
redkeep-agents Oct 22, 2026
77b72da
fix(r5): discard startup callbacks from earlier account sessions
redkeep-agents Oct 22, 2026
3c5f8d8
fix(backup): expose guarded retry and readable protected backup results
redkeep-agents Oct 22, 2026
c1c4b80
fix: reconcile version history with the selected account and installe…
redkeep-agents Oct 22, 2026
83e4673
Bootstrap hosted native validation with private diagnostics and draft…
redkeep-agents Oct 18, 2026
c668454
ci: reusable cloud release acceptance foundation (#7061)
redkeep-agents Oct 18, 2026
e4245b0
docs(r5): record isolated integration scope and source continuity
redkeep-agents Oct 22, 2026
bc9244b
docs(r5): record current disposable protected protocol results
redkeep-agents Oct 22, 2026
257fbe1
fix: discard stale biometric login callbacks
redkeep-agents Oct 22, 2026
b2c793c
Merge branch 'codex/r5-protocol-evidence-20261022' into codex/r5-clou…
redkeep-agents Oct 22, 2026
4868100
test(r5): add isolated production-worker native storage witness
redkeep-agents Oct 22, 2026
2e0a8fe
ci: reconcile R5 hosted diagnostics and exact-head native evidence
redkeep-agents Oct 22, 2026
a4b6d8d
Merge branch 'codex/r5-biometric-callback-guard' into codex/r5-cloud-…
redkeep-agents Oct 22, 2026
90cc528
ci: prepare protected cloud release authorization and readiness
redkeep-agents Oct 22, 2026
2a403e0
ci: run release preparation contracts without secrets or native builds
redkeep-agents Oct 22, 2026
3efef81
ci: preserve draft and active native diagnostic work
redkeep-agents Oct 22, 2026
d66bcf6
ci: reserve standalone Android package diagnostics for explicit dispatch
redkeep-agents Oct 22, 2026
a431e10
ci: prevent automatic competing Android package builds
redkeep-agents Oct 22, 2026
984e01e
ci: reserve standalone Android package diagnostics for explicit dispatch
redkeep-agents Oct 22, 2026
0d01064
ci: bind native credit to the selected route and stable PR identity
redkeep-agents Oct 22, 2026
3ad3a6b
ci: reserve standalone Android package diagnostics for explicit dispatch
redkeep-agents Oct 22, 2026
f2fc0cb
docs: require fresh authorization after protected environment approval
redkeep-agents Oct 22, 2026
3a584fa
test: measure full-product native startup and first-wallet persistence
redkeep-agents Oct 22, 2026
749f048
ci: revoke stale same-head native success on identity or route races
redkeep-agents Oct 22, 2026
6a78b73
docs: reflect reconciled R4 in current R5 acceptance obligations
redkeep-agents Oct 22, 2026
215ce81
test: reject stale or modified product measurement source
redkeep-agents Oct 22, 2026
869ca37
Merge commit '749f048c63c80a955d1687c63ea45c9932505e77' into codex/r5…
redkeep-agents Oct 22, 2026
4020d35
Merge branch 'codex/r5-native-feature-probe' into codex/r5-cloud-inte…
redkeep-agents Oct 22, 2026
fd208e3
Merge branch 'codex/r5-cloud-release-readiness' into codex/r5-cloud-i…
redkeep-agents Oct 22, 2026
7d58d95
Merge branch 'codex/r5-native-product-measurements' into codex/r5-clo…
redkeep-agents Oct 22, 2026
0c21c5b
test: bind product measurements to committed bundle configuration
redkeep-agents Oct 22, 2026
237b403
Merge commit '0c21c5b4ae4784b94afe101eaf68b23f84eab720' into codex/r5…
redkeep-agents Oct 22, 2026
14a2459
fix(r5): retain PIN fallback after biometric attempts
redkeep-agents Oct 22, 2026
38858e2
ci: execute separate R5 native features and full-product measurement …
redkeep-agents Oct 22, 2026
8edfb1a
Merge commit '14a2459b30e31ea3099d56f6c6928a4a3b7d6995' into codex/r5…
redkeep-agents Oct 22, 2026
ebbb53a
Merge commit '38858e2608c385ea4134a4051fbff45a8185a2ae' into codex/r5…
redkeep-agents Oct 22, 2026
235df3b
docs(r5): record genuine current-pair host integration passes
redkeep-agents Oct 22, 2026
72b88ec
Merge commit '235df3be21714b45257e4e3ecb86dae1b27aaeed' into codex/r5…
redkeep-agents Oct 22, 2026
f73e307
test(r5): reconcile offline release preparation CI policy
redkeep-agents Oct 22, 2026
082d616
ci: reject boolean fields in native feature measurement metadata
redkeep-agents Oct 22, 2026
0c8e4dc
test: validate recorded native module-mapping preparation overlay
redkeep-agents Oct 22, 2026
17baf3b
ci: anchor worker evidence to committed source and scope install claims
redkeep-agents Oct 22, 2026
098b991
Merge commit '0c8e4dc17fa98937209c34b61c316858ded73591' into codex/r5…
redkeep-agents Oct 22, 2026
2fc6243
Merge commit '17baf3bff3a5cd96787218b9e8e1fee75f549967' into codex/r5…
redkeep-agents Oct 22, 2026
5457cb0
test: visit native Version History and key-management entry after rel…
redkeep-agents Oct 22, 2026
14fe9c8
docs(r5): enumerate app and non-app delivery checkpoints
redkeep-agents Oct 22, 2026
ee97e53
Merge commit '5457cb08194495ed35767db92110727ce54ef9a1' into codex/r5…
redkeep-agents Oct 22, 2026
7785c74
docs(r5): pin the reviewed product acceptance package
redkeep-agents Oct 22, 2026
aaf79f9
ci(r5): install locked tools for standalone native contracts
redkeep-agents Oct 22, 2026
48f9fb7
ci: prepare protected release worker core and platform guards
redkeep-agents Oct 22, 2026
040955d
test: exercise full-product setup disconnect and explicit Retry
redkeep-agents Oct 22, 2026
cad01c3
Integrate product setup disconnect and explicit Retry acceptance fixture
redkeep-agents Oct 22, 2026
551198c
ci: fail closed until protected release CI origin is authenticated
redkeep-agents Oct 22, 2026
ff05951
Integrate fail-closed release-plan origin boundary
redkeep-agents Oct 22, 2026
149ccca
ci: fail closed until protected release CI origin is authenticated
redkeep-agents Oct 22, 2026
f15f7c4
test(r5): count rejected GET requests in product fixture receipts
redkeep-agents Oct 22, 2026
76150f4
test: assert specific protected release rejection boundaries
redkeep-agents Oct 22, 2026
213d5a8
docs(r5): record reviewed retry and fail-closed preparation boundaries
redkeep-agents Oct 22, 2026
e195de3
test: assert specific protected release rejection boundaries
redkeep-agents Oct 22, 2026
2375472
Integrate explicit release-plan rejection controls
redkeep-agents Oct 22, 2026
5c4c211
test(r5): exercise unused key deletion and PIN rejection in normal ap…
redkeep-agents Oct 22, 2026
adf072f
Integrate native UI unused-key deletion and PIN acceptance companion
redkeep-agents Oct 22, 2026
1241256
ci: pin compatible frozen CocoaPods and Xcodeproj toolchain
redkeep-agents Oct 22, 2026
c1e0e6d
ci: prepare separately approved protected release orchestration
redkeep-agents Oct 22, 2026
0572723
ci: prepare protected canonical-source native attestation route
redkeep-agents Oct 22, 2026
551ce62
Verify owned installed native artifact bytes before acceptance
redkeep-agents Oct 22, 2026
818b7d3
Integrate strict owned-device installed artifact verification
redkeep-agents Oct 22, 2026
a1e167c
ci: verify read-only canonical release evidence origins
redkeep-agents Oct 22, 2026
eee8491
Verify installed bytes around R5 product UI checks
redkeep-agents Oct 22, 2026
86c2907
ci: bind live canonical pins checks and artifact capacity provenance
redkeep-agents Oct 22, 2026
56b91ba
Integrate installed byte proof around product and key UI acceptance
redkeep-agents Oct 22, 2026
3eb92fc
docs(r5): pin native UI and installed byte acceptance inputs
redkeep-agents Oct 22, 2026
29a73fa
ci: classify canonical contracts and preserve legacy native capacity
redkeep-agents Oct 22, 2026
dd5fca6
Add isolated malformed native credential acceptance companion
redkeep-agents Oct 22, 2026
1748b4f
ci: keep protected TestFlight adapter upload only
redkeep-agents Oct 22, 2026
546d772
ci: bind canonical observations to installed native bytes
redkeep-agents Oct 22, 2026
f18ec42
test: port inspection queue and node bootstrap proofs to signed v3
redkeep-agents Oct 22, 2026
bd76c67
Integrate isolated malformed native credential acceptance companion
redkeep-agents Oct 22, 2026
b9dc036
docs: map remaining public backup CI obligations
redkeep-agents Oct 22, 2026
b8abebb
test(r5): prepare controlled native history acceptance
redkeep-agents Oct 22, 2026
ffb2131
ci: isolate hosted iOS driver startup diagnosis
redkeep-agents Oct 22, 2026
effd917
ci: isolate read-only canonical driver pin identity
redkeep-agents Oct 22, 2026
b4b99f2
test(r5): add genuine Vault reference UI companion
redkeep-agents Oct 22, 2026
3884961
ci: reconcile frozen cloud Ruby and native dependency inputs
redkeep-agents Oct 22, 2026
f2403d6
ci: bind official CodeQL uploads to installed analysis runs
redkeep-agents Oct 22, 2026
01d8bef
Merge remote-tracking branch 'origin/codex/r5-trusted-installed-byte-…
redkeep-agents Oct 22, 2026
b6cb88c
test(r5): fail Vault UI receipt closed on cleanup errors
redkeep-agents Oct 22, 2026
e60298f
Integrate isolated native Version History acceptance companion
redkeep-agents Oct 22, 2026
514d2d6
fix: count literal Miniscript witness selectors for fee sizing
redkeep-agents Oct 22, 2026
bd8ad7f
ci: retain recovered installed-byte controls with isolated live pin r…
redkeep-agents Oct 22, 2026
945a0ee
docs: reconcile new canonical and native preparation successors
redkeep-agents Oct 22, 2026
d200803
Integrate isolated genuine Vault reference acceptance companion
redkeep-agents Oct 22, 2026
b572b28
test: distinguish signed fixture read from inspection retry budget
redkeep-agents Oct 22, 2026
461d311
ci: scope reusable native metadata artifacts to run attempts
redkeep-agents Oct 22, 2026
a319936
ci: preserve live startup diagnostics without restarting native accep…
redkeep-agents Oct 22, 2026
e9d96a3
Wire scoped native companions through owned Metro sessions
redkeep-agents Oct 22, 2026
87d21fa
ci(r5): add private Android startup diagnosis metadata
redkeep-agents Oct 22, 2026
196bfed
test(r5): preserve companion failures across cleanup
redkeep-agents Oct 22, 2026
3bf6396
Integrate separately reviewed native attempt evidence naming
redkeep-agents Oct 22, 2026
e1a3009
Integrate reviewed literal Miniscript witness sizing correction
redkeep-agents Oct 22, 2026
6665e72
Integrate bounded protected release input reconciliation
redkeep-agents Oct 22, 2026
29dc8f0
Integrate reviewed CodeQL origin and installed byte evidence
redkeep-agents Oct 22, 2026
be10e98
Integrate canonical native route and explicit pin read identity
redkeep-agents Oct 22, 2026
a25326b
Integrate bounded Android startup diagnostics with unknown lookup states
redkeep-agents Oct 22, 2026
50a0e3e
ci: preserve diagnostic failures through owned cleanup
redkeep-agents Oct 22, 2026
5446fb9
Integrate preserved hosted readiness diagnostics and independent clea…
redkeep-agents Oct 22, 2026
1f8471e
Record bounded R5 delivery packages and align hosted feature budgets
redkeep-agents Oct 22, 2026
70cfbfa
ci: allow bounded iOS simulator app installation
redkeep-agents Oct 22, 2026
822b8c5
Integrate bounded simulator installation allowance after exact-source…
redkeep-agents Oct 22, 2026
8cf8053
Reconcile read-only workflow contracts and preserve exact native fail…
redkeep-agents Oct 22, 2026
c79ab7c
Gate simulator app-service readiness and retain install diagnostics
redkeep-agents Oct 22, 2026
6cf2ab1
test(r5): port label send and coin callers to signed v3
redkeep-agents Oct 22, 2026
24674bd
Verify CI checks execute the exact event source commit
redkeep-agents Oct 22, 2026
83609f3
test: port wallet and vault callers to signed v3
redkeep-agents Oct 22, 2026
11a134e
ci: validate scoped public native companion receipts
redkeep-agents Oct 22, 2026
17bf88d
Prepare combined hosted native acceptance with app-service readiness
redkeep-agents Oct 22, 2026
2af7be9
ci: require successful native predecessors for companion evidence
redkeep-agents Oct 22, 2026
7744299
Preserve readiness producer ancestry while retaining reviewed orchest…
redkeep-agents Oct 22, 2026
8286749
Integrate separately reviewed exact-event CI source guards
redkeep-agents Oct 22, 2026
bcdbc5d
Integrate strict public companion subchecks without parent acceptance
redkeep-agents Oct 22, 2026
566d660
Integrate completed current-protocol queue bootstrap and nine label c…
redkeep-agents Oct 22, 2026
23f14e0
Retain fixed product PIN preparation progress before cleanup
redkeep-agents Oct 22, 2026
04a92fe
Integrate independently verified current-protocol wallet and vault ca…
redkeep-agents Oct 22, 2026
76bd9fa
Integrate independently reviewed fixed product PIN progress observations
redkeep-agents Oct 22, 2026
c8c4e22
Record completed current-protocol packages and preserved native failures
redkeep-agents Oct 22, 2026
3993443
ci: read one completed 23f Android artifact with fixed privacy guards
redkeep-agents Oct 22, 2026
2bcf2ff
Read exact completed iOS metadata artifact without repeating native work
antuz123 Oct 22, 2026
97557ae
Read exact completed Android metadata without repeating native accept…
antuz123 Oct 22, 2026
1ea0b7c
Read exact frozen 044 iOS metadata bytes with bounded public profiles
antuz123 Oct 23, 2026
035ca69
ci: read fixed d270 iOS startup observations without native rerun
redkeep-agents Oct 24, 2026
08577ed
ci: retain fixed failure stages for d270 observation readout
redkeep-agents Oct 24, 2026
e7f52fc
ci: match fixed d270 startup observation scope interface
redkeep-agents Oct 24, 2026
d3c3d9b
ci: read frozen d270 Android failed-sample observations
redkeep-agents Oct 24, 2026
c79ca74
ci: include Android reader Python controls in path filter
redkeep-agents Oct 24, 2026
e718462
ci: prepare inactive bea Android observation profile
redkeep-agents Oct 24, 2026
718fa96
ci: bind bea Android reader to completed native artifact
redkeep-agents Oct 24, 2026
a9c540b
ci: prepare exact Android startup observation readout
redkeep-agents Oct 24, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Request the three developers for all changes; one approval is required.
* @ben-kaufman @cakesoft-utkarsh @Parsh
1 change: 1 addition & 0 deletions .github/native/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.generated/
274 changes: 274 additions & 0 deletions .github/native/android_startup_diagnosis.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,274 @@
"""Read-only Android startup facts. No raw device or application text escapes."""
from pathlib import Path
import re
import shutil
import subprocess

APP = 'io.hexawallet.keeper.development'
LIMIT = 256 * 1024
TYPES = ('TypeError', 'SyntaxError', 'ReferenceError', 'RangeError', 'EvalError',
'URIError', 'AggregateError', 'TransformError', 'UnableToResolveError',
'InternalError', 'RuntimeException', 'IllegalStateException',
'IllegalArgumentException', 'NullPointerException', 'SecurityException',
'UnsatisfiedLinkError', 'NoClassDefFoundError', 'ClassNotFoundException',
'OutOfMemoryError', 'Error')
FAULTS = {
'JS_TYPE_ERROR': r'\bTypeError\b|undefined is not a function',
'JS_SYNTAX_ERROR': r'\bSyntaxError\b',
'JS_REFERENCE_ERROR': r'\bReferenceError\b',
'JS_RANGE_ERROR': r'\bRangeError\b',
'MODULE_RESOLUTION_ERROR': r'Unable to resolve module|\bUnableToResolveError\b',
'TRANSFORM_ERROR': r'\bTransformError\b',
'APP_NOT_REGISTERED': r'has not been registered',
'NATIVE_MODULE_UNAVAILABLE': r'TurboModuleRegistry\.getEnforcing|requireNativeComponent|native module cannot be null',
'NATIVE_LIBRARY_LOAD_ERROR': r'\bUnsatisfiedLinkError\b|dlopen failed|could not load library',
'NATIVE_FATAL_SIGNAL': r'Fatal signal \d+\b',
'JAVA_FATAL_EXCEPTION': r'FATAL EXCEPTION:',
'MEMORY_EXHAUSTION': r'\bOutOfMemoryError\b|out of memory',
'TRANSPORT_ERROR': r'\b(?:EADDRINUSE|ECONNREFUSED|ECONNRESET)\b',
'FILESYSTEM_ERROR': r'\b(?:ENOENT|EACCES|ENOSPC)\b',
'WORKER_HEAP_EXHAUSTION': r'JavaScript heap out of memory|Reached heap limit|Ineffective mark-compacts',
'PROCESS_KILLED_MARKER': r'\bSIGKILL\b|worker process.*terminated|worker.*killed',
}
EXIT_REASONS = {0: 'UNKNOWN', 1: 'EXIT_SELF', 2: 'SIGNALED', 3: 'LOW_MEMORY',
4: 'JAVA_CRASH', 5: 'NATIVE_CRASH', 6: 'ANR', 7: 'INITIALIZATION_FAILURE',
8: 'PERMISSION_CHANGE', 9: 'EXCESSIVE_RESOURCE_USAGE',
10: 'USER_REQUESTED', 11: 'USER_STOPPED', 12: 'DEPENDENCY_DIED',
13: 'OTHER', 14: 'FREEZER', 15: 'PACKAGE_STATE_CHANGE', 16: 'PACKAGE_UPDATED'}


def safe_error(error):
name = type(error).__name__
return name if name in {'OSError', 'FileNotFoundError', 'PermissionError',
'TimeoutExpired', 'ValueError', 'TypeError'} else 'OTHER_ERROR'


def bounded(path, private):
if path.is_symlink() or not path.resolve().is_relative_to(private.resolve()):
raise ValueError('Expected a private regular file.')
size = path.stat().st_size
with path.open('rb') as source:
prefix = source.read(LIMIT)
tail = b''
if size > LIMIT:
source.seek(max(LIMIT, size - LIMIT))
tail = source.read(LIMIT)
truncated = size > len(prefix) + len(tail)
if truncated:
prefix = prefix.rsplit(b'\n', 1)[0] if b'\n' in prefix else b''
tail = tail.split(b'\n', 1)[1] if b'\n' in tail else b''
return (prefix + (b'\n' if truncated else b'') + tail).decode(errors='replace'), {
'bytes_observed': size, 'bytes_read': len(prefix) + len(tail),
'input_truncated': truncated, 'read_scope': 'PREFIX_AND_TAIL' if truncated else 'FULL'}


def faults(payload):
return {'exception_types': [kind for kind in TYPES if re.search(r'\b' + kind + r'\b', payload)],
'fault_categories': [name for name, pattern in FAULTS.items()
if re.search(pattern, payload, re.IGNORECASE)]}


def processes(payload, usable=True):
lines = [line.strip() for line in payload.splitlines() if line.strip()]
result = {'state': 'UNKNOWN', 'matching_process_count': None, 'parsed_records': 0,
'unparsed_records': 0}
owned = set()
seen = set()
if not usable or not lines or lines[0].split() != ['PID', 'NAME']:
return result, owned
for line in lines[1:]:
match = re.fullmatch(r'([1-9]\d*)\s+(\S+)', line)
if not match or int(match[1]) in seen:
result['unparsed_records'] += 1
continue
seen.add(int(match[1]))
result['parsed_records'] += 1
if match[2] == APP or match[2].startswith(APP + ':'):
owned.add(int(match[1]))
if result['unparsed_records'] == 0 and result['parsed_records'] > 0:
result.update(state='PRESENT' if owned else 'ABSENT', matching_process_count=len(owned))
else:
owned.clear() # Malformed inventory cannot establish process attribution.
return result, owned


def foreground(payload, usable=True):
relations = set()
parsed, unparsed = 0, 0
if usable:
for line in payload.splitlines():
if not re.search(r'\b(?:topResumedActivity|mResumedActivity)\s*[:=]', line):
continue
if re.search(r'[:=]\s*(?:null|None)\s*$', line):
relations.add('NONE')
parsed += 1
elif match := re.search(r'ActivityRecord\{.*?\bu\d+\s+([A-Za-z0-9_.]+)/(?:[^\s}]+)', line):
relations.add('OWN_APP' if match[1] == APP else 'OTHER_APP')
parsed += 1
else:
unparsed += 1
return {'relation': next(iter(relations)) if len(relations) == 1 and not unparsed else 'UNKNOWN',
'parsed_records': parsed, 'unparsed_records': unparsed,
'scope': 'RESUMED_ACTIVITY_ONLY_NOT_WINDOW_VISIBILITY'}


def exit_history(payload, usable=True):
reasons = []
matched = 0
if usable:
for line in payload.splitlines():
match = re.search(r'\bprocess=(\S+)\s+reason=(\d+)\s', line)
if match and (match[1] == APP or match[1].startswith(APP + ':')):
matched += 1
reason = EXIT_REASONS.get(int(match[2]), 'UNRECOGNIZED_REASON')
if reason not in reasons:
reasons.append(reason)
return {'matching_records': matched, 'reason_categories': reasons,
'parse_status': 'PARSED' if matched else 'UNKNOWN',
'freshness': 'UNKNOWN', 'scope': 'APP_HISTORY_NOT_PROOF_OF_CURRENT_FAILURE_CAUSE'}


def android_log(payload, owned):
result = {'parsed_error_records': 0, 'own_error_records': 0, 'unclassified_own_error_records': 0,
'unparsed_nonempty_lines': 0, 'exception_types': [], 'fault_categories': [],
'attribution': 'CURRENT_OWN_PID_MATCH_HISTORY_FRESHNESS_UNKNOWN' if owned
else 'UNKNOWN_NO_CURRENT_OWN_PROCESS'}
pattern = r'^\d{2}-\d{2} \d{2}:\d{2}:\d{2}\.\d+\s+(\d+)\s+\d+\s+[EF]\s+[^:]+:\s*(.*)$'
for line in payload.splitlines():
match = re.match(pattern, line)
if not match:
if line.strip() and not line.startswith('--------- beginning of '):
result['unparsed_nonempty_lines'] += 1
continue
result['parsed_error_records'] += 1
if int(match[1]) not in owned:
continue
result['own_error_records'] += 1
observed = faults(match[2])
if not any(observed.values()):
result['unclassified_own_error_records'] += 1
for key in observed:
result[key] = list(dict.fromkeys(result[key] + observed[key]))
return result


def metro(payload):
selected = []
headers, remaining = 0, 0
for raw in payload.splitlines():
line = re.sub(r'\x1b\[[0-9;]*[A-Za-z]', '', raw).strip()
if re.match(r'^(?:ERROR\b|FATAL ERROR:|(?:\w*Error):|Unable to resolve module)', line, re.IGNORECASE):
headers += 1
remaining = 4
elif remaining:
remaining -= 1
else:
continue
if re.match(r'^(?:(?:>\s*)?\d+\s*\||\^|at\s)', line):
continue
selected.append(line)
return {'observed_error_headers': headers, 'scanned_error_context_lines': len(selected),
'unclassified_error_context_lines': sum(not faults(line)['fault_categories'] for line in selected),
**faults('\n'.join(selected)), 'scope': 'ERROR_MARKERS_NOT_BUNDLE_OR_STARTUP_ACCEPTANCE'}


def host_memory(root=Path('/')):
result = {'scope': 'HOST_SNAPSHOT_AND_HISTORICAL_CGROUP_EVENTS_NOT_FAILURE_CAUSE',
'meminfo': {'lookup_status': 'UNKNOWN'}, 'cgroup': {}}

def small(path):
with path.open('rb') as source:
value = source.read(8193)
if len(value) > 8192:
raise ValueError('Memory record exceeded size limit.')
return value.decode('ascii').strip()

try:
payload = small(root / 'proc/meminfo')
matches = re.findall(r'^(MemTotal|MemAvailable|SwapTotal|SwapFree):\s+(\d+) kB$', payload, re.MULTILINE)
fields = dict(matches)
recognized = sum(bool(re.match(r'^(?:MemTotal|MemAvailable|SwapTotal|SwapFree)\b', line))
for line in payload.splitlines())
if len(fields) == len(matches) == recognized == 4:
result['meminfo'] = {'lookup_status': 'SUCCESS',
'bytes': {name: int(value) * 1024 for name, value in fields.items()}}
except Exception as error:
result['meminfo']['error_type'] = safe_error(error)
for name in ['memory.current', 'memory.max', 'memory.events']:
observed = {'lookup_status': 'UNKNOWN'}
try:
value = small(root / 'sys/fs/cgroup' / name)
if name == 'memory.events':
matches = re.findall(r'^(oom|oom_kill) (\d+)$', value, re.MULTILINE)
events = dict(matches)
recognized = sum(bool(re.match(r'^(?:oom|oom_kill)\b', line)) for line in value.splitlines())
if len(events) == len(matches) == recognized == 2:
observed = {'lookup_status': 'SUCCESS', 'counts': {k: int(v) for k, v in events.items()}}
elif value.isascii() and value.isdecimal():
observed = {'lookup_status': 'SUCCESS', 'bytes': int(value)}
elif name == 'memory.max' and value == 'max':
observed = {'lookup_status': 'SUCCESS', 'limit': 'UNLIMITED'}
except Exception as error:
observed['error_type'] = safe_error(error)
result['cgroup'][name] = observed
return result


def collect(private, device):
private = Path(private)
if not re.fullmatch(r'emulator-\d+', device):
raise ValueError('Expected the owned emulator selector.')
work = private / 'android-startup-diagnosis'
work.mkdir(mode=0o700)
result = {'diagnostic_only': True, 'cause': 'UNDETERMINED', 'host_memory': host_memory(), 'commands': [],
'collection_errors': [], 'cleanup_status': 'UNKNOWN'}

def capture(label, arguments):
path = work / (label + '.log')
facts = {'label': label, 'lookup_status': 'UNKNOWN', 'exit_code': None,
'bytes_observed': None, 'bytes_read': 0, 'input_truncated': None, 'read_scope': 'NOT_READ'}
payload = ''
try:
with path.open('xb') as output:
proc = subprocess.run(['adb', '-s', device, *arguments], stdout=output,
stderr=subprocess.STDOUT, timeout=15, check=False)
facts['exit_code'] = proc.returncode
payload, observed = bounded(path, private)
facts.update(observed)
if proc.returncode == 0:
facts['lookup_status'] = 'SUCCESS'
else:
payload = ''
except Exception as error:
facts['error_type'] = safe_error(error)
payload = ''
finally:
path.unlink(missing_ok=True)
result['commands'].append(facts)
return payload, facts.get('lookup_status') == 'SUCCESS' and not facts.get('input_truncated', True)

try:
payload, usable = capture('processes', ['shell', 'ps', '-A', '-o', 'PID,NAME'])
result['processes'], owned = processes(payload, usable)
payload, usable = capture('foreground', ['shell', 'dumpsys', 'activity', 'activities'])
result['foreground_activity'] = foreground(payload, usable)
payload, usable = capture('exit-history', ['shell', 'dumpsys', 'activity', 'exit-info', APP])
result['exit_history'] = exit_history(payload, usable)
payload, _ = capture('runtime-errors', ['logcat', '-d', '-b', 'main', '-b', 'crash',
'-t', '1200', '-v', 'threadtime', '*:E'])
result['runtime_errors'] = android_log(payload, owned)
result['runtime_errors'].update(
lookup_status=result['commands'][-1]['lookup_status'],
input_truncated=result['commands'][-1]['input_truncated'])
try:
payload, observed = bounded(private / 'metro.log', private)
result['metro'] = {'lookup_status': 'SUCCESS', **observed, **metro(payload)}
except Exception as error:
result['collection_errors'].append({'stage': 'metro', 'error_type': safe_error(error)})
finally:
try:
shutil.rmtree(work)
result['cleanup_status'] = 'DELETED'
except Exception as error:
result['collection_errors'].append({'stage': 'cleanup', 'error_type': safe_error(error)})
return result
35 changes: 35 additions & 0 deletions .github/native/canonical_metadata.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
#!/usr/bin/env python3
"""Read one bounded metadata.json member without extracting paths or echoing errors."""
import io
import stat
import sys
import zipfile


def read_metadata(raw):
if len(raw) > 1048576:
raise ValueError('archive size')
with zipfile.ZipFile(io.BytesIO(raw)) as archive:
members = archive.infolist()
if len(members) != 1:
raise ValueError('single metadata file required')
member = members[0]
mode = member.external_attr >> 16
if (member.filename != 'metadata.json' or member.flag_bits & 1 or
stat.S_ISLNK(mode) or not 0 < member.file_size <= 524288):
raise ValueError('metadata member rejected')
with archive.open(member) as source:
result = source.read(524289)
if len(result) != member.file_size:
raise ValueError('metadata size mismatch')
return result


if __name__ == '__main__':
try:
with open(sys.argv[1], 'rb') as source:
result = read_metadata(source.read(1048577))
sys.stdout.buffer.write(result)
except Exception:
sys.stderr.write('Canonical metadata archive rejected.\n')
raise SystemExit(1)
Loading
Loading