[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6BSQ6AXP0FM9E6NGVA01XED":3,"skill-same:01M6BSQ6AXP0FM9E6NGVA01XED":115},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":40,"linkOnly":41,"markdownContent":42,"markdownBody":43,"frontMatter":44,"refName":47,"commitSha":48,"skillDirectory":49,"forksCount":50,"repositoryHtmlUrl":51,"repositoryHomepageUrl":52,"ownerHtmlUrl":53,"ownerBlogUrl":54,"ownerDescription":6,"updatedAt":55,"install":56,"resources":68},"01M6BSQ6AXP0FM9E6NGVA01XED","carnet",null,"Work the private register (Atmosphere\u002Fatmosphere-carnet) from a session — claim an issue before touching it so peers see who holds it and which session, release or close it when done, file new issues in the one canonical shape. Use whenever a carnet#N or registre#N issue is mentioned, when you start or stop work that an issue tracks, or when you are about to run gh issue against the tracker.","Atmosphere\u002Fatmosphere","Atmosphere","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F318873?v=4","01M6BSPYD9QQA0JP3Z913W9PRV","Atmosphere Framework","01M6BSPYHYTTF1B7JPD17B8N5S",3834,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FAtmosphere\u002Fatmosphere\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcarnet\u002FSKILL.md",[],[5,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39],"stop","new","when","which","canonical","you","atmosphere","close","done","claim","tracker","status","issue","work","start","gh issue","file","issues","release","run","create","2026-11-10 10:12:30",false,"---\nname: carnet\ndescription: Work the private register (Atmosphere\u002Fatmosphere-carnet) from a session — claim an issue before touching it so peers see who holds it and which session, release or close it when done, file new issues in the one canonical shape. Use whenever a carnet#N or registre#N issue is mentioned, when you start or stop work that an issue tracks, or when you are about to run gh issue against the tracker.\nargument-hint: \u003Cclaim|release|status|mine|create|close|label|tracker> [args]\nuser-invocable: true\n---\n\n# Carnet\n\nThe register is `Atmosphere\u002Fatmosphere-carnet`, named by `registre.toml`. It is **private**\nbecause this repo is public and an entry states precisely where a defence or a capability is\nincomplete. Many Claude Code sessions work it at once, and nothing on a GitHub issue says a\nsession is on it, so peers collide: two sessions pick up the same issue and build the same fix\ntwice, or find the same gap and write it up twice. A **claim** fixes that. It is three native\nGitHub facts that move together:\n\n| Carrier | Meaning |\n|---|---|\n| assignee | the human accountable (gh login) |\n| label `in-progress` | a live session holds the issue |\n| newest `carnet-claim` marker comment | **which** session — id, name, user, host, pid, repo, branch, time |\n\nOne script does everything: `.agents\u002Fskills\u002Fcarnet\u002Fcarnet.sh` (also reachable through the\n`.claude\u002Fskills\u002Fcarnet` link). Never run `gh issue` against the tracker by hand — the script is\nthe one path that keeps the three carriers consistent and the title shape uniform.\n\n## The rules\n\n1. **Claim before the first edit — and it happens without you.** The PreToolUse hook claims\n   every issue the prompt named as soon as you touch a write tool, so an issue you were told\n   about is held before your first edit lands, and the hook tells you so. Run `claim \u003Cn>`\n   yourself when the number never appeared in a prompt (you found the issue by searching, or\n   you are picking up work mid-session), and when the hook tells you it **could NOT claim** an\n   issue — gh logged out, the tracker unreachable: it is not held, and peers see it unclaimed.\n   Not after the commit: a claim made after the work is done protects nobody.\n2. **A refusal is a peer, not an obstacle.** Exit code 2 means another *live* session holds\n   the issue, or a session on another host does. Tell the user who and which session, and\n   stop. The auto-claim hook enforces this once: it blocks your first edit and names the\n   holder. It does not block again — after that you are accountable, not the hook. Do not\n   `--steal` on your own judgement — stealing is the user's call, and the stolen-from session\n   is warned on the issue. A claim whose session has *ended* is not a refusal: `release` and\n   `close` exit 1 on it and say so, and a plain `claim` takes it over.\n3. **Release when you stop, close when it is fixed.** `release \u003Cn>` when you abandon or hand\n   off; `close \u003Cn> --why \"…\" --commit \u003Csha>` when the work landed. Both drop the label and\n   the assignee and post a marker. If another session took the issue over, `release` posts\n   nothing and only drops it from this session's ledger. A session that ends still holding\n   claims is released by the SessionEnd hook, so a forgotten release is not fatal — but do\n   not rely on it.\n4. **Unreadable is not unclaimed.** When the issue's comments cannot be read in full, `claim`,\n   `release`, `close` and `status` exit 1 and change nothing: the newest marker is the only\n   record of who holds the issue, and deciding without it is how two sessions end up on one.\n5. **Every close says why.** `--why` is mandatory and is what the next reader sees first.\n   Add `--commit \u003Csha>` whenever a commit resolved it: the tracker is a different repository,\n   so `carnet#N` in a commit message is plain text to GitHub and never closes anything there.\n   `--commit` posts the commit's URL on `origin`.\n6. **File through `create`.** It reads the tracker from `registre.toml`, refuses a tracker that\n   is not private (or whose visibility it cannot read), prefixes the title with the project —\n   `[atmosphere] ` — unless the title already starts with `[`, and always adds the\n   `atmosphere` label. Titles are `[\u003Cproject>] \u003CThing>` — one shape, no variants, capitalised\n   first word unless it is an identifier. The body says where it is (file + symbol), what is\n   incomplete, and what the fix looks like. The `limitation` label goes only on an issue that a\n   `LIMITATION(registre#n)` marker in source will point at; plain findings get the project\n   label alone.\n\n## Commands\n\n```bash\nC=.agents\u002Fskills\u002Fcarnet\u002Fcarnet.sh\n\n$C claim 12                       # hold it: assign me, label, marker comment, local ledger\n$C claim 12 --steal               # take it from a live or remote session — the user's decision only\n$C release 12 --reason \"handed to the transport session\"\n$C status 12                      # who holds it, is that session alive, which branch\n$C status                         # every in-progress issue in the tracker\n$C mine                           # what this session holds (no API call, works with gh logged out); --verify to check the tracker\n$C create --title \"\u003CThing that is incomplete>\" --label bug --body-file \u002Ftmp\u002Fbody.md --claim\n$C close 12 --why \"\u003Cwhat resolved it>\" --commit \u003Csha>\n$C label 12 +critical -bug\n$C tracker                        # the register this checkout files into (no API call)\n```\n\nAdd `--dry-run` to any of them to see the `gh` calls without making them.\n\nRead the thread before you implement — comments carry requirements the body does not:\n`gh api \"repos\u002F$($C tracker)\u002Fissues\u002F12\u002Fcomments\" --paginate -q '.[].body'`. The script reaches\nthe tracker through `gh api` (REST) only, because `gh issue` is GraphQL and a cloud session's\nagent proxy refuses every GraphQL query outside a pinned set of PR-review operations.\n\n## What the hooks do for you\n\n- **UserPromptSubmit** (`hooks\u002Fprompt-status.sh`): when a prompt names `carnet#N`,\n  `registre#N`, or this register's own name or issue URL (`atmosphere-carnet#N`,\n  `Atmosphere\u002Fatmosphere-carnet#N`, `…\u002FAtmosphere\u002Fatmosphere-carnet\u002Fissues\u002FN`), one status\n  line per issue lands in your context before you answer — `carnet#12 · held by @alice ·\n  session Wiring (a3f9c2d1) on build-host [running] · feature\u002Fwiring · since …`. Read it. If\n  it says `unclaimed`, claim before editing. If it says `[session ended — stale]`, a plain\n  `claim` takes it over. Another register's issue — `dravr-carnet#31`, `llm-registre#5`, its\n  URL — is not this register's and arms nothing: the numbers overlap. A peer message or a\n  background task result gets the status line **plus a note saying it armed nothing** — see\n  *A peer naming an issue is not assigning it* below. Lines are cached for a minute under the\n  tracker's name, so a checkout that files into another register never reads this one's, and\n  a cached line naming your own session is never served to you.\n- **PreToolUse** (`hooks\u002Fauto-claim.sh`): claims those issues for you, on the first\n  write-shaped tool call after the prompt that named them, and tells you what it claimed.\n  Reading is not working — a question about an issue never reaches a write tool and never\n  claims. A `Bash` call counts as an edit only when the command looks like one (a redirect\n  into a file, `sed -i`, `mv`, `git commit`, …), because a session that edits through bash\n  would otherwise never claim; what sits inside quotes is data, so `jq 'select(.n > 5)'` or\n  `grep -n '\u003Cversion>'` is still a read. If a live peer holds the issue it blocks that one\n  tool call and names them — and names anything it claimed for you in the same step. A claim\n  that fails blocks nothing: you are told `carnet: could NOT claim …`, and the hook tries again\n  on your next edits (three attempts within the hour). Whether you hold an issue already is the\n  newest claim marker's to say, never the ledger's: a claim cut off half-way — by the hook's\n  timeout, or a failed marker POST — is in the ledger and still not held, and the next attempt\n  finishes it. Subagents share the session's id, so one hook run at a time works the list; a\n  write made meanwhile goes through and leaves it to that run. Before claiming it asks the transcript\n  **who wrote the prompt** that named the issue: a `\u002Floop` or ScheduleWakeup re-fire is text\n  the model wrote for itself, and a peer message or task result is text no human wrote, so a\n  list armed by any of those claims nothing and tells you `carnet: NOT claimed — carnet#N came\n  from a scheduled wakeup …` instead. Take it deliberately if it is yours:\n  `carnet.sh claim \u003Cn>`.\n- **SessionEnd** (`hooks\u002Fsession-end-release.sh`): releases everything this session still\n  holds, from its ledger under `$CLAUDE_CONFIG_DIR\u002Fcarnet-claims\u002F` — each claim in the register\n  its ledger line names — and drops its pending list. Zero calls when nothing is held.\n\nAll three are wired in `.claude\u002Fsettings.json`; the exact entry is at the top of each hook\nfile, and `test.sh` fails when one is missing or when the PreToolUse wiring would swallow the\nhook's exit code. They act on the checkout the session started in (`$CLAUDE_PROJECT_DIR`), not\non wherever it has `cd`'d since. What the PreToolUse hook tells you arrives as hook context\n(`additionalContext`): Claude Code does not show the model a PreToolUse hook's plain output. The\nauto-claim hook costs one `stat` when nothing is pending, which is almost always — it runs\nbefore every edit in every session, and a list nobody consumed is removed at session end, or\nby any session once it is an hour old.\n\n**What it deliberately does not do.** It never claims from a prompt alone, so asking about an\nissue is free. It never steals. It forgets a pending list an hour old, so an issue mentioned\nlong ago is not claimed by an unrelated edit. It never claims from a peer message, a\nbackground task result, a wakeup prompt the session scheduled for itself, or terminal output\npasted into the prompt. And it never blocks twice for the same issue: a permanent block would\ndeadlock a session over an issue that was only mentioned in passing.\n\n**A wakeup you write is not an assignment you received.** When you schedule a wakeup\n(`\u002Floop`, `ScheduleWakeup`), the prompt that comes back is yours, and the hooks know it: the\nprompt hook cannot tell at submit time (as of Claude Code 2.1.276 the payload carries no\n`source` yet, and the transcript entry is written after the hook runs), so it records the\nprompt id, and the claim hook reads that entry — `promptSource: \"system\"`, `isMeta: true`,\n`scheduledTaskId` — before claiming. Without that, a session that wrote \"comment on carnet#N\"\ninto its own wakeup would hold #N for as long as it ran, the user never having typed the\nnumber. Do not put issue numbers into a wakeup prompt as a to-do list for yourself; and if you\nare told a claim was refused because the prompt was a wakeup, that is the hook working.\n\n## A peer naming an issue is not assigning it\n\nSessions message each other, and many of them are working on something else entirely — another\nrepo, another product, a goal that has nothing to do with the register. When one of those is\nasked a question, the whole correct answer is **to answer it**. Do not claim the issue the\nsender mentioned, do not assign it to yourself, do not comment on it, do not start fixing it.\nIf the message does not concern you, one line saying so is a complete reply.\n\nThat is enforced, not just asked for. A peer message arrives in the prompt hook as\n`\u003Ccross-session-message from=\"…\">`, and a background result as `\u003Ctask-notification>` — both\nbyte-identical to something the user typed. Arming the claim list from them goes wrong in both\ndirections:\n\n| | what goes wrong |\n|---|---|\n| **false claim** | a peer writes *\"do **not** put this in carnet#N\"*, or replies *\"not mine\"*, and the recipient's next edit claims #N — label, assignee and marker comment all assigned to a session that was never going to work it. |\n| **false block** | one FYI (*\"I hold carnet#N, stay off these files\"*) blocks a tool call in every session it reaches, each told *\"Do not do this work twice\"* about work it never started — some of them in another repo entirely. |\n\nBoth vectors print the status line and arm nothing: knowing who holds `#N` is exactly what you\nneed in order to answer the sender, and a peer cannot redirect your session's claim onto an\nissue it happened to mention. The same goes for a peer's terminal output the user pastes: if\nthe prompt carries transcript glyphs (`⏺ ⎿ ✻ ✢ ⏵ ❯ ───`) anywhere, nothing arms. Taking work a\npeer hands over is still fine — it is just explicit: `carnet.sh claim \u003Cn>`.\n\n**When you are the sender**, say which of the three you mean, in the first line:\n\n| Intent | Write it as |\n|---|---|\n| FYI, no action | `FYI only — I hold carnet#N and am editing \u003Cfiles>. Nothing for you to do; ignore if you are in another repo.` |\n| A question | `Question, no action on the issue: \u003Cquestion>. carnet#N is mine and stays mine.` |\n| A real handoff | `Handing off carnet#N — I have released it. If you take it, claim it first.` |\n\nThe first line is all the recipient's human sees as a preview, and it is what stops an\nunrelated session from adopting your work out of helpfulness.\n\n## How liveness is decided\n\nClaude Code writes `sessions\u002F\u003Cpid>.json` under the config dir for every running session and\nremoves it on exit. A claim on this host is **running** when that file exists with the same\nsession id and the pid answers `kill -0`; otherwise it **ended** and `claim` takes it over\nwith a \"took over\" line. A claim from another host cannot be checked, so it is refused\nwithout `--steal`. Outside Claude Code (`session=manual`) a claim is advisory: it records the\nhuman, and nothing auto-releases it. It is that human's alone — every shell outside Claude Code\nrecords the same `manual` session, so a manual claim counts as the caller's own only when it\nalso names the caller's gh login.\n\n## Where things are\n\n| | |\n|---|---|\n| Tracker | `registre.toml` → `tracker` = `Atmosphere\u002Fatmosphere-carnet` (PRIVATE); `REGISTRE_TRACKER` overrides it, as it does for the limitation gates |\n| Title prefix + label | the repo name from `origin` — `[atmosphere]` and `atmosphere` — never the checkout's basename, which in a worktree is the branch or agent name |\n| Ledger | `${CLAUDE_CONFIG_DIR:-~\u002F.claude}\u002Fcarnet-claims\u002F\u003Csession-id>.jsonl`; every line names its tracker. Subagents share their session's ledger, so every change to it holds `\u003Csession-id>.jsonl.lock` (a directory naming its holder's pid) while it is written. The lock is broken only when that process is gone; a live holder is waited on for `CARNET_LOCK_WAIT` seconds (30 unless set, 5 from the hooks), and a mkdir the directory refuses fails at once — an error either way, never a hang. `carnet-claims\u002F` is kept at 0700: its cache holds private titles |\n| Status cache | `${CLAUDE_CONFIG_DIR:-~\u002F.claude}\u002Fcarnet-claims\u002Fcache\u002F\u003Ctracker>\u002F\u003Cn>`, one minute |\n| Tests | `.agents\u002Fskills\u002Fcarnet\u002Ftest.sh` — stub `gh`, every refusal path fires; CI runs it from `.github\u002Fworkflows\u002Fcarnet.yml` |\n\n## Related\n\n- **Limitation markers.** The limitation register gates (`.registre\u002Flimitation-gates.sh`, run\n  at pre-push and by `.github\u002Fworkflows\u002Flimitation-register.yml`) ban deferral prose unless\n  the line carries a `LIMITATION(registre#n)` marker naming the limited item and pointing at\n  an issue in this tracker. File that issue with `create --label limitation` first — it prints\n  the marker line to fill in — then write the marker.\n- An open decision in a plan or audit is filed the same way — one issue per decision, so each\n  gets its own close.\n- **bilan** (`.agents\u002Fskills\u002Fbilan\u002F`) reads this skill's ledger: a claim still held, or an issue\n  filed this session and still open (unless it is a registered limitation), caps the session's\n  completion score at 6.\n","# Carnet\n\nThe register is `Atmosphere\u002Fatmosphere-carnet`, named by `registre.toml`. It is **private**\nbecause this repo is public and an entry states precisely where a defence or a capability is\nincomplete. Many Claude Code sessions work it at once, and nothing on a GitHub issue says a\nsession is on it, so peers collide: two sessions pick up the same issue and build the same fix\ntwice, or find the same gap and write it up twice. A **claim** fixes that. It is three native\nGitHub facts that move together:\n\n| Carrier | Meaning |\n|---|---|\n| assignee | the human accountable (gh login) |\n| label `in-progress` | a live session holds the issue |\n| newest `carnet-claim` marker comment | **which** session — id, name, user, host, pid, repo, branch, time |\n\nOne script does everything: `.agents\u002Fskills\u002Fcarnet\u002Fcarnet.sh` (also reachable through the\n`.claude\u002Fskills\u002Fcarnet` link). Never run `gh issue` against the tracker by hand — the script is\nthe one path that keeps the three carriers consistent and the title shape uniform.\n\n## The rules\n\n1. **Claim before the first edit — and it happens without you.** The PreToolUse hook claims\n   every issue the prompt named as soon as you touch a write tool, so an issue you were told\n   about is held before your first edit lands, and the hook tells you so. Run `claim \u003Cn>`\n   yourself when the number never appeared in a prompt (you found the issue by searching, or\n   you are picking up work mid-session), and when the hook tells you it **could NOT claim** an\n   issue — gh logged out, the tracker unreachable: it is not held, and peers see it unclaimed.\n   Not after the commit: a claim made after the work is done protects nobody.\n2. **A refusal is a peer, not an obstacle.** Exit code 2 means another *live* session holds\n   the issue, or a session on another host does. Tell the user who and which session, and\n   stop. The auto-claim hook enforces this once: it blocks your first edit and names the\n   holder. It does not block again — after that you are accountable, not the hook. Do not\n   `--steal` on your own judgement — stealing is the user's call, and the stolen-from session\n   is warned on the issue. A claim whose session has *ended* is not a refusal: `release` and\n   `close` exit 1 on it and say so, and a plain `claim` takes it over.\n3. **Release when you stop, close when it is fixed.** `release \u003Cn>` when you abandon or hand\n   off; `close \u003Cn> --why \"…\" --commit \u003Csha>` when the work landed. Both drop the label and\n   the assignee and post a marker. If another session took the issue over, `release` posts\n   nothing and only drops it from this session's ledger. A session that ends still holding\n   claims is released by the SessionEnd hook, so a forgotten release is not fatal — but do\n   not rely on it.\n4. **Unreadable is not unclaimed.** When the issue's comments cannot be read in full, `claim`,\n   `release`, `close` and `status` exit 1 and change nothing: the newest marker is the only\n   record of who holds the issue, and deciding without it is how two sessions end up on one.\n5. **Every close says why.** `--why` is mandatory and is what the next reader sees first.\n   Add `--commit \u003Csha>` whenever a commit resolved it: the tracker is a different repository,\n   so `carnet#N` in a commit message is plain text to GitHub and never closes anything there.\n   `--commit` posts the commit's URL on `origin`.\n6. **File through `create`.** It reads the tracker from `registre.toml`, refuses a tracker that\n   is not private (or whose visibility it cannot read), prefixes the title with the project —\n   `[atmosphere] ` — unless the title already starts with `[`, and always adds the\n   `atmosphere` label. Titles are `[\u003Cproject>] \u003CThing>` — one shape, no variants, capitalised\n   first word unless it is an identifier. The body says where it is (file + symbol), what is\n   incomplete, and what the fix looks like. The `limitation` label goes only on an issue that a\n   `LIMITATION(registre#n)` marker in source will point at; plain findings get the project\n   label alone.\n\n## Commands\n\n```bash\nC=.agents\u002Fskills\u002Fcarnet\u002Fcarnet.sh\n\n$C claim 12                       # hold it: assign me, label, marker comment, local ledger\n$C claim 12 --steal               # take it from a live or remote session — the user's decision only\n$C release 12 --reason \"handed to the transport session\"\n$C status 12                      # who holds it, is that session alive, which branch\n$C status                         # every in-progress issue in the tracker\n$C mine                           # what this session holds (no API call, works with gh logged out); --verify to check the tracker\n$C create --title \"\u003CThing that is incomplete>\" --label bug --body-file \u002Ftmp\u002Fbody.md --claim\n$C close 12 --why \"\u003Cwhat resolved it>\" --commit \u003Csha>\n$C label 12 +critical -bug\n$C tracker                        # the register this checkout files into (no API call)\n```\n\nAdd `--dry-run` to any of them to see the `gh` calls without making them.\n\nRead the thread before you implement — comments carry requirements the body does not:\n`gh api \"repos\u002F$($C tracker)\u002Fissues\u002F12\u002Fcomments\" --paginate -q '.[].body'`. The script reaches\nthe tracker through `gh api` (REST) only, because `gh issue` is GraphQL and a cloud session's\nagent proxy refuses every GraphQL query outside a pinned set of PR-review operations.\n\n## What the hooks do for you\n\n- **UserPromptSubmit** (`hooks\u002Fprompt-status.sh`): when a prompt names `carnet#N`,\n  `registre#N`, or this register's own name or issue URL (`atmosphere-carnet#N`,\n  `Atmosphere\u002Fatmosphere-carnet#N`, `…\u002FAtmosphere\u002Fatmosphere-carnet\u002Fissues\u002FN`), one status\n  line per issue lands in your context before you answer — `carnet#12 · held by @alice ·\n  session Wiring (a3f9c2d1) on build-host [running] · feature\u002Fwiring · since …`. Read it. If\n  it says `unclaimed`, claim before editing. If it says `[session ended — stale]`, a plain\n  `claim` takes it over. Another register's issue — `dravr-carnet#31`, `llm-registre#5`, its\n  URL — is not this register's and arms nothing: the numbers overlap. A peer message or a\n  background task result gets the status line **plus a note saying it armed nothing** — see\n  *A peer naming an issue is not assigning it* below. Lines are cached for a minute under the\n  tracker's name, so a checkout that files into another register never reads this one's, and\n  a cached line naming your own session is never served to you.\n- **PreToolUse** (`hooks\u002Fauto-claim.sh`): claims those issues for you, on the first\n  write-shaped tool call after the prompt that named them, and tells you what it claimed.\n  Reading is not working — a question about an issue never reaches a write tool and never\n  claims. A `Bash` call counts as an edit only when the command looks like one (a redirect\n  into a file, `sed -i`, `mv`, `git commit`, …), because a session that edits through bash\n  would otherwise never claim; what sits inside quotes is data, so `jq 'select(.n > 5)'` or\n  `grep -n '\u003Cversion>'` is still a read. If a live peer holds the issue it blocks that one\n  tool call and names them — and names anything it claimed for you in the same step. A claim\n  that fails blocks nothing: you are told `carnet: could NOT claim …`, and the hook tries again\n  on your next edits (three attempts within the hour). Whether you hold an issue already is the\n  newest claim marker's to say, never the ledger's: a claim cut off half-way — by the hook's\n  timeout, or a failed marker POST — is in the ledger and still not held, and the next attempt\n  finishes it. Subagents share the session's id, so one hook run at a time works the list; a\n  write made meanwhile goes through and leaves it to that run. Before claiming it asks the transcript\n  **who wrote the prompt** that named the issue: a `\u002Floop` or ScheduleWakeup re-fire is text\n  the model wrote for itself, and a peer message or task result is text no human wrote, so a\n  list armed by any of those claims nothing and tells you `carnet: NOT claimed — carnet#N came\n  from a scheduled wakeup …` instead. Take it deliberately if it is yours:\n  `carnet.sh claim \u003Cn>`.\n- **SessionEnd** (`hooks\u002Fsession-end-release.sh`): releases everything this session still\n  holds, from its ledger under `$CLAUDE_CONFIG_DIR\u002Fcarnet-claims\u002F` — each claim in the register\n  its ledger line names — and drops its pending list. Zero calls when nothing is held.\n\nAll three are wired in `.claude\u002Fsettings.json`; the exact entry is at the top of each hook\nfile, and `test.sh` fails when one is missing or when the PreToolUse wiring would swallow the\nhook's exit code. They act on the checkout the session started in (`$CLAUDE_PROJECT_DIR`), not\non wherever it has `cd`'d since. What the PreToolUse hook tells you arrives as hook context\n(`additionalContext`): Claude Code does not show the model a PreToolUse hook's plain output. The\nauto-claim hook costs one `stat` when nothing is pending, which is almost always — it runs\nbefore every edit in every session, and a list nobody consumed is removed at session end, or\nby any session once it is an hour old.\n\n**What it deliberately does not do.** It never claims from a prompt alone, so asking about an\nissue is free. It never steals. It forgets a pending list an hour old, so an issue mentioned\nlong ago is not claimed by an unrelated edit. It never claims from a peer message, a\nbackground task result, a wakeup prompt the session scheduled for itself, or terminal output\npasted into the prompt. And it never blocks twice for the same issue: a permanent block would\ndeadlock a session over an issue that was only mentioned in passing.\n\n**A wakeup you write is not an assignment you received.** When you schedule a wakeup\n(`\u002Floop`, `ScheduleWakeup`), the prompt that comes back is yours, and the hooks know it: the\nprompt hook cannot tell at submit time (as of Claude Code 2.1.276 the payload carries no\n`source` yet, and the transcript entry is written after the hook runs), so it records the\nprompt id, and the claim hook reads that entry — `promptSource: \"system\"`, `isMeta: true`,\n`scheduledTaskId` — before claiming. Without that, a session that wrote \"comment on carnet#N\"\ninto its own wakeup would hold #N for as long as it ran, the user never having typed the\nnumber. Do not put issue numbers into a wakeup prompt as a to-do list for yourself; and if you\nare told a claim was refused because the prompt was a wakeup, that is the hook working.\n\n## A peer naming an issue is not assigning it\n\nSessions message each other, and many of them are working on something else entirely — another\nrepo, another product, a goal that has nothing to do with the register. When one of those is\nasked a question, the whole correct answer is **to answer it**. Do not claim the issue the\nsender mentioned, do not assign it to yourself, do not comment on it, do not start fixing it.\nIf the message does not concern you, one line saying so is a complete reply.\n\nThat is enforced, not just asked for. A peer message arrives in the prompt hook as\n`\u003Ccross-session-message from=\"…\">`, and a background result as `\u003Ctask-notification>` — both\nbyte-identical to something the user typed. Arming the claim list from them goes wrong in both\ndirections:\n\n| | what goes wrong |\n|---|---|\n| **false claim** | a peer writes *\"do **not** put this in carnet#N\"*, or replies *\"not mine\"*, and the recipient's next edit claims #N — label, assignee and marker comment all assigned to a session that was never going to work it. |\n| **false block** | one FYI (*\"I hold carnet#N, stay off these files\"*) blocks a tool call in every session it reaches, each told *\"Do not do this work twice\"* about work it never started — some of them in another repo entirely. |\n\nBoth vectors print the status line and arm nothing: knowing who holds `#N` is exactly what you\nneed in order to answer the sender, and a peer cannot redirect your session's claim onto an\nissue it happened to mention. The same goes for a peer's terminal output the user pastes: if\nthe prompt carries transcript glyphs (`⏺ ⎿ ✻ ✢ ⏵ ❯ ───`) anywhere, nothing arms. Taking work a\npeer hands over is still fine — it is just explicit: `carnet.sh claim \u003Cn>`.\n\n**When you are the sender**, say which of the three you mean, in the first line:\n\n| Intent | Write it as |\n|---|---|\n| FYI, no action | `FYI only — I hold carnet#N and am editing \u003Cfiles>. Nothing for you to do; ignore if you are in another repo.` |\n| A question | `Question, no action on the issue: \u003Cquestion>. carnet#N is mine and stays mine.` |\n| A real handoff | `Handing off carnet#N — I have released it. If you take it, claim it first.` |\n\nThe first line is all the recipient's human sees as a preview, and it is what stops an\nunrelated session from adopting your work out of helpfulness.\n\n## How liveness is decided\n\nClaude Code writes `sessions\u002F\u003Cpid>.json` under the config dir for every running session and\nremoves it on exit. A claim on this host is **running** when that file exists with the same\nsession id and the pid answers `kill -0`; otherwise it **ended** and `claim` takes it over\nwith a \"took over\" line. A claim from another host cannot be checked, so it is refused\nwithout `--steal`. Outside Claude Code (`session=manual`) a claim is advisory: it records the\nhuman, and nothing auto-releases it. It is that human's alone — every shell outside Claude Code\nrecords the same `manual` session, so a manual claim counts as the caller's own only when it\nalso names the caller's gh login.\n\n## Where things are\n\n| | |\n|---|---|\n| Tracker | `registre.toml` → `tracker` = `Atmosphere\u002Fatmosphere-carnet` (PRIVATE); `REGISTRE_TRACKER` overrides it, as it does for the limitation gates |\n| Title prefix + label | the repo name from `origin` — `[atmosphere]` and `atmosphere` — never the checkout's basename, which in a worktree is the branch or agent name |\n| Ledger | `${CLAUDE_CONFIG_DIR:-~\u002F.claude}\u002Fcarnet-claims\u002F\u003Csession-id>.jsonl`; every line names its tracker. Subagents share their session's ledger, so every change to it holds `\u003Csession-id>.jsonl.lock` (a directory naming its holder's pid) while it is written. The lock is broken only when that process is gone; a live holder is waited on for `CARNET_LOCK_WAIT` seconds (30 unless set, 5 from the hooks), and a mkdir the directory refuses fails at once — an error either way, never a hang. `carnet-claims\u002F` is kept at 0700: its cache holds private titles |\n| Status cache | `${CLAUDE_CONFIG_DIR:-~\u002F.claude}\u002Fcarnet-claims\u002Fcache\u002F\u003Ctracker>\u002F\u003Cn>`, one minute |\n| Tests | `.agents\u002Fskills\u002Fcarnet\u002Ftest.sh` — stub `gh`, every refusal path fires; CI runs it from `.github\u002Fworkflows\u002Fcarnet.yml` |\n\n## Related\n\n- **Limitation markers.** The limitation register gates (`.registre\u002Flimitation-gates.sh`, run\n  at pre-push and by `.github\u002Fworkflows\u002Flimitation-register.yml`) ban deferral prose unless\n  the line carries a `LIMITATION(registre#n)` marker naming the limited item and pointing at\n  an issue in this tracker. File that issue with `create --label limitation` first — it prints\n  the marker line to fill in — then write the marker.\n- An open decision in a plan or audit is filed the same way — one issue per decision, so each\n  gets its own close.\n- **bilan** (`.agents\u002Fskills\u002Fbilan\u002F`) reads this skill's ledger: a claim still held, or an issue\n  filed this session and still open (unless it is a registered limitation), caps the session's\n  completion score at 6.\n",{"name":5,"description":7,"argument-hint":45,"user-invocable":46},"\u003Cclaim|release|status|mine|create|close|label|tracker> [args]",true,"main","4f29b171768db38405b89eaee6b6f7c70c6822e4",".agents\u002Fskills\u002Fcarnet",765,"https:\u002F\u002Fgithub.com\u002FAtmosphere\u002Fatmosphere","https:\u002F\u002Fasync-io.live","https:\u002F\u002Fgithub.com\u002FAtmosphere","http:\u002F\u002Fasync-io.org","2026-11-15 01:07:57",{"source":8,"skillName":5,"commands":57,"prompt":67,"zipAvailable":46},[58,61,64],{"tool":59,"command":60},"npx","npx skills add Atmosphere\u002Fatmosphere --skill carnet",{"tool":62,"command":63},"bunx","bunx skills add Atmosphere\u002Fatmosphere --skill carnet",{"tool":65,"command":66},"pnpm","pnpm dlx skills add Atmosphere\u002Fatmosphere --skill carnet","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FAtmosphere\u002Fatmosphere\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcarnet\u002FSKILL.md",[69,75,79,83,87,93,99,103,107,111],{"path":70,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":73,"sourceHtmlUrl":74},"carnet.sh","SCRIPT","脚本",44312,"https:\u002F\u002Fgithub.com\u002FAtmosphere\u002Fatmosphere\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcarnet\u002Fcarnet.sh",{"path":76,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":77,"sourceHtmlUrl":78},"hooks\u002Fauto-claim.sh",18380,"https:\u002F\u002Fgithub.com\u002FAtmosphere\u002Fatmosphere\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcarnet\u002Fhooks\u002Fauto-claim.sh",{"path":80,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":81,"sourceHtmlUrl":82},"hooks\u002Fprompt-status.sh",12908,"https:\u002F\u002Fgithub.com\u002FAtmosphere\u002Fatmosphere\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcarnet\u002Fhooks\u002Fprompt-status.sh",{"path":84,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":85,"sourceHtmlUrl":86},"hooks\u002Fsession-end-release.sh",3516,"https:\u002F\u002Fgithub.com\u002FAtmosphere\u002Fatmosphere\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcarnet\u002Fhooks\u002Fsession-end-release.sh",{"path":88,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":91,"sourceHtmlUrl":92},"LICENSE.txt","LICENSE","许可证",143,"https:\u002F\u002Fgithub.com\u002Fnoirelab\u002Flinux-setup\u002Fblob\u002Fmain\u002Fconfigs\u002Fcommon\u002Fopencode\u002Fskills\u002Fseo-hreflang\u002FLICENSE.txt",{"path":94,"resourceType":95,"resourceTypeDesc":96,"sizeBytes":97,"sourceHtmlUrl":98},"references\u002Fcontent-parity.md","REFERENCE","参考文档",4129,"https:\u002F\u002Fgithub.com\u002Fnoirelab\u002Flinux-setup\u002Fblob\u002Fmain\u002Fconfigs\u002Fcommon\u002Fopencode\u002Fskills\u002Fseo-hreflang\u002Freferences\u002Fcontent-parity.md",{"path":100,"resourceType":95,"resourceTypeDesc":96,"sizeBytes":101,"sourceHtmlUrl":102},"references\u002Fcultural-profiles.md",4942,"https:\u002F\u002Fgithub.com\u002Fnoirelab\u002Flinux-setup\u002Fblob\u002Fmain\u002Fconfigs\u002Fcommon\u002Fopencode\u002Fskills\u002Fseo-hreflang\u002Freferences\u002Fcultural-profiles.md",{"path":104,"resourceType":95,"resourceTypeDesc":96,"sizeBytes":105,"sourceHtmlUrl":106},"references\u002Flocale-formats.md",3521,"https:\u002F\u002Fgithub.com\u002Fnoirelab\u002Flinux-setup\u002Fblob\u002Fmain\u002Fconfigs\u002Fcommon\u002Fopencode\u002Fskills\u002Fseo-hreflang\u002Freferences\u002Flocale-formats.md",{"path":108,"resourceType":95,"resourceTypeDesc":96,"sizeBytes":109,"sourceHtmlUrl":110},"references\u002Fmachine-translation-qa.md",3350,"https:\u002F\u002Fgithub.com\u002Fnoirelab\u002Flinux-setup\u002Fblob\u002Fmain\u002Fconfigs\u002Fcommon\u002Fopencode\u002Fskills\u002Fseo-hreflang\u002Freferences\u002Fmachine-translation-qa.md",{"path":112,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":113,"sourceHtmlUrl":114},"test.sh",94734,"https:\u002F\u002Fgithub.com\u002FAtmosphere\u002Fatmosphere\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcarnet\u002Ftest.sh",[116,129,138,161,185,208],{"skillNo":117,"name":118,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":119,"categories":120,"keywords":126,"publishedAt":40},"01M6BSSQ9ZE9KG4GEBK6CXCB37","support-agent","https:\u002F\u002Fgithub.com\u002FAtmosphere\u002Fatmosphere\u002Fblob\u002Fmain\u002Fsamples\u002Fspring-boot-orchestration-demo\u002Fsrc\u002Fmain\u002Fresources\u002FMETA-INF\u002Fskills\u002Fsupport-agent\u002FSKILL.md",[121],{"categoryNo":122,"categoryName":123,"taxonomyType":124,"taxonomyTypeDesc":125},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[127,128],"support agent","support",{"skillNo":130,"name":131,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":132,"categories":133,"keywords":135,"publishedAt":40},"01M6BSSMTRCM898EM0E3X68ZDJ","billing-agent","https:\u002F\u002Fgithub.com\u002FAtmosphere\u002Fatmosphere\u002Fblob\u002Fmain\u002Fsamples\u002Fspring-boot-orchestration-demo\u002Fsrc\u002Fmain\u002Fresources\u002FMETA-INF\u002Fskills\u002Fbilling-agent\u002FSKILL.md",[134],{"categoryNo":122,"categoryName":123,"taxonomyType":124,"taxonomyTypeDesc":125},[136,137],"billing agent","billing",{"skillNo":139,"name":140,"nameZh":6,"description":141,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":142,"categories":143,"keywords":145,"publishedAt":40},"01M6BSSJ5B0S8BAQG6MKJAA7YN","omnichannel-chat","General-purpose AI assistant that answers naturally over web chat and external messaging platforms (Telegram, Slack, Discord, WhatsApp, Messenger). One agent, every channel.","https:\u002F\u002Fgithub.com\u002FAtmosphere\u002Fatmosphere\u002Fblob\u002Fmain\u002Fsamples\u002Fspring-boot-channels-chat\u002Fsrc\u002Fmain\u002Fresources\u002FMETA-INF\u002Fskills\u002Fomnichannel-chat\u002FSKILL.md",[144],{"categoryNo":122,"categoryName":123,"taxonomyType":124,"taxonomyTypeDesc":125},[146,147,148,149,150,151,152,153,154,155,156,157,158,159,160],"omnichannel chat","chat","assistant","discord","slack","whatsapp","web","messaging","ai assistant","channel","telegram","general","multi","messenger","multi-channel",{"skillNo":162,"name":163,"nameZh":6,"description":164,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":165,"categories":166,"keywords":168,"publishedAt":40},"01M6BSSFCE0HX9FVQ2PVAQP63T","writer-agent","Business writer that synthesizes research, strategy, and financial findings into executive briefings and reports. Use after upstream specialist agents have produced their data.","https:\u002F\u002Fgithub.com\u002FAtmosphere\u002Fatmosphere\u002Fblob\u002Fmain\u002Fmodules\u002Fskills\u002Fsrc\u002Fmain\u002Fresources\u002FMETA-INF\u002Fskills\u002Fwriter-agent\u002FSKILL.md",[167],{"categoryNo":122,"categoryName":123,"taxonomyType":124,"taxonomyTypeDesc":125},[169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184],"writer","writer agent","reports","research","business writer","briefing","upstream","Synthesis","data","use","business","strategy","executive-briefing","briefings","specialist","writing",{"skillNo":186,"name":187,"nameZh":6,"description":188,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":189,"categories":190,"keywords":191,"publishedAt":40},"01M6BSSCT499BPVKA5XM9R7NGV","tool-assistant","Tool-calling assistant with backend functions for time, city time, weather, and temperature conversion, plus cost metering and approval workflows. Use when a question needs real-time data via tool calls.","https:\u002F\u002Fgithub.com\u002FAtmosphere\u002Fatmosphere\u002Fblob\u002Fmain\u002Fmodules\u002Fskills\u002Fsrc\u002Fmain\u002Fresources\u002FMETA-INF\u002Fskills\u002Ftool-assistant\u002FSKILL.md",[],[192,193,148,194,195,196,21,197,198,199,200,201,202,203,178,204,205,206,177,207],"tool assistant","tool","metering","weather","functions","for","calls","function-calling","with","time","calling","conversion","question","real-time","Tools","workflows",{"skillNo":209,"name":118,"nameZh":6,"description":210,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":211,"categories":212,"keywords":214,"publishedAt":40},"01M6BSSA9MPT2656NHQG3VJAAJ","Front-line support desk for account questions, technical troubleshooting, and general inquiries. Use as the default customer entry point; routes billing questions to the billing-agent via handoff.","https:\u002F\u002Fgithub.com\u002FAtmosphere\u002Fatmosphere\u002Fblob\u002Fmain\u002Fmodules\u002Fskills\u002Fsrc\u002Fmain\u002Fresources\u002FMETA-INF\u002Fskills\u002Fsupport-agent\u002FSKILL.md",[213],{"categoryNo":122,"categoryName":123,"taxonomyType":124,"taxonomyTypeDesc":125},[128,127,215,216,217,197,218,219,137,220,221,222,157,178,223,224,225,226,227],"as","point","entry","front","questions","via","line","default","technical","troubleshooting","routing","customer","handoff"]