roadmap NOT-STARTED

1013. Fix lanes get a one-hour reader token

Raised by lane/fuzz-findings-without-a-person on 2026-11-01 (UTC), from the reader App ruling recorded in fuzz-findings-without-a-person.

Reuse: fuzz-token in nifeos/fuzz-host already signs a JSON Web Token and trades it for an installation token (the fuzz host mints its tokens); the reader is its third profile, reader, so the two Apps share one signing routine.

What it builds

How it is checked

A selftest runs the helper against a throwaway key and a stub GitHub on a loopback address, with no network. The exchange must ask for exactly the read permission and the one repository. The output must hold a token and never the key. The helper must refuse when the key file is missing or readable by anyone but root.

Status

Built as issue reader in fuzz-token (nifeos/fuzz-host, pull request 4), with install steps in that repository's docs/fuzz-token-reader.md. The sudo question has a provisional answer: an architect ruled on 2026-11-03 (UTC) that a sudo rule names exactly fuzz-token issue reader, and a lane takes the token for one command:

NIFE_ADVISORY_READER_TOKEN="$(sudo -n /usr/local/sbin/fuzz-token issue reader)" script/read-advisory <id>

The same ruling lets any lane on the machine take a reader token, since every lane runs as one account. The protections are the fix-lane skill, the replay-line check and sudo's log, and the first fix lane starts a revisit of the account split. Unverified: that sudo-rs matches the rule's arguments exactly and that each sudo hands the helper a pipe, not a terminal, for standard output; no one has run the rule yet.

Index row

A fix lane needs to read a private advisory without the key or a long-lived credential entering its environment. A root helper mints a token that lives one hour and reads advisories only.