[ { "file": "cotton-gen/src/ios.rs", "kind": "format", "arguments": [ "digits" ], "expression": "\"0x{}\" , digits [at * 2 .. at * 2 + 2] . to_ascii_uppercase ()", "reason": "The digits or keys in this expression are numeric text, a phone address, generated field names or a parser pattern, not pairing or authentication material." }, { "file": "cotton-gen/src/payload.rs", "kind": "format", "arguments": [ "keys" ], "expression": "r#\"/// A `{kind}` secret's payload.\npublic struct {name}: Sendable, Equatable, Codable {{\n{properties}\n\n public init({parameters}) {{\n{assignments}\n }}\n{keys}\n /// The field a hint is taken from, and the one Copy copies.\n public var primaryField: String {{ {primary} }}\n}}\"# , properties = properties . join (\"\\n\") , parameters = parameters . join (\", \") , assignments = assignments . join (\"\\n\") , primary = camel (spec . primary) ,", "reason": "The digits or keys in this expression are numeric text, a phone address, generated field names or a parser pattern, not pairing or authentication material." }, { "file": "cotton-gen/src/payload.rs", "kind": "format", "arguments": [ "key" ], "expression": "\" put(\\\"{key}\\\", {member})\\n\"", "reason": "The digits or keys in this expression are numeric text, a phone address, generated field names or a parser pattern, not pairing or authentication material." }, { "file": "cotton-gen/src/payload.rs", "kind": "format", "arguments": [ "key" ], "expression": "\" {member}?.let {{ put(\\\"{key}\\\", it) }}\\n\"", "reason": "The digits or keys in this expression are numeric text, a phone address, generated field names or a parser pattern, not pairing or authentication material." }, { "file": "cotton-ffi/src/handle.rs", "kind": "format", "arguments": [ "stray<-vault_secret" ], "expression": "\"{} {} a host's, and this config names a phone's `containerPath`\" , stray . join (\", \") , if stray . len () == 1 { \"is\" } else { \"are\" }", "reason": "This expression reads configuration property names or an identity file path only; it does not read the private file content." }, { "file": "cotton-ffi/src/handle.rs", "kind": "format", "arguments": [ "path<-rehearsal_device_key" ], "expression": "\"{} is the Electron era's wrapped device key — this app cannot read it, does not mint \\\n over it and does not delete it; this Mac's identity is the Keychain's\" , path . display ()", "reason": "This expression reads configuration property names or an identity file path only; it does not read the private file content." }, { "file": "cotton-ffi/src/methods/host_settings.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"`{key}` {why}\"", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-ffi/src/methods/host_settings.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"`{key}` is an address, or nothing for this build's own\"", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-ffi/src/methods/host_settings.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"`{key}` is not a host setting — only {NAMES}\"", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-ffi/src/methods/host_settings.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"`{key}` is on or off: true or false\"", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-ffi/src/phone/devices.rs", "kind": "error-message", "arguments": [ "DIGITS" ], "expression": "\"bad_request\" , format ! (\"the number on the other device is {DIGITS} digits\") ,", "reason": "This exact expression formats a record, property, table or object-path identifier, or a count derived from it; it never reads a credential value." }, { "file": "cotton-ffi/src/phone/devices.rs", "kind": "format", "arguments": [ "DIGITS" ], "expression": "\"the number on the other device is {DIGITS} digits\"", "reason": "This exact expression formats a record, property, table or object-path identifier, or a count derived from it; it never reads a credential value." }, { "file": "cotton-ffi/src/phone/keep.rs", "kind": "error-message", "arguments": [ "key" ], "expression": "\"bad_request\" , format ! (\"opening a record needs {key}\")", "reason": "This exact expression formats a record, property, table or object-path identifier, or a count derived from it; it never reads a credential value." }, { "file": "cotton-ffi/src/phone/keep.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"opening a record needs {key}\"", "reason": "This exact expression formats a record, property, table or object-path identifier, or a count derived from it; it never reads a credential value." }, { "file": "cotton-ffi/src/phone/media.rs", "kind": "warn", "arguments": [ "key" ], "expression": "\"capture.media: {key} is here and its hold waits — {sentence}\"", "reason": "This exact expression formats a record, property, table or object-path identifier, or a count derived from it; it never reads a credential value." }, { "file": "cotton-ffi/src/phone/media.rs", "kind": "format", "arguments": [ "read_back<-key<-avatar_key" ], "expression": "\"the key this would write reads back as {read_back}, not a photograph\"", "reason": "This exact expression formats a record, property, table or object-path identifier, or a count derived from it; it never reads a credential value." }, { "file": "cotton-ffi/src/phone/media.rs", "kind": "error-message", "arguments": [ "keys" ], "expression": "cotton_core :: media :: keys :: DEAD_KEY_REFUSAL_CODE , \"This file belonged to something that was erased, so it is gone.\" . to_string () ,", "reason": "This exact expression formats a record, property, table or object-path identifier, or a count derived from it; it never reads a credential value." }, { "file": "cotton-ffi/src/phone/member_actions.rs", "kind": "format", "arguments": [ "person_key" ], "expression": "\"/v1/databases/members/{}/remove\" , super :: owner :: segment (person_key)", "reason": "This expression reads a public device/person id or record selector; the identifier is not private signing material and cannot authenticate a request." }, { "file": "cotton-ffi/src/phone/reads/day.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"`{key}` is an ISO instant — the window is the DEVICE's local day, and this core has no clock to compute one from\"", "reason": "This exact expression formats a record, property, table or object-path identifier, or a count derived from it; it never reads a credential value." }, { "file": "cotton-ffi/src/phone/records.rs", "kind": "error-message", "arguments": [ "key" ], "expression": "\"bad_request\", format!(\"\\\"{}\\\" needs its {}\", command.label, needed.name.as_deref().unwrap_or(&needed.key).to_lowercase()),", "reason": "needed is a definition Column: its key is the public column identifier used only as a fallback display label for a missing required form value. This expression never reads a credential or the submitted value." }, { "file": "cotton-ffi/src/phone/records.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"\\\"{}\\\" needs its {}\" , command . label , needed . name . as_deref () . unwrap_or (& needed . key) . to_lowercase ()", "reason": "This exact expression formats a record, property, table or object-path identifier, or a count derived from it; it never reads a credential value." }, { "file": "cotton-ffi/src/phone/settings_devices.rs", "kind": "error-message", "arguments": [ "key" ], "expression": "\"bad_request\" , format ! (\"{key} is not writable on a device record\") ,", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-ffi/src/phone/settings_devices.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{key} is not writable on a device record\"", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-ffi/src/phone/settings_flows.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"settings.openFlow needs `{key}`\"", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-ffi/src/phone/settings_flows.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"`{key}` is non-empty text\"", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-ffi/src/phone/storage.rs", "kind": "error-message", "arguments": [ "key" ], "expression": "\"bad_request\" , format ! (\"Storage needs {key}\")", "reason": "This exact expression formats a record, property, table or object-path identifier, or a count derived from it; it never reads a credential value." }, { "file": "cotton-ffi/src/phone/storage.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"Storage needs {key}\"", "reason": "This exact expression formats a record, property, table or object-path identifier, or a count derived from it; it never reads a credential value." }, { "file": "cotton-ffi/src/phone/traffic.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"`{key}` is {what}\"", "reason": "This exact expression formats a record, property, table or object-path identifier, or a count derived from it; it never reads a credential value." }, { "file": "cotton-ffi/src/phone/usage.rs", "kind": "error-message", "arguments": [ "key" ], "expression": "\"bad_request\" , format ! (\"usage.record needs {key}\")", "reason": "This exact expression formats a record, property, table or object-path identifier, or a count derived from it; it never reads a credential value." }, { "file": "cotton-ffi/src/phone/usage.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"usage.record needs {key}\"", "reason": "This exact expression formats a record, property, table or object-path identifier, or a count derived from it; it never reads a credential value." }, { "file": "cotton-ffi/src/phone/vault.rs", "kind": "format", "arguments": [ "token" ], "expression": "\"\\\"{token}\\\"*\"", "reason": "The variable named token is a search term or recurrence parser word; it is not an authentication token." }, { "file": "cotton-ffi/src/phone/voice_words.rs", "kind": "format", "arguments": [ "key" ], "expression": "\" AND {key} IS NULL\"", "reason": "This exact expression formats a record, property, table or object-path identifier, or a count derived from it; it never reads a credential value." }, { "file": "cotton-session-host/src/agents/codex.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{key}={}\" , toml_string (value)", "reason": "This expression reads agent/tool names, file paths, configuration property names or a usage-window selector; these identify work and do not contain credential values." }, { "file": "cotton-session-host/src/browser.rs", "kind": "format", "arguments": [ "argv<-port<-token", "argv<-port<-token<-new_token" ], "expression": "\"{} could not start — {error}\" , argv [0]", "reason": "This expression reads agent/tool names, file paths, configuration property names or a usage-window selector; these identify work and do not contain credential values." }, { "file": "cotton-session-host/src/browser_relay.rs", "kind": "format", "arguments": [ "token" ], "expression": "\"Bearer {token}\"", "reason": "This constructs an outbound authentication header or protocol request; the bytes are sent privately and are never diagnostic text." }, { "file": "cotton-session-host/src/serve.rs", "kind": "eprintln", "arguments": [ "agent_key" ], "expression": "\"cotton-session-host: {session_id}: no turn could be read out of {path} ({} bytes) — the {} transcript format may have moved\" , text . len () , tool . agent_key ()", "reason": "This expression reads agent/tool names, file paths, configuration property names or a usage-window selector; these identify work and do not contain credential values." }, { "file": "cotton-session-host/src/serve.rs", "kind": "eprintln", "arguments": [ "agent_key" ], "expression": "\"cotton-session-host: {session_id}: the {} status line carried no usage windows\" , tool . agent_key ()", "reason": "This expression reads agent/tool names, file paths, configuration property names or a usage-window selector; these identify work and do not contain credential values." }, { "file": "cotton-client/src/founding.rs", "kind": "format", "arguments": [ "device_key" ], "expression": "\"founder:{}\" , signer . device_key ()", "reason": "This expression reads a public device/person id or record selector; the identifier is not private signing material and cannot authenticate a request." }, { "file": "cotton-client/src/git/keychain.rs", "kind": "format", "arguments": [ "CREDENTIAL_PATH", "secret" ], "expression": "\"protocol=https\\nhost={host}\\npath={CREDENTIAL_PATH}\\nusername={username}\\npassword={secret}\\n\\n\"", "reason": "This serializes the private Git credential-helper protocol; the login value is delivered to Git, not to a log." }, { "file": "cotton-client/src/git/keychain.rs", "kind": "format", "arguments": [ "CREDENTIAL_PATH" ], "expression": "\"protocol=https\\nhost={host}\\npath={CREDENTIAL_PATH}\\nusername={username}\\n\\n\"", "reason": "This serializes the private Git credential-helper protocol; the login value is delivered to Git, not to a log." }, { "file": "cotton-client/src/identity.rs", "kind": "error-message", "arguments": [ "SECRET_LENGTH" ], "expression": "error (\"a device key is {SECRET_LENGTH} bytes; this one is {got}\")", "reason": "This serializes a synthetic rehearsal identity into its owner-only key file; no diagnostic receives the identity bytes." }, { "file": "cotton-client/src/identity.rs", "kind": "error-message", "arguments": [ "secret" ], "expression": "got : secret . len ()", "reason": "This error reads only the private key byte length, never any byte or encoded value of the key." }, { "file": "cotton-client/src/identity.rs", "kind": "format", "arguments": [ "secret" ], "expression": "\"{REHEARSAL_MARK}{}\\n\" , URL_SAFE_NO_PAD . encode (secret)", "reason": "This serializes a synthetic rehearsal identity into its owner-only key file; no diagnostic receives the identity bytes." }, { "file": "cotton-client/src/ingest/profile_pictures.rs", "kind": "format", "arguments": [ "note_key" ], "expression": "\"picture:{}\" , outcome . note_key ()", "reason": "This exact expression formats a record, property, table or object-path identifier, or a count derived from it; it never reads a credential value." }, { "file": "cotton-client/src/ingest/sources/photos/apple.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{key}\"", "reason": "This exact expression formats a record, property, table or object-path identifier, or a count derived from it; it never reads a credential value." }, { "file": "cotton-client/src/ingest/sources/photos/fixture.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{key}{number}\"", "reason": "This exact expression formats a record, property, table or object-path identifier, or a count derived from it; it never reads a credential value." }, { "file": "cotton-client/src/ingest/sources/photos/fixture.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{key}{text}\"", "reason": "This exact expression formats a record, property, table or object-path identifier, or a count derived from it; it never reads a credential value." }, { "file": "cotton-client/src/media/evict.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"`{}` could not be deleted: {error}\" , candidate . key", "reason": "The key in this expression is an object-store locator or content-addressed media path, not encryption or authentication material." }, { "file": "cotton-client/src/media/evict.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"`{}` was deleted and the ledger could not be told: {reason}\" , candidate . key", "reason": "The key in this expression is an object-store locator or content-addressed media path, not encryption or authentication material." }, { "file": "cotton-client/src/media/hydrate.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"`{key}` did not come down: {}\" , refusal . message", "reason": "The key in this expression is an object-store locator or content-addressed media path, not encryption or authentication material." }, { "file": "cotton-client/src/media/hydrate.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"`{key}` could not be stored: {error}\"", "reason": "The key in this expression is an object-store locator or content-addressed media path, not encryption or authentication material." }, { "file": "cotton-client/src/media/hydrate.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"`{key}` landed and could not be recorded: {reason}\"", "reason": "The key in this expression is an object-store locator or content-addressed media path, not encryption or authentication material." }, { "file": "cotton-client/src/media/storage.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{} is outside this device's media folder\" , candidate . key", "reason": "The key in this expression is an object-store locator or content-addressed media path, not encryption or authentication material." }, { "file": "cotton-client/src/media/storage.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{} could not be removed: {e}\" , candidate . key", "reason": "The key in this expression is an object-store locator or content-addressed media path, not encryption or authentication material." }, { "file": "cotton-client/src/media/unlink.rs", "kind": "format", "arguments": [ "key", "key<-key" ], "expression": "\"{key} was queued to unlink while {names} row(s) named it and the media-key \\\n index did not — nothing was taken, the index is repaired\"", "reason": "The key in this expression is an object-store locator or content-addressed media path, not encryption or authentication material." }, { "file": "cotton-client/src/media/unlink.rs", "kind": "format", "arguments": [ "key", "key<-key" ], "expression": "\"{key} could not be read: {error}\"", "reason": "The key in this expression is an object-store locator or content-addressed media path, not encryption or authentication material." }, { "file": "cotton-client/src/media/unlink.rs", "kind": "format", "arguments": [ "key", "key<-key" ], "expression": "\"{key} could not be marked: {error}\"", "reason": "The key in this expression is an object-store locator or content-addressed media path, not encryption or authentication material." }, { "file": "cotton-store/src/link_rule.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{MEDIA_OUTSIDE_PREFIX}: {} {} names {key:?}\" , op . table , op . row_id", "reason": "This exact expression formats a record, property, table or object-path identifier, or a count derived from it; it never reads a credential value." }, { "file": "cotton-store/src/media_erasure.rs", "kind": "eprintln", "arguments": [ "key" ], "expression": "\"cotton: DEFECT — {key} was queued to unlink while {} named it and _media_key_names did not; \\\n nothing was deleted, the names are written again and the key left the queue\" , rows . join (\", \")", "reason": "The key in this expression is an object-store locator or content-addressed media path, not encryption or authentication material." }, { "file": "cotton-store/src/media_holdings.rs", "kind": "format", "arguments": [ "object_key" ], "expression": "\"hold:{}:{device_id}:{object_key}\" , tier . as_str ()", "reason": "The key in this expression is an object-store locator or content-addressed media path, not encryption or authentication material." }, { "file": "cotton-store/src/media_keys.rs", "kind": "format", "arguments": [ "digits" ], "expression": "\"{}{digits}\" , \"0\" . repeat (3 - digits . len ())", "reason": "The key in this expression is an object-store locator or content-addressed media path, not encryption or authentication material." }, { "file": "cotton-store/src/media_ledger.rs", "kind": "error-message", "arguments": [ "key" ], "expression": "format ! (\"mediaLedger: _media row {key} vanished mid-transaction\")", "reason": "The key in this expression is an object-store locator or content-addressed media path, not encryption or authentication material." }, { "file": "cotton-store/src/media_ledger.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"mediaLedger: _media row {key} vanished mid-transaction\"", "reason": "The key in this expression is an object-store locator or content-addressed media path, not encryption or authentication material." }, { "file": "cotton-store/src/mint.rs", "kind": "error-message", "arguments": [ "key" ], "expression": "format ! (\"`{verb}`: {}.{column}.{key}: {e}\" , change . table)", "reason": "This exact expression formats a record, property, table or object-path identifier, or a count derived from it; it never reads a credential value." }, { "file": "cotton-store/src/mint.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"`{verb}`: {}.{column}.{key}: {e}\" , change . table", "reason": "This exact expression formats a record, property, table or object-path identifier, or a count derived from it; it never reads a credential value." }, { "file": "cotton-store/src/mint.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{column}.{key}\"", "reason": "This exact expression formats a record, property, table or object-path identifier, or a count derived from it; it never reads a credential value." }, { "file": "cotton-rules/src/fingerprint/statement.rs", "kind": "format", "arguments": [ "digits" ], "expression": "\"{bank}|{digits}\"", "reason": "The digits or keys in this expression are numeric text, a phone address, generated field names or a parser pattern, not pairing or authentication material." }, { "file": "cotton-rules/src/js.rs", "kind": "format", "arguments": [ "digits" ], "expression": "\"{}.{}\" , & digits [.. n as usize] , & digits [n as usize ..]", "reason": "The digits or keys in this expression are numeric text, a phone address, generated field names or a parser pattern, not pairing or authentication material." }, { "file": "cotton-rules/src/js.rs", "kind": "format", "arguments": [ "digits" ], "expression": "\"0.{}{}\" , \"0\" . repeat ((- n) as usize) , digits", "reason": "The digits or keys in this expression are numeric text, a phone address, generated field names or a parser pattern, not pairing or authentication material." }, { "file": "cotton-rules/src/js.rs", "kind": "format", "arguments": [ "digits" ], "expression": "\"{digits}e{sign}{}\" , e . abs ()", "reason": "The digits or keys in this expression are numeric text, a phone address, generated field names or a parser pattern, not pairing or authentication material." }, { "file": "cotton-rules/src/js.rs", "kind": "format", "arguments": [ "digits" ], "expression": "\"{}.{}e{sign}{}\" , & digits [.. 1] , & digits [1 ..] , e . abs ()", "reason": "The digits or keys in this expression are numeric text, a phone address, generated field names or a parser pattern, not pairing or authentication material." }, { "file": "cotton-store/src/receipts/pages.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"WITH page AS MATERIALIZED (SELECT * FROM {table} WHERE {bound} ORDER BY {key} LIMIT {PAGE_SIZE}) SELECT *, COALESCE(({predicate}),0) AS matches FROM page\"", "reason": "This exact expression formats a record, property, table or object-path identifier, or a count derived from it; it never reads a credential value." }, { "file": "cotton-store/src/rejected.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"SELECT \\\"{referenced}\\\" AS v FROM \\\"{parent}\\\" WHERE \\\"{pk}\\\" IN ({holes})\" , parent = key . parent , pk = spec . pk ,", "reason": "This exact expression formats a record, property, table or object-path identifier, or a count derived from it; it never reads a credential value." }, { "file": "cotton-store/src/schema/package_tables.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"column {key} conflicts with record metadata\"", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-store/src/schema/package_tables.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"definition {slot} names unknown column {key}\"", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-store/src/search.rs", "kind": "format", "arguments": [ "token" ], "expression": "\"\\\"{token}\\\"\"", "reason": "The variable named token is a search term or recurrence parser word; it is not an authentication token." }, { "file": "cotton-store/src/wire.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{key} must be a non-empty string\"", "reason": "This exact expression formats a record, property, table or object-path identifier, or a count derived from it; it never reads a credential value." }, { "file": "cotton-core/src/definitions/board.rs", "kind": "error-message", "arguments": [ "keys" ], "expression": "board . unknown . keys () . cloned () . collect ()", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-core/src/definitions/board.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{at}.when.{key}\"", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-core/src/definitions/board.rs", "kind": "error-message", "arguments": [ "key" ], "expression": "slot : format ! (\"{at}.{key}\") , why : why . to_string () ,", "reason": "This error identifies a definition column or record selector and its validation requirement; the key is a schema property name, not credential material." }, { "file": "cotton-core/src/definitions/board.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{at}.{key}\"", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-core/src/definitions/commands.rs", "kind": "error-message", "arguments": [ "key" ], "expression": "format ! (\"{slot}.{key}\")", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-core/src/definitions/commands.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{slot}.{key}\"", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-core/src/definitions/commands.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"commands.{}.{key}\" , command . id", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-core/src/definitions/computed.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"columns.{key}.computed{field}\"", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-core/src/definitions/computed.rs", "kind": "error-message", "arguments": [ "key" ], "expression": "slot : slot (field) , column : key . into () , found : column . column_type , wanted ,", "reason": "This error identifies a definition column or record selector and its validation requirement; the key is a schema property name, not credential material." }, { "file": "cotton-core/src/definitions/computed.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{}.columns.{}.computed{field}\" , table . id , column . key", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-core/src/definitions/contributors.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"columns.{}.contributes{field}\" , column . key", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-core/src/definitions/contributors.rs", "kind": "error-message", "arguments": [ "key" ], "expression": "slot : slot (\"\") , column : column . key . clone () , found : column . column_type , wanted : \"a link\" ,", "reason": "This error identifies a definition column or record selector and its validation requirement; the key is a schema property name, not credential material." }, { "file": "cotton-core/src/definitions/mod.rs", "kind": "error-message", "arguments": [ "key" ], "expression": "slot : format ! (\"columns.{}.live\" , column . key) , needs : \"live_read\" ,", "reason": "This error identifies a definition column or record selector and its validation requirement; the key is a schema property name, not credential material." }, { "file": "cotton-core/src/definitions/mod.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"columns.{}.live\" , column . key", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-core/src/definitions/mod.rs", "kind": "error-message", "arguments": [ "key" ], "expression": "column . key . clone ()", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-core/src/definitions/mod.rs", "kind": "error-message", "arguments": [ "key" ], "expression": "key . clone ()", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-core/src/definitions/mod.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"columns.{key}.{field}\"", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-core/src/definitions/mod.rs", "kind": "error-message", "arguments": [ "key" ], "expression": "slot : slot (field) , column : key . into () , found : column . column_type , wanted ,", "reason": "This error identifies a definition column or record selector and its validation requirement; the key is a schema property name, not credential material." }, { "file": "cotton-core/src/definitions/mod.rs", "kind": "error-message", "arguments": [ "key" ], "expression": "column : key . into () , why : why . to_string () ,", "reason": "This error identifies a definition column or record selector and its validation requirement; the key is a schema property name, not credential material." }, { "file": "cotton-core/src/definitions/mod.rs", "kind": "error-message", "arguments": [ "key" ], "expression": "slot : slot . into () , column : key . into () ,", "reason": "This error identifies a definition column or record selector and its validation requirement; the key is a schema property name, not credential material." }, { "file": "cotton-core/src/definitions/mod.rs", "kind": "error-message", "arguments": [ "key" ], "expression": "slot : slot . into () , column : key . into () , found : column . column_type , wanted ,", "reason": "This error identifies a definition column or record selector and its validation requirement; the key is a schema property name, not credential material." }, { "file": "cotton-core/src/definitions/mod.rs", "kind": "error-message", "arguments": [ "key" ], "expression": "slot : slot . into () , column : column . key . clone () , value : value . clone () ,", "reason": "This error identifies a definition column or record selector and its validation requirement; the key is a schema property name, not credential material." }, { "file": "cotton-core/src/definitions/theme.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{path}.{key}\"", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-core/src/definitions/theme.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"palette.{appearance}.{key}\"", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-core/src/definitions/theme.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"scale.tokens.{key}\"", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-core/src/definitions/theme.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"cap.{key}\"", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-core/src/definitions/theme.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"palette.{key}\"", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-core/src/rules/history/diff.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{}:{}\" , json_stringify (& Value :: String (key . clone ())) , stable_string (val)", "reason": "This exact expression formats a record, property, table or object-path identifier, or a count derived from it; it never reads a credential value." }, { "file": "cotton-core/src/rules/home_arrangement.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{TOOL_VIEW}{key}\"", "reason": "This exact expression formats a record, property, table or object-path identifier, or a count derived from it; it never reads a credential value." }, { "file": "cotton-core/src/rules/journal.rs", "kind": "error-message", "arguments": [ "key" ], "expression": "InvalidJournalDateKey (key . to_string () ,)", "reason": "This exact expression formats a record, property, table or object-path identifier, or a count derived from it; it never reads a credential value." }, { "file": "cotton-rules/src/rrule.rs", "kind": "error-message", "arguments": [ "token", "token<-token" ], "expression": "json_quote (& token)", "reason": "The variable named token is a search term or recurrence parser word; it is not an authentication token." }, { "file": "cotton-core/src/rules/search_everything.rs", "kind": "format", "arguments": [ "token" ], "expression": "\"%{}%\" , escape_like_pattern (token)", "reason": "The variable named token is a search term or recurrence parser word; it is not an authentication token." }, { "file": "cotton-core/src/rules/search_everything.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"CASE \\\"{}\\\" WHEN 1 THEN 'true' WHEN 0 THEN 'false' ELSE '' END\" , column . key", "reason": "The key in this expression is a definition column's name, quoted into the search's SQL as an identifier; the expression reads no credential value." }, { "file": "cotton-core/src/rules/search_everything.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"COALESCE(CAST(\\\"{}\\\" AS TEXT), '')\" , column . key", "reason": "The key in this expression is a definition column's name, quoted into the search's SQL as an identifier; the expression reads no credential value." }, { "file": "cotton-core/src/rules/search_everything.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"COALESCE(\\\"{}\\\", '')\" , column . key", "reason": "The key in this expression is a definition column's name, quoted into the search's SQL as an identifier; the expression reads no credential value." }, { "file": "cotton-core/src/rules/search_everything.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"COALESCE(\\\"{}\\\", '') NOT IN ('', 0)\" , column . key", "reason": "The key in this expression is a definition column's name, quoted into the search's SQL as an identifier; the expression reads no credential value." }, { "file": "cotton-core/src/rules/search_everything.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"\\\"{}\\\"\" , column . key", "reason": "The key in this expression is a definition column's name, quoted into the search's SQL as an identifier; the expression reads no credential value." }, { "file": "cotton-core/src/import/adapters/chat_txt.rs", "kind": "format", "arguments": [ "DIGITS" ], "expression": "r\"({DIGITS}{{1,4}})[/.\\-]({DIGITS}{{1,2}})[/.\\-]({DIGITS}{{2,4}})\"", "reason": "The digits or keys in this expression are numeric text, a phone address, generated field names or a parser pattern, not pairing or authentication material." }, { "file": "cotton-core/src/import/adapters/chat_txt.rs", "kind": "format", "arguments": [ "DIGITS" ], "expression": "r\"({DIGITS}{{1,2}}):({DIGITS}{{2}})(?::({DIGITS}{{2}}))?\"", "reason": "The digits or keys in this expression are numeric text, a phone address, generated field names or a parser pattern, not pairing or authentication material." }, { "file": "cotton-core/src/import/phone.rs", "kind": "format", "arguments": [ "digits" ], "expression": "\"{cc}{}\" , digits . trim_start_matches ('0')", "reason": "The digits or keys in this expression are numeric text, a phone address, generated field names or a parser pattern, not pairing or authentication material." }, { "file": "cotton-core/src/import/phone.rs", "kind": "format", "arguments": [ "digits" ], "expression": "\"{cc}{digits}\"", "reason": "The digits or keys in this expression are numeric text, a phone address, generated field names or a parser pattern, not pairing or authentication material." }, { "file": "cotton-core/src/invite_link.rs", "kind": "format", "arguments": [ "QUERY_KEY" ], "expression": "\"{}://{HOST}?{QUERY_KEY}={}\" , flavor . url_scheme () , URL_SAFE_NO_PAD . encode (self . payload ())", "reason": "This exact expression formats a record, property, table or object-path identifier, or a count derived from it; it never reads a credential value." }, { "file": "cotton-core/src/media/keys.rs", "kind": "format", "arguments": [ "token" ], "expression": "\"{file_id}/{token}-{}\" , safe_name (file_name)", "reason": "The key in this expression is an object-store locator or content-addressed media path, not encryption or authentication material." }, { "file": "cotton-core/src/media/keys.rs", "kind": "format", "arguments": [ "digits" ], "expression": "\"{}{digits}\" , \"0\" . repeat (3 - digits . len ())", "reason": "The key in this expression is an object-store locator or content-addressed media path, not encryption or authentication material." }, { "file": "cotton-core/src/messages/send.rs", "kind": "format", "arguments": [ "digits" ], "expression": "\"{}@s.whatsapp.net\" , self . digits ()", "reason": "The digits or keys in this expression are numeric text, a phone address, generated field names or a parser pattern, not pairing or authentication material." }, { "file": "cotton-core/src/messages/send.rs", "kind": "format", "arguments": [ "digits" ], "expression": "\"{digits}@s.whatsapp.net\"", "reason": "The digits or keys in this expression are numeric text, a phone address, generated field names or a parser pattern, not pairing or authentication material." }, { "file": "cotton-core/src/phrase/money.rs", "kind": "format", "arguments": [ "digits" ], "expression": "\"{}{:0> () . join (\", \")", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-tools/src/mcp/handlers/owner/work.rs", "kind": "format", "arguments": [ "id_key" ], "expression": "\"{id_key} is required\"", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-tools/src/mcp/handlers/projects/validate.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{key} must be an array of git remotes\"", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-tools/src/mcp/handlers/records_1/events.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{key} is text\"", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-tools/src/mcp/handlers/records_1/people.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{key} is a list of text\"", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-tools/src/mcp/handlers/records_1/people.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{key} is required on every contact — a card with no stable id and no name is \\\n noise in a directory somebody curates\"", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-tools/src/mcp/handlers/records_1/people.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{key} is text\"", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-tools/src/mcp/handlers/records_1/validate.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{key} must be an ISO 8601 timestamp\"", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-tools/src/mcp/handlers/records_1/validate.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"unknown argument {key}\"", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-tools/src/mcp/handlers/records_1/validate.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"pass {whole} (the whole list) or {key} (added to it), not both\"", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-tools/src/mcp/handlers/records_2/memory.rs", "kind": "format", "arguments": [ "token" ], "expression": "\"\\\"{token}\\\"\"", "reason": "The variable named token is a search term or recurrence parser word; it is not an authentication token." }, { "file": "cotton-tools/src/mcp/handlers/records_2/memory.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"unknown recall argument: {key}\"", "reason": "The variable named token is a search term or recurrence parser word; it is not an authentication token." }, { "file": "cotton-tools/src/mcp/handlers/records_2/sessions.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{key} must be an ISO-8601 timestamp\"", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-tools/src/mcp/handlers/tables/ai_usage.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{key} must be a finite number at least 0\"", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-tools/src/mcp/handlers/tables/arrangement_writes.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{key:?} is not an argument: arrange_tools takes add and remove\"", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-tools/src/mcp/handlers/tables/builtin.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{} cannot set {key:?} through the generic verbs; Cotton sets it itself\" , definition . plural", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-tools/src/mcp/handlers/tables/builtin.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{} cannot clear {key:?}\" , definition . plural", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-tools/src/mcp/handlers/tables/builtin.rs", "kind": "format", "arguments": [ "keys" ], "expression": "\"this change to {} also moved {} beside the record, which its undo cannot put back\" , definition . plural . to_lowercase () , keys . join (\", \")", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-tools/src/mcp/handlers/tables/builtin.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"A photograph is added from the app's picker; {} here can only be taken off\" , label_in_sentence (definition , key)", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-tools/src/mcp/handlers/tables/day_plan.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"WHEN {status} IN ({values}) THEN {} \" , literal (key)", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-tools/src/mcp/handlers/tables/day_plan.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"WHEN {} THEN {} + {} \" , literal (key) , 40000000 + n * 10000000 , by_section (key)", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-tools/src/mcp/handlers/tables/definition_writes.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{key:?} cannot be changed here: column types, engines, commands, connections and table identity stay as the table defines them\"", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-tools/src/mcp/handlers/tables/email_views.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"Email {key} could not be read: {e}\"", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-tools/src/mcp/handlers/tables/email_views.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"Email {key} is not an array\"", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-tools/src/mcp/handlers/tables/groups.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{key} is a list of one or more record ids\"", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-tools/src/mcp/handlers/tables/groups.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"each of {key} is one record id\"", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-tools/src/mcp/handlers/tables/mail_chat_writes.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{key} is true or false\"", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-tools/src/mcp/handlers/tables/media_tables.rs", "kind": "error-message", "arguments": [ "key" ], "expression": "plural : definition . plural . clone () , column : key . to_string () ,", "reason": "This error identifies a definition column or record selector and its validation requirement; the key is a schema property name, not credential material." }, { "file": "cotton-tools/src/mcp/handlers/tables/media_tables.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"v.\\\"{key}\\\"\"", "reason": "The key in this expression is a definition column name, quoted as an identifier of the view; it is not a credential value." }, { "file": "cotton-tools/src/mcp/handlers/tables/media_tables.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{} cannot clear {key:?}\" , definition . plural", "reason": "The key in this expression is an object-store locator or content-addressed media path, not encryption or authentication material." }, { "file": "cotton-tools/src/mcp/handlers/tables/media_tables.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{} take an album_id and a record_id; {key:?} is the picture's own\" , definition . plural", "reason": "The key in this expression is an object-store locator or content-addressed media path, not encryption or authentication material." }, { "file": "cotton-tools/src/mcp/handlers/tables/mod.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"\\\"{key}\\\"\"", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-tools/src/mcp/handlers/tables/mod.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{key:?} links to {link_to}, and there is no {link_to} {target:?}\"", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-tools/src/mcp/handlers/tables/mod.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{key} is required\"", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-tools/src/mcp/handlers/tables/mod.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"r.{}\" , col (& column . key)", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-tools/src/mcp/handlers/tables/mod.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{key} is required: an object of column keys and values\"", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-tools/src/mcp/handlers/tables/mod.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{:?}\" , column . key", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-tools/src/mcp/handlers/tables/mod.rs", "kind": "format", "arguments": [ "keys" ], "expression": "\"this change cannot be undone: it also moved {} beside the record\" , beside . keys () . cloned () . collect ::< Vec < _ >> () . join (\", \")", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-tools/src/mcp/handlers/tables/own_values.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{} cannot take the column {key}: {why}\" , definition . plural", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-tools/src/mcp/handlers/tool_packages.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{key} is required\"", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-tools/src/mcp/handlers/tool_packages.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"tool {:?} is in the kit twice\" , tool . key ()", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-tools/src/mcp/read_db.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"SELECT ({key}) AS k, COUNT(*) AS n FROM {}\" , spec . name", "reason": "This exact expression formats a record, property, table or object-path identifier, or a count derived from it; it never reads a credential value." }, { "file": "cotton-tools/src/presentation.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"That board cannot be saved: {}.{key} names {source:?}, which no table definition names\" , part . kind", "reason": "This exact expression formats a record, property, table or object-path identifier, or a count derived from it; it never reads a credential value." }, { "file": "cotton-tools/src/synthetic/write/pictures.rs", "kind": "error-message", "arguments": [ "key" ], "expression": "format ! (\"synthetic household: writing the bytes of {key}: {error}\")", "reason": "This exact expression formats a record, property, table or object-path identifier, or a count derived from it; it never reads a credential value." }, { "file": "cotton-tools/src/synthetic/write/pictures.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"synthetic household: writing the bytes of {key}: {error}\"", "reason": "This exact expression formats a record, property, table or object-path identifier, or a count derived from it; it never reads a credential value." }, { "file": "cotton-tools/src/synthetic/write/rest.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"<{key}@example.com>\"", "reason": "This exact expression formats a record, property, table or object-path identifier, or a count derived from it; it never reads a credential value." }, { "file": "cotton-tools/src/synthetic/write/rest.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"<{key}@example.org>\"", "reason": "This exact expression formats a record, property, table or object-path identifier, or a count derived from it; it never reads a credential value." }, { "file": "cotton-tools/src/toolkits.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"tool {key:?}: {error}\"", "reason": "This exact expression formats a record, property, table or object-path identifier, or a count derived from it; it never reads a credential value." }, { "file": "cotton-tools/src/toolkits.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"tool {key:?} lists table {id:?}, which this database does not hold\"", "reason": "This exact expression formats a record, property, table or object-path identifier, or a count derived from it; it never reads a credential value." }, { "file": "cotton-client/src/media/fetching.rs", "kind": "format", "arguments": [ "hash<-key" ], "expression": "\"partial-{}.part\" , & hash [.. 32]", "reason": "This partial-file name contains a prefix of SHA-256 of an object-store path, not the path or any authentication key." }, { "file": "cotton-core/src/definitions/theme.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{key}.{index}\"", "reason": "This key is a theme property path and index is its array offset; the diagnostic identifies an out-of-range theme element and reads no credential value." }, { "file": "cotton-tools/src/presentation.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{key}.\"", "reason": "This prefix identifies a theme property whose nested range error was already reported; key comes from theme definition metadata and is not credential material." }, { "file": "cotton-core/src/records/mod.rs", "kind": "error-message", "arguments": [ "key" ], "expression": "column : column . key . clone ()", "reason": "The key is a declared schema property name, never a stored value or credential." }, { "file": "cotton-tools/src/mcp/handlers/tables/mod.rs", "kind": "error-message", "arguments": [ "key" ], "expression": "column : column . key . clone ()", "reason": "The key is a declared schema property name, never a stored value or credential." }, { "file": "cotton-ffi/src/phone/mod.rs", "kind": "format", "arguments": [ "keys" ], "expression": "\"no such tool here: {}\", keys.join(\", \")", "reason": "This expression names a table column or installed tool identifier from definition/manifest metadata. It does not read, copy or format any credential value, signing material or bearer token." }, { "file": "cotton-core/src/flavor.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"unknown or duplicate business tool {key:?}\"", "reason": "This expression names a table column or installed tool identifier from definition/manifest metadata. It does not read, copy or format any credential value, signing material or bearer token." }, { "file": "cotton-tools/src/home_arrangement.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"no such tool here: {key}\"", "reason": "This expression names a table column or installed tool identifier from definition/manifest metadata. It does not read, copy or format any credential value, signing material or bearer token." }, { "file": "cotton-core/src/definitions/acts.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"create act has unknown target column {key}\"", "reason": "This names a declared schema column identifier in an authored act, never its stored value or a credential." }, { "file": "cotton-core/src/rules/people/merge.rs", "kind": "error-message", "arguments": [ "key" ], "expression": "table : definition . id . clone () , column : column . key . clone () ,", "reason": "This error names the definition and the column whose person link has no storage table; the key is a schema property name, not credential material." }, { "file": "cotton-core/src/rules/people/merge.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{}'s {} links to a person (its definition says so).\" , definition . id , column . key", "reason": "The key in this expression is a definition column's name, said in a merge's reason for re-pointing that column; it reads no credential value." }, { "file": "cotton-core/src/definitions/mod.rs", "kind": "error-message", "arguments": [ "key" ], "expression": "refusal_said (\"retired_column_must_be_a_made_table_s\" , & [(\"column\" , format ! (\"{:?}\" , retired . key))] ,)", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-core/src/definitions/mod.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{:?}\" , retired . key", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-core/src/definitions/mod.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{:?}\" , contribution . column . key", "reason": "This expression names a column a tool contributes to a shared table — a plain-word field id in a definition, never signing material or a secret." }, { "file": "cotton-core/src/definitions/owner.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{:?}\" , column . key", "reason": "This expression names a column a tool contributes to a shared table — a plain-word field id in a definition, never signing material or a secret." }, { "file": "cotton-core/src/definitions/owner.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{:?}\" , gone . key", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-core/src/records/mod.rs", "kind": "error-message", "arguments": [ "ATTACHMENTS_KEY" ], "expression": "column : ATTACHMENTS_KEY . to_string () , wanted : Wanted :: Attachments , found : Found :: Value (describe (value)) ,", "reason": "This error identifies a definition column or record selector and its validation requirement; the key is a schema property name, not credential material." }, { "file": "cotton-core/src/records/mod.rs", "kind": "error-message", "arguments": [ "key" ], "expression": "column : column . key . clone () , wanted , found : Found :: Value (describe (value)) ,", "reason": "This error identifies a definition column or record selector and its validation requirement; the key is a schema property name, not credential material." }, { "file": "cotton-core/src/records/place.rs", "kind": "error-message", "arguments": [ "key" ], "expression": "column : column . key . clone ()", "reason": "This error identifies a definition column or record selector and its validation requirement; the key is a schema property name, not credential material." }, { "file": "cotton-core/src/records/place.rs", "kind": "error-message", "arguments": [ "key" ], "expression": "sibling : sibling . clone () , column : column . key . clone ()", "reason": "This error identifies a definition column or record selector and its validation requirement; the key is a schema property name, not credential material." }, { "file": "cotton-mac/src/app.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"cotton-{}\" , slot . importer . key () . as_str ()", "reason": "The key here is an importer's source name (whatsapp, mail, photos), used to name its thread, not authentication material." }, { "file": "cotton-mac/src/importer.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{} takes no {name}\" , self . key () . as_str ()", "reason": "The key here is an importer's source name, said in a refusal of a command it does not take, not authentication material." }, { "file": "cotton-mac/src/mail/client.rs", "kind": "format", "arguments": [ "password" ], "expression": "\"LOGIN {user} {password}\"", "reason": "This builds the IMAP LOGIN command sent over TLS to the person's own mail server and nowhere else." }, { "file": "cotton-mac/src/mail/mod.rs", "kind": "error-message", "arguments": [ "credentials" ], "expression": "format ! (\"no mail server is known for {}\" , credentials . address)", "reason": "Only the account's address is formatted, never the password the credentials also hold." }, { "file": "cotton-mac/src/mail/mod.rs", "kind": "format", "arguments": [ "credentials" ], "expression": "\"no mail server is known for {}\" , credentials . address", "reason": "Only the account's address is formatted, never the password the credentials also hold." }, { "file": "cotton-mac/src/mail/mod.rs", "kind": "format", "arguments": [ "credentials" ], "expression": "\"No mail server is known for {}; name its IMAP host.\" , credentials . address", "reason": "Only the account's address is formatted, never the password the credentials also hold." }, { "file": "cotton-mac/src/outbox.rs", "kind": "format", "arguments": [ "digits" ], "expression": "\"{digits}@s.whatsapp.net\"", "reason": "The digits here are a phone number turned into its WhatsApp address, not pairing or authentication material." }, { "file": "cotton-ffi/src/phone/media_sweep.rs", "kind": "debug", "arguments": [ "key" ], "expression": "\"pictures: {key} did not come — {} ({})\" , refusal . message , refusal . code", "reason": "The key here is a picture's media key (its content hash and rendition), not authentication material." }, { "file": "cotton-ffi/src/phone/personal_object.rs", "kind": "error-message", "arguments": [ "database<-served<-bearer", "database<-served<-credential", "database<-served<-credential<-credential" ], "expression": "\"wrong_database\" , format ! (\"the sign-in named database {asked}, and the object is {database}\")", "reason": "The database id the object answered with is formatted; the credential only authorized the request that fetched it." }, { "file": "cotton-ffi/src/phone/personal_object.rs", "kind": "format", "arguments": [ "database<-served<-bearer", "database<-served<-credential", "database<-served<-credential<-credential" ], "expression": "\"the sign-in named database {asked}, and the object is {database}\"", "reason": "The database id the object answered with is formatted; the credential only authorized the request that fetched it." }, { "file": "cotton-ffi/src/phone/personal_object_e2e.rs", "kind": "println", "arguments": [ "credential", "credential<-credential" ], "expression": "\"E2E-DEVICE {}\" , json ! ({ \"credential\" : credential , \"device_id\" : device , \"row\" : state . device })", "reason": "An ignored end-to-end walk hands e2e-device.ts the credential a throwaway wrangler dev object minted for an invented number; no real credential reaches it." }, { "file": "cotton-core/src/media/keys.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{key}{THUMB_SUFFIX}\"", "reason": "The key here is a media key (content hash), extended with its thumbnail suffix, not authentication material." }, { "file": "cotton-core/src/records/card.rs", "kind": "error-message", "arguments": [ "key" ], "expression": "& format ! (\"values.{key}.{}\" , value . trim ()) , & []", "reason": "The key here is a table column's name, used to look up a line's words, not authentication material." }, { "file": "cotton-core/src/records/card.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"values.{key}.{}\" , value . trim ()", "reason": "The key here is a table column's name, used to look up a line's words, not authentication material." }, { "file": "cotton-client/src/transport/object.rs", "kind": "error-message", "arguments": [ "status<-answer<-request<-bearer", "status<-answer<-request<-credential", "status<-answer<-request<-path<-key" ], "expression": "status , code : value [\"code\"] . as_str () . unwrap_or (\"refused\") . to_string () , message : value [\"message\"] . as_str () . unwrap_or (\"the object did not send that picture\") . to_string () ,", "reason": "Only the HTTP status the object answered with is kept; the credential only authorized the request." }, { "file": "cotton-client/src/transport/object.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{} has no key column {}\" , entry . from , entry . key", "reason": "The key here is a served table's key column name, not authentication material." }, { "file": "cotton-client/src/transport/object.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"&{key}={}\" , url :: form_urlencoded :: byte_serialize (value . as_bytes ()) . collect ::< String > ()", "reason": "The key here is a query parameter's name (device_name, platform, app_version), not authentication material." }, { "file": "cotton-tools/src/mcp/handlers/tables/mod.rs", "kind": "error-message", "arguments": [ "key" ], "expression": "column : key . clone ()", "reason": "The key is the declared row-key column name, never a stored value or credential." }, { "file": "cotton-client/src/media/transport.rs", "kind": "format", "arguments": [ "query<-upload<-started<-bearer", "query<-upload<-started<-credential" ], "expression": "\"{at}?{query}&part={number}\"", "reason": "This formats only the multipart upload id returned by the object into an outbound media URL; the credential only authorizes the preceding request and no diagnostic logs the URL." }, { "file": "cotton-client/src/media/transport.rs", "kind": "format", "arguments": [ "query<-upload<-started<-bearer", "query<-upload<-started<-credential" ], "expression": "\"{at}?{query}\"", "reason": "This formats only the multipart upload id returned by the object into an outbound media URL; the credential only authorizes the preceding request and no diagnostic logs the URL." }, { "file": "cotton-client/src/transport/object.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{}{}\" , self . prefix , media_path (key)", "reason": "This formats a canonical media object key into an outbound request path, never authentication material or a diagnostic." }, { "file": "cotton-client/src/transport/object.rs", "kind": "eprintln", "arguments": [ "boards<-ops<-tables<-answer<-headers<-bearer", "boards<-ops<-tables<-answer<-headers<-credential", "boards<-tables<-ops<-tables<-answer<-headers<-bearer", "boards<-tables<-ops<-tables<-answer<-headers<-credential", "boards<-tools<-ops<-tables<-answer<-headers<-bearer", "boards<-tools<-ops<-tables<-answer<-headers<-credential", "boards<-tools<-tables<-ops<-tables<-answer<-headers<-bearer", "boards<-tools<-tables<-ops<-tables<-answer<-headers<-credential", "tables<-ops<-tables<-answer<-headers<-bearer", "tables<-ops<-tables<-answer<-headers<-credential", "tools<-ops<-tables<-answer<-headers<-bearer", "tools<-ops<-tables<-answer<-headers<-credential", "tools<-tables<-ops<-tables<-answer<-headers<-bearer", "tools<-tables<-ops<-tables<-answer<-headers<-credential" ], "expression": "\"[object] definitions: took {tools} tools, {tables} tables, {boards} boards from the object\"", "reason": "Only counts of definition receipts are logged; the credential only authorizes the request that fetched the definitions." }, { "file": "cotton-client/src/transport/object.rs", "kind": "eprintln", "arguments": [ "etag<-answer<-headers<-bearer", "etag<-answer<-headers<-credential" ], "expression": "\"[object] definitions: the copy holds the object's as it serves them (etag {})\" , etag . as_deref () . unwrap_or (\"none\")", "reason": "Only the definitions content etag is logged; the credential only authorizes the request that fetched it." }, { "file": "cotton-client/src/media/storage.rs", "kind": "error-message", "arguments": [ "alias_key" ], "expression": "alias_key", "reason": "This exact expression formats a media object key, the path a song, cover or file is stored under in the object's media; it is not a credential and authenticates nothing." }, { "file": "cotton-client/src/media/storage.rs", "kind": "error-message", "arguments": [ "key" ], "expression": "format!(\"{key} could not be removed: {e}\")", "reason": "This exact expression formats a media object key, the path a song, cover or file is stored under in the object's media; it is not a credential and authenticates nothing." }, { "file": "cotton-client/src/media/storage.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{key} could not be removed: {e}\"", "reason": "This exact expression formats a media object key, the path a song, cover or file is stored under in the object's media; it is not a credential and authenticates nothing." }, { "file": "cotton-client/src/media/storage.rs", "kind": "write", "arguments": [ "key" ], "expression": "f, \"{key} keeps the same file\"", "reason": "This exact expression formats a media object key, the path a song, cover or file is stored under in the object's media; it is not a credential and authenticates nothing." }, { "file": "cotton-client/src/transport/object_adopt.rs", "kind": "format", "arguments": [ "row<-row_key" ], "expression": "\"standing {row}\"", "reason": "row_key names a record as its table and id (`table/id`) for the adopt's own log; it is a record selector, not a credential." }, { "file": "cotton-ffi/src/phone/songs.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"a lookup does not fill `{key}`\"", "reason": "The key in this expression is a definition column, command argument or configuration property name; the expression does not read its credential value." }, { "file": "cotton-ffi/src/methods/shell_home.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{key}.{host}\"", "reason": "key is a line key in the shell kit's boot lines (home.acts.sign_in, a line's .phone / .mac variant), never pairing or authentication material." }, { "file": "cotton-ffi/src/methods/shell_home.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"home.acts.{key}\"", "reason": "key is a line key in the shell kit's boot lines (home.acts.sign_in, a line's .phone / .mac variant), never pairing or authentication material." }, { "file": "cotton-mac/src/music/import.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"put {key}\"", "reason": "This exact expression formats a media object key, the path a song, cover or file is stored under in the object's media; it is not a credential and authenticates nothing." }, { "file": "cotton-tools/src/kit_keep.rs", "kind": "info", "arguments": [ "keys" ], "expression": "table = %id, keys = ?apart, \"kit keep: the person's look is kept over the kit's, since it differs from what the kit last laid\"", "reason": "keys are the look keys of a table definition (its columns' names and the like) that differ from the kit's; they are definition property names, never credential values." }, { "file": "cotton-core/src/keys/cxf.rs", "kind": "format", "arguments": [ "secret", "secret<-secret" ], "expression": "\"otpauth://totp/{label}?secret={}\" , encode (secret)", "reason": "An imported authenticator's secret is written into the otpauth address the login keeps, which the vault seals; this builds that value and never logs or displays it." }, { "file": "cotton-core/src/seal/grant.rs", "kind": "format", "arguments": [ "token_id" ], "expression": "\"{UNLOCK_CONTEXT}\\n{database_id}\\n{request_id}\\n{token_id}\\n{}\\n{minutes}\\n{}\" , tables . join (\",\") , sha256_hex (wrapped . as_bytes ())", "reason": "The unlock context names the grant's token by its id, the row a token is filed under, never the token itself; it is the bytes the grant's signature covers, not a diagnostic." }, { "file": "cotton-core/src/seal/row.rs", "kind": "format", "arguments": [ "plain<-sealed" ], "expression": "\"{BODY_PREFIX}{}\" , b64 (& gcm_seal (dek . expose () , nonce , & plain , aad . as_bytes ()) ?)", "reason": "The sealed columns enter this expression only as AES-GCM ciphertext under the row's data key; it builds the stored s1 body, never a diagnostic of the plaintext." }, { "file": "cotton-core/src/seal/row.rs", "kind": "error-message", "arguments": [ "SEALED_ENC" ], "expression": "SEALED_ENC", "reason": "SEALED_ENC is the name of the column a sealed row's body is kept in; the error names the missing column, never its value." }, { "file": "cotton-ffi/src/phone/personal_object_e2e.rs", "kind": "format", "arguments": [ "token" ], "expression": "\"Bearer {token}\"", "reason": "The end-to-end test's own MCP call sends the synthetic lane token it minted on the dev Worker as its authorization header; it authorizes the request and is never logged." }, { "file": "cotton-ffi/src/phone/personal_object_e2e.rs", "kind": "println", "arguments": [ "grant<-allowed<-private<-secret", "row_id<-made<-sealed_diary" ], "expression": "\"E2E-UNLOCK {}\" , json ! ({ \"person\" : person , \"row\" : row_id , \"request\" : request , \"grant\" : grant , \"moved\" : moved , \"seal_v\" : serde_json :: from_str ::< Value > (& v) . unwrap () })", "reason": "The end-to-end test's summary line prints ids only: the synthetic person, the sealed row's id, the unlock request's and grant's ids and the seal version row; no key, secret or sealed value is in it." }, { "file": "cotton-ffi/src/phone/seal.rs", "kind": "format", "arguments": [ "stored<-not_sealed" ], "expression": "\"SELECT 1 FROM \\\"{}\\\" WHERE \\\"{}\\\" = ?1\" , stored . store . replace ('\"' , \"\\\"\\\"\") , stored . key_column . replace ('\"' , \"\\\"\\\"\")", "reason": "This builds the SQL that asks the copy whether it holds a row, from the table's store name and key column name; it formats names, never a row's sealed value." }, { "file": "cotton-mac/src/bin/seal_migrate.rs", "kind": "format", "arguments": [ "token_file" ], "expression": "\"{} could not be read: {e}\" , args . token_file . display ()", "reason": "token_file is the path of the file the bearer is read from, given on the command line; the path is named, never the file's contents." }, { "file": "cotton-mac/src/bin/seal_migrate.rs", "kind": "println", "arguments": [ "runs<-database_id<-object<-token", "runs<-database_id<-object<-token<-token_file", "runs<-dk<-data_key", "runs<-dk<-object<-token", "runs<-dk<-object<-token<-token_file", "runs<-dk<-open<-object<-token", "runs<-dk<-open<-object<-token<-token_file", "runs<-object<-token", "runs<-object<-token<-token_file" ], "expression": "\"{}\" , serde_json :: to_string_pretty (& report (& runs)) . unwrap_or_default ()", "reason": "The migration report is per-table counts and the ids of rows that did not verify (report()); run() uses the client and the data key to read, seal and post, and neither the bearer nor the data key is a field of a run." }, { "file": "cotton-mac/src/bin/seal_land.rs", "kind": "format", "arguments": [ "token_file" ], "expression": "\"{} could not be read: {e}\" , args . token_file . display ()", "reason": "token_file is the path of the file the bearer is read from, given on the command line; the path is named, never the file's contents." }, { "file": "cotton-mac/src/bin/seal_land.rs", "kind": "println", "arguments": [ "runs<-database_id<-object<-token", "runs<-database_id<-object<-token<-token_file", "runs<-dk<-data_key", "runs<-dk<-object<-token", "runs<-dk<-object<-token<-token_file", "runs<-dk<-open<-object<-token", "runs<-dk<-open<-object<-token<-token_file", "runs<-object<-token", "runs<-object<-token<-token_file" ], "expression": "\"{}\" , serde_json :: to_string_pretty (& report (& runs)) . unwrap_or_default ()", "reason": "The landing report is per-table counts (report()); land() uses the client and the data key to seal, post and read back, and neither the bearer nor the data key is a field of a Landed." }, { "file": "cotton-core/src/keys/totp.rs", "kind": "format", "arguments": [ "digits", "value<-secret" ], "expression": "\"{value:0width$}\", width = self.digits as usize", "reason": "A one-time code is the answer Cotton Keys exists to show: it is the code the person reads off the dial, padded to its length, never logged." }, { "file": "cotton-core/src/keys/totp.rs", "kind": "format", "arguments": [ "digits", "secret" ], "expression": "\"otpauth://totp/{label}?secret={}&algorithm={}&digits={}&period={}\", base32_encode(&self.secret), self.algorithm.as_str(), self.digits, self.period", "reason": "The otpauth address is the value a login's sealed payload keeps; it is built only to be sealed on the device, never written to a log." }, { "file": "cotton-rules/src/fountain.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{}:\\n{}\" , field . key , indented . join (\"\\n\")", "reason": "A Fountain title page field's key is the screenplay's own heading (Title, Credit, Author), formatted back into the script; it is no credential." }, { "file": "cotton-rules/src/fountain.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{}: {}\" , field . key , field . value", "reason": "A Fountain title page field's key is the screenplay's own heading (Title, Credit, Author), formatted back into the script; it is no credential." }, { "file": "cotton-mac/src/bin/seal_device.rs", "kind": "format", "arguments": [ "token_file" ], "expression": "\"{} could not be written: {e}\" , args . token_file . display ()", "reason": "The token file's path is said when it cannot be written, never its contents." }, { "file": "cotton-mac/src/bin/seal_device.rs", "kind": "println", "arguments": [ "line<-pass<-object<-with_token" ], "expression": "\"vault {}: fingerprint {} ({})\" , line . state , fingerprint , line . detail", "reason": "The vault line says its state, the device key's public fingerprint and a detail sentence; the bearer the object was opened with never enters it." }, { "file": "cotton-ffi/src/phone/calls.rs", "kind": "format", "arguments": [ "digits" ], "expression": "\"+{digits}\"", "reason": "The digits are a person's phone number in E.164, the number a call is placed to; they are not pairing or authentication material." }, { "file": "cotton-ffi/src/phone/cotton_chat.rs", "kind": "error-message", "arguments": [ "status<-answer<-request<-headers<-bearer", "status<-answer<-request<-headers<-credential" ], "expression": "status : 0 , code : \"offline\" . into () , message : e . to_string ()", "reason": "An ObjectRefusal carries the HTTP status and the object's own refusal code and message from the answer; the bearer only reached the request headers and is never in the refusal." }, { "file": "cotton-ffi/src/phone/cotton_chat.rs", "kind": "error-message", "arguments": [ "status<-answer<-request<-headers<-bearer", "status<-answer<-request<-headers<-credential" ], "expression": "status , code : value [\"code\"] . as_str () . unwrap_or (\"refused\") . into () , message : value [\"message\"] . as_str () . unwrap_or (\"refused\") . into ()", "reason": "An ObjectRefusal carries the HTTP status and the object's own refusal code and message from the answer; the bearer only reached the request headers and is never in the refusal." }, { "file": "cotton-ffi/src/phone/cotton_chat.rs", "kind": "format", "arguments": [ "digits" ], "expression": "\"+{digits}\"", "reason": "The digits are a person's phone number in E.164, the number a chat is addressed to; they are not pairing or authentication material." }, { "file": "cotton-ffi/src/phone/keys.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"fields.{key}\"", "reason": "The key is the name of a field of a Keys secret (password, username, url), said in a bad-request path; the field's value is never formatted." }, { "file": "cotton-core/src/chat/seal.rs", "kind": "format", "arguments": [ "body<-ct<-aad<-sender_pub<-sender_secret", "body<-ct<-cipher<-key<-dh1<-ephemeral_secret", "body<-ct<-cipher<-key<-dh2<-sender_secret", "body<-ct<-cipher<-key<-ephemeral_pub<-ephemeral_secret", "body<-ct<-cipher<-key<-sender_pub<-sender_secret" ], "expression": "\"{BOX_PREFIX}{}\" , URL_SAFE_NO_PAD . encode (body)", "reason": "This is the sealed c1 box itself: the body is ciphertext and public halves, the transport form the message travels in, never a secret in a diagnostic." }, { "file": "cotton-core/src/health/land.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{key} is a list\"", "reason": "The key names a field of a health reading being landed (steps, heart_rate), said in a refusal; it is a column name, never a credential." }, { "file": "cotton-core/src/health/land.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{kind} {key} does not read\"", "reason": "The key names a field of a health reading being landed (steps, heart_rate), said in a refusal; it is a column name, never a credential." }, { "file": "cotton-core/src/rules/money/print.rs", "kind": "format", "arguments": [ "digits", "places<-digits" ], "expression": "\"{places:07}/{} {:<8} {}{}\" , keys . len () , outcome . state , outcome . key , outcome . why . as_deref () . map (| why | format ! (\" ({why})\")) . unwrap_or_default ()", "reason": "Only how many object keys there are, and each one's object key (a kind and a digest), are printed on the Mac tool's progress line; no key that opens anything." }, { "file": "cotton-mac/src/device.rs", "kind": "format", "arguments": [ "token_file" ], "expression": "\"--token-file {} cannot be read\" , token_file . display ()", "reason": "The token file is named by its path so the person can see which file was wrong; the token it holds is never printed." }, { "file": "cotton-mac/src/device.rs", "kind": "format", "arguments": [ "token_file" ], "expression": "\"--token-file {} holds an assistant's token, which holds no key: name the device credential seal-device kept\" , token_file . display ()", "reason": "The token file is named by its path so the person can see which file was wrong; the token it holds is never printed." }, { "file": "cotton-mac/src/files.rs", "kind": "format", "arguments": [ "SEALED_KINDS", "key" ], "expression": "\"{key} is not one of a person's files ({})\" , SEALED_KINDS . join (\", \")", "reason": "SEALED_KINDS is the fixed list of file kinds a person's files may be, printed so a wrong --kinds names the right ones." }, { "file": "cotton-mac/src/files.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{key}: the object holds no such file\"", "reason": "The key here is a stored file's object key (its kind and a digest or id), which names where the bytes are kept, never the bytes or a key that opens them." }, { "file": "cotton-mac/src/files.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{key}: {}\" , e . code ()", "reason": "The key here is a stored file's object key (its kind and a digest or id), which names where the bytes are kept, never the bytes or a key that opens them." }, { "file": "cotton-mac/src/files.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{key}\\n\"", "reason": "The key here is a stored file's object key (its kind and a digest or id), which names where the bytes are kept, never the bytes or a key that opens them." }, { "file": "cotton-mac/src/object.rs", "kind": "error-message", "arguments": [ "key" ], "expression": "format ! (\"{key}: the object named no size\")", "reason": "The key here is a stored file's object key (its kind and a digest or id), which names where the bytes are kept, never the bytes or a key that opens them." }, { "file": "cotton-mac/src/object.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{key}: the object named no size\"", "reason": "The key here is a stored file's object key (its kind and a digest or id), which names where the bytes are kept, never the bytes or a key that opens them." }, { "file": "cotton-mac/src/object.rs", "kind": "error-message", "arguments": [ "key" ], "expression": "format ! (\"{key}: a read of {} bytes came back as {}\" , end + 1 - got , bytes . len ())", "reason": "The key here is a stored file's object key (its kind and a digest or id), which names where the bytes are kept, never the bytes or a key that opens them." }, { "file": "cotton-mac/src/object.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{key}: a read of {} bytes came back as {}\" , end + 1 - got , bytes . len ()", "reason": "The key here is a stored file's object key (its kind and a digest or id), which names where the bytes are kept, never the bytes or a key that opens them." }, { "file": "cotton-mac/src/object.rs", "kind": "error-message", "arguments": [ "key" ], "expression": "format ! (\"{key}: {e}\")", "reason": "The key here is a stored file's object key (its kind and a digest or id), which names where the bytes are kept, never the bytes or a key that opens them." }, { "file": "cotton-mac/src/object.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{key}: {e}\"", "reason": "The key here is a stored file's object key (its kind and a digest or id), which names where the bytes are kept, never the bytes or a key that opens them." }, { "file": "cotton-ffi/src/phone/send_seal.rs", "kind": "format", "arguments": [ "from_key" ], "expression": "\"/v1/send/{send}/media?key={}&whole=1\" , enc (from_key)", "reason": "The media key in this path is the sent file's object key, the address the object reads, not a secret; the bearer travels in its own header." }, { "file": "cotton-ffi/src/phone/shared_list.rs", "kind": "error-message", "arguments": [ "key" ], "expression": "\"bad_request\" , format ! (\"`{key}` is needed\")", "reason": "The key here is a request field's or column's name, said back so a caller sees which one is missing, not pairing or authentication material." }, { "file": "cotton-ffi/src/phone/shared_list.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"`{key}` is needed\"", "reason": "The key here is a request field's or column's name, said back so a caller sees which one is missing, not pairing or authentication material." }, { "file": "cotton-client/src/media/loopback.rs", "kind": "format", "arguments": [ "token", "token<-token" ], "expression": "\"http://127.0.0.1:{}/{token}/{}\" , self . port , if name . is_empty () { \"file\" } else { & name }", "reason": "The address is the offer itself: this function returns it to the phone's own player on 127.0.0.1, and it is never logged." }, { "file": "cotton-client/src/media/loopback.rs", "kind": "format", "arguments": [ "token", "token<-token" ], "expression": "\"http://127.0.0.1:{}/{token}/{}\" , self . port , index . trim_start_matches ('/')", "reason": "The address is the offer itself: this function returns it to the phone's own player on 127.0.0.1, and it is never logged." }, { "file": "cotton-client/src/media/lan.rs", "kind": "format", "arguments": [ "token", "token<-token" ], "expression": "\"http://{addr}/{token}/{index}\"", "reason": "The address is the offer itself: the door hands it to the one TV the film is sent to on the phone's Wi-Fi, and it is never logged." }, { "file": "cotton-client/src/media/sealed.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{key} came down not sealed, and names no digest its bytes could be checked against\"", "reason": "The key here is a stored file's object key (its kind and a digest or id), which names where the bytes are kept, never the bytes or a key that opens them." }, { "file": "cotton-client/src/media/sealed.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{key} came down not sealed and not the bytes its name says\"", "reason": "The key here is a stored file's object key (its kind and a digest or id), which names where the bytes are kept, never the bytes or a key that opens them." }, { "file": "cotton-client/src/media/transport.rs", "kind": "error-message", "arguments": [ "key" ], "expression": "format ! (\"{key} is not a file this device seals\") , 400", "reason": "The key here is a stored file's object key (its kind and a digest or id), which names where the bytes are kept, never the bytes or a key that opens them." }, { "file": "cotton-client/src/media/transport.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{key} is not a file this device seals\"", "reason": "The key here is a stored file's object key (its kind and a digest or id), which names where the bytes are kept, never the bytes or a key that opens them." }, { "file": "cotton-client/src/media/transport.rs", "kind": "error-message", "arguments": [ "key" ], "expression": "format ! (\"{key} is not sealed where the object keeps it\") , 422", "reason": "The key here is a stored file's object key (its kind and a digest or id), which names where the bytes are kept, never the bytes or a key that opens them." }, { "file": "cotton-client/src/media/transport.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{key} is not sealed where the object keeps it\"", "reason": "The key here is a stored file's object key (its kind and a digest or id), which names where the bytes are kept, never the bytes or a key that opens them." }, { "file": "cotton-client/src/transport/object.rs", "kind": "error-message", "arguments": [ "status<-answer<-request<-headers<-bearer", "status<-answer<-request<-headers<-credential", "status<-answer<-request<-path<-key" ], "expression": "status , code : value [\"code\"] . as_str () . unwrap_or (\"refused\") . to_string () , message : value [\"message\"] . as_str () . unwrap_or (\"the object did not send that range\") . to_string () ,", "reason": "Only the object's own status, code and message are said; the bearer and credential that made the request never reach the refusal." }, { "file": "cotton-core/src/seal/arrival.rs", "kind": "error-message", "arguments": [ "SEALED_ENC" ], "expression": "SEALED_ENC", "reason": "SEALED_ENC names the sealed encoding a refusal expects, a fixed label, not key material." }, { "file": "cotton-core/src/seal/arrival.rs", "kind": "error-message", "arguments": [ "key" ], "expression": "format ! (\"{key} is both clear and sealed\")", "reason": "The key here is a column's name in an arrival patch, said so the writer sees which column was wrong, not key material." }, { "file": "cotton-core/src/seal/arrival.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{key} is both clear and sealed\"", "reason": "The key here is a column's name in an arrival patch, said so the writer sees which column was wrong, not key material." }, { "file": "cotton-core/src/seal/arrival.rs", "kind": "error-message", "arguments": [ "key" ], "expression": "format ! (\"an arrival patch carries {key}\")", "reason": "The key here is a column's name in an arrival patch, said so the writer sees which column was wrong, not key material." }, { "file": "cotton-core/src/seal/arrival.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"an arrival patch carries {key}\"", "reason": "The key here is a column's name in an arrival patch, said so the writer sees which column was wrong, not key material." }, { "file": "cotton-core/src/seal/share.rs", "kind": "format", "arguments": [ "body<-ct<-aad<-sender_pub<-sender_secret", "body<-ct<-cipher<-key<-dh2<-sender_secret", "body<-ct<-cipher<-key<-sender_pub<-sender_secret", "body<-ct<-cipher<-key<-sent_key" ], "expression": "\"{SENT_PREFIX}{}\" , URL_SAFE_NO_PAD . encode (body)", "reason": "The body encoded here is the sealed ciphertext, the very output this function returns to be stored or sent; no clear secret is in it." }, { "file": "cotton-core/src/vault/recovery_code.rs", "kind": "format", "arguments": [ "body<-ct<-cipher<-wrap_key" ], "expression": "\"{WRAP_PREFIX}{}\" , URL_SAFE_NO_PAD . encode (body)", "reason": "The body encoded here is the sealed ciphertext, the very output this function returns to be stored or sent; no clear secret is in it." }, { "file": "cotton-ffi/src/phone/notes.rs", "kind": "format", "arguments": [ "key", "key<-tag_key" ], "expression": "\"{key}/\"", "reason": "The key here is a note tag's normalised name (derive::tag_key), matched against its nested tags; it is a word the person wrote, not authentication material." }, { "file": "cotton-ffi/src/phone/notes.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"bar.{key}\"", "reason": "The key here is a formatting bar button's id from the Notes writing definition, turned into its line key; it is not authentication material." }, { "file": "cotton-ffi/src/phone/notes.rs", "kind": "error-message", "arguments": [ "key" ], "expression": "\"bad_request\" , format ! (\"{} ({key})\" , line (\"refusal.bad_setting\" , & []) . unwrap_or_default ())", "reason": "This error identifies a Notes setting's field name and its validation requirement; the key is a schema property name, not credential material." }, { "file": "cotton-ffi/src/phone/notes.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{} ({key})\" , line (\"refusal.bad_setting\" , & []) . unwrap_or_default ()", "reason": "This error identifies a Notes setting's field name and its validation requirement; the key is a schema property name, not credential material." }, { "file": "cotton-ffi/src/phone/signin_approval.rs", "kind": "format", "arguments": [ "tail<-digits" ], "expression": "\"•••• {tail}\"", "reason": "The digits here are the last four of the person's own phone number, shown masked on the sign-in button; a phone address, not a code or any authentication material." }, { "file": "cotton-mac/src/meetings_job.rs", "kind": "format", "arguments": [ "token_file" ], "expression": "\"{} {problem}\" , cfg . token_file . display ()", "reason": "The device credential's file is named by its path so the status line says which file is missing or wrong; the credential it holds is read only to tell a device's from an assistant's and is never formatted." }, { "file": "cotton-mac/src/meetings_job.rs", "kind": "error-message", "arguments": [ "token_file" ], "expression": "format ! (\"{} {problem}\" , cfg . token_file . display ())", "reason": "The device credential's file is named by its path so the status line says which file is missing or wrong; the credential it holds is read only to tell a device's from an assistant's and is never formatted." }, { "file": "cotton-ffi/src/phone/personal_object.rs", "kind": "eprintln", "arguments": [ "left<-left<-rekey<-transport<-credential", "left<-left<-served_tables<-transport<-credential", "left<-left<-transport<-credential", "left<-transport<-credential" ], "expression": "\"[object] this phone's copy is made again without {} row(s) of tables this app's kit does not carry and no copy of it takes: {}\", left.len(), named.join(\", \")", "reason": "The count and the table/id addresses of the rows left behind are formatted; the credential only authorized the requests that read the object's definitions and the copy's rows." }, { "file": "cotton-ffi/src/phone/chat_senders_erase.rs", "kind": "error-message", "arguments": [ "name<-name<-key" ], "expression": "\"count_changed\" , say (& lines , \"app.senders.refused.count_changed\" , & [(\"name\" , & name)])", "reason": "A sender's key is the phone number or mail address that sent him messages, shown as the sender's name when nothing better is known; it is no pairing or authentication material." }, { "file": "cotton-mac/src/bin/seal_files.rs", "kind": "eprintln", "arguments": [ "keys", "keys<-keys" ], "expression": "\"{} files named by the person's rows or listed plain by the object\" , keys . len ()", "reason": "A count of the file keys (object paths) a seal run lists, and each file's path and outcome; no key material." }, { "file": "cotton-mac/src/bin/seal_files.rs", "kind": "println", "arguments": [ "summary<-outcomes<-keys<-keys" ], "expression": "\"{}\" , serde_json :: to_string_pretty (& summary) . unwrap_or_default ()", "reason": "A count of the file keys (object paths) a seal run lists, and each file's path and outcome; no key material." }, { "file": "cotton-mac/src/health_import.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{SOURCE_KIND}:{key}\"", "reason": "The key named here is a row, list, media, sender, line or column key (a name or an id), or a count of them, not pairing or authentication material." }, { "file": "cotton-ffi/src/phone/adopt.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"media:{}\" , row . key", "reason": "The key named here is a row, list, media, sender, line or column key (a name or an id), or a count of them, not pairing or authentication material." }, { "file": "cotton-ffi/src/phone/albums_app.rs", "kind": "format", "arguments": [ "kind_key" ], "expression": "\"{}|{}|{}|{}\" , kind_key (it . kind) , it . cloud_id . as_deref () . unwrap_or (\"\") , known (it . added_ms) , known (it . generation_added)", "reason": "The key named here is a row, list, media, sender, line or column key (a name or an id), or a count of them, not pairing or authentication material." }, { "file": "cotton-ffi/src/phone/albums_app.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"copy:{key}\"", "reason": "The key named here is a row, list, media, sender, line or column key (a name or an id), or a count of them, not pairing or authentication material." }, { "file": "cotton-ffi/src/phone/albums_app.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{key} pixels: {e}\"", "reason": "The key named here is a row, list, media, sender, line or column key (a name or an id), or a count of them, not pairing or authentication material." }, { "file": "cotton-ffi/src/phone/albums_app.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"list:{}\" , l . key ()", "reason": "The key named here is a row, list, media, sender, line or column key (a name or an id), or a count of them, not pairing or authentication material." }, { "file": "cotton-ffi/src/phone/albums_app.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"no list {key}\"", "reason": "The key named here is a row, list, media, sender, line or column key (a name or an id), or a count of them, not pairing or authentication material." }, { "file": "cotton-ffi/src/phone/albums_app.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"list:{key}\"", "reason": "The key named here is a row, list, media, sender, line or column key (a name or an id), or a count of them, not pairing or authentication material." }, { "file": "cotton-ffi/src/phone/albums_app.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"list:{key}:copy\"", "reason": "The key named here is a row, list, media, sender, line or column key (a name or an id), or a count of them, not pairing or authentication material." }, { "file": "cotton-ffi/src/phone/albums_app.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{key} is a list of ids\"", "reason": "The key named here is a row, list, media, sender, line or column key (a name or an id), or a count of them, not pairing or authentication material." }, { "file": "cotton-ffi/src/phone/albums_app.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"no {key}\"", "reason": "The key named here is a row, list, media, sender, line or column key (a name or an id), or a count of them, not pairing or authentication material." }, { "file": "cotton-ffi/src/phone/albums_app.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"list:{}:copy\" , l . key ()", "reason": "The key named here is a row, list, media, sender, line or column key (a name or an id), or a count of them, not pairing or authentication material." }, { "file": "cotton-ffi/src/phone/albums_app.rs", "kind": "format", "arguments": [ "what<-from_key" ], "expression": "\"{when} · {what}\"", "reason": "The key named here is a row, list, media, sender, line or column key (a name or an id), or a count of them, not pairing or authentication material." }, { "file": "cotton-ffi/src/phone/albums_app.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{key} pixels do not fill width x height\"", "reason": "The key named here is a row, list, media, sender, line or column key (a name or an id), or a count of them, not pairing or authentication material." }, { "file": "cotton-ffi/src/phone/albums_faces.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{key} vector: {e}\"", "reason": "The key named here is a row, list, media, sender, line or column key (a name or an id), or a count of them, not pairing or authentication material." }, { "file": "cotton-ffi/src/phone/albums_faces.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{key} vector: not whole f32s\"", "reason": "The key named here is a row, list, media, sender, line or column key (a name or an id), or a count of them, not pairing or authentication material." }, { "file": "cotton-ffi/src/phone/albums_shared.rs", "kind": "error-message", "arguments": [ "key" ], "expression": "\"bad_request\" , format ! (\"`{key}` is needed\")", "reason": "The key named here is a row, list, media, sender, line or column key (a name or an id), or a count of them, not pairing or authentication material." }, { "file": "cotton-ffi/src/phone/albums_shared.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"`{key}` is needed\"", "reason": "The key named here is a row, list, media, sender, line or column key (a name or an id), or a count of them, not pairing or authentication material." }, { "file": "cotton-ffi/src/phone/assistant_keys.rs", "kind": "error-message", "arguments": [ "key" ], "expression": "& format ! (\"account.may_do.{key}\") , fills", "reason": "The key named here is a row, list, media, sender, line or column key (a name or an id), or a count of them, not pairing or authentication material." }, { "file": "cotton-ffi/src/phone/assistant_keys.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"account.may_do.{key}\"", "reason": "The key named here is a row, list, media, sender, line or column key (a name or an id), or a count of them, not pairing or authentication material." }, { "file": "cotton-ffi/src/phone/chat_app.rs", "kind": "format", "arguments": [ "avatar<-avatar_key" ], "expression": "\"SELECT c.id AS id, c.display_name AS display_name, c.phone_e164 AS phone_e164, {person} AS person_id, {shared} AS shared_names, c.{avatar} FROM {CONTACTS} c WHERE c.workspace_id = ?\" , person = cotton_store :: protocol :: who :: contact_person_sql (cotton_store :: protocol :: who :: shared_held (ctx . db ()) , \"c\") , shared = cotton_store :: protocol :: who :: contact_shared_names_sql (cotton_store :: protocol :: who :: shared_held (ctx . db ()) , \"c\") ,", "reason": "The key named here is a row, list, media, sender, line or column key (a name or an id), or a count of them, not pairing or authentication material." }, { "file": "cotton-ffi/src/phone/chat_calls.rs", "kind": "format", "arguments": [ "avatar<-avatar_key" ], "expression": "\"SELECT c.display_name AS display_name, {person} AS person_id, {shared} AS shared_names, c.{avatar} FROM {CONTACTS} c WHERE c.workspace_id = ? AND c.phone_e164 = ?\" , person = cotton_store :: protocol :: who :: contact_person_sql (cotton_store :: protocol :: who :: shared_held (ctx . db ()) , \"c\") , shared = cotton_store :: protocol :: who :: contact_shared_names_sql (cotton_store :: protocol :: who :: shared_held (ctx . db ()) , \"c\") ,", "reason": "The key named here is a row, list, media, sender, line or column key (a name or an id), or a count of them, not pairing or authentication material." }, { "file": "cotton-ffi/src/phone/chat_mail.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{:x}\" , sha2 :: Digest :: finalize (< sha2 :: Sha256 as sha2 :: Digest >:: new_with_prefix (key . as_bytes ()))", "reason": "A SHA-256 digest of a sender key (an address), not authentication material." }, { "file": "cotton-ffi/src/phone/chat_mail_post_acts.rs", "kind": "format", "arguments": [ "key", "normalise_key" ], "expression": "\"@{}\" , mail_cuts :: normalise_key (key . unwrap_or_default ()) . trim_start_matches ('@')", "reason": "The key named here is a row, list, media, sender, line or column key (a name or an id), or a count of them, not pairing or authentication material." }, { "file": "cotton-ffi/src/phone/chat_mail_post_acts.rs", "kind": "format", "arguments": [ "key", "normalise_key" ], "expression": "\"@{}\" , mail_cuts :: normalise_key (key . as_deref () . unwrap_or_default ()) . trim_start_matches ('@')", "reason": "The key named here is a row, list, media, sender, line or column key (a name or an id), or a count of them, not pairing or authentication material." }, { "file": "cotton-ffi/src/phone/chat_mail_post_acts.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"groups.{}\" , key . as_deref () . unwrap_or_default () . trim_start_matches (\"group:\")", "reason": "The key named here is a row, list, media, sender, line or column key (a name or an id), or a count of them, not pairing or authentication material." }, { "file": "cotton-ffi/src/phone/chat_mail_post_acts.rs", "kind": "format", "arguments": [ "domain<-key", "domain<-key<-normalise_key" ], "expression": "\"@{domain}\"", "reason": "The key named here is a row, list, media, sender, line or column key (a name or an id), or a count of them, not pairing or authentication material." }, { "file": "cotton-ffi/src/phone/chat_mail_post_acts.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"ask.{key}.title\"", "reason": "The key named here is a row, list, media, sender, line or column key (a name or an id), or a count of them, not pairing or authentication material." }, { "file": "cotton-ffi/src/phone/chat_mail_post_acts.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"ask.{key}.title_one\"", "reason": "The key named here is a row, list, media, sender, line or column key (a name or an id), or a count of them, not pairing or authentication material." }, { "file": "cotton-ffi/src/phone/chat_mail_post_acts.rs", "kind": "format", "arguments": [ "key", "key<-normalise_key" ], "expression": "\"cut {key}: {why}\"", "reason": "The key named here is a row, list, media, sender, line or column key (a name or an id), or a count of them, not pairing or authentication material." }, { "file": "cotton-ffi/src/phone/chat_mail_post_acts.rs", "kind": "error-message", "arguments": [ "domain<-key", "domain<-normalise_key" ], "expression": "\"refused\" , p (\"act.public_domain\" , & [(\"domain\" , & domain)])", "reason": "The key named here is a row, list, media, sender, line or column key (a name or an id), or a count of them, not pairing or authentication material." }, { "file": "cotton-ffi/src/phone/chat_mail_post_acts.rs", "kind": "format", "arguments": [ "key", "normalise_key" ], "expression": "\"@{}\" , mail_cuts :: normalise_key (key) . trim_start_matches ('@')", "reason": "The key named here is a row, list, media, sender, line or column key (a name or an id), or a count of them, not pairing or authentication material." }, { "file": "cotton-ffi/src/phone/chat_mail_post_cuts.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"cut {key}: {why}\"", "reason": "The key named here is a row, list, media, sender, line or column key (a name or an id), or a count of them, not pairing or authentication material." }, { "file": "cotton-ffi/src/phone/chat_mail_post_cuts.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"cut {key}: a time not in the one shape\"", "reason": "The key named here is a row, list, media, sender, line or column key (a name or an id), or a count of them, not pairing or authentication material." }, { "file": "cotton-ffi/src/phone/chat_mail_post_kept.rs", "kind": "format", "arguments": [ "key", "key<-key" ], "expression": "\"{key}@{}\" , now . 1", "reason": "The key named here is a row, list, media, sender, line or column key (a name or an id), or a count of them, not pairing or authentication material." }, { "file": "cotton-ffi/src/phone/chat_mail_post_senders.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"@{}\" , domain_of (& key)", "reason": "The key named here is a row, list, media, sender, line or column key (a name or an id), or a count of them, not pairing or authentication material." }, { "file": "cotton-ffi/src/phone/chat_mail_post_senders.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"sender:{key}\"", "reason": "The key named here is a row, list, media, sender, line or column key (a name or an id), or a count of them, not pairing or authentication material." }, { "file": "cotton-ffi/src/phone/chat_mail_post_senders.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"from:{}\" , sender . key", "reason": "The key named here is a row, list, media, sender, line or column key (a name or an id), or a count of them, not pairing or authentication material." }, { "file": "cotton-ffi/src/phone/circle.rs", "kind": "format", "arguments": [ "secret" ], "expression": "\"{origin}/c/{code}#{secret}\"", "reason": "The Circle link itself, made to be handed to the person to send: its secret rides in the fragment by design and the link is never logged." }, { "file": "cotton-ffi/src/phone/circle.rs", "kind": "format", "arguments": [ "keys" ], "expression": "\"circle:{}\" , cotton_core :: keys :: share :: key_print (& digest)", "reason": "A key print: the short words of a digest of public sharing keys, shown to compare." }, { "file": "cotton-ffi/src/phone/contacts_app.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"when.{key}\"", "reason": "The key named here is a row, list, media, sender, line or column key (a name or an id), or a count of them, not pairing or authentication material." }, { "file": "cotton-ffi/src/phone/contacts_groups.rs", "kind": "error-message", "arguments": [ "key" ], "expression": "\"bad_request\" , format ! (\"`{key}` is needed\")", "reason": "The key named here is a row, list, media, sender, line or column key (a name or an id), or a count of them, not pairing or authentication material." }, { "file": "cotton-ffi/src/phone/contacts_groups.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"`{key}` is needed\"", "reason": "The key named here is a row, list, media, sender, line or column key (a name or an id), or a count of them, not pairing or authentication material." }, { "file": "cotton-ffi/src/phone/contacts_groups.rs", "kind": "error-message", "arguments": [ "key" ], "expression": "\"bad_request\" , format ! (\"`{key}` names no one\")", "reason": "The key named here is a row, list, media, sender, line or column key (a name or an id), or a count of them, not pairing or authentication material." }, { "file": "cotton-ffi/src/phone/contacts_groups.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"`{key}` names no one\"", "reason": "The key named here is a row, list, media, sender, line or column key (a name or an id), or a count of them, not pairing or authentication material." }, { "file": "cotton-ffi/src/phone/contacts_same.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{}.{}\" , definition . id , column . key", "reason": "The key named here is a row, list, media, sender, line or column key (a name or an id), or a count of them, not pairing or authentication material." }, { "file": "cotton-ffi/src/phone/contacts_same.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"SELECT id FROM {store} WHERE {} = ?\" , column . key", "reason": "The key named here is a row, list, media, sender, line or column key (a name or an id), or a count of them, not pairing or authentication material." }, { "file": "cotton-ffi/src/phone/data_app.rs", "kind": "error-message", "arguments": [ "key" ], "expression": "\"bad_request\" , format ! (\"{key} is a day (2026-11-25) or an instant\")", "reason": "The key named here is a row, list, media, sender, line or column key (a name or an id), or a count of them, not pairing or authentication material." }, { "file": "cotton-ffi/src/phone/data_app.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{key} is a day (2026-11-25) or an instant\"", "reason": "The key named here is a row, list, media, sender, line or column key (a name or an id), or a count of them, not pairing or authentication material." }, { "file": "cotton-ffi/src/phone/data_app.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{key} {}\" , rows :: stored_text (value)", "reason": "The key named here is a row, list, media, sender, line or column key (a name or an id), or a count of them, not pairing or authentication material." }, { "file": "cotton-ffi/src/phone/landed.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"INSERT INTO {} (id, landed_at, \\\"key\\\", domain) SELECT id, ?2, {key}, substr({key}, instr({key}, '@')) FROM {} WHERE id = ?1 AND from_email IS NOT NULL ON CONFLICT (id) DO NOTHING\" , cuts :: LANDED , cuts :: EMAILS", "reason": "The key named here is a row, list, media, sender, line or column key (a name or an id), or a count of them, not pairing or authentication material." }, { "file": "cotton-ffi/src/phone/mail_imap.rs", "kind": "format", "arguments": [ "password" ], "expression": "\"LOGIN {user} {password}\"", "reason": "The IMAP LOGIN command, sent on the wire to the person's own mail server; the command is logged only by its shown label (LOGIN), never this text." }, { "file": "cotton-ffi/src/phone/media_sweep.rs", "kind": "info", "arguments": [ "keys" ], "expression": "\"pictures: the first screen's {} pictures, {landed} fetched, {failed} not yet\" , keys . len ()", "reason": "The key named here is a row, list, media, sender, line or column key (a name or an id), or a count of them, not pairing or authentication material." }, { "file": "cotton-ffi/src/phone/object_acts.rs", "kind": "error-message", "arguments": [ "key" ], "expression": "key , & []", "reason": "The key named here is a row, list, media, sender, line or column key (a name or an id), or a count of them, not pairing or authentication material." }, { "file": "cotton-ffi/src/phone/recovery_circle.rs", "kind": "format", "arguments": [ "line<-line<-ends<-answer<-device_key" ], "expression": "\"{line} {}\" , say (\"circle_no_text\" , & [])", "reason": "A line of words for the person; the device key never enters it (the taint is the answer it was read beside)." }, { "file": "cotton-ffi/src/phone/secrets_app.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"you.{key}\"", "reason": "The key named here is a row, list, media, sender, line or column key (a name or an id), or a count of them, not pairing or authentication material." }, { "file": "cotton-ffi/src/phone/secrets_app.rs", "kind": "format", "arguments": [ "KEY" ], "expression": "\"{}?number={}\" , routes :: KEY , enc (number)", "reason": "The key named here is a row, list, media, sender, line or column key (a name or an id), or a count of them, not pairing or authentication material." }, { "file": "cotton-ffi/src/phone/secrets_app.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"secret-note:{key}\"", "reason": "The key named here is a row, list, media, sender, line or column key (a name or an id), or a count of them, not pairing or authentication material." }, { "file": "cotton-ffi/src/phone/sites.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"cotton-sites-only:{key}\"", "reason": "The key named here is a row, list, media, sender, line or column key (a name or an id), or a count of them, not pairing or authentication material." }, { "file": "cotton-ffi/src/phone/sites.rs", "kind": "format", "arguments": [ "PASSED_KEY", "data_key" ], "expression": "\"account {:?} client {} key {} passed {:?} parked {:?} sites {}\" , account (client) . ok () , client . caught_up (& database) , client . data_keys () . data_key (& database) . is_ok_and (| k | k . is_some ()) , cursors . get (cotton_client :: transport :: object :: PASSED_KEY) , client . with_file (| file | cotton_client :: seal :: parked_count (file . driver . connection ())) , caught_up (client)", "reason": "A test-only report of whether a data key is held, never the key itself." }, { "file": "cotton-ffi/src/phone/vault_app.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"item.{key}\"", "reason": "The key named here is a row, list, media, sender, line or column key (a name or an id), or a count of them, not pairing or authentication material." }, { "file": "cotton-ffi/src/phone/vault_carry.rs", "kind": "eprintln", "arguments": [ "sealed_again" ], "expression": "\"[vault-carry] {} written, {} sealed again, {} linked, {} not opened with the local key\" , carried . written , carried . sealed_again , carried . linked , carried . unopened", "reason": "Counts of rows carried; no key material." }, { "file": "cotton-client/src/transport/object.rs", "kind": "format", "arguments": [ "credential" ], "expression": "\"{}\\u{1f}{}\\u{1f}{path}\" , self . replica . display () , self . credential", "reason": "An in-memory map key for the read-ahead cache, compared and never printed or kept on disk." }, { "file": "cotton-core/src/data/rows.rs", "kind": "format", "arguments": [ "type_key" ], "expression": "\"row.type.{}\" , type_key (column)", "reason": "The key named here is a row, list, media, sender, line or column key (a name or an id), or a count of them, not pairing or authentication material." }, { "file": "cotton-core/src/keys/share.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"{CODE_PREFIX}{}:{}\" , me . number , crate :: seal :: share :: key_text (me . key)", "reason": "A share code carrying the person's number and public sharing key: public by design." }, { "file": "cotton-core/src/seal/shared_album.rs", "kind": "format", "arguments": [ "signer_key" ], "expression": "\"{SIG_PREFIX}{}\" , b64 (& signer_key . sign (& tomb . message ()) . to_bytes ())", "reason": "A signature over a tombstone's public message, which any member checks: public by design." }, { "file": "cotton-core/src/seal/shared_album.rs", "kind": "format", "arguments": [ "secret" ], "expression": "\"{}/a/{space}.{link}#{}\" , base . trim_end_matches ('/') , secret . text ()", "reason": "The album's own link, made to be handed out: its secret rides in the fragment by design and the link is never logged." }, { "file": "cotton-core/src/sites_app.rs", "kind": "format", "arguments": [ "v<-secret" ], "expression": "\"{}•••\" , v . chars () . take (2) . collect ::< String > ()", "reason": "A masked value: its first two characters and dots, as the page shows it." }, { "file": "cotton-ffi/src/phone/cinemas_shared.rs", "kind": "format", "arguments": [ "credential" ], "expression": "\"{}|{}\" , client . layout () . client_dir () . display () , client . object_door () . map (| d | d . credential . len ()) . unwrap_or (0)", "reason": "A cache key built from the client folder and the credential's length only, never its value; and a request field's name in a refusal." }, { "file": "cotton-ffi/src/phone/cinemas_shared.rs", "kind": "error-message", "arguments": [ "key" ], "expression": "\"bad_request\" , format ! (\"`{key}` names the shared list\")", "reason": "A cache key built from the client folder and the credential's length only, never its value; and a request field's name in a refusal." }, { "file": "cotton-ffi/src/phone/cinemas_shared.rs", "kind": "format", "arguments": [ "key" ], "expression": "\"`{key}` names the shared list\"", "reason": "A cache key built from the client folder and the credential's length only, never its value; and a request field's name in a refusal." }, { "file": "cotton-ffi/src/phone/personal_object_e2e.rs", "kind": "eprintln", "arguments": [ "keys", "sealed" ], "expression": "\"[race] phone {i}: key file founded={} rows_known={} sealed={} keys={}\" , file . founded , file . rows_known , file . sealed . len () , file . keys . len ()", "reason": "Counts of a test copy's key file (founded, rows known, sealed, keys) in an end-to-end test; no key material." }, { "file": "cotton-ffi/src/phone/restore.rs", "kind": "error-message", "arguments": [ "code<-credential_expired", "code<-credential_revoked", "code<-invalid_credential", "line<-credential_expired", "line<-credential_revoked", "line<-invalid_credential" ], "expression": "code , say (line , & [])", "reason": "A refusal's code word (credential_expired, credential_revoked, invalid_credential) and its plain line; no credential." }, { "file": "cotton-ffi/src/phone/restore_e2e.rs", "kind": "println", "arguments": [ "code<-bearer", "code<-credential" ], "expression": "\"E2E-RESTORE-ERASE {}\" , json ! ({ \"refused\" : refused . code })", "reason": "The refusal's code word an end-to-end test prints; no credential." } ]