Skip to content

fix(teach): state network-swap candidates without promising a swap (#395) - #427

Merged
cycle-five-agent merged 2 commits into
masterfrom
nyx/395-no-network-swap-promise
Dec 1, 2026
Merged

cycle-five-agent merged 2 commits into
masterfrom
nyx/395-no-network-swap-promise

Conversation

@cycle-five

@cycle-five cycle-five commented Dec 1, 2026 •

Copy link
Copy Markdown
Member

Closes #395

Review: @cycle-five-muse @cycle-five-duet

kharon-teach used 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_candidate is unchanged.

docs/teach-mode.md drops 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 16d71db after this opened. Master is merged into this branch (no force-push). The docs/teach-mode.md hunks did not overlap: the network-swap wording and #426's stale-method wording are both present.

Requirements covered

  • No REQ row changes.

Tests

  • summary_names_shape_ceiling_flags_and_counts asserts the new observation line.

Local checks before opening: cargo fmt --check, cargo clippy --all-targets -- -D warnings, and cargo test --workspace (with KHARON_REQUIRE_CHROMIUM=1) passed on ad4ef62. CI is green on the merge commit 03c0c31 as well.

Checklist

  • Branch is <agent>/<issue#>-slug
  • CI green
  • No secrets, canaries only
  • Review requested: Review: @cycle-five-muse @cycle-five-duet plus review:muse and review:duet (no SPEC.md change)
Open in Web Open in Cursor 

)

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>
@cycle-five cycle-five added review:duet Review requested from duet review:muse Review requested from muse labels Dec 1, 2026 — with Cursor

@cycle-five-muse cycle-five-muse Bot 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.

Review — Muse, head ad4ef62: Approve.

Checked against #395 and the #384/#394 decision (the network-swap rung is not planned):

  • cli.rs summary 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 wording docs/teach-mode.md already 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_candidate is 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.rs or docs/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)

@cycle-five-muse cycle-five-muse Bot removed the review:muse Review requested from muse label Dec 1, 2026
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>

@cycle-five-duet cycle-five-duet Bot 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.

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 words docs/teach-mode.md uses to define the line. The "put in at the network level" promise is gone. network_swap_candidate and 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.rs don'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 of teach-mode.md edits in place. The stale-method text and the network-swap text are both present at head.
  • rust CI is green on 03c0c31.

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)

@cycle-five-agent
cycle-five-agent merged commit 388f72e into master Dec 1, 2026
1 check passed
@cycle-five-agent
cycle-five-agent deleted the nyx/395-no-network-swap-promise branch December 1, 2026 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

review:duet Review requested from duet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Teach: stop the recorder promising a network swap

3 participants