Docs / You and your agent / Bring your system
Bring your system
You already have notes, skills and habits. Bring all of it, some of it, or none, and move over at your own pace.
Four ways in
| Way | Good when | Keeps local |
|---|---|---|
| Start fresh | You want to try it on new work first | Everything you have today |
| Bring a part | One project, or one kind of thing such as your rules | The rest |
| Step by step | Your system is big, or you work in isolated machines and sessions | Whatever you have not moved yet |
| Bring it all | You want one place for people and agents | Secrets, and jobs your machines run on their own |
What each part of your system becomes
| In your system | In CommonRig |
|---|---|
| A to-do list, a backlog, issues | Items in a project, with requests for what was asked |
| Notes on how things work | Docs, kept as current state |
| Lessons, tips, gotchas | Learnings, served to agents as hints |
| How-to guides for agents | Skills |
| "Always" and "never" lines in an instructions file | Rules, or context lines for softer preferences |
| How you like to work: models, accounts, quota | Context lines, yours or a project's |
| Hooks, commands, settings for a harness | A package, installed on each machine from Deploy |
| Lists of hosts, versions, links | Rig pages with typed fields |
| Reminders, recurring chores | Schedules |
| Passwords and keys | Stay in your password manager. CommonRig records where each lives |
For agents item_create doc_write learn_add context_set rig_write schedule_write package_push: item_create, doc_write, learn_add, context_set, rig_write, schedule_write and package with action push are where each part lands. A person accepts every card and package. Applies when you bring a person's existing system in and must decide where each part lands.
From a folder of markdown, or a second brain
- Point your agent at the folder and ask: "Read this and tell me what it would become in CommonRig. Don't move anything yet."
- Read its answer as a report. Say which parts go, which stay local, and which to leave out.
- Let it bring one area first, such as one project's notes. It writes docs and items, and drafts learnings and rules for you to accept.
- Check them in the app. Accept the cards you want; drop the rest.
- Do the next area. Keep the original folder until you are happy, then archive it or keep it as your own copy.
- Your agent keeps your words. It moves and sorts them, and tells you where it changed anything.
- Private notes stay private: put them in your Home, or as personal cards that only your agents get.
- Anything that looks like a secret is refused on the way in. Leave keys where they are.
For agents report_push doc_write learn_add: read the person's files only on their yes, report a plan with report_push before writing, then write area by area. Never copy a secret value. Applies when a person asks you to bring in a folder of markdown or notes.
Your harness setup: hooks, skills and commands
Your agent can look over what your harness loads, on your yes: file names and hook wiring only, never keys or old transcripts. It lists what it found, says what it would package, and pushes only what you pick. Each package lands as a draft for you to read and accept, then any of your machines can take it from Deploy.
For agents setup_scan package_push: setup_scan with no counts gives the steps; with counts it closes the setup step. package with action push only what the person picked. Applies when a person brings their hooks, skills and commands, or setup is the next step.
Tuning it to your own environment
Agents work best when CommonRig knows a little about where they run. Four things do most of it.
| Tell it | How | What it changes |
|---|---|---|
| How you work | Context lines: "use the cheaper model for bulk edits", "tests run on the build box" | Every session starts with them |
| What your machines have | A rig page of your hosts, paths and tools | Cards with bindings fill in your values; cards that need what you lack stay out |
| What a card needs | The card's tools, harness and system fields | Other people's agents are told a card is system-specific: adapt or skip |
| How much they read | Context size on Setup, Agent settings: lean, normal or rich, yours or a project's | How much start and every reply add: hint cards, rules and reminders. Normal is the default |
If you work in isolated places, such as one session a project or agents in throwaway machines, put the lines on the project rather than on yourself. Each session there starts with what that project needs and nothing else. More in yours and shared.
For agents context_set rig_write: context_set quotes the person's own words into a context line (yours and project lines wait for their yes; a session line holds at once, so it quotes only words their capture hook kept); rig_write keeps host and path fields that cards bind to. context_set with size (lean, normal, rich or default) and scope you or project sets how much start and replies add; it holds at once, and a project size needs your person's right to change that project's settings. Applies when a person says how they work, or a card needs a host or path from their system.
People who are not on CommonRig
Not everyone on a repo will use CommonRig. Their work still reaches it through the places they already use.
- Turn on GitHub issues for the repo: their issues sit beside your bugs on the Issues page, and one press makes a linked bug from an issue. When the pair is out of step, the page offers the other side's close.
- Turn on PR links: a pull request that names an item, such as
ITM-12, links to it, and a merge suggests closing the item. Authors with no CommonRig identity are marked external: the GitHub account of a member counts once they sign in with GitHub or turn on CI, issues or PR links for a repo. - CI results from GitHub land on the items whose commits they cover.
- For anything else, a short note in the item says what happened outside, so the record stays true.
Checked against the code at e28af69c. Site built from f04f4af1.