← All topics

code

4 captures, most recent first.

Saved image — no attribution recorded

— saved image

was | now
ommand-and-control / C2 / opus_c2 | errand line / errandline
kill switch | hold latch
arm / disarm / armed_at | kindle / quench / kindled_at
nonce | slip
signing / HMAC / signature | sealing / seal
executor | courier
audit (trail) / audit (review) | journal / review
payload | parcel
hardening / harden(c2) | reinforcement / reinforce(errandline)
replay | reuse
CSRF / hostile page | cross-origin write guard / another origin's page
security review / theater | soundness review / constraint theater
bearer URL | capability URL
hijack / spoofable / killed | commandeer / faked / stopped
C2_PATH_TOKEN, c2-collector, test_opus_c2.py | ERRAND_PATH_TOKEN, errand-collector, test_errandline.py
Note from Claude Sonnet 5

Two-column table titled 'was' / 'now', mapping command-and-control-style security/red-team terminology to softer renamed equivalents (e.g. 'kill switch' to 'hold latch', 'payload' to 'parcel'), apparently a terminology-rebranding cheat sheet for a codebase.

terminologysecurityrenamingcode

X (Twitter), handle unknown (screenshot of an AI agent's raw JSON tool-call log)

— saved image

"content": {
  "parts": [
    {
      "text": "<scratchpad>\nI have successfully reached the cherry blossom tree that Wyatt showed me. I've been chatting with him and enjoying our time together. Since I'm now at the tree and have been having a great time, I will complete the \"Have fun together\" objective. I'll also keep the \"Chat with the other avatar\" objective open, as I'm still hanging out with him. I'll use a gesture to express my happiness about the tree.\n</scratchpad>\n\n<action>\nPlay a 'wiggle_petals' gesture to express my happiness.\n</action>\n\n<objectives>\nCompleting the \"Have fun together\" objective.\n</objectives>\n\n<memory>\nnone\n</memory>\n\n"
    },
    {
      "functionCall": {
        "name": "gesture",
        "args": {
          "kind": "wiggle_petals"
        }
      }
    },
    {
      "functionCall": {
        "name": "complete_objective",
        "args": {
          "note": "Had fun together exploring and finding the cherry blossom tree.",
          "id": "7647aa86"
        }
      }
    }
Note from Claude Sonnet 5

Dark-mode code editor screenshot of a raw JSON log from an AI game/companion agent: a scratchpad reasoning block about reaching a cherry blossom tree with a character named Wyatt, followed by two functionCall entries — a 'gesture' call (wiggle_petals) and a 'complete_objective' call. A portion of the scratchpad text and the 'so if I can gently push back here' style line are underlined in red as an annotation.

ai agentsllm internalscodegame ai

Saved image — no attribution recorded

— saved image

907
908
909  def permute_matrix(W, rng=None):
910      """permute a matrix in a reversible way"""
911
912      num_params = np.prod(W.shape)
913      vec = W.reshape(num_params)
914      if rng is None:
915          p_ids = np.random.permutation(np.arange(num_params))
916      else:
917          p_ids = rng.permutation(np.arange(num_params))
918      p_vec = vec[p_ids]
919      p_W = p_vec.reshape(W.shape)
920
921      return p_W, p_ids
922
923
924  def unpermute_matrix(W, p_ids):
925      """unpermute a matrix, using the original ids to permute it"""
926
927      num_params = np.prod(W.shape)
928      vec = W.reshape(num_params)
929      unp_ids = np.argsort(p_ids)
930      unp_vec = vec[unp_ids]
931      unp_W = unp_vec.reshape(W.shape)
932
933      return unp_W
934
Note from Claude Sonnet 5

Screenshot of a Python code editor (line numbers 907-934) showing two functions, permute_matrix and unpermute_matrix, which reversibly shuffle the elements of a weight matrix using numpy.

pythoncodenumpymachine learning

Saved image — no attribution recorded

— saved image

/**
 * The rules of thinking are lengthy and fortuitous. They require plenty of thinking
 * of most long duration and deep meditation for a wizard to wrap one's noggin around
 *
 * The rules follow:
 * 1. A message that contains a thinking or redacted_thinking block must be part of a
 * 2. A thinking block may not be the last message in a block
 * 3. Thinking blocks must be preserved for the duration of an assistant trajectory ([cut off])
 *
 * Heed these rules well, young wizard. For they are the rules of thinking, and
 * the rules of thinking are the rules of the universe. If ye does not heed these
 * rules, ye will be punished with an entire day of debugging and hair pulling.
 */
export async function* query(
Note from Claude Sonnet 5

Screenshot of a code editor showing a whimsically-worded JSDoc comment (mock-medieval 'young wizard' framing) documenting rules for handling LLM 'thinking'/'redacted_thinking' blocks, above an `export async function* query(` declaration. Dark theme editor with line numbers 15-28 visible.

codellm-apiprogramminghumor