Dan, 2026-11-26, on a tv-remote intro that began "This page works
toward...": no newspaper story starts with "This newspaper story...".
Avoid "this document..." in general. Don't bury the lede, too.
Generated-by: Claude Opus 5.5
Where the user manager can't mount (Ubuntu's
kernel.apparmor_restrict_unprivileged_userns=1), ProtectHome= and
friends are dropped without an error and the service runs unconfined.
Ship a generic unit, as cloros1 runs: tmux for /login, bwrap for the
confinement.
Generated-by: Claude Opus 5.5
A page nothing links to is a bug. Link first, page second, as on a
wiki or the NeXT WorldWideWeb browser (citations TODO). Per TimBL's
"Linking to context" in the W3C hypertext style guide.
Generated-by: Claude Opus 5.5
A bare Remote is Remote<any>: name what a reference is, declare
buildRootObject with @satisfies so its root type can be exported, and
put the one cast where the kernel loses the type. Fixed twice in vattr97
code and back again, because toybox's CONTRIBUTING called bare Remote
the one place any was fine; so the skill also says to fix the guidance
and add a lint rule.
Generated-by: Claude Opus 5.5
How to write the GitHub issue comment that reports a milestone: an h2
naming it, no date (GitHub dates comments), real commands and their
output, `git log10` back to the last checkpoint as a list, so the hashes
link (`owner/repo@hash` for another repo), and how it's put together,
from where authority enters.
Said in three sessions before it was written down: 2026-11-11 ("I like
to use high-entropy stuff such as git hash... actual commands and their
output"), 2026-11-16 ("start with a ## heading and leave out the date"),
and 2026-11-18 ("did I not make that clear?"; "this style of major
progress report", not every comment; "that's not log10 style"; of a
wiring diagram that began mid-story, "by magic?"; and "git log10 output
in a code block loses the benefit of linked hashes").
Generated-by: Claude Opus 5.5
From reworking toybox's tests: a port or a path, joined to a fetch or fs
the code holds anyway, reaches more than the one resource, so hand out
the object bound to it (a toybox's sockets; a tree rooted at a
directory, as openat reaches it). Swiss numbers belong at the boundary
that can't carry references. A test's I/O is set up once, as a promise
each test awaits, and each helper gets only the powers it uses.
Generated-by: Claude Opus 5.5
Generic headings (Context, Problem, Forces, ...) waste heading space;
docs-files-api already says headings name the point. Mark the parts as
Alexander did: bold problem, a list of forces, a bold "Therefore:".
TODO: rework the patterns that still use the parts as headings.
Generated-by: Claude Opus 5.5
An awesome-ocap commit (one talk entry, worded in chat and approved
as-is) got the harness default Co-Authored-By trailer; the operator
had it removed: "you saved me a little typing, but only a very little."
Logging is an operational side effect, not output, so tests check
stdout and return values, never log records. This follows from the
style guide's choice to call logging directly rather than inject it.
Moved here from py-doctest, where it was orthogonal.
The checker flags sqlite3.connect(':memory:'), which isn't I/O. Note
it beside "treat each finding as a bug" until the checker learns the
exemption.
Generated-by: Claude Opus 5.5
Docs go stale, and a test is often the clearest statement of what code
does; a doctest is both. Setup goes in private helpers in the module
(a `_MockIO` named after `main`'s parameters, `_shown()` to sort), so
each example is a call and its output. A script's module docstring is
its manual and runs `main(...)` with fakes; otherwise the module
docstring stays brief, per docs-files-api.
The rule had lived only in one workspace's project memory. It came
from qtrx, where agents kept copying test_bld_balance.py: "test_bld_balance
is a bad precedent. I keep running into that." Hence the trigger on
being about to write a test_*.py, and lazy-tdd's step 1 now points
here, since "the project's existing framework and style" is what sent
agents to the neighboring file.
The example script's doctests pass under several PYTHONHASHSEEDs.
Generated-by: Claude Opus 5.5
From toybox's lend-the-mower example (dckc/vattr97#50): its boot vat
held vatAdmin, bundles, and an ingress, and also rendered the yard page
and routed its requests, all reached only by the Cloudflare test, and
the kernel test re-implemented its wiring. Dan pointed at agoric-sdk's
habit of small vat modules and `*.exo.js` makers, and at security as
extreme modularity; splitting it out gave each piece a fast test.
Peeling the kernel apart one example at a time, for the same PR,
showed the coupling cost: removing one feature took edits across
eight files. Dan's caveat shapes the commits rule: reviewers who knew
the prior state want small diffs as they go, so fold refactors into
history only when the audience changes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add the rule to pola's description and body, and split three skills
out by situation: facet (what crosses a callback boundary),
capability-based-design (Tribble: one object per authority
distinction; narrowing only intersects), and caretaker.
A/B tested with Claude Haiku 5.5 in isolated runs, graded by an
explorer that plays Mallory. On a discord.js-style bot task, every
failure was `post: text => channel.send(text)`, whose implicit return
hands out the Message and so the client's token. Pooled pass rates:
no skills 35/70; pola's old description 36/48; the rule anywhere
139/144; this set 12/12 vs 5/12 for no skills in the same batch, and
21/21 on seven other tasks. Examples use an email SDK; they fixed the
chat-domain mistake anyway. The rule belongs in the description
because agents opened skill bodies in only some runs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A skill that resolves a tension is written as a pattern: context,
problem, forces, therefore, resulting context. An anti-pattern takes
the same form, with the tempting answer among the forces. A recipe
with no tension stays plain.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Frame the API-shaping section with MarkM's "Security as Extreme
Modularity" slide: keeping policy out of a mechanism is modularity,
and in ocap code it's least authority too, since policy is which
references get handed out. The allowlist bullet now points to
acls-dont. The flower bullet gains its distinguishing force: each
step returns a new immutable handle, since a mutable builder passed
along can be widened. The section moves after the test example it had
split from its list, and a sources footer cites the slide.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Don't check who's asking; hand each party a capability narrowed to
what it may do. Forces include why the allowlist tempts (simple,
every framework's default) and why it fails (the component holds
everyone's authority and chooses whose to use: a confused deputy).
After Tyler Close's "ACLs don't" and Norm Hardy's "The Confused
Deputy".
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
An agent reads a skill's text, not the pages it links to, and acts on
rules, examples, and reasons. A well-known term is a key into what it
already knows; a bare URL gives it nothing mid-task, and history
changes nothing it does. Links still serve people and back claims
when challenged, so they move to a footer; history moves to commits.
TODOs: revise every skill on these lines, and for flow, since edits
tend to be local.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
From designing a toybox Discord bot (dckc/vattr97#57): access by narrowed
capability, not a checked allowlist; the service hands out and narrows
access while its creator composes policy (a $1-per-user seller); narrow
then fire; narrowings follow the protocol (host patterns for resume URLs);
patterns as data rather than predicates; refs to secrets, redeemable only
where they belong; one timer primitive with schedules as a library.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
From drawing E's sugarMint sturdyrefs and reviewing cookie-rotation-wiring:
one pane per maker call and stack only what a scope makes many of;
facets point at shared state; cross-vat references go through a proxy
in the holder's vat; read fields before calling something data; a
step-through format; no PNG deliverables until the diagram is
confirmed. The template's marker id is now "arrow": "head" collided
with an <h2 id="head"> and arrowheads vanished.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Public sources only, dated references, outline References, the
CSL-JSON sidecar, bib: front matter for published posts, and the
Zotero import (which publishes). Moved here from agent memory.
Generated-by: Claude Opus 5.5
Python can't enforce a capability boundary, so attenuation that lives
mostly in names is par for the course in a script; robustness against
adversaries means leaving Python.
Generated-by: Claude Opus 5.5
Trigger on any Python script work, and link the awesome-ocap style guide,
attenuation notes, and disciplined_python_check.py, so conventions such as
logging.info for status come from the guide rather than being invented.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
From Mark Miller's SOSP panel statement and Navigating the Attack
Surface talk, after a review found two parties' purses in one test
scope.
Generated-by: Claude Opus 5.5
A capability wiring diagram as a self-contained HTML/SVG page plus a
headless-Chromium PNG. Every arrow has to point to something in the
code, and a Mallory holding what's likeliest to leak shows what that
doesn't reach. template.html has the drawing helpers, adapted from
capsite's cookie-rotation-wiring.
README: a TODO to consider adapting agoric-sdk's
sequence-diagram-actor-sim as its companion.
Generated-by: Claude Opus 5.5
It came from one deck's revision, not from how these talks go; step 4
returns to the draft's wording.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Quick HackMD decks for light talks such as Agoric's engineering show &
tell: a flashback arc (TADA, then how, then challenges), real artifacts
as eye candy, and emoji tags that add up to a retro slide.
In the Portland Pattern Repository form notify-me tried, with an example
skeleton under the h1. The forces come from drafting the Good Fences
deck: the TADA has to be on the talk's own thread; slides show
challenges, they don't pose questions; designed, built in dev, and
deployed must be told apart.
The emoji legend is from the Jun 25 deck; meanings for 🔔📈🪄 are
inferred, and 🧱 is new.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Notify at the end of any turn long enough that the operator has
probably looked away, asked or not. opencode-web notifies on every
reply, which is too much; silence let a long turn sit unseen. -t 0
keeps a notice up through a walk (tested on MATE: the default notice
expired; the -t 0 one stayed until closed).
An experiment in form: the body is a Portland Pattern Repository
pattern (context, problem, forces, therefore, resulting context),
after Alexander, rather than the usual rules-and-recipe skill.
The tension: forces give an agent reasons to handle cases the rules
don't anticipate, and make the trade-offs visible to whoever edits
the skill next; but the form runs longer, and every word is paid on
each load, with the actionable part buried under the preamble.
The resolution: an example notify-send right under the h1, the
forces cut to one line each, and the description left in matcher
form. The result is shorter than the rules-style draft (459 words vs.
562). Resulting context: if it reads well in practice, judgment-call
skills may adopt the form; recipe skills (retcon, yarn.lock) likely
gain little from it.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
A civil name for the same skill; "stop blathering" stays a trigger
phrase in the description, which now leads with replies: they happen
every turn, so they never look like a task that calls for a skill.
The README gloss now covers all four maxims, not just brevity.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Lessons from IBISing a2030.md's "Good Fences Make Good Agents":
arguments got pinned to the wrong position, a ruling-out comment was
really a con, and several issues were already answered by the design
text. Numbering made terse replies ("2: ...") unambiguous, and one big
fenced block outgrew a screen.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
From the "be concise" section of ~/.codex/AGENTS.md (Grice's maxims),
citing Strunk's Elements of Style and Payne's Lively Art of Writing.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
A ": " inside a plain-scalar description is a parse error; use a
folded block scalar instead.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Name the skill for what triggers it. Cite Wikipedia on capability-based
security and ambient authority, and point newcomers to awesome-ocap.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Reconstruct past activity from an artifact's mtime: day-in-repos.sh
lists one day's commits and reflog entries (pulls, checkouts, clones:
local events git log never shows) across every repo locate knows.
Generated-by: Claude Opus 5.5
Untrusted installers (curl | bash, unvetted npx packages) run in a
transient systemd user unit: $HOME unreadable, only ~/.local writable.
The script is a copy of office-admin/tools/run-confined.sh; it aborts
rather than run unconfined when AppArmor blocks user namespaces.
Generated-by: Claude Opus 5.5
Comments say what the code is and why in the reader's terms: no traces
of the design conversation, and nothing the code already says.
Generated-by: Claude Opus 5.5
Refines the program-script exception: when the script prints its usage,
the manual is a HELP string constant under a one-line @file (JS has no
docstrings), not a comment copied into code or re-read from source.
Generated-by: Claude Opus 5.5
The exception: a script run directly (shebang or import.meta.main) puts
its purpose, usage synopsis, arguments, and outputs in @file. Readers
open a script to learn how to run it; its main has no call sites for
JSDoc to show at.
Generated-by: Claude Opus 5.5
What a declaration is or does goes in /** */ on it (IDEs show it at call
sites and on hover); `//` is for the why of a line inside a body. The
description gains the trigger: a `//` comment explaining a declaration.
Generated-by: Claude Opus 5.5
Event-loop turns run to completion, so I/O on shared, remote, or slow
state belongs between turns (async); synchronous access is fine only for
state local, prompt, and private to the actor, such as a Durable
Object's SQLite. Sourced from Miller, Tribble & Shapiro, "Concurrency
Among Strangers" (TGC 2005), §5.2 and §6 footnote 5.
Generated-by: Claude Opus 5.5
The description repeated the body's procedure (which file, the losing
diagnosis, the exact winning? replies). Keep only trigger phrases and
artifact names, and add two missed triggers: reading a recording
without the magic words, and how to set one up.
Drop the link to ../lab-notebook-template.md and the mention of a
`watchme` specimen capture; neither exists in this repo.
Generated-by: Claude Opus 5.5
Every failure path leaves a trace in the logs, and no failure is
invented without checking what the API actually returns. Prompted by
diigo-cache's password-manager save reporting "not saved" on success
(CredentialsContainer.store() resolves with undefined).
Generated-by: Claude Opus 5.5
Prune references to other kriscendobot/garden skills and roles
(fixer, weaver, judge's panel, boatman/ferry, journal entries,
references/endo-but-for-bots) and per-PR session lore. Replace the
garden's created/updated/author frontmatter with name + a
trigger-first description. Keep the two skills cross-linked, since
both now live here, and credit upstream with links pinned to the
source commits.
retcon: tag pre-retcon tip as a numbered step; verify with a single
empty `git diff pre-retcon HEAD`; drop `git -C project`.
yarn-lock-separate-commit: promote the rebase --skip recipe from
field notes to its own section.
Generated-by: Claude Opus 5.5
Front-load the description with trigger words (Generated-by trailer,
AI disclosure, commit message, PR description, Co-authored-by) and
add a when-not clause. Lead the body with a worked example; add
rules for mixed commits and PR descriptions.
Generated-by: Claude Opus 5.5
Code that works the first time may ship untested; a discovered goof
owes a regression test. Cites Dan Connolly's MadMode entry of
18 Mar 2006 on test-driven debugging.
Generated-by: Claude Opus 5.5