@mutmutco/pi-plugin 4.5.123 → 4.5.125
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/package.json
CHANGED
|
@@ -68,6 +68,12 @@ jobs:
|
|
|
68
68
|
- uses: mutmutco/MMI-Hub/.github/actions/runner-checkout@{{GATE_RUNNER_SHA}}
|
|
69
69
|
with:
|
|
70
70
|
lockfile-path: {{GATE_CACHE_DEP_PATH}}
|
|
71
|
+
fetch-depth: 0 # #8129: runbook freshness needs the PR merge-base history.
|
|
72
|
+
- name: Runbook guard
|
|
73
|
+
if: ${{ github.event_name == 'pull_request' }}
|
|
74
|
+
uses: mutmutco/MMI-Hub/.github/actions/runbook-guard@{{GATE_RUNBOOK_SHA}}
|
|
75
|
+
with:
|
|
76
|
+
base-ref: origin/${{ github.base_ref }}
|
|
71
77
|
# #5427: per-job npm cache under $RUNNER_TEMP — never the shared ~/.npm. Twelve mmi-live lanes
|
|
72
78
|
# share the gha-runner home; npm hardlinks from that cache into node_modules, so one job's
|
|
73
79
|
# `npm ci` can make another job's vitest/dist/workers/forks.js vanish mid-suite (Cannot find
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
{ "target": ".gitignore", "source": "managed-block", "ownership": "org", "classes": ["deployable", "content"] },
|
|
14
14
|
{ "target": ".gitattributes", "source": "seed:gitattributes.template", "ownership": "repo", "classes": ["deployable", "content"] },
|
|
15
15
|
{ "target": "README.md", "source": "seed:README.template.md", "ownership": "repo", "classes": ["deployable", "content"], "managedBlock": { "source": "seed:readme-mmi-developer-environment.block.md", "begin": "<!-- mmi-developer-environment:start -->", "end": "<!-- mmi-developer-environment:end -->" } },
|
|
16
|
+
{ "target": "docs/Guides/operator.md", "source": "seed:operator.template.md", "ownership": "repo", "classes": ["deployable", "content"] },
|
|
16
17
|
{ "target": "architecture.md", "source": "seed:architecture.template.md", "ownership": "repo", "classes": ["deployable", "content"] },
|
|
17
18
|
{ "target": "docs/decisions/README.md", "source": "seed:decisions-readme.template.md", "ownership": "repo", "classes": ["deployable", "content"] },
|
|
18
19
|
{ "target": "test-policy.json", "source": "seed:test-policy.template.json", "ownership": "repo", "classes": ["deployable", "content"] },
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
<!-- runbook -->
|
|
2
|
+
# {{OWNER}}/{{REPO}} operator runbook
|
|
3
|
+
|
|
4
|
+
<!-- #8129: repo-owned skeleton; fill in the TODOs and keep it current with the code. -->
|
|
5
|
+
Operate from this runbook. Keep instructions current in the same PR as the code they cover.
|
|
6
|
+
TODO: add section-level coverage globs once the repo's runtime paths are known.
|
|
7
|
+
|
|
8
|
+
## Who may do what
|
|
9
|
+
|
|
10
|
+
Production mutations need the owner's fresh approval. TODO: name the project admins and escalation path.
|
|
11
|
+
```bash
|
|
12
|
+
mmi-cli whoami
|
|
13
|
+
mmi-cli oracle org access capabilities --repo {{OWNER}}/{{REPO}} --json
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Stages and where they run
|
|
17
|
+
|
|
18
|
+
TODO: list stages, URLs, runtime model and hosting locations; mark non-applicable stages explicitly.
|
|
19
|
+
```bash
|
|
20
|
+
mmi-cli oracle org project get {{OWNER}}/{{REPO}} --json
|
|
21
|
+
mmi-cli oracle org project deploy get {{OWNER}}/{{REPO}} --stage dev --json
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Logs and status
|
|
25
|
+
|
|
26
|
+
TODO: name service logs, alert destinations and expected healthy signals. Tenant-only examples:
|
|
27
|
+
```bash
|
|
28
|
+
mmi-cli devops runtime tenant status {{OWNER}}/{{REPO}} dev
|
|
29
|
+
mmi-cli devops runtime tenant control {{OWNER}}/{{REPO}} dev logs --lines 200
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Control (start, stop, restart, run-task)
|
|
33
|
+
|
|
34
|
+
TODO: replace tenant examples if this repo has a different runtime; declare safe tasks in the registry.
|
|
35
|
+
```bash
|
|
36
|
+
mmi-cli devops runtime tenant control {{OWNER}}/{{REPO}} dev start --watch
|
|
37
|
+
mmi-cli devops runtime tenant control {{OWNER}}/{{REPO}} dev stop --watch
|
|
38
|
+
mmi-cli devops runtime tenant control {{OWNER}}/{{REPO}} dev restart --watch
|
|
39
|
+
mmi-cli devops runtime tenant control {{OWNER}}/{{REPO}} dev run-task --task <registry-task-name> --watch
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
## Data and backups
|
|
43
|
+
|
|
44
|
+
TODO: list stores, retention, backup owner, recovery objectives and the verified restore procedure.
|
|
45
|
+
Do not guess restore commands or run destructive actions without explicit approval.
|
|
46
|
+
|
|
47
|
+
## Third-party APIs
|
|
48
|
+
|
|
49
|
+
TODO: list providers, secret key names, scopes and rotation owners; never record secret values.
|
|
50
|
+
Keys are used only via `mmi-cli vault secrets use`; never print, paste or commit them.
|
|
51
|
+
```bash
|
|
52
|
+
mmi-cli vault secrets use --repo {{OWNER}}/{{REPO}} --key <KEY_NAME> -- <consumer-command>
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
## Quality loops
|
|
56
|
+
|
|
57
|
+
TODO: name this repo's required gate, approved checks and post-deploy smoke checks.
|
|
58
|
+
```bash
|
|
59
|
+
mmi-cli oracle docs refs --runbooks-only
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
## Known gaps
|
|
63
|
+
|
|
64
|
+
TODO: list missing operational capabilities, their owners and follow-up issues. Do not invent a workaround.
|
|
@@ -18,6 +18,12 @@ jobs:
|
|
|
18
18
|
- uses: mutmutco/MMI-Hub/.github/actions/runner-checkout@{{GATE_RUNNER_SHA}}
|
|
19
19
|
with:
|
|
20
20
|
lockfile-path: package-lock.json
|
|
21
|
+
fetch-depth: 0 # #8129: runbook freshness needs the PR merge-base history.
|
|
22
|
+
- name: Runbook guard
|
|
23
|
+
if: ${{ github.event_name == 'pull_request' }}
|
|
24
|
+
uses: mutmutco/MMI-Hub/.github/actions/runbook-guard@{{GATE_RUNBOOK_SHA}}
|
|
25
|
+
with:
|
|
26
|
+
base-ref: origin/${{ github.base_ref }}
|
|
21
27
|
- name: Isolate npm cache
|
|
22
28
|
run: echo "NPM_CONFIG_CACHE=$RUNNER_TEMP/npm-cache" >> "$GITHUB_ENV"
|
|
23
29
|
- uses: mutmutco/MMI-Hub/.github/actions/runner-node-toolchain@{{GATE_RUNNER_SHA}}
|
|
@@ -5,8 +5,7 @@ description: Read org rules for project work and reporting MMI CLI, plugin, or w
|
|
|
5
5
|
|
|
6
6
|
# MMI organization guide
|
|
7
7
|
|
|
8
|
-
Read this
|
|
9
|
-
do not load the whole guidebook or repeat it in the conversation. For a human introduction, use
|
|
8
|
+
Read this entry before MMI project work, then **only the topic relevant to the task**. For a human introduction, use
|
|
10
9
|
the [MMI help skill](../mmi-help/SKILL.md).
|
|
11
10
|
|
|
12
11
|
## Essential rules
|
|
@@ -17,6 +16,7 @@ the [MMI help skill](../mmi-help/SKILL.md).
|
|
|
17
16
|
command arguments, or repository environment files.
|
|
18
17
|
- Personal agent instructions and host settings stay local and gitignored in product repositories.
|
|
19
18
|
Do not commit AGENTS.md, CLAUDE.md, or copied plugin instructions.
|
|
19
|
+
- Operate from the repo's `docs/Guides/operator.md`; update it with the code it covers.
|
|
20
20
|
- Claim approved work through the board, use the repository's checks, and land through MMI.
|
|
21
21
|
A request for help or a plan does not authorize a change or a production release.
|
|
22
22
|
- When an MMI tooling bug affects a developer other than `jervaise`, ask before filing a Hub report.
|