Skip to content
mike548141Public

About

No description, website, or topics provided.

Resources

Security policy

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

3,084 Commits

Folders and files

Repository files navigation

atelier

The operating model for working with Claude as a teammate.

atelier is the extracted, versioned home of how Mike and Claude work — the doctrine that made the ros/tiki project good to build in, lifted out of that one repo so every project can inherit it and so it can be shared with peers. An atelier is a workshop where craft is practised; this is the workshop's standing rules.

It exists because the good stuff — design principles, model economics, the autonomy posture, session discipline, doc-as-code — used to live inside one repo. New projects were born shape-complete but wisdom-empty, and the reasoning had to be re-taught each time. atelier is the missing middle layer: general doctrine that sits above any single project.

If you're adopting this

atelier is a named worked example, not an abstract framework. It's written to one principal — Mike — grounding real decisions in a real estate (ros, tiki), because a principle reads truer anchored to a real call than floated free of one. To adopt it, you become the principal: read Mike's instance to learn the shape, then instantiate it as yourself — your ~/.claude/ context, your estate, your decisions. The doctrine in docs/method/ is the general part meant to travel; the person-and-estate specifics are the worked example you replace.

ros and tiki are named throughout as provenance — the private repo this doctrine was extracted from, cited so each principle shows its real origin. They stay private; you can't open them and you don't need to. The citation means "here's where this was earned", not a link to follow.

The layers

The same general→specific inheritance the estate's own tools use, applied to how we work:

Level Where What
You / machine ~/.claude/ personal context, model default, global permission floor — never travels into a repo
House doctrine this repo principles, model economics, autonomy, storage, concurrency, session + doc-as-code discipline, the repo-build standard
Project each repo's CLAUDE.md + docs/ that product's truth, and which principles bind hardest here
Session one worktree, one branch a unit of work

Structure

Path Holds
docs/method/ how we work — the shareable crown jewels. Read 00-APEX.md first.
docs/build/ how we build — the repo-build standard and templates (repo craft)
docs/decisions/ ADRs — decisions that rejected a real alternative
docs/reviews/ peer-review briefs (work earns trust through independent review — see method/REVIEW.md)
tools/ the mechanical controls that enforce the doctrine — e.g. leakscan.py, the pre-commit net catching the shape of personal/estate data before it is committed
instruments/ tools whose only value is the Claude teammateship — observing it (its cost, ccrepo; its history, cctranscript) or extending its reach (browser-fetch, ccmail) (see docs/decisions/0006-instruments-in-atelier.md)
skills/ the plugin's six subjects (review, work, fleet, worktree, repo, session), each a router plus one file per action: sixteen actions in all
.claude-plugin/ the plugin and marketplace manifests that make this repo installable

docs/method/ — the operating model

  • 00-APEX.md — honesty is absolute, adaptation is continuous. Above everything else.
  • AUTONOMY.md — when the agent proceeds vs stops to ask; broad standing grant (commit/push/PR), with a fixed floor and per-repo narrowing.
  • STORAGE.md — GitHub = master and device portability, the laptop's plain local working copy = offline work, Time Machine to a local NAS = whole-machine backup; the iCloud leg was retired 2026-07-14.
  • CONCURRENCY.md — one worktree per line of work; serialise real-world side-effects.
  • PRINCIPLES.md — the design principles, precedence ladder, and situation tests, with generalised cases. Canonical here (extracted 2026-07-10); child repos keep their bearings + case-law and point up.
  • ECONOMICS.md — match the model to the job by risk (workhorse builds, capable tier reviews), the billing states of the marginal token, the marginal-cost self-check, tiered authority, and session hygiene. Canonical here (extracted 2026-07-10); the estate-specific numbers stay person-local.
  • MECHANISMS.md — which mechanism a new need should take (guard, hook, skill, command, instrument, MCP server), as four axes: block or judge, intercept or invoke, one repo or the estate, cost to carry.

Install as a Claude Code plugin

atelier ships as an installable Claude Code plugin — the doctrine travels as behaviour, not just readable docs. The repo is its own marketplace (one source; the scanners and docs are referenced in place, never copied):

/plugin marketplace add mike548141/atelier
/plugin install atelier@atelier

The plugin carries no version number, so each commit is a version of its own (Claude Code falls back to the commit). Installed from GitHub, it is a copy of the commit you installed; /plugin marketplace update atelier then /plugin update atelier@atelier brings it to the newest, which can include doctrine whose review is still pending (the board's ⏳ items). Auto-update is off by default for marketplaces like this one. If you keep a local clone, add the marketplace from the clone's path instead (/plugin marketplace add /path/to/atelier): a local-path marketplace loads the plugin in place, so every session start reads the clone's files as they are.

What you get:

Every command is subject, space, action (/atelier:review brief), and a bare subject (/atelier:review) shows that subject's menu and runs nothing. Six subjects, sixteen actions:

  • /atelier:review
    • brief — the peer-review lifecycle that turns "looks right" into "verified": write the brief and run an independent review.
    • plan — show what the owed reviews are and what would run, changing nothing.
    • run — run briefed cold review passes across an estate on the principal-named review tier, several at once under a load gate, until an approved budget is used up.
  • /atelier:work
    • run — orchestrate a queue run: drain the shared queue as an orchestrator, execute via workers in worktrees, close records per item so a session cap loses at most the item in flight. /atelier:work run <the run's brief> runs the principal's prompt, docs/method/session-open/session-open-prompt.md, word for word.
    • plan — show what a work run would do, claiming nothing.
  • /atelier:fleet
    • sweep — bring every child repo of an estate to a healthy state (latest pin, floor re-copied, CI green, owed reviews briefed), each repo's work run as a headless session inside that repo.
    • pins — report which child repos are behind the doctrine SHA they pin (wraps the bundled tools/pins.py).
  • /atelier:worktree — one worktree per line of work (wraps the bundled tools/worktree.py): start, list, land, remove.
  • /atelier:repo
    • scan — run four of the floor's scanners (secret · leak · licence · link) by hand over any repo; the full floor is tools/floor.py. Zero-dependency stdlib Python, bundled.
    • hook — install the fail-closed git pre-commit scan hook into the current repo, as tracked .githooks/ files (git transports no config, so core.hooksPath is set once per clone; and the hook's scanner path is pinned to the installed plugin version, which is now the commit, so in a repo hooked from a GitHub install re-run it after every plugin update — until then the hook blocks, it never waves through. A local-path install loads the clone in place, so its path does not move).
    • create — scaffold a new repo (or standardise an existing one) to the house standard, stamped from your own instance profile (~/.atelier/instance.yaml, filled interactively on first run, never committed) — the skill carries no identity of its own.
  • /atelier:session
    • onramp — loads the apex (honesty, adaptation) and the always-confirm floor, then points at the rest of the doctrine, read on demand.
    • close — closes the session properly by running the Ending the session section of the principal's session-open prompt (read from the committed copy), with any extra close brief typed after it; works in any repo or none.
  • The whole docs/method/ + docs/build/ doctrine, bundled as reference.

Adopting it, you become the principal: instantiate the worked example as yourself.

Status

The method/ and build/ layers are written and in use, and the plugin is packaged. Doctrine still awaiting an independent review is marked on the board (the ⏳ items), and what is open is in docs/ROADMAP.md.

Sharing

Public since 2026-07-10 (see docs/decisions/0005-going-public.md), Apache-2.0. No personal, health, family, or financial context enters this repo beyond the closed list in docs/PERSONAL-DATA.md (the author's published identity and account name) — the rest stays in the operator's private person-level context by design, which is what makes atelier safe to publish. Because the repo is public, that boundary is load-bearing on every commit: the tools/ scan hook (leakscan · secretscan) is the mechanical gate, not a pre-publish afterthought. Widening further, atelier is now packaged as an installable plugin/skills bundle (see Install as a Claude Code plugin above) — the delivery vehicle for the doctrine to travel. A public announcement remains the next deliberate widening beyond that, and stays the principal's call.

About

No description, website, or topics provided.

Resources

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages