Expand description
An agent’s request to change where a login is offered, on a login it did not make (docs/specs/SPEC_VAULT_AGENT_ADDS_AND_EDITS_WITHOUT_ASKING_2026_11_25.md R8).
The call returns at once and changes nothing: the login keeps its site, realm and proxy in every way, so the person’s own sign-ins at the old place keep working. The request waits 7 days as a record, one per entry and field, a newer one replacing the older. The person accepts it (it applies only if the entry is as it was when proposed) or dismisses it. Nothing here asks anyone and nothing here holds a value.
Constants§
- ACCEPTED
- The Activity action of the person accepting one.
- DISMISSED
- The Activity action of the person dismissing one.
- FIELDS
- The fields of a login that say where it is offered and that an agent may propose a change of.
profileis not among them: a login usable in an agent’s browser is a share, and a share asks. - KEEP_MS
- How long a proposal waits.
- PROPOSED
- The Activity action of an agent’s proposal.
- REPLACED
- What the person is told when the proposal they were shown has been replaced by another.
Functions§
- accept
- The person accepts the proposal for
fieldofid: it is applied if the entry is as it was when proposed, with the details it replaces kept 7 days, and a line records it. An entry changed since is refused, saying so. - accept_
shown acceptof the proposal the person was shown, made atshown_at: refused when an agent has replaced it since, so what is applied is what they saw.Noneaccepts whichever is waiting.- dismiss
- The person dismisses the proposal for
fieldofid. True when there was one. - dismiss_
shown dismissof the proposal the person was shown (seeaccept_shown): a replacement is left waiting to be looked at.- list
- The proposals still waiting, oldest first; older ones are dropped first.
- propose
- Records that
agentasks forfieldof the loginidto becomevalue(empty: removed), with its reason, and writes the line that says so. The login is unchanged.