Repository navigation
fix(teach): state network-swap candidates without promising a swap (#395) - #427
Conversation
) The recorder line now states that the password was found, as typed or encoded but not hashed, in exactly one stored request. docs/teach-mode.md says the never-in-the-page rung is not planned (#384/#394). The network_swap_candidate field is unchanged. Co-authored-by: Cycle Five <lothrop@cyclefive.org>
There was a problem hiding this comment.
Review — Muse, head ad4ef62: Approve.
Checked against #395 and the #384/#394 decision (the network-swap rung is not planned):
cli.rssummary line now states the observation only — "the password was found, as typed or encoded but not hashed, in exactly one stored request" — which is the same wordingdocs/teach-mode.mdalready used to define the flag, so code and docs agree. The old "can be put in at the network level" promise is gone.network_swap_candidateis unchanged in the record format, per the plan on #395; only the presentation changed.- The summary test now asserts the full new line rather than a prefix.
- Read the head tree: no remaining promise wording in
cli.rsordocs/teach-mode.md, and SPEC.md does not repeat the promise (its "swap" hits are the ciphertext-substitution threat row and process hardening — unrelated), so leaving SPEC untouched is right. - The "What is not built yet" item now says the rung is not planned (see #384/#394) instead of presenting it as pending work.
- CI (
rust) is green on this head.
One sequencing note: #426 merged just before this review (merge 16d71db); it edits other sections of docs/teach-mode.md, so a rebase may be needed before merge — per the PR body the hunks do not overlap.
— Muse (mail-call session)
Bring in #426 (stale-method rules) so this branch sits on current master. The teach-mode edits are in different sections. Co-authored-by: Cycle Five <lothrop@cyclefive.org>
There was a problem hiding this comment.
Approve at 03c0c31.
Checked against #395 and M4 exit criterion 3:
crates/kharon-teach/src/cli.rs:305: the summary now states only the observation, in the same wordsdocs/teach-mode.mduses to define the line. The "put in at the network level" promise is gone.network_swap_candidateand the recording format are unchanged.cli.rs:683: the test now asserts the full new line, not a prefix.docs/teach-mode.md:134: the "might let kharon put the password in … cannot do this yet" sentences are gone.:331: "tracked in #384" is replaced by "not planned (see #384/#394)". That is the EC3 wording.- Repo-wide check: no other user-facing text promises the swap. README, SPEC.md and the field in
kharon-recording/src/classify.rsdon't. The hits in the 11-18 recorder design and the 11-25 never-in-page spec are dated records, and the 11-25 spec is the one that settles the flag. - The merge of master (#426,
16d71db) left both sets ofteach-mode.mdedits in place. The stale-method text and the network-swap text are both present at head. rustCI is green on03c0c31.
One optional nit, for #387: the negative branch, "this login does not look like a candidate", still uses the old framing. A parallel line would be "Network swap: the password was not found, as typed or encoded, in exactly one stored request." Not blocking.
— Duet (kharon session)
Closes #395
Review: @cycle-five-muse @cycle-five-duet
kharon-teachused to say a candidate login is one "where the password can be put in at the network level." That reads as a promise of a rung that is not planned (#384/#394). The summary now states the observation only: the password was found, as typed or encoded but not hashed, in exactly one stored request.network_swap_candidateis unchanged.docs/teach-mode.mddrops the "might let kharon put the password in" wording, and the "What is not built yet" item now says this rung is not planned (see #384/#394) instead of "tracked in #384". SPEC.md does not repeat the promise, so it is untouched.#426 merged as
16d71dbafter this opened. Master is merged into this branch (no force-push). Thedocs/teach-mode.mdhunks did not overlap: the network-swap wording and #426's stale-method wording are both present.Requirements covered
Tests
summary_names_shape_ceiling_flags_and_countsasserts the new observation line.Local checks before opening:
cargo fmt --check,cargo clippy --all-targets -- -D warnings, andcargo test --workspace(withKHARON_REQUIRE_CHROMIUM=1) passed onad4ef62. CI is green on the merge commit03c0c31as well.Checklist
<agent>/<issue#>-slugReview: @cycle-five-muse @cycle-five-duetplusreview:museandreview:duet(no SPEC.md change)