burhan-mop 0.1.0 → 0.1.2
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/{.memoryofplanet → .MOP}/PROTOCOL.md +40 -37
- package/{.memoryofplanet → .MOP}/STATE.json +11 -11
- package/{.memoryofplanet → .MOP}/config/defaults.json +2 -2
- package/.MOP/scripts/burhan-mop.mjs +257 -0
- package/{.memoryofplanet → .MOP}/scripts/mop-auto-deploy.mjs +5 -6
- package/{.memoryofplanet → .MOP}/scripts/mop-autosycn.mjs +24 -24
- package/{.memoryofplanet → .MOP}/scripts/mop-core.mjs +24 -24
- package/{.memoryofplanet → .MOP}/scripts/mop-workflow.mjs +17 -17
- package/.agents/AGENTS.md +7 -6
- package/.agents/skills/auto-deploy/SKILL.md +2 -2
- package/.agents/skills/autosycn/SKILL.md +10 -10
- package/.agents/skills/mop-help/SKILL.md +4 -4
- package/.agents/skills/ruflo-core/SKILL.md +2 -3
- package/.claude/skills/auto-deploy/SKILL.md +2 -2
- package/.claude/skills/autosycn/SKILL.md +7 -7
- package/.claude/skills/mop-help/SKILL.md +4 -4
- package/.codex/config.toml +1 -1
- package/AGENTS.md +10 -9
- package/CLAUDE.md +10 -9
- package/GEMINI.md +3 -3
- package/README.bm.md +152 -0
- package/README.md +68 -1013
- package/bin/burhan-mop.mjs +1 -1
- package/bin/mop-core.mjs +1 -1
- package/bin/mop-workflow.mjs +1 -1
- package/package.json +8 -7
- package/.memoryofplanet/scripts/burhan-mop.mjs +0 -124
- /package/{.memoryofplanet → .MOP}/config/team.json +0 -0
- /package/{.memoryofplanet → .MOP}/templates/artifacts/adversarial-review.md +0 -0
- /package/{.memoryofplanet → .MOP}/templates/artifacts/architecture.md +0 -0
- /package/{.memoryofplanet → .MOP}/templates/artifacts/decision-log.md +0 -0
- /package/{.memoryofplanet → .MOP}/templates/artifacts/handoff.md +0 -0
- /package/{.memoryofplanet → .MOP}/templates/artifacts/implementation-notes.md +0 -0
- /package/{.memoryofplanet → .MOP}/templates/artifacts/prd.md +0 -0
- /package/{.memoryofplanet → .MOP}/templates/artifacts/product-brief.md +0 -0
- /package/{.memoryofplanet → .MOP}/templates/artifacts/readiness-report.md +0 -0
- /package/{.memoryofplanet → .MOP}/templates/artifacts/release-notes.md +0 -0
- /package/{.memoryofplanet → .MOP}/templates/artifacts/review.md +0 -0
- /package/{.memoryofplanet → .MOP}/templates/artifacts/story.md +0 -0
- /package/{.memoryofplanet → .MOP}/templates/artifacts/ux-spec.md +0 -0
package/AGENTS.md
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
#
|
|
1
|
+
# MOP Core - Cross-Agent Instructions
|
|
2
2
|
|
|
3
3
|
## Authentication Gate - First Action
|
|
4
4
|
|
|
5
|
-
Before doing anything in this workspace, read `.
|
|
6
|
-
follow `.
|
|
5
|
+
Before doing anything in this workspace, read `.MOP/STATE.json` and
|
|
6
|
+
follow `.MOP/PROTOCOL.md`.
|
|
7
7
|
|
|
8
|
-
- `initialized: false` -> output `
|
|
8
|
+
- `initialized: false` -> output `MOP belum di-setup. Jalankan /mop-setup.` Run the setup wizard only.
|
|
9
9
|
- `initialized: true` with no `activeMember` -> output `Codename dan password.` Do not continue until verified.
|
|
10
|
-
- Verify credentials through `node .
|
|
10
|
+
- Verify credentials through `node .MOP/scripts/mop-core.mjs login --codename <codename> --password "<password>"`.
|
|
11
11
|
- Wrong credentials -> output `Credentials tidak sah.`
|
|
12
12
|
- After authentication, run the Agent Router before answering or acting:
|
|
13
13
|
`mop-core.mjs agent route --actor <codename> --task "<user task>"`.
|
|
@@ -19,7 +19,7 @@ follow `.memoryofplanet/PROTOCOL.md`.
|
|
|
19
19
|
- If the router returns `partyMode.active: true`, use Party Mode. Show
|
|
20
20
|
`PARTY MODE` in large uppercase before the dialogue, then show
|
|
21
21
|
agent-to-agent and agent-to-user dialogue with the exact format from
|
|
22
|
-
`.
|
|
22
|
+
`.MOP/PROTOCOL.md`. Party Mode normally uses at least 3 agents and
|
|
23
23
|
prefers 4 when relevant roles exist.
|
|
24
24
|
- For complex work or "what next?" questions, use MOP Workflow:
|
|
25
25
|
`mop-workflow.mjs help --actor <codename> --task "<user task>"`.
|
|
@@ -41,7 +41,7 @@ activate irrelevant agents; route to one primary agent first, then add support
|
|
|
41
41
|
agents through Party Mode only when useful.
|
|
42
42
|
|
|
43
43
|
Default skill: `autosycn`. After meaningful changes, use
|
|
44
|
-
`.
|
|
44
|
+
`.MOP/scripts/mop-autosycn.mjs`. It must commit and merge with the
|
|
45
45
|
real member Git identity from state, never with the AI tool identity.
|
|
46
46
|
In team mode, run `preflight --actor <codename>` before starting work; work goes
|
|
47
47
|
to `dev/<codename>`. Every small or large change is pushed there first, then
|
|
@@ -54,8 +54,9 @@ up when they ask.
|
|
|
54
54
|
Default skill: `mop-help`. It answers "lepas ni buat apa?", routes the next MOP
|
|
55
55
|
workflow phase, and names the next artifact/gate.
|
|
56
56
|
|
|
57
|
-
Installer command
|
|
58
|
-
|
|
57
|
+
Installer command: `npx burhan-mop install`.
|
|
58
|
+
GitHub source fallback for development builds:
|
|
59
|
+
`npx --yes github:BURHANDEV-ENTERPRISE/BURHAN-MOP install`.
|
|
59
60
|
|
|
60
61
|
This directory is a portable Ruflo / Claude Flow agent core. It must work across
|
|
61
62
|
Claude Code, Codex / ChatGPT coding surfaces, Gemini CLI, and Google
|
package/CLAUDE.md
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
# Ruflo — Claude Code Configuration
|
|
2
2
|
|
|
3
|
-
##
|
|
3
|
+
## MOP Authentication Gate - First Action
|
|
4
4
|
|
|
5
|
-
Before doing anything in this workspace, read `.
|
|
6
|
-
follow `.
|
|
5
|
+
Before doing anything in this workspace, read `.MOP/STATE.json` and
|
|
6
|
+
follow `.MOP/PROTOCOL.md`.
|
|
7
7
|
|
|
8
|
-
- `initialized: false` -> output `
|
|
8
|
+
- `initialized: false` -> output `MOP belum di-setup. Jalankan /mop-setup.` Run the setup wizard only.
|
|
9
9
|
- `initialized: true` with no `activeMember` -> output `Codename dan password.` Do not continue until verified.
|
|
10
|
-
- Verify credentials through `node .
|
|
10
|
+
- Verify credentials through `node .MOP/scripts/mop-core.mjs login --codename <codename> --password "<password>"`.
|
|
11
11
|
- Wrong credentials -> output `Credentials tidak sah.`
|
|
12
12
|
- After authentication, run the Agent Router before answering or acting:
|
|
13
13
|
`mop-core.mjs agent route --actor <codename> --task "<user task>"`.
|
|
@@ -19,7 +19,7 @@ follow `.memoryofplanet/PROTOCOL.md`.
|
|
|
19
19
|
- If the router returns `partyMode.active: true`, use Party Mode. Show
|
|
20
20
|
`PARTY MODE` in large uppercase before the dialogue, then show
|
|
21
21
|
agent-to-agent and agent-to-user dialogue with the exact format from
|
|
22
|
-
`.
|
|
22
|
+
`.MOP/PROTOCOL.md`. Party Mode normally uses at least 3 agents and
|
|
23
23
|
prefers 4 when relevant roles exist.
|
|
24
24
|
- For complex work or "what next?" questions, use MOP Workflow:
|
|
25
25
|
`mop-workflow.mjs help --actor <codename> --task "<user task>"`.
|
|
@@ -36,7 +36,7 @@ activate irrelevant agents; route to one primary agent first, then add support
|
|
|
36
36
|
agents through Party Mode only when useful.
|
|
37
37
|
|
|
38
38
|
Default skill: `autosycn`. After meaningful changes, use
|
|
39
|
-
`.
|
|
39
|
+
`.MOP/scripts/mop-autosycn.mjs`. It must commit and merge with the
|
|
40
40
|
real member Git identity from state, never with the AI tool identity.
|
|
41
41
|
In team mode, run `preflight --actor <codename>` before starting work; work goes
|
|
42
42
|
to `dev/<codename>`. Every small or large change is pushed there first, then
|
|
@@ -49,8 +49,9 @@ up when they ask.
|
|
|
49
49
|
Default skill: `mop-help`. It answers "lepas ni buat apa?", routes the next MOP
|
|
50
50
|
workflow phase, and names the next artifact/gate.
|
|
51
51
|
|
|
52
|
-
Installer command
|
|
53
|
-
|
|
52
|
+
Installer command: `npx burhan-mop install`.
|
|
53
|
+
GitHub source fallback for development builds:
|
|
54
|
+
`npx --yes github:BURHANDEV-ENTERPRISE/BURHAN-MOP install`.
|
|
54
55
|
|
|
55
56
|
During `/mop-setup`, ask whether to activate auto-deploy after the Git/GitHub
|
|
56
57
|
identity questions.
|
package/GEMINI.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# MOP Core - Gemini CLI Instructions
|
|
2
2
|
|
|
3
3
|
Gemini CLI should load this file as project context. The main provider-neutral
|
|
4
4
|
rules are imported below.
|
|
@@ -7,8 +7,8 @@ rules are imported below.
|
|
|
7
7
|
|
|
8
8
|
## Gemini-Specific Notes
|
|
9
9
|
|
|
10
|
-
- First action still applies: read `.
|
|
11
|
-
`.
|
|
10
|
+
- First action still applies: read `.MOP/STATE.json` and follow
|
|
11
|
+
`.MOP/PROTOCOL.md`.
|
|
12
12
|
- Treat the current workspace root as the project root; do not create a nested
|
|
13
13
|
project wrapper folder for app work unless the user explicitly asks for it.
|
|
14
14
|
- Use `.gemini/settings.json` for context filenames and MCP server setup.
|
package/README.bm.md
ADDED
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
<h1 align="center">BURHAN-MOP</h1>
|
|
2
|
+
|
|
3
|
+
<p align="center">
|
|
4
|
+
<strong>MOP portable AI MemoryCore untuk Claude, Codex / ChatGPT, Gemini, dan Antigravity.</strong>
|
|
5
|
+
</p>
|
|
6
|
+
|
|
7
|
+
<p align="center">
|
|
8
|
+
<a href="https://www.npmjs.com/package/burhan-mop">
|
|
9
|
+
<img src="https://img.shields.io/npm/v/burhan-mop?style=for-the-badge&label=NPM" alt="npm version">
|
|
10
|
+
</a>
|
|
11
|
+
<a href="https://github.com/BURHANDEV-ENTERPRISE/BURHAN-MOP">
|
|
12
|
+
<img src="https://img.shields.io/badge/GitHub-BURHAN--MOP-181717?style=for-the-badge&logo=github" alt="GitHub repository">
|
|
13
|
+
</a>
|
|
14
|
+
<img src="https://img.shields.io/badge/Node-%3E%3D20-1FAE4B?style=for-the-badge&logo=node.js&logoColor=white" alt="Node 20+">
|
|
15
|
+
<img src="https://img.shields.io/badge/License-UNLICENSED-9CA3AF?style=for-the-badge" alt="License">
|
|
16
|
+
</p>
|
|
17
|
+
|
|
18
|
+
<p align="center">
|
|
19
|
+
<img src="https://img.shields.io/badge/Claude-ready-5A45FF?style=flat-square" alt="Claude ready">
|
|
20
|
+
<img src="https://img.shields.io/badge/Codex-ready-111111?style=flat-square" alt="Codex ready">
|
|
21
|
+
<img src="https://img.shields.io/badge/Gemini-ready-4285F4?style=flat-square" alt="Gemini ready">
|
|
22
|
+
<img src="https://img.shields.io/badge/Antigravity-ready-00A67E?style=flat-square" alt="Antigravity ready">
|
|
23
|
+
<img src="https://img.shields.io/badge/MOP_Workflow-BMAD_inspired-FFB000?style=flat-square" alt="MOP workflow">
|
|
24
|
+
</p>
|
|
25
|
+
|
|
26
|
+
<p align="center">
|
|
27
|
+
<a href="./README.md">English</a>
|
|
28
|
+
|
|
|
29
|
+
<strong>Bahasa Melayu</strong>
|
|
30
|
+
</p>
|
|
31
|
+
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
## Apa Itu BURHAN-MOP?
|
|
35
|
+
|
|
36
|
+
BURHAN-MOP ialah **MOP (Memory of Planet) core** yang portable untuk workspace
|
|
37
|
+
coding AI. Ia bagi semua AI provider sumber kebenaran yang sama: memory project,
|
|
38
|
+
peraturan agent, workflow gate, folder artifact, autosycn, dan setup deploy.
|
|
39
|
+
|
|
40
|
+
Maksudnya mudah: pasang sekali, kemudian Claude, Codex / ChatGPT, Gemini, dan
|
|
41
|
+
Antigravity boleh masuk project yang sama dengan context yang sama.
|
|
42
|
+
|
|
43
|
+
## Install
|
|
44
|
+
|
|
45
|
+
Jalankan dalam root project:
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
npx burhan-mop install
|
|
49
|
+
npx burhan-mop doctor
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
Install ke folder lain:
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
npx burhan-mop install --target "C:\path\to\project"
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
Paksa overwrite install sedia ada:
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
npx burhan-mop install --force
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
Installer akan tunjuk terminal UI yang kemas secara default. Untuk automation,
|
|
65
|
+
guna JSON:
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
npx burhan-mop install --json
|
|
69
|
+
npx burhan-mop doctor --json
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
Selepas install, buka AI coding chat dalam project itu dan jalankan:
|
|
73
|
+
|
|
74
|
+
```text
|
|
75
|
+
/mop-setup
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
## Apa Yang Dipasang
|
|
79
|
+
|
|
80
|
+
| Path | Fungsi |
|
|
81
|
+
| --- | --- |
|
|
82
|
+
| `.MOP/` | State, protocol, script, workflow config, dan template artifact MOP. |
|
|
83
|
+
| `AGENTS.md` | Arahan neutral untuk Codex / ChatGPT coding agents. |
|
|
84
|
+
| `CLAUDE.md` | Entry point dan rules untuk Claude Code. |
|
|
85
|
+
| `GEMINI.md` | Entry point untuk Gemini CLI. |
|
|
86
|
+
| `.agents/` | Agent dan skill yang sesuai untuk Antigravity. |
|
|
87
|
+
| `.codex/`, `.gemini/`, `.claude/` | Config dan skill surface ikut provider. |
|
|
88
|
+
|
|
89
|
+
## Fungsi Utama
|
|
90
|
+
|
|
91
|
+
| Fungsi | Apa dia buat |
|
|
92
|
+
| --- | --- |
|
|
93
|
+
| Auth Gate | First action mesti setup/login. AI tidak terus bekerja sebelum gate lulus. |
|
|
94
|
+
| Agent Router | Pilih satu primary agent dan tambah support agent bila perlu. |
|
|
95
|
+
| Party Mode | Tunjuk perbincangan agent-to-agent untuk keputusan multi-role. |
|
|
96
|
+
| MOP Workflow | Flow inspirasi BMAD dari idea sampai release dengan readiness gate. |
|
|
97
|
+
| Artifacts | Simpan plan, spec, review, dan release notes dalam `.MOP/artifacts/`. |
|
|
98
|
+
| Autosycn | Commit dan push guna identiti user sebenar, bukan identiti AI tool. |
|
|
99
|
+
| Auto Deploy | Setup optional untuk GitHub, Docker, dan Vercel. |
|
|
100
|
+
|
|
101
|
+
## Flow Sesi Pertama
|
|
102
|
+
|
|
103
|
+
```text
|
|
104
|
+
1. AI baca .MOP/STATE.json
|
|
105
|
+
2. Jika belum setup, AI suruh jalankan /mop-setup
|
|
106
|
+
3. Setup tanya nama project, owner, codename, password, mode, bahasa, dan GitHub
|
|
107
|
+
4. Selepas login, setiap task lalu Agent Router
|
|
108
|
+
5. Task kompleks guna MOP Workflow dan readiness gate sebelum coding
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
## Command Berguna
|
|
112
|
+
|
|
113
|
+
```bash
|
|
114
|
+
npx burhan-mop install
|
|
115
|
+
npx burhan-mop doctor
|
|
116
|
+
npx burhan-mop package
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
Helper dalam project:
|
|
120
|
+
|
|
121
|
+
```bash
|
|
122
|
+
node .MOP/scripts/mop-core.mjs status
|
|
123
|
+
node .MOP/scripts/mop-core.mjs validate
|
|
124
|
+
node .MOP/scripts/mop-workflow.mjs help --actor <codename> --task "<task>"
|
|
125
|
+
node .MOP/scripts/mop-autosycn.mjs run --actor <codename> --reason "<apa berubah>"
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
## Workflow Team
|
|
129
|
+
|
|
130
|
+
Dalam team mode, kerja akan push ke branch user dulu:
|
|
131
|
+
|
|
132
|
+
```text
|
|
133
|
+
dev/<codename> -> BURHAN-MOP review -> main
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
BURHAN-MOP bertindak sebagai merge guardian. Ia semak branch, validate state,
|
|
137
|
+
dan merge hanya bila workflow selamat.
|
|
138
|
+
|
|
139
|
+
## Release
|
|
140
|
+
|
|
141
|
+
| Item | Nilai |
|
|
142
|
+
| --- | --- |
|
|
143
|
+
| npm package | [`burhan-mop`](https://www.npmjs.com/package/burhan-mop) |
|
|
144
|
+
| command latest | `npx burhan-mop install` |
|
|
145
|
+
| GitHub release | [`v0.1.2`](https://github.com/BURHANDEV-ENTERPRISE/BURHAN-MOP/releases/tag/v0.1.2) |
|
|
146
|
+
| Node | `>=20` |
|
|
147
|
+
|
|
148
|
+
## Links
|
|
149
|
+
|
|
150
|
+
- npm: https://www.npmjs.com/package/burhan-mop
|
|
151
|
+
- GitHub: https://github.com/BURHANDEV-ENTERPRISE/BURHAN-MOP
|
|
152
|
+
- English README: [README.md](./README.md)
|