integrate generalized quality-rails into mosaic bootstrap
This commit is contained in:
30
README.md
30
README.md
@@ -103,6 +103,30 @@ Inside any compatible repository:
|
||||
|
||||
Wrapper commands call local repo scripts under `scripts/agent/`.
|
||||
|
||||
## Quality Rails (Generalized)
|
||||
|
||||
Mosaic includes vendored quality-rails templates and scripts at:
|
||||
|
||||
- `~/.mosaic/rails/quality/`
|
||||
|
||||
Apply to a repo:
|
||||
|
||||
```bash
|
||||
~/.mosaic/bin/mosaic-quality-apply --template typescript-node --target /path/to/repo
|
||||
```
|
||||
|
||||
Verify enforcement:
|
||||
|
||||
```bash
|
||||
~/.mosaic/bin/mosaic-quality-verify --target /path/to/repo
|
||||
```
|
||||
|
||||
Templates currently supported:
|
||||
|
||||
- `typescript-node`
|
||||
- `typescript-nextjs`
|
||||
- `monorepo`
|
||||
|
||||
## Bootstrap Any Repo (Slave Linkage)
|
||||
|
||||
Attach any repository/workspace to the master layer:
|
||||
@@ -111,6 +135,12 @@ Attach any repository/workspace to the master layer:
|
||||
~/.mosaic/bin/mosaic-bootstrap-repo /path/to/repo
|
||||
```
|
||||
|
||||
Attach and apply quality rails in one step:
|
||||
|
||||
```bash
|
||||
~/.mosaic/bin/mosaic-bootstrap-repo --quality-template typescript-node /path/to/repo
|
||||
```
|
||||
|
||||
This creates/updates:
|
||||
|
||||
- `.mosaic/` (repo-specific hook/config surface)
|
||||
|
||||
Reference in New Issue
Block a user