{"_id":"@brain_ai/copilot-cli-darwin-arm64","_rev":"4-a7d0a74866c378c5dc30d91ecdedf66f","name":"@brain_ai/copilot-cli-darwin-arm64","dist-tags":{"latest":"1.2.0"},"versions":{"1.1.0":{"name":"@brain_ai/copilot-cli-darwin-arm64","version":"1.1.0","license":"EUPL-1.2","_id":"@brain_ai/copilot-cli-darwin-arm64@1.1.0","maintainers":[{"name":"cpradog","email":"carlos.prado@cpradog.com"}],"homepage":"https://sr.ht/~cpradog/brain","os":["darwin"],"cpu":["arm64"],"dist":{"shasum":"c2ae29dc2b678e315531078d9adf2b61a4a523c2","tarball":"https://registry.npmjs.org/@brain_ai/copilot-cli-darwin-arm64/-/copilot-cli-darwin-arm64-1.1.0.tgz","fileCount":5,"integrity":"sha512-5px/O1Bq31AcFZ1lT4VAs0MkN8o5gQuPwXFqbI3XX5pMbkHhzEericui7gRE9zeDqwoMGAuuS+oXkGZNBwMP2w==","signatures":[{"sig":"MEUCIQDZwpdkhpAR6UiWwHMUgx81bN2gu4y0HfNyKbxvRAdTswIgaGyDPfuLSe+7sZECJfJrCA8dAaGaTZ7npP6Dpuebf7E=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":66403640},"shasum":"c2ae29dc2b678e315531078d9adf2b61a4a523c2","_npmUser":{"name":"cpradog","email":"carlos.prado@cpradog.com"},"_integrity":"sha512-5px/O1Bq31AcFZ1lT4VAs0MkN8o5gQuPwXFqbI3XX5pMbkHhzEericui7gRE9zeDqwoMGAuuS+oXkGZNBwMP2w==","repository":"https://git.sr.ht/~cpradog/brain","_npmVersion":"10.8.3","description":"Deterministic rule engine: materializes per-session context and guards tool calls.","directories":{},"_nodeVersion":"24.3.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/copilot-cli-darwin-arm64_1.1.0_1786362571527_0.7485910757621914","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@brain_ai/copilot-cli-darwin-arm64","version":"1.1.1","license":"EUPL-1.2","_id":"@brain_ai/copilot-cli-darwin-arm64@1.1.1","maintainers":[{"name":"cpradog","email":"carlos.prado@cpradog.com"}],"homepage":"https://sr.ht/~cpradog/brain","os":["darwin"],"cpu":["arm64"],"dist":{"shasum":"825ad7df796ffbf78780e8a11d59c278c5c76347","tarball":"https://registry.npmjs.org/@brain_ai/copilot-cli-darwin-arm64/-/copilot-cli-darwin-arm64-1.1.1.tgz","fileCount":5,"integrity":"sha512-3fcY1Rask1UKSo+f3o56zW7EdYXiNxYCtEGcqvSvdxzIFCHudaQU311Pjd/OPWEvwS/k3HJhVCqNGnMRfXOUqQ==","signatures":[{"sig":"MEUCIQDdYTT+ZvhzYGXrjjav05kSXpfLZ1J8ku4HZG4us0lcGgIgJKUCVkDkWyTaUCQEF/Ls32TnoBprNLF2aYD7F+TobUs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":66403640},"shasum":"825ad7df796ffbf78780e8a11d59c278c5c76347","_npmUser":{"name":"cpradog","email":"carlos.prado@cpradog.com"},"_integrity":"sha512-3fcY1Rask1UKSo+f3o56zW7EdYXiNxYCtEGcqvSvdxzIFCHudaQU311Pjd/OPWEvwS/k3HJhVCqNGnMRfXOUqQ==","repository":"https://git.sr.ht/~cpradog/brain","_npmVersion":"10.8.3","description":"Deterministic rule engine: materializes per-session context and guards tool calls.","directories":{},"_nodeVersion":"24.3.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/copilot-cli-darwin-arm64_1.1.1_1786366347593_0.7591406382245982","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"@brain_ai/copilot-cli-darwin-arm64","version":"1.1.2","license":"EUPL-1.2","_id":"@brain_ai/copilot-cli-darwin-arm64@1.1.2","maintainers":[{"name":"cpradog","email":"carlos.prado@cpradog.com"}],"homepage":"https://sr.ht/~cpradog/brain","os":["darwin"],"cpu":["arm64"],"dist":{"shasum":"862fbcead3aed239e20afa57e2cd09ae205e6f5c","tarball":"https://registry.npmjs.org/@brain_ai/copilot-cli-darwin-arm64/-/copilot-cli-darwin-arm64-1.1.2.tgz","fileCount":5,"integrity":"sha512-dKRhg5+d/mwytBP4v8QXPl5++Fcm+66gLc3rLb49I80ybNg/aGF/6pQthpbalwumRHt0YoyuCb6ER/jbgidOXA==","signatures":[{"sig":"MEYCIQD5PWMXG7dB0l0PM++bIp3UmMeXhEZkPpEgWuCVNLGQywIhAJzyX5SPEu9E3DXmGADh2BbJjY8bf44djrRl27TFCq3O","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":66420152},"shasum":"862fbcead3aed239e20afa57e2cd09ae205e6f5c","_npmUser":{"name":"cpradog","email":"carlos.prado@cpradog.com"},"_integrity":"sha512-dKRhg5+d/mwytBP4v8QXPl5++Fcm+66gLc3rLb49I80ybNg/aGF/6pQthpbalwumRHt0YoyuCb6ER/jbgidOXA==","repository":"https://git.sr.ht/~cpradog/brain","_npmVersion":"10.8.3","description":"Deterministic rule engine: materializes per-session context and guards tool calls.","directories":{},"_nodeVersion":"24.3.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/copilot-cli-darwin-arm64_1.1.2_1786406317935_0.3946620605371376","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@brain_ai/copilot-cli-darwin-arm64","version":"1.2.0","description":"Deterministic rule engine: materializes per-session context and guards tool calls.","license":"EUPL-1.2","homepage":"https://sr.ht/~cpradog/brain","repository":"https://git.sr.ht/~cpradog/brain","os":["darwin"],"cpu":["arm64"],"_id":"@brain_ai/copilot-cli-darwin-arm64@1.2.0","_integrity":"sha512-prs0h7uXXpxl7RGWvtA7cM3vFtB6VOTh4fA37f4oUD4sQucDHA2KHiuCYk0XKWivKY/CfoiaTqKnpVwMjvjQfA==","_nodeVersion":"24.3.0","_npmVersion":"10.8.3","shasum":"1be93a7c3f1942f3083bba93921d845a7b27a3c3","dist":{"integrity":"sha512-prs0h7uXXpxl7RGWvtA7cM3vFtB6VOTh4fA37f4oUD4sQucDHA2KHiuCYk0XKWivKY/CfoiaTqKnpVwMjvjQfA==","shasum":"1be93a7c3f1942f3083bba93921d845a7b27a3c3","tarball":"https://registry.npmjs.org/@brain_ai/copilot-cli-darwin-arm64/-/copilot-cli-darwin-arm64-1.2.0.tgz","fileCount":5,"unpackedSize":66420152,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIFOkzxmRWrHO4Ip6oDs0q/mcK7XVXgYHSO26uKE54QAEAiEAlJpE5ytJcpOJgBES+feeakmim7VDgS5r117pctLAK2M="}]},"_npmUser":{"name":"cpradog","email":"carlos.prado@cpradog.com"},"directories":{},"maintainers":[{"name":"cpradog","email":"carlos.prado@cpradog.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/copilot-cli-darwin-arm64_1.2.0_1786442039755_0.6063423467793394"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-10T11:49:31.313Z","modified":"2026-08-11T09:54:00.359Z","1.1.0":"2026-08-10T11:49:31.981Z","1.1.1":"2026-08-10T12:52:28.132Z","1.1.2":"2026-08-10T23:58:38.421Z","1.2.0":"2026-08-11T09:54:00.184Z"},"license":"EUPL-1.2","homepage":"https://sr.ht/~cpradog/brain","repository":"https://git.sr.ht/~cpradog/brain","description":"Deterministic rule engine: materializes per-session context and guards tool calls.","maintainers":[{"name":"cpradog","email":"carlos.prado@cpradog.com"}],"readme":"# brain\n\nbrain governs how an AI coding assistant works. For the current project and\nmachine it assembles the rules the assistant should follow, delivers them\nthroughout the session, and enforces the non-negotiable ones on every tool call\n— deterministically, without relying on the assistant to remember them. It\ncurrently targets Claude Code and GitHub Copilot CLI.\n\nThe rules themselves are authored separately and are not part of this\nrepository.\n\n## Installation\n\nbrain is distributed as a plugin, one per harness it targets. Each plugin brings\nits own runtime, so you do not need Bun or `jq` installed. Follow the guide for\nyour harness:\n\n- **[Install brain in Claude Code][install-claude-code]**\n- **[Install brain in GitHub Copilot CLI][install-copilot-cli]**\n\nWith the plugin installed, brain runs on its own; you supply the rules by\nauthoring layers. See [Create a layer][create-a-layer] and the\n[reference][reference], or follow the [tutorial for your harness][tutorials] to\nbuild one end to end.\n\n## Documentation\n\nThe full documentation set is published at <https://man.sr.ht/~cpradog/brain>:\n\n- **[Documentation home][docs]** — overview and map of the docs.\n- **[Tutorials][tutorials]** — author your first layer and watch it materialize.\n- **[How-to guides][how-to]** — task recipes for installing brain, authoring\n  rules, and working on brain itself.\n- **[Reference][reference]** — the layer, rule, topic, and predicate format, the\n  `brain` command, and the plugin and guard contracts.\n- **[Explanation][explanation]** — how brain works and why it is built this way.\n\n## Development\n\nWorking on brain from source requires [Bun](https://bun.sh) (1.3.x, pinned in\n`dependencies.pin`) and `jq`. End users need neither — the published plugin\nbrings its own runtime. For the format, typecheck, and test commands see [Check\na change to brain][check-a-change]; to have a harness run your working copy, see\nthe guide for [Claude Code][dev-claude-code] or [GitHub Copilot\nCLI][dev-copilot-cli].\n\n## Contributing\n\nDevelopment happens over email on the sr.ht mailing list. Patches are sent with\n`git send-email`; you do not need a sr.ht account to contribute.\n\n1. Clone the repository:\n\n   ```sh\n   git clone https://git.sr.ht/~cpradog/brain\n   cd brain\n   ```\n\n2. Make your change on a local branch, keeping commits focused. Commit messages\n   follow [Conventional Commits](https://www.conventionalcommits.org) (`feat:`,\n   `fix:`, `docs:`, …), matching the existing history.\n\n3. Before sending, make sure `bun run format:check`, `bun run typecheck` and\n   `bun run test` pass.\n\n4. Send the patch to the list. The list is shared across projects, so set a\n   subject prefix once:\n\n   ```sh\n   git config sendemail.to '~cpradog/public-inbox@lists.sr.ht'\n   git config format.subjectPrefix 'PATCH brain'\n   git send-email -1            # the last commit\n   # for a series, send a range, e.g.:\n   git send-email <base>..HEAD\n   ```\n\nIf you have not used `git send-email` before, <https://git-send-email.io> walks\nthrough the one-time setup.\n\n## Bug reports\n\nFile bugs and feature requests on the issue tracker:\n<https://todo.sr.ht/~cpradog/brain>, or by email to `~cpradog/brain@todo.sr.ht`.\n\nPlease include:\n\n- what you did, what you expected, and what happened instead;\n- the harness you run brain in, and the brain version it reports —\n  `/brain:doctor` in Claude Code, `brain doctor` in Copilot CLI;\n- your operating system and architecture;\n- any relevant hook or materializer output.\n\n## Resources\n\n- Project hub: <https://sr.ht/~cpradog/brain>\n- Source: <https://git.sr.ht/~cpradog/brain>\n- Patches and discussion: <https://lists.sr.ht/~cpradog/public-inbox>\n  (`~cpradog/public-inbox@lists.sr.ht`)\n- Issue tracker: <https://todo.sr.ht/~cpradog/brain>\n\n## License\n\nbrain is licensed under the European Union Public Licence v1.2 (EUPL-1.2). See\n[LICENSE][license] for the full text. Contributions are accepted under the same\nlicence.\n\n[check-a-change]: https://man.sr.ht/~cpradog/brain/how-to/check-a-change.md\n[create-a-layer]: https://man.sr.ht/~cpradog/brain/how-to/create-a-layer.md\n[dev-claude-code]:\n  https://man.sr.ht/~cpradog/brain/how-to/claude-code/run-the-development-build.md\n[dev-copilot-cli]:\n  https://man.sr.ht/~cpradog/brain/how-to/copilot-cli/run-the-development-build.md\n[docs]: https://man.sr.ht/~cpradog/brain/\n[explanation]: https://man.sr.ht/~cpradog/brain/explanation/\n[how-to]: https://man.sr.ht/~cpradog/brain/how-to/\n[install-claude-code]:\n  https://man.sr.ht/~cpradog/brain/how-to/claude-code/install-the-plugin.md\n[install-copilot-cli]:\n  https://man.sr.ht/~cpradog/brain/how-to/copilot-cli/install-the-plugin.md\n[license]: https://git.sr.ht/~cpradog/brain/tree/HEAD/item/LICENSE\n[reference]: https://man.sr.ht/~cpradog/brain/reference/\n[tutorials]: https://man.sr.ht/~cpradog/brain/tutorials/\n","readmeFilename":"README.md"}