Repository navigation
v0.8.0
Lockstep release (D72): packages/chiproof and apps/scanner move 0.7.1 →
0.8.0 together (packages/chiproof/package.json + lockfile, apps/scanner
versionCode 6 → 7 / versionName "0.8.0"). Minor bump per D108(b): the project
stays 0.x and there is no 1.0 ("v1" in the PRD means scope, not a version).
apps/demo now tracks lockstep too (package.json + lockfile, 0.0.0 →
0.8.0); it was previously unversioned. packages/chiproof's own source is
untouched apart from its npm package description (below) — it republishes
under D72's one-version-across-the-repo rule.
-
Docs (customer guide, D87 / finding #23). New customer-guide §6.13
"Tapping a broken or truncated link": explains the non-blocking
"link looks broken" notice the scanner shows for a malformedav://link:
no popup, no Log-tab entry, no read attempted; device-confirmed 2026-10-24. -
Close-out polish (D108, 2026-10-24; FIX). Finding #23 / D87 (malformed
av://guard) is
now closed with three recorded proofs: the pureAvLinkRulestruth table (11 tests; scanner
suite 495, 0 failures; the earlier "code + unit tests" claim for it was false untilb3a03f0),
a wiring trace, and a device pass on a Pixel 6a (run 1 invalid, run 2 an unexplained
once-only observation, run 3 clean in both cold and warm cases); seefindings.md#23 and
milestones.md§6.9.5. Nits fixed:chiproof'spackage.jsondescription (npm metadata,
not the version) no longer says no real-hardware evidence backs it; stale Q40/Q45 and
ReportLog.MAX_ENTRIEScomments corrected; dead codeImageUtil.kt,M2MasterlistProbe.ktand
the then-unusedjnbisdependency removed fromapps/scanner(no references found; builds
and tests unchanged);apps/scanner/NOTICErewritten for the distributed app (upstream licence
statement kept); a README added to the historicalapps/demo/androidrig; the scanner README's
deadsig-ed25519-plug.mjsreference repointed and the negative-script count clarified (15 bad
cases plus a restore check, 16PASSlines); D107(d) gets a dated correction note about where
the D74 locks actually live. No version field changed. -
Docs: close-out (D108, 2026-10-24; docs only, no code touched). The owner closed zkagent as
a complete experiment, to stay in clean, inspectable, usable standing (it is cited by the
owner's individual Internet-Draftdraft-hamr-oauth-agent-delegation, which has no IETF
endorsement). D108 records five rulings: (a) the finish is docs close-out, D87 proof,
/branch-review,/release, final stash; (b) versioning stays 0.x, the next release is 0.8.0,
no 1.0 (lockstep, D72); (c) the README says what was built; (d) the NGI Zero grant draft is
dropped; (e) a one-page reuse map is approved. Changes: newdocs/wiki/backlog.md(every parked
or unbuilt item with its reason, plus how to revive); newdocs/product/reuse-map.md; PRD gets
a status block and a §15 Close-out with the success criteria checked against the evidence docs
(S2's "byte-identical" wording noted as revised by D22; S4 met in substance, with no explicit
ban UI);milestones.md§6.9 (M3b) reclassified from DRAFT to PARKED and M4/M5 to backlog, not
planned; every question Q1-Q52 and every findings entry except #23 given a final status;
README rewritten with the tier facts as built (tier A unsigned, tier B signed with a phone key
and bound on first sight, passive authentication only, not zero-knowledge, clone and
trust-source gaps); customer guide §10/§13 and stale status lines, the scanner, demo and
chiproof READMEs, andchiproof.context.md(which ships on npm:sig-p256/1is a co-equal
alternative per D31, not a pending candidate) corrected.docs/wiki/ngi-zero-application-draft.md
deleted (git history keeps it); D88 and the two history rows that cite it keep their text with a
note that the file is gone. Verified this session:chiproof191/191 tests andapps/demo
41/41 tests pass (node --test); the scanner suite was not re-run. Finding #23 and the D87
proof are left to the next step. -
Docs (D107; §6.9 M3b draft fix pass, STILL NOT owner-approved). Orchestrator review of the
§6.9 M3b draft (commitab6bcf8) found internal item-numbering off-by-one errors in about eight
places and two items misdescribingchiproof's role; the owner then ruled on five remaining
open points. Recorded as D107(a)-(e): (a) the holder-side consent list (D89) is a new Settings
tab, one checkbox per tier-C question type, every checkbox UNTICKED by default (pre-ticked would
mean agreeing before looking); an operator-shipped consent list inoperator.jsonwas
considered and NOT adopted (would reverse D89); unticking a locked predicate refuses that site's
next request, all-or-nothing (D92). (b) A membership-statement signing tool is IN scope (new
item 3) — needed by the POC and by the demo, output format left to the POC, not specified. (c)
Per-site tier-C locks are shown in the Log tab, view-only, with NO reset control — a reset would
let a site socially engineer holders into handing it three fresh questions, defeating D91's
lifetime lock; reinstalling remains the only reset. (d) BUILD CONSTRAINT: the per-origin/
per-person tier-C records MUST live in their own non-evicting store, never insideReportLog's
20-entry capped/evicting log (ReportLog.MAX_ENTRIES) —ThresholdPolicy.kt's separate store is
the precedent; storing them in the capped log would silently roll a site's lock off after 20
further scans, exactly the reset (c) just ruled out. (e) The shared per-person ceiling (D93) is a
stated "one phone per person" assumption; two people sharing a phone share one limit of three
predicates per site, disclosed as a limitation.docs/wiki/decisions.mdtitle updated to
D1–D107; D107 appended after D106.docs/wiki/milestones.md§6.9 renumbered from 15 to 17 scope
items (inserting the signing tool at item 3 and per-site lock visibility at item 12, shifting
everything after each insertion point), fixed every "item N" cross-reference against the new
numbering (previously off by one in roughly eight places, including two pointing at the wrong
vocabulary/chiproof items and one pointing atThresholdPolicyvia a non-existent "item 8"
relationship), and rewrote item 14 (chiproof) to state correctly thatchiproofis the SITE's
own verifier library (runs on a requesting verifier's server, e.g.apps/demo) — never part of
the holder's Android scanner, which has nochiproofdependency — with statement issuance (item
3's tool), app-side statement verification (item 4, in the scanner), and site-side presentation/
statement-embedding support (item 14, inchiproof) now three distinct, correctly-attributed
roles. §6.9.3's traceability table, §6.9.4's OPEN list, and §6.9.6's size estimate all updated to
match the new numbering and D107. The section remains headed "DRAFT — NOT OWNER-APPROVED" —
this fix pass prepares it for approval, it does not grant approval. No conflicts were found
between any two decisions during this pass. Verification performed this session: every Dn/Qn/
section cross-reference was checked programmatically (python3, ugrep's bounded-repetition
regexes are unreliable here) against the live decisions.md/milestones.md/questions.md files, and
every "item N" cross-reference inside §6.9 was checked against the section's own new item
numbering — all resolve.docs/index.md/docs/log.mdregenerated viadocs-builder.cjs index-flat, not hand-edited. No application code, build files, orapps//packages/content
touched;.claude/remember/AGENT_RULES.md's pre-existing uncommitted modification was left
untouched and unstaged. Seedocs/wiki/decisions.mdD107;docs/wiki/milestones.md§6.9. -
Docs (M3b scope draft, §6.9, NOT owner-approved). With every §6.4 decision point now ruled
(D89–D106), a candidate M3b build-scope section (§6.9 ofdocs/wiki/milestones.md) has been
drafted from those rulings in §6.2/§6.3's numbered MUST/MUST NOT house format: an opening
riskiest-assumption POC (pinning gate, replay negative, expiry/ceiling/floor cases, on both real
documents), 15 numbered scope items (operator.json tier-C opt-in and issuer-key pinning;
membership-statement verification, lifetime bound, and reference default; the holder-side
consent list; the tier-C verb vocabulary and its fixed boundary lists; the per-presentation cap,
per-origin lifetime predicate set, and shared cross-document ceiling with its names-only storage
MUST and UI-explanation requirement; all-or-nothing consent matching; chiproof verifier-side
changes; the demo page extension over M3; standing rules carried forward; and disclosed
limitations), a decision-to-item traceability table, an OPEN list (membership-statement wire
format, further name normalization, Q11's residual, MRZ truncation, the demo's own operator
config, exactoperator.jsonfield shapes — none invented), and a size estimate (19 numbered
units, largest being the membership-statement verifier, the per-origin/cross-document predicate
store, and the chiproof verifier-side changes). This section is explicitly marked DRAFT — NOT
OWNER-APPROVED; NO-GO #10's scope gate is NOT satisfied by drafting it — nothing in §6.9 may be
built until the owner approves it. §6.4's own status line and the §6 table's M3b row both
updated to point at §6.9 ("scope DRAFTED, awaiting owner approval"), not marked approved
anywhere. Separately, and NOT an M3b item: finding #23 / D87's malformed-av://guard has no
unit test and no device check yet — flagged as a pre-merge item for this branch
(feat/s68-rulings), not folded into M3b's scope. Verification performed this session: every
Dn/Qn/section cross-reference written was checked programmatically (python3, since ugrep's
bounded-repetition regexes are unreliable here) against the live decisions.md/milestones.md/
questions.md files — all resolve.docs/index.md/docs/log.mdregenerated via
docs-builder.cjs index-flat, not hand-edited. No application code, build files, or
apps//packages/content touched. Seedocs/wiki/milestones.md§6.9. -
Docs (D106). Owner ruling, closing the floor half of D98/D103's open
tier-C membership-statement lifetime enforcement sub-point (D105 already
closed the ceiling half): a statement claiming a lifetime shorter than
D103's 1-week floor is ACCEPTED, not refused or clamped up. Owner:
"accept it," adopting the orchestrator's recommendation. Reasoning
recorded: a shorter lifetime only makes revocation faster, carrying no
holder-side risk to guard against — the 1-week floor exists to bound
operator renewal burden, not to protect holders, so there is nothing to
refuse; refusing a short statement would only break an operator who
deliberately chose a tighter setting. Resulting asymmetry stated as
intentional: over the ceiling is refused (D105, holder-protective);
under the floor is accepted (D106, no holder risk). This fully closes
D98/D103's enforcement sub-point — only the statement's concrete format
(D96 open point (ii)) remains open for M3b's own POC.decisions.md
title updated to D1–D106; D105's floor paragraph rewritten to point at
D106; D98/D103's open-point paragraphs updated to note both halves are
now closed.milestones.md§6.4 item 5's "Floor case still OPEN"
paragraph replaced with the D106 ruling and a closing note that
enforcement of the bound is now fully decided — see
docs/wiki/decisions.mdD106. -
Scanner (FIX, D86).
isBareHostname(apps/scanner/app/build.gradle.kts)
now rejects commas, quotes and backslashes as a loud build failure (rule
4/5), closing a footgun whereOperatorPolicy.parseHostnameList's
comma-split silently turned oneverifiers/multi_threshold_verifiers
entry containing a comma into two allowlisted hostnames at build time.
apps/scanner/scripts/operator-json-negative.shgrew from 13 to 16 cases. -
Scanner (FIX, D87, finding #23). A malformed/truncated
av://VIEW
intent (data that does not parse viaHandoffClient.parseAvLink) now logs
(Log.w) and shows a non-blocking Snackbar refusal notice
(HANDOFF_LINK_MALFORMED_MESSAGE), instead of launching the app silently.
Does not useshowBlockingOutcomeDialogor append toReportLog(findings
#12/#13's standing rules for refusal/ignore paths). Not device-verified
this session. -
Docs (D85).
DroppedOutcomeRelay's orphaned-stash residual accepted as
documented risk, no code change — seedocs/wiki/decisions.mdD85,
.claude/remember/findings.md#25. -
Docs (D88).
docs/wiki/ngi-zero-application-draft.mdcorrected to
match D83 — removed the Play Store closed-testing work package, described
the actual GitHub Releases + sideload distribution. -
Docs (D89-D92). Owner rulings closing §6.4 items 1, 2 and 6 of the M3b
scope placeholder, no code change. D89 — the "preapproved list" is a
HOLDER-side consent list (matches D19's framing), not a verifier-side
request list. D90 — tier-C v1 verb vocabulary ships with all four
candidates: expiry buckets, name-match, DOB-range, and nationality (two
boolean modes, exclusion and confirmation), plus document-number as a
boolean match only, value never disclosed. D91 — a flat cap of 3 tier-C
predicates per presentation with no operator knob, plus a per-origin
lifetime predicate set capped at 3 mirroring D74's lock/refuse shape
(the subset-re-ask reading was flagged unconfirmed at the time). D92 —
consent matching is all-or-nothing: any predicate outside the holder's
D89 consent list refuses the entire presentation, never a partial answer.
questions.mdQ34 closed;milestones.md§6.4 items 1/2/6 marked
DECIDED, items 3-5 stay OPEN (NO-GO #10's scope gate not yet satisfied)
— seedocs/wiki/decisions.mdD89-D92. -
Docs (D91(d), D93). Two owner rulings from a live exchange following
D89-D92, no code change. D91(d) — the subset-re-ask reading flagged
unconfirmed in D91(b) is confirmed as written: a locked origin may re-ask
its full predicate set or any subset of it, never a predicate outside it.
D93 (new) — the per-origin tier-C lock is keyed by origin + document, but
the 3-predicate ceiling is shared across a holder's documents at the same
origin, since the cap protects what a site learns about a person, not a
credential, and only the device can enforce that under mode-B
unlinkability (D13); the tally record MUST store predicate names only,
never zktags or other document identifiers; D38 (signing-key binding) is
explicitly untouched.milestones.md§6.4 item 2 updated to cite both —
seedocs/wiki/decisions.mdD91(d), D93. -
Docs (D94-D96). Owner rulings closing §6.4 items 3, 4 and 5 of the M3b
scope placeholder, no code change — all six §6.4 items are now ruled. D94 —
an operator's trusted tier-C issuer public keys are pinned via
operator.jsonat build time (new §6.7 knob), validated and checked
offline like the existing verifier hostname allowlist; also corrects a
routing misreading — no key is involved inav://routing, the site signs
its own challenge with its own key (D20), the app verifies offline against
the pinned list, and tier C is refused (never downgraded) if unpinned
(D19/D20). Closes §6.4 item 3 and, with D89, fully closes Q49. D95 —
tier-C DOB-range/expiry-bucket boundaries come from a fixed published
list, same shape as D74's threshold list, never chosen by the verifier;
narrows but does not close Q11 for tier C, since the list's contents are
explicitly left open and three predicates from even a fixed list still
yield three bits about a date of birth. D96 — tier C stays refused by
default; an operator's build opts in viaoperator.jsonalongside D94's
keys; per-verifier authorization is an operator-signed, short-lived
membership statement the verifier carries and the app checks offline
against the D94-pinned key, rejecting a live app-to-operator API call
(would create a site-visit tracking channel, breaks offline, adds no
security over build-time pinning); statement lifetime/format/binding and
expired-statement behaviour flagged open for the owner/M3b's POC.
milestones.md§6.4 items 3/4/5 marked DECIDED with a closing note that
NO-GO #10's scope gate still requires an owner-approved M3b scope section;
questions.mdQ49 fully CLOSED, Q11 updated with its tier-C narrowing —
seedocs/wiki/decisions.mdD94-D96. -
Docs (D97-D102). Owner rulings resolving the OPEN points left by
D90/D95/D96, no code change. D97 — D95's boundary lists fixed: expiry
{3 months, 6 months, 1 year}, DOB-range{15, 16, 18, 21, 60, 65}(D74's
own threshold-preset ages, reused verbatim; an owner-proposed 31 was
corrected to 21 and never adopted); off-list boundary still fails loudly.
Consequence noted: tier-C DOB-range now answers the same kind of question
tier-A/B thresholds already answer, attached to an attributed presentation.
D98 — the D96 membership statement's lifetime is owner-chosen, bounded
1 week to 1 month; this range IS the revocation window (disclosed, not
mitigated); clarified as the site's permission lifetime, not answer
validity; enforcement of the bound left OPEN. D99 — the statement MUST
bind the verifier's origin and challenge-signing key (unbound would be a
replayable bearer token). D100 — an expired statement is REFUSED, never
downgraded (D19/D20). D101 — name-match comparison is case/hyphen-
insensitive, strips accents, treats MRZ<as a separator, stays a hard
boolean (Q22 unchanged); MRZ truncation flagged as a disclosed limitation
and orchestrator recommendation, not owner-ruled; no further normalization
adopted. D102 — nationality exclusion sets cap at 10 countries, else fail
loudly (an uncapped exclusion set is a confirmation predicate in disguise).
decisions.mdtitle updated to D1–D102;milestones.md§6.4 items 1/4/5
updated;questions.mdQ11 and Q22 updated — seedocs/wiki/decisions.md
D97-D102. -
Docs (D103). Owner revised D98's range only: the tier-C membership
statement's lifetime may now run 1 week to 6 months (was 1 week to 1
month); D98's other content — the range IS the sole revocation window,
disclosed not mitigated, and the site-permission-not-answer-validity
clarification — stands unchanged. Clarification exchange recorded: the
owner asked whether the lifetime meant how long a dropped verifier's past
verifications stay valid; it does not — an already-issued statement can't
be recalled, so the lifetime only bounds how long a dropped site can keep
asking NEW tier-C questions of new holders. A separate "answer-reliance
validity" option was laid out and NOT adopted (it would only bind a
verifier that honestly uses chiproof). Worst case: a dropped site can keep
asking for up to 6 months if the operator chose the maximum; an operator
wanting fast revocation should pick the short end.decisions.mdtitle
updated to D1–D103;milestones.md§6.4 item 5's lifetime bound and its
still-OPEN enforcement point updated to the 6-month ceiling (with the
orchestrator's non-binding recommendation to refuse a statement claiming a
lifetime over that ceiling, per D100) — seedocs/wiki/decisions.mdD103. -
Docs (D104). Owner ruling: the reference
operator.jsonMUST default
the tier-C membership-statement lifetime to 1 week — the short end of
D103's 1-week-to-6-month range — and the operator guide MUST state
plainly that a longer choice is a slower ban (a dropped site keeps asking
tier-C questions until its statement expires, up to 6 months at the
maximum). D103's range itself is unchanged; operators keep the full
choice. Reasoning recorded: the ceiling risks becoming the de facto value
for an operator who doesn't think about renewals, and that cost falls on
holders, not the operator; renewal is a cheap scheduled signing job; the
web PKI's TLS lifetime shrank from years to 90 days (heading toward ~47)
for the same reason short expiry is the revocation that actually works,
and tier C is zkagent's most sensitive mode. This is a forward
requirement for M3b, not a change made today — the tier-C knob does not
exist inoperator.jsonyet, tier C is not built, and M3b scope is not
owner-approved (NO-GO #10). The referenceoperator.jsonand
customer-guide §7.2 are NOT modified by this entry. D98/D103's still-OPEN
enforcement-of-bounds sub-point is untouched.decisions.mdtitle
updated to D1–D104;milestones.md§6.4 item 5 updated — see
docs/wiki/decisions.mdD104. -
Docs (D105). Owner ruling, closing the ceiling half of D98/D103's open
enforcement sub-point: a tier-C membership statement claiming a lifetime
over D103's 6-month ceiling is REFUSED — never clamped down to six
months, never accepted as claimed. Owner: "agreed to refuse it," adopting
the orchestrator's earlier D98/D103 recommendation as a ruling. Reasoning
recorded: consistent with D100's refused-never-downgraded rule and with
D19/D20; clamping would silently accept a statement the operator's own
signing process should never have produced, hiding a misconfigured or
compromised signer instead of surfacing it. The floor case (a statement
claiming a lifetime shorter than the 1-week floor) is NOT addressed by
this ruling and stays OPEN, flagged for the owner — D98/D103's original
open-point text posed ceiling and floor together, but the owner's D105
ruling names only the ceiling; nothing in it decides the floor by
implication.decisions.mdtitle updated to D1–D105; D98's open-point
paragraph updated to note the ceiling is now closed and the floor stays
open;milestones.md§6.4 item 5's "Still OPEN" line split into a
DECIDED ceiling paragraph and an OPEN floor paragraph — see
docs/wiki/decisions.mdD105. -
Release evidence (§6.8 row 6). Tag
v0.8.0(the tag this section ships
under; created onmainafter the FF merge); signed
apps/scanner/app/build/outputs/apk/regular/release/app-regular-release.apk,
20,864,025 bytes, sha256
b60b86b076ebc1575a7c817361bb128d87c4bc68a25481cc2aa46d9ac83d3d36;
apksigner verify --print-certs(build-tools 36.1.0) exit 0, signer #1
CN=zkagent showcase, certificate SHA-256 digest
1f6bceae0ffe9c2b326f2aab2202f0bdf3df7e5bdd8fac50aba2e1d318407264(matches
the showcase keystore, customer-guide §7.1 and
M3-KEYSTORE-EVIDENCE-2026-09-06.md);aapt2 dump badgingconfirms
com.zkagent.scannerversionName0.8.0/ versionCode7, compileSdk 36;
manifestallowBackup="false"withnetworkSecurityConfigset, and the
/branch-reviewaapt2 check foundcleartextTrafficPermitted="false"with
nodomain-config. Built with JDK 21 (jdk-21.0.12.1+1) because this box
has no JDK 17; earlier signed builds used Gradle's JDK 17. Tests at the
release commit, all exit 0: scanner:app:testRegularDebugUnitTest
495/0/0/0 (JUnit XML parsed);packages/chiproof191 pass +tsc --noEmit
clean;apps/demo41 pass;operator-json-negative.sh16 PASS (at
review). Lockstep (D72): chiproof, the demopackage.jsonfiles and
lockfiles, and the scanner all at 0.8.0, versionCode 7.