mainfast 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Mainfast authors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,29 @@
1
- # Temporary Holding Version
1
+ # mainfast
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Set up and run [Mainfast](https://mainfast.dev), GitHub checks that stop merges from silently
4
+ breaking main. Built to be driven by coding agents as well as people.
5
+
6
+ ```bash
7
+ npx mainfast init # write the workflows and a starter .mainfast.yml
8
+ npx mainfast doctor # what is installed, what is missing
9
+ npx mainfast check # run Intact on this branch's merge commits, before you push
10
+ npx mainfast audit owners
11
+ ```
12
+
13
+ `init` never overwrites a file without `--force`, and never pushes or changes branch protection.
14
+ Every command takes `--help` and `--json`. Exit codes: 0 clean, 1 findings, 2 error. Tokens come
15
+ only from `GITHUB_TOKEN` or `GH_TOKEN` and are never printed.
16
+
17
+ ## MCP
18
+
19
+ `mainfast mcp` is an MCP server over stdio, with the tools `init`, `doctor`, `check` and `audit`:
20
+
21
+ ```json
22
+ {
23
+ "mcpServers": {
24
+ "mainfast": { "command": "npx", "args": ["-y", "mainfast", "mcp"] }
25
+ }
26
+ }
27
+ ```
28
+
29
+ Report problems in [GitHub issues](https://github.com/mainfast/mainfast/issues).