role-os 1.0.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/CHANGELOG.md +13 -0
- package/LICENSE +21 -0
- package/README.es.md +160 -0
- package/README.fr.md +160 -0
- package/README.hi.md +160 -0
- package/README.it.md +160 -0
- package/README.ja.md +160 -0
- package/README.md +160 -0
- package/README.pt-BR.md +160 -0
- package/README.zh.md +160 -0
- package/bin/roleos.mjs +90 -0
- package/package.json +41 -0
- package/src/fs-utils.mjs +60 -0
- package/src/init.mjs +36 -0
- package/src/packet.mjs +144 -0
- package/src/prompts.mjs +76 -0
- package/src/review.mjs +94 -0
- package/src/route.mjs +169 -0
- package/src/status.mjs +352 -0
- package/starter-pack/.claude/workflows/full-treatment.md +74 -0
- package/starter-pack/README.md +74 -0
- package/starter-pack/agents/core/critic-reviewer.md +39 -0
- package/starter-pack/agents/core/orchestrator.md +40 -0
- package/starter-pack/agents/core/product-strategist.md +40 -0
- package/starter-pack/agents/design/brand-guardian.md +41 -0
- package/starter-pack/agents/design/ui-designer.md +42 -0
- package/starter-pack/agents/engineering/backend-engineer.md +39 -0
- package/starter-pack/agents/engineering/dependency-auditor.md +40 -0
- package/starter-pack/agents/engineering/frontend-developer.md +40 -0
- package/starter-pack/agents/engineering/performance-engineer.md +42 -0
- package/starter-pack/agents/engineering/refactor-engineer.md +41 -0
- package/starter-pack/agents/engineering/security-reviewer.md +42 -0
- package/starter-pack/agents/engineering/test-engineer.md +38 -0
- package/starter-pack/agents/growth/community-manager.md +41 -0
- package/starter-pack/agents/growth/content-strategist.md +41 -0
- package/starter-pack/agents/growth/launch-strategist.md +42 -0
- package/starter-pack/agents/growth/support-triage-lead.md +41 -0
- package/starter-pack/agents/marketing/launch-copywriter.md +39 -0
- package/starter-pack/agents/product/feedback-synthesizer.md +39 -0
- package/starter-pack/agents/product/information-architect.md +40 -0
- package/starter-pack/agents/product/roadmap-prioritizer.md +41 -0
- package/starter-pack/agents/product/spec-writer.md +42 -0
- package/starter-pack/agents/research/competitive-analyst.md +40 -0
- package/starter-pack/agents/research/trend-researcher.md +40 -0
- package/starter-pack/agents/research/user-interview-synthesizer.md +41 -0
- package/starter-pack/agents/research/ux-researcher.md +40 -0
- package/starter-pack/agents/treatment/coverage-auditor.md +40 -0
- package/starter-pack/agents/treatment/deployment-verifier.md +41 -0
- package/starter-pack/agents/treatment/docs-architect.md +40 -0
- package/starter-pack/agents/treatment/metadata-curator.md +40 -0
- package/starter-pack/agents/treatment/release-engineer.md +43 -0
- package/starter-pack/agents/treatment/repo-researcher.md +40 -0
- package/starter-pack/agents/treatment/repo-translator.md +38 -0
- package/starter-pack/context/brand-rules.md +52 -0
- package/starter-pack/context/current-priorities.md +33 -0
- package/starter-pack/context/product-brief.md +47 -0
- package/starter-pack/context/repo-map.md +45 -0
- package/starter-pack/examples/feature-packet.md +39 -0
- package/starter-pack/examples/identity-packet.md +39 -0
- package/starter-pack/examples/integration-packet.md +39 -0
- package/starter-pack/handbook.md +67 -0
- package/starter-pack/policy/done-definition.md +15 -0
- package/starter-pack/policy/escalation-rules.md +20 -0
- package/starter-pack/policy/routing-rules.md +199 -0
- package/starter-pack/policy/tool-permissions.md +134 -0
- package/starter-pack/schemas/handoff.md +52 -0
- package/starter-pack/schemas/review-verdict.md +26 -0
- package/starter-pack/schemas/task-packet.md +44 -0
- package/starter-pack/workflows/fix-bug.md +18 -0
- package/starter-pack/workflows/launch-update.md +15 -0
- package/starter-pack/workflows/ship-feature.md +22 -0
package/README.it.md
ADDED
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<a href="README.ja.md">日本語</a> | <a href="README.zh.md">中文</a> | <a href="README.es.md">Español</a> | <a href="README.fr.md">Français</a> | <a href="README.hi.md">हिन्दी</a> | <a href="README.md">English</a> | <a href="README.pt-BR.md">Português (BR)</a>
|
|
3
|
+
</p>
|
|
4
|
+
|
|
5
|
+
# Role OS
|
|
6
|
+
|
|
7
|
+
<p align="center">
|
|
8
|
+
<img src="https://raw.githubusercontent.com/mcp-tool-shop-org/brand/main/logos/role-os/readme.png" alt="Role OS" width="400">
|
|
9
|
+
</p>
|
|
10
|
+
|
|
11
|
+
<p align="center">
|
|
12
|
+
<a href="https://github.com/mcp-tool-shop-org/role-os/actions"><img src="https://github.com/mcp-tool-shop-org/role-os/actions/workflows/ci.yml/badge.svg" alt="CI"></a>
|
|
13
|
+
<a href="https://www.npmjs.com/package/@mcptoolshop/role-os"><img src="https://img.shields.io/npm/v/@mcptoolshop/role-os" alt="npm"></a>
|
|
14
|
+
<a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue" alt="MIT License"></a>
|
|
15
|
+
<a href="https://mcp-tool-shop-org.github.io/role-os/"><img src="https://img.shields.io/badge/Landing_Page-live-brightgreen" alt="Landing Page"></a>
|
|
16
|
+
</p>
|
|
17
|
+
|
|
18
|
+
Un livello operativo portatile e integrato che indirizza il lavoro attraverso contratti di ruolo, pacchetti strutturati, revisioni e escalation, in modo che i team possano svolgere attività di sviluppo funzionalità, integrazione, correzione di identità e gestione completa del repository, senza deviazioni, completamenti errati o affermazioni di avanzamento basate su impressioni.
|
|
19
|
+
|
|
20
|
+
## Cosa fa
|
|
21
|
+
|
|
22
|
+
Role OS previene i specifici errori che i flussi di lavoro AI generici producono:
|
|
23
|
+
|
|
24
|
+
- **Deviazioni (Drift)**: i ruoli rimangono nel loro ambito. Il prodotto non viene ridisegnato. L'interfaccia utente non ridefinisce l'ambito. Il backend non inventa la direzione del prodotto.
|
|
25
|
+
- **Completamenti errati (False completion)**: la definizione di "completato" è concreta. Il lavoro che nasconde lacune, omette verifiche o risolve un problema diverso viene rifiutato.
|
|
26
|
+
- **Contaminazione (Contamination)**: i progetti derivati o ereditati contengono residui di identità. Role OS rileva e rifiuta le deviazioni cross-progetto in termini, elementi visivi e modelli mentali.
|
|
27
|
+
- **Avanzamento basato su impressioni (Vibes-based progress)**: ogni passaggio è strutturato. Ogni decisione si basa su prove. "Sembra fatto" non è uno stato valido.
|
|
28
|
+
|
|
29
|
+
## Come funziona
|
|
30
|
+
|
|
31
|
+
1. **Crea un pacchetto**: definisci cosa deve esistere quando il lavoro è completato.
|
|
32
|
+
2. **Indirizza attraverso una catena**: il più piccolo insieme di ruoli specializzati necessari.
|
|
33
|
+
3. **Ogni ruolo produce un passaggio (handoff)**: un output strutturato che riduce l'ambiguità per il ruolo successivo.
|
|
34
|
+
4. **Il revisore valuta rispetto al contratto**: accetta, rifiuta o blocca in base alle prove, non alle impressioni.
|
|
35
|
+
|
|
36
|
+
## Memoria e continuità
|
|
37
|
+
|
|
38
|
+
Role OS non possiede né duplica il livello di memoria. Quando esiste la memoria del progetto Claude, questa è il sistema di continuità canonico: i fatti del repository, le decisioni, i problemi aperti e la cronologia delle modifiche sono memorizzati lì.
|
|
39
|
+
|
|
40
|
+
Role OS si integra con la memoria del progetto Claude. Non la sostituisce.
|
|
41
|
+
|
|
42
|
+
## Elaborazione completa e controllo di qualità
|
|
43
|
+
|
|
44
|
+
L'elaborazione completa è un protocollo canonico di 7 fasi definito nella memoria del progetto Claude (`memory/full-treatment.md`). Role OS indirizza e valuta le elaborazioni utilizzando contratti di ruolo, passaggi e controlli, ma non ridefinisce il protocollo.
|
|
45
|
+
|
|
46
|
+
Il **controllo di qualità (shipcheck)** è il sistema di controllo di 31 elementi che viene eseguito prima dell'elaborazione completa. I controlli obbligatori A-D devono essere superati prima che qualsiasi elaborazione possa iniziare. Riferimento canonico: `memory/shipcheck.md`.
|
|
47
|
+
|
|
48
|
+
Ordine: controllo di qualità, quindi elaborazione completa. Nessuna versione 1.0.0 senza aver superato i controlli obbligatori.
|
|
49
|
+
|
|
50
|
+
## 32 ruoli in 8 pacchetti
|
|
51
|
+
|
|
52
|
+
| Pacchetto | Ruoli |
|
|
53
|
+
|------|-------|
|
|
54
|
+
| **Core** (3) | Orchestratore, Product Strategist, Recensore |
|
|
55
|
+
| **Engineering** (7) | Sviluppatore Frontend, Ingegnere Backend, Ingegnere di Test, Ingegnere di Refactoring, Ingegnere delle Prestazioni, Revisore delle Dipendenze, Revisore di Sicurezza |
|
|
56
|
+
| **Design** (2) | UI Designer, Responsabile del Brand |
|
|
57
|
+
| **Marketing** (1) | Copywriter per il lancio |
|
|
58
|
+
| **Treatment** (7) | Ricercatore di Repository, Traduttore di Repository, Architetto della Documentazione, Curatore dei Metadati, Revisore della Copertura, Verificatore del Deployment, Ingegnere del Rilascio |
|
|
59
|
+
| **Product** (4) | Sintetizzatore di Feedback, Prioritizzatore della Roadmap, Redattore di Specifiche, Architetto dell'Informazione |
|
|
60
|
+
| **Research** (4) | Ricercatore UX, Analista della Concorrenza, Ricercatore di Tendenze, Sintetizzatore di Interviste con gli Utenti |
|
|
61
|
+
| **Growth** (4) | Strategista per il lancio, Strategista dei Contenuti, Community Manager, Responsabile del Supporto |
|
|
62
|
+
|
|
63
|
+
Ogni ruolo ha un contratto completo: missione, quando utilizzare, quando non utilizzare, input previsti, output richiesti, standard di qualità e trigger di escalation.
|
|
64
|
+
|
|
65
|
+
## Guida rapida
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
npx @mcptoolshop/role-os init
|
|
69
|
+
|
|
70
|
+
# Fill context/ files for your project, then:
|
|
71
|
+
roleos packet new feature
|
|
72
|
+
roleos route .claude/packets/my-feature.md
|
|
73
|
+
roleos review .claude/packets/my-feature.md accept
|
|
74
|
+
roleos status
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
## Quando non utilizzare Role OS
|
|
78
|
+
|
|
79
|
+
- Correzioni di una sola riga, errori di battitura o bug evidenti
|
|
80
|
+
- Ricerche esplorative senza un output definito
|
|
81
|
+
- Lavori che possono essere completati nella mente di una persona in 5 minuti
|
|
82
|
+
- Correzioni urgenti che devono essere rilasciate prima che la catena di revisione sia completa
|
|
83
|
+
- Progetti in cui si privilegia la velocità rispetto alla struttura
|
|
84
|
+
|
|
85
|
+
## Prove
|
|
86
|
+
|
|
87
|
+
Role OS è stato testato in tre scenari diversi in due repository strutturalmente diversi:
|
|
88
|
+
|
|
89
|
+
**Test 001 — Sviluppo funzionalità** (Schermata Crew, Star Freight)
|
|
90
|
+
- Catena di 7 ruoli, 45 scenari di test, 0 conflitti di ruolo.
|
|
91
|
+
- Ha prevenuto la contaminazione da un progetto antenato, ha rilevato modifiche non autorizzate e ha evidenziato i blocchi reali.
|
|
92
|
+
|
|
93
|
+
**Test 002 — Integrazione** (Collegamento CampaignState, Star Freight)
|
|
94
|
+
- Catena di 5 ruoli, ha risolto la connessione architetturale senza soluzioni di ripiego.
|
|
95
|
+
- I test anti-fallback hanno dimostrato che il percorso attivo è reale, non un segnaposto.
|
|
96
|
+
|
|
97
|
+
**Test 003 — Correzione di identità** (Pulizia della contaminazione, Star Freight)
|
|
98
|
+
- Catena di 6 ruoli, 51 scenari di test, inclusa la difesa duratura contro la contaminazione del sistema di integrazione continua.
|
|
99
|
+
- Ha corretto le incongruenze ereditate senza dover rifare completamente il progetto.
|
|
100
|
+
|
|
101
|
+
**Prova di portabilità** (Coerenza della persona, sensibilità al contesto)
|
|
102
|
+
- Stessa struttura di base, ma con linguaggio/ambito/stack diversi.
|
|
103
|
+
- Adattamento solo al contesto, senza modifiche al contratto principale.
|
|
104
|
+
|
|
105
|
+
**Trattamento completo FT-001** (portlight-desktop)
|
|
106
|
+
- Trattamento con personale dedicato in 7 fasi, con ruoli del pacchetto di trattamento
|
|
107
|
+
- Controllo di spedizione dimostrato, zero conflitti tra ruoli
|
|
108
|
+
|
|
109
|
+
**Trattamento completo FT-002** (studioflow)
|
|
110
|
+
- Stesso pacchetto di trattamento, repository strutturalmente diverso (spazio di lavoro creativo vs gioco)
|
|
111
|
+
- Pacchetto di trattamento portatile: non sono necessarie modifiche al contratto
|
|
112
|
+
|
|
113
|
+
## Proprietà fondamentali
|
|
114
|
+
|
|
115
|
+
Queste sono non negoziabili. Se una modifica ne indebolisce una, rifiutarla.
|
|
116
|
+
|
|
117
|
+
- I confini dei ruoli rimangono validi.
|
|
118
|
+
- La revisione è efficace.
|
|
119
|
+
- L'escalation rimane trasparente.
|
|
120
|
+
- I pacchetti rimangono testabili.
|
|
121
|
+
- La portabilità richiede adattamento al contesto, non modifiche radicali.
|
|
122
|
+
|
|
123
|
+
## Struttura del progetto
|
|
124
|
+
|
|
125
|
+
```
|
|
126
|
+
role-os/
|
|
127
|
+
README.md ← You are here
|
|
128
|
+
bin/roleos.mjs ← CLI entrypoint
|
|
129
|
+
src/ ← CLI implementation
|
|
130
|
+
starter-pack/
|
|
131
|
+
handbook.md ← How Role OS works
|
|
132
|
+
context/ ← Fill these for your repo
|
|
133
|
+
examples/ ← Feature, integration, identity packets
|
|
134
|
+
agents/ ← 32 role contracts across 8 packs
|
|
135
|
+
schemas/ ← Packet, handoff, verdict formats
|
|
136
|
+
policy/ ← Routing, permissions, escalation, done
|
|
137
|
+
workflows/ ← Ship feature, fix bug, launch update, full treatment
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
## Sicurezza
|
|
141
|
+
|
|
142
|
+
Il sistema operativo del ruolo opera **solo localmente**. Copia i modelli Markdown e scrive i file dei pacchetti/verdetto nella directory `.claude/` del tuo repository. Non accede alla rete, non gestisce segreti e non raccoglie dati di telemetria. Nessuna operazione pericolosa: tutte le scritture di file utilizzano la funzione "skip-if-exists" per impostazione predefinita. Consultare il file [SECURITY.md](SECURITY.md) per la politica completa.
|
|
143
|
+
|
|
144
|
+
## Stato
|
|
145
|
+
|
|
146
|
+
**v1.0.0 — Superficie ampia, stesse regole**
|
|
147
|
+
|
|
148
|
+
- v0.1: Operativo — 3 prove, 3 accettazioni, 0 conflitti tra ruoli
|
|
149
|
+
- v0.2: Adozione — flusso di lavoro predefinito nel repository principale, portabile in un secondo repository
|
|
150
|
+
- v0.3: Prodotto — pacchetto di avvio, CLI di bootstrap, superficie di prova
|
|
151
|
+
- v0.4: Pacchetto di trattamento — 8 ruoli di trattamento/identità, trattamento completo con personale dedicato, portabile tra 2 repository
|
|
152
|
+
- v1.0.0: 32 ruoli in 8 pacchetti, CLI completa, trattamento dimostrato, portabilità multi-repository
|
|
153
|
+
|
|
154
|
+
## Licenza
|
|
155
|
+
|
|
156
|
+
MIT
|
|
157
|
+
|
|
158
|
+
---
|
|
159
|
+
|
|
160
|
+
Creato da <a href="https://mcp-tool-shop.github.io/">MCP Tool Shop</a
|
package/README.ja.md
ADDED
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<a href="README.md">English</a> | <a href="README.zh.md">中文</a> | <a href="README.es.md">Español</a> | <a href="README.fr.md">Français</a> | <a href="README.hi.md">हिन्दी</a> | <a href="README.it.md">Italiano</a> | <a href="README.pt-BR.md">Português (BR)</a>
|
|
3
|
+
</p>
|
|
4
|
+
|
|
5
|
+
# Role OS
|
|
6
|
+
|
|
7
|
+
<p align="center">
|
|
8
|
+
<img src="https://raw.githubusercontent.com/mcp-tool-shop-org/brand/main/logos/role-os/readme.png" alt="Role OS" width="400">
|
|
9
|
+
</p>
|
|
10
|
+
|
|
11
|
+
<p align="center">
|
|
12
|
+
<a href="https://github.com/mcp-tool-shop-org/role-os/actions"><img src="https://github.com/mcp-tool-shop-org/role-os/actions/workflows/ci.yml/badge.svg" alt="CI"></a>
|
|
13
|
+
<a href="https://www.npmjs.com/package/@mcptoolshop/role-os"><img src="https://img.shields.io/npm/v/@mcptoolshop/role-os" alt="npm"></a>
|
|
14
|
+
<a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue" alt="MIT License"></a>
|
|
15
|
+
<a href="https://mcp-tool-shop-org.github.io/role-os/"><img src="https://img.shields.io/badge/Landing_Page-live-brightgreen" alt="Landing Page"></a>
|
|
16
|
+
</p>
|
|
17
|
+
|
|
18
|
+
Role OSは、役割契約、構造化されたデータパケット、レビュー、エスカレーションを通じて作業を管理する、移植可能でリポジトリに統合されたオペレーティングレイヤーです。これにより、チームは、ドリフト、誤った完了、または主観的な進捗報告なしに、機能開発、統合、ID修正、およびリポジトリ全体の管理を行うことができます。
|
|
19
|
+
|
|
20
|
+
## Role OSの機能
|
|
21
|
+
|
|
22
|
+
Role OSは、一般的なAIワークフローで発生する特定の課題を解決します。
|
|
23
|
+
|
|
24
|
+
- **ドリフト(逸脱)**: 各役割は、自身の担当範囲にとどまります。製品の再設計、フロントエンドのスコープ変更、バックエンドの製品方向性の変更を防ぎます。
|
|
25
|
+
- **誤った完了**: 完了の定義は明確です。不備を隠したり、検証を省略したり、別の問題を解決したりする作業は却下されます。
|
|
26
|
+
- **汚染**: 分岐または継承されたプロジェクトには、元のプロジェクトの要素が残存する可能性があります。Role OSは、用語、ビジュアル、および思考モデルにおけるプロジェクト間の逸脱を検出し、却下します。
|
|
27
|
+
- **主観的な進捗**: すべての手渡し作業は構造化されています。すべての判断は、証拠に基づいています。「完了したように感じる」という主観的な判断は認められません。
|
|
28
|
+
|
|
29
|
+
## Role OSの仕組み
|
|
30
|
+
|
|
31
|
+
1. **データパケットの作成**: 作業が完了したときに必要な要素を定義します。
|
|
32
|
+
2. **役割チェーンによるルーティング**: 必要な専門的な役割の最小限のセットで作業をルーティングします。
|
|
33
|
+
3. **各役割による手渡し**: 次の役割が理解しやすいように、構造化された出力を提供します。
|
|
34
|
+
4. **レビュー担当者による契約との照合**: 証拠に基づいて、作業を承認、却下、または保留とします。主観的な判断は行いません。
|
|
35
|
+
|
|
36
|
+
## メモリと継続性
|
|
37
|
+
|
|
38
|
+
Role OSは、メモリレイヤーを所有または複製しません。Claudeプロジェクトのメモリが存在する場合、それが標準的な継続性システムです。リポジトリの情報、決定事項、未解決の問題、および処理履歴は、そこに保存されます。
|
|
39
|
+
|
|
40
|
+
Role OSは、Claudeプロジェクトのメモリと連携します。置き換えるものではありません。
|
|
41
|
+
|
|
42
|
+
## 完全な処理と品質チェック
|
|
43
|
+
|
|
44
|
+
完全な処理は、Claudeプロジェクトのメモリ (`memory/full-treatment.md`) に定義された、7段階の標準的なプロセスです。Role OSは、役割契約、手渡し、およびレビューゲートを使用して、処理をルーティングおよびレビューします。このプロセスを再定義するものではありません。
|
|
45
|
+
|
|
46
|
+
**品質チェック**は、完全な処理の前に実行される、31項目の品質ゲートです。完全な処理を開始する前に、AからDまでの必須ゲートをすべて通過する必要があります。参照先: `memory/shipcheck.md`.
|
|
47
|
+
|
|
48
|
+
順序: 品質チェックを最初に実行し、次に完全な処理を行います。必須ゲートをすべて通過しない限り、バージョン1.0.0をリリースできません。
|
|
49
|
+
|
|
50
|
+
## 32の役割、8つのパッケージに分類
|
|
51
|
+
|
|
52
|
+
| パッケージ | 役割 |
|
|
53
|
+
|------|-------|
|
|
54
|
+
| **Core** (3) | オーケストレーター、プロダクトストラテジスト、レビュー担当者 |
|
|
55
|
+
| **Engineering** (7) | フロントエンド開発者、バックエンドエンジニア、テストエンジニア、リファクタリングエンジニア、パフォーマンスエンジニア、依存関係監査担当者、セキュリティレビュー担当者 |
|
|
56
|
+
| **Design** (2) | UIデザイナー、ブランド担当者 |
|
|
57
|
+
| **Marketing** (1) | ローンチコピーライター |
|
|
58
|
+
| **Treatment** (7) | リポジトリ研究者、リポジトリ翻訳者、ドキュメントアーキテクト、メタデータキュレーター、カバレッジ監査担当者、デプロイ検証担当者、リリースエンジニア |
|
|
59
|
+
| **Product** (4) | フィードバック合成担当者、ロードマップ優先順位担当者、仕様書作成者、情報アーキテクト |
|
|
60
|
+
| **Research** (4) | UXリサーチャー、競合分析担当者、トレンドリサーチャー、ユーザーインタビュー合成担当者 |
|
|
61
|
+
| **Growth** (4) | ローンチストラテジスト、コンテンツストラテジスト、コミュニティマネージャー、サポートトリアージリーダー |
|
|
62
|
+
|
|
63
|
+
各役割には、ミッション、使用するタイミング、使用しないタイミング、期待される入力、必要な出力、品質基準、およびエスカレーション条件が詳細に記載されています。
|
|
64
|
+
|
|
65
|
+
## クイックスタート
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
npx @mcptoolshop/role-os init
|
|
69
|
+
|
|
70
|
+
# Fill context/ files for your project, then:
|
|
71
|
+
roleos packet new feature
|
|
72
|
+
roleos route .claude/packets/my-feature.md
|
|
73
|
+
roleos review .claude/packets/my-feature.md accept
|
|
74
|
+
roleos status
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
## Role OSを使用しない場合
|
|
78
|
+
|
|
79
|
+
- 単一行の修正、タイプミス、または明白なバグ
|
|
80
|
+
- 明確な出力がない探索的な調査
|
|
81
|
+
- 5分で1人の担当者が完了できる作業
|
|
82
|
+
- レビュープロセスが完了する前にリリースする必要がある緊急の修正
|
|
83
|
+
- 速度を重視し、構造を後回しにしたいプロジェクト
|
|
84
|
+
|
|
85
|
+
## 検証
|
|
86
|
+
|
|
87
|
+
Role OSは、構造が異なる2つのリポジトリで、3つの異なるテストケースで検証されました。
|
|
88
|
+
|
|
89
|
+
**テストケース001 — 機能開発** (Crew Screen, Star Freight)
|
|
90
|
+
- 7つの役割チェーン、45のテストシナリオ、役割の衝突は0件。
|
|
91
|
+
- 分岐元のプロジェクトからの汚染を防ぎ、意図しない変更を検出し、問題点を明確にしました。
|
|
92
|
+
|
|
93
|
+
**テストケース002 — 統合** (CampaignState wiring, Star Freight)
|
|
94
|
+
- 5つの役割チェーン、フォールバックによる問題を解決しました。
|
|
95
|
+
- フォールバックテストにより、実際に動作するパスが存在することを確認しました。
|
|
96
|
+
|
|
97
|
+
**テストケース003 — ID管理** (Contamination purge, Star Freight)
|
|
98
|
+
- 6つの役割チェーン、耐久性のあるCIによる汚染防御を含む、51のテストシナリオ。
|
|
99
|
+
- 継承された不整合を修正し、大規模な再設計を回避しました。
|
|
100
|
+
|
|
101
|
+
**移植性テスト** (Personaの一貫性、センサーの挙動)
|
|
102
|
+
- 同じ基本構造を持ちながら、異なる言語、ドメイン、技術スタックを使用
|
|
103
|
+
- コンテキストの変更のみで導入可能。コアとなる契約の変更は行わない。
|
|
104
|
+
|
|
105
|
+
**フルトリートメント FT-001** (portlight-desktop)
|
|
106
|
+
- 7段階の担当者配置によるトリートメント。トリートメントパッケージの役割を使用。
|
|
107
|
+
- 品質チェックが確立されており、役割の競合はゼロ。
|
|
108
|
+
|
|
109
|
+
**フルトリートメント FT-002** (studioflow)
|
|
110
|
+
- 同じトリートメントパッケージを使用。構造は異なり、リポジトリの内容も異なる(クリエイティブワークスペース vs ゲーム)。
|
|
111
|
+
- トリートメントパッケージは移植可能。契約の変更は不要。
|
|
112
|
+
|
|
113
|
+
## 主要な特性
|
|
114
|
+
|
|
115
|
+
これらは変更できません。変更によってこれらのいずれかが弱体化する場合は、却下してください。
|
|
116
|
+
|
|
117
|
+
- ロールの境界が維持される
|
|
118
|
+
- レビューは厳格である
|
|
119
|
+
- エスカレーションは誠実に行われる
|
|
120
|
+
- テスト可能な状態が維持される
|
|
121
|
+
- 移植性は、コア部分の変更ではなく、コンテキストへの適応が必要
|
|
122
|
+
|
|
123
|
+
## プロジェクト構造
|
|
124
|
+
|
|
125
|
+
```
|
|
126
|
+
role-os/
|
|
127
|
+
README.md ← You are here
|
|
128
|
+
bin/roleos.mjs ← CLI entrypoint
|
|
129
|
+
src/ ← CLI implementation
|
|
130
|
+
starter-pack/
|
|
131
|
+
handbook.md ← How Role OS works
|
|
132
|
+
context/ ← Fill these for your repo
|
|
133
|
+
examples/ ← Feature, integration, identity packets
|
|
134
|
+
agents/ ← 32 role contracts across 8 packs
|
|
135
|
+
schemas/ ← Packet, handoff, verdict formats
|
|
136
|
+
policy/ ← Routing, permissions, escalation, done
|
|
137
|
+
workflows/ ← Ship feature, fix bug, launch update, full treatment
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
## セキュリティ
|
|
141
|
+
|
|
142
|
+
Role OSは、**ローカルでのみ**動作します。Markdownテンプレートをコピーし、パケット/判定ファイルを、あなたのリポジトリの`.claude/`ディレクトリに書き込みます。ネットワークへのアクセス、機密情報の取り扱い、テレメトリーの収集は行いません。危険な操作は一切行いません。すべてのファイル書き込みは、デフォルトでファイルが存在する場合はスキップします。詳細については、[SECURITY.md](SECURITY.md) を参照してください。
|
|
143
|
+
|
|
144
|
+
## ステータス
|
|
145
|
+
|
|
146
|
+
**v1.0.0 — 基本構造は同じ**
|
|
147
|
+
|
|
148
|
+
- v0.1: 運用開始 — 3回のトライアル、3回の承認、役割の競合はゼロ。
|
|
149
|
+
- v0.2: 導入 — メインリポジトリでのデフォルトワークフロー。別のリポジトリへの移植も可能。
|
|
150
|
+
- v0.3: 製品化 — スターターパック、ブートストラップCLI、検証可能な成果物。
|
|
151
|
+
- v0.4: トリートメントパッケージ — 8つのトリートメント/アイデンティティの役割。担当者配置によるフルトリートメント。2つのリポジトリ間で移植可能。
|
|
152
|
+
- v1.0.0: 32の役割、8つのパッケージ。フルCLI、実績のあるトリートメント、マルチリポジトリでの移植性。
|
|
153
|
+
|
|
154
|
+
## ライセンス
|
|
155
|
+
|
|
156
|
+
MIT
|
|
157
|
+
|
|
158
|
+
---
|
|
159
|
+
|
|
160
|
+
作成者: <a href="https://mcp-tool-shop.github.io/">MCP Tool Shop</a>
|
package/README.md
ADDED
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<a href="README.ja.md">日本語</a> | <a href="README.zh.md">中文</a> | <a href="README.es.md">Español</a> | <a href="README.fr.md">Français</a> | <a href="README.hi.md">हिन्दी</a> | <a href="README.it.md">Italiano</a> | <a href="README.pt-BR.md">Português (BR)</a>
|
|
3
|
+
</p>
|
|
4
|
+
|
|
5
|
+
# Role OS
|
|
6
|
+
|
|
7
|
+
<p align="center">
|
|
8
|
+
<img src="https://raw.githubusercontent.com/mcp-tool-shop-org/brand/main/logos/role-os/readme.png" alt="Role OS" width="400">
|
|
9
|
+
</p>
|
|
10
|
+
|
|
11
|
+
<p align="center">
|
|
12
|
+
<a href="https://github.com/mcp-tool-shop-org/role-os/actions"><img src="https://github.com/mcp-tool-shop-org/role-os/actions/workflows/ci.yml/badge.svg" alt="CI"></a>
|
|
13
|
+
<a href="https://www.npmjs.com/package/role-os"><img src="https://img.shields.io/npm/v/role-os" alt="npm"></a>
|
|
14
|
+
<a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue" alt="MIT License"></a>
|
|
15
|
+
<a href="https://mcp-tool-shop-org.github.io/role-os/"><img src="https://img.shields.io/badge/Landing_Page-live-brightgreen" alt="Landing Page"></a>
|
|
16
|
+
</p>
|
|
17
|
+
|
|
18
|
+
A portable, repo-native operating layer that routes work through role contracts, structured packets, review, and escalation so teams can do feature work, integration work, identity repair, and full repo treatment without drift, false completion, or vibes-based progress claims.
|
|
19
|
+
|
|
20
|
+
## What it does
|
|
21
|
+
|
|
22
|
+
Role OS prevents the specific failures that generic AI workflows produce:
|
|
23
|
+
|
|
24
|
+
- **Drift** — roles stay in lane. Product doesn't redesign. Frontend doesn't redefine scope. Backend doesn't invent product direction.
|
|
25
|
+
- **False completion** — the done definition is concrete. Work that hides gaps, skips verification, or solves a different problem gets rejected.
|
|
26
|
+
- **Contamination** — forked or inherited projects carry identity residue. Role OS detects and rejects cross-project drift in terminology, visuals, and mental models.
|
|
27
|
+
- **Vibes-based progress** — every handoff is structured. Every verdict ties to evidence. "It feels done" is not a valid state.
|
|
28
|
+
|
|
29
|
+
## How it works
|
|
30
|
+
|
|
31
|
+
1. **Create a packet** — define what needs to exist when the work is done
|
|
32
|
+
2. **Route through a chain** — the smallest set of specialized roles needed
|
|
33
|
+
3. **Each role produces a handoff** — structured output that reduces ambiguity for the next role
|
|
34
|
+
4. **Critic reviews against contract** — accepts, rejects, or blocks based on evidence, not impression
|
|
35
|
+
|
|
36
|
+
## Memory and continuity
|
|
37
|
+
|
|
38
|
+
Role OS does not own or duplicate the memory layer. Where Claude project memory exists, it is the canonical continuity system — repo facts, decisions, open loops, and treatment history live there.
|
|
39
|
+
|
|
40
|
+
Role OS integrates with Claude project memory. It does not replace it.
|
|
41
|
+
|
|
42
|
+
## Full treatment and shipcheck
|
|
43
|
+
|
|
44
|
+
Full treatment is a canonical 7-phase protocol defined in Claude project memory (`memory/full-treatment.md`). Role OS routes and reviews treatments using role contracts, handoffs, and critic gates — it does not redefine the protocol.
|
|
45
|
+
|
|
46
|
+
**Shipcheck** is the 31-item quality gate that runs before full treatment. Hard gates A-D must pass before any treatment begins. Canonical reference: `memory/shipcheck.md`.
|
|
47
|
+
|
|
48
|
+
Order: Shipcheck first, then full treatment. No v1.0.0 without passing hard gates.
|
|
49
|
+
|
|
50
|
+
## 32 roles across 8 packs
|
|
51
|
+
|
|
52
|
+
| Pack | Roles |
|
|
53
|
+
|------|-------|
|
|
54
|
+
| **Core** (3) | Orchestrator, Product Strategist, Critic Reviewer |
|
|
55
|
+
| **Engineering** (7) | Frontend Developer, Backend Engineer, Test Engineer, Refactor Engineer, Performance Engineer, Dependency Auditor, Security Reviewer |
|
|
56
|
+
| **Design** (2) | UI Designer, Brand Guardian |
|
|
57
|
+
| **Marketing** (1) | Launch Copywriter |
|
|
58
|
+
| **Treatment** (7) | Repo Researcher, Repo Translator, Docs Architect, Metadata Curator, Coverage Auditor, Deployment Verifier, Release Engineer |
|
|
59
|
+
| **Product** (4) | Feedback Synthesizer, Roadmap Prioritizer, Spec Writer, Information Architect |
|
|
60
|
+
| **Research** (4) | UX Researcher, Competitive Analyst, Trend Researcher, User Interview Synthesizer |
|
|
61
|
+
| **Growth** (4) | Launch Strategist, Content Strategist, Community Manager, Support Triage Lead |
|
|
62
|
+
|
|
63
|
+
Every role has a full contract: mission, use when, do not use when, expected inputs, required outputs, quality bar, and escalation triggers.
|
|
64
|
+
|
|
65
|
+
## Quick start
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
npx role-os init
|
|
69
|
+
|
|
70
|
+
# Fill context/ files for your project, then:
|
|
71
|
+
roleos packet new feature
|
|
72
|
+
roleos route .claude/packets/my-feature.md
|
|
73
|
+
roleos review .claude/packets/my-feature.md accept
|
|
74
|
+
roleos status
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
## When not to use Role OS
|
|
78
|
+
|
|
79
|
+
- Single-line fixes, typos, or obvious bugs
|
|
80
|
+
- Exploratory research with no defined output
|
|
81
|
+
- Work that fits in one person's head in 5 minutes
|
|
82
|
+
- Emergency hotfixes that need to ship before a review chain completes
|
|
83
|
+
- Projects where you want speed over structure
|
|
84
|
+
|
|
85
|
+
## Evidence
|
|
86
|
+
|
|
87
|
+
Role OS was proven across three trial shapes in two structurally different repos:
|
|
88
|
+
|
|
89
|
+
**Trial 001 — Feature work** (Crew Screen, Star Freight)
|
|
90
|
+
- 7-role chain, 45 test scenarios, 0 role collisions
|
|
91
|
+
- Prevented contamination from fork ancestor, caught inline invention, surfaced honest blockers
|
|
92
|
+
|
|
93
|
+
**Trial 002 — Integration work** (CampaignState wiring, Star Freight)
|
|
94
|
+
- 5-role chain, resolved architectural seam without fallback lies
|
|
95
|
+
- Anti-fallback tests proved the live path is real, not placeholder
|
|
96
|
+
|
|
97
|
+
**Trial 003 — Identity work** (Contamination purge, Star Freight)
|
|
98
|
+
- 6-role chain, 51 test scenarios including durable CI contamination defense
|
|
99
|
+
- Repaired inherited fiction drift without collapsing into broad redesign
|
|
100
|
+
|
|
101
|
+
**Portability trial** (Persona consistency, sensor-humor)
|
|
102
|
+
- Same spine, different language/domain/stack
|
|
103
|
+
- Adopted with context changes only — no core contract modifications
|
|
104
|
+
|
|
105
|
+
**Full treatment FT-001** (portlight-desktop)
|
|
106
|
+
- 7-phase staffed treatment with Treatment Pack roles
|
|
107
|
+
- Shipcheck gating proven, zero role collisions
|
|
108
|
+
|
|
109
|
+
**Full treatment FT-002** (studioflow)
|
|
110
|
+
- Same treatment pack, structurally different repo (creative workspace vs game)
|
|
111
|
+
- Treatment Pack portable — no contract modifications needed
|
|
112
|
+
|
|
113
|
+
## Core properties
|
|
114
|
+
|
|
115
|
+
These are non-negotiable. If a change weakens any of them, reject it.
|
|
116
|
+
|
|
117
|
+
- Role boundaries hold
|
|
118
|
+
- Review has teeth
|
|
119
|
+
- Escalation stays honest
|
|
120
|
+
- Packets stay testable
|
|
121
|
+
- Portability requires context adaptation, not core surgery
|
|
122
|
+
|
|
123
|
+
## Project structure
|
|
124
|
+
|
|
125
|
+
```
|
|
126
|
+
role-os/
|
|
127
|
+
README.md ← You are here
|
|
128
|
+
bin/roleos.mjs ← CLI entrypoint
|
|
129
|
+
src/ ← CLI implementation
|
|
130
|
+
starter-pack/
|
|
131
|
+
handbook.md ← How Role OS works
|
|
132
|
+
context/ ← Fill these for your repo
|
|
133
|
+
examples/ ← Feature, integration, identity packets
|
|
134
|
+
agents/ ← 32 role contracts across 8 packs
|
|
135
|
+
schemas/ ← Packet, handoff, verdict formats
|
|
136
|
+
policy/ ← Routing, permissions, escalation, done
|
|
137
|
+
workflows/ ← Ship feature, fix bug, launch update, full treatment
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
## Security
|
|
141
|
+
|
|
142
|
+
Role OS operates **locally only**. It copies markdown templates and writes packet/verdict files to your repository's `.claude/` directory. It does not access the network, handle secrets, or collect telemetry. No dangerous operations — all file writes use skip-if-exists by default. See [SECURITY.md](SECURITY.md) for the full policy.
|
|
143
|
+
|
|
144
|
+
## Status
|
|
145
|
+
|
|
146
|
+
**v1.0.0 — Broad Surface, Same Laws**
|
|
147
|
+
|
|
148
|
+
- v0.1: Operational — 3 trials, 3 accepts, 0 role collisions
|
|
149
|
+
- v0.2: Adoption — default workflow in anchor repo, portable to second repo
|
|
150
|
+
- v0.3: Productization — starter pack, bootstrap CLI, evidence surface
|
|
151
|
+
- v0.4: Treatment Pack — 8 treatment/identity roles, full treatment staffed, portable across 2 repos
|
|
152
|
+
- v1.0.0: 32 roles across 8 packs, full CLI, proven treatment, multi-repo portability
|
|
153
|
+
|
|
154
|
+
## License
|
|
155
|
+
|
|
156
|
+
MIT
|
|
157
|
+
|
|
158
|
+
---
|
|
159
|
+
|
|
160
|
+
Built by <a href="https://mcp-tool-shop.github.io/">MCP Tool Shop</a>
|
package/README.pt-BR.md
ADDED
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<a href="README.ja.md">日本語</a> | <a href="README.zh.md">中文</a> | <a href="README.es.md">Español</a> | <a href="README.fr.md">Français</a> | <a href="README.hi.md">हिन्दी</a> | <a href="README.it.md">Italiano</a> | <a href="README.md">English</a>
|
|
3
|
+
</p>
|
|
4
|
+
|
|
5
|
+
# Role OS
|
|
6
|
+
|
|
7
|
+
<p align="center">
|
|
8
|
+
<img src="https://raw.githubusercontent.com/mcp-tool-shop-org/brand/main/logos/role-os/readme.png" alt="Role OS" width="400">
|
|
9
|
+
</p>
|
|
10
|
+
|
|
11
|
+
<p align="center">
|
|
12
|
+
<a href="https://github.com/mcp-tool-shop-org/role-os/actions"><img src="https://github.com/mcp-tool-shop-org/role-os/actions/workflows/ci.yml/badge.svg" alt="CI"></a>
|
|
13
|
+
<a href="https://www.npmjs.com/package/@mcptoolshop/role-os"><img src="https://img.shields.io/npm/v/@mcptoolshop/role-os" alt="npm"></a>
|
|
14
|
+
<a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue" alt="MIT License"></a>
|
|
15
|
+
<a href="https://mcp-tool-shop-org.github.io/role-os/"><img src="https://img.shields.io/badge/Landing_Page-live-brightgreen" alt="Landing Page"></a>
|
|
16
|
+
</p>
|
|
17
|
+
|
|
18
|
+
Uma camada de sistema operacional portátil e nativa do repositório que direciona o trabalho através de contratos de função, pacotes estruturados, revisões e escalonamento, para que as equipes possam realizar trabalhos de funcionalidade, integração, correção de identidade e tratamento completo do repositório, sem desvios, conclusão falsa ou alegações de progresso baseadas em impressões.
|
|
19
|
+
|
|
20
|
+
## O que ele faz
|
|
21
|
+
|
|
22
|
+
O Role OS previne as falhas específicas que os fluxos de trabalho de IA genéricos produzem:
|
|
23
|
+
|
|
24
|
+
- **Desvio (Drift)** — as funções permanecem em seu domínio. O produto não é redesenhado. A interface não redefine o escopo. O backend não inventa a direção do produto.
|
|
25
|
+
- **Conclusão falsa** — a definição de "concluído" é concreta. O trabalho que esconde lacunas, ignora a verificação ou resolve um problema diferente é rejeitado.
|
|
26
|
+
- **Contaminação** — projetos bifurcados ou herdados carregam resíduos de identidade. O Role OS detecta e rejeita desvios entre projetos em termos, visuais e modelos mentais.
|
|
27
|
+
- **Progresso baseado em impressões** — cada transferência é estruturada. Cada veredicto está vinculado a evidências. "Parece pronto" não é um estado válido.
|
|
28
|
+
|
|
29
|
+
## Como funciona
|
|
30
|
+
|
|
31
|
+
1. **Crie um pacote** — defina o que deve existir quando o trabalho estiver concluído.
|
|
32
|
+
2. **Direcione através de uma cadeia** — o menor conjunto de funções especializadas necessárias.
|
|
33
|
+
3. **Cada função produz uma transferência** — uma saída estruturada que reduz a ambiguidade para a próxima função.
|
|
34
|
+
4. **O revisor avalia em relação ao contrato** — aceita, rejeita ou bloqueia com base em evidências, não em impressões.
|
|
35
|
+
|
|
36
|
+
## Memória e continuidade
|
|
37
|
+
|
|
38
|
+
O Role OS não possui nem duplica a camada de memória. Onde a memória do projeto Claude existe, ela é o sistema de continuidade canônico — os fatos do repositório, decisões, lacunas abertas e histórico de tratamento residem lá.
|
|
39
|
+
|
|
40
|
+
O Role OS se integra com a memória do projeto Claude. Ele não a substitui.
|
|
41
|
+
|
|
42
|
+
## Tratamento completo e verificação de envio
|
|
43
|
+
|
|
44
|
+
O tratamento completo é um protocolo canônico de 7 fases definido na memória do projeto Claude (`memory/full-treatment.md`). O Role OS direciona e revisa os tratamentos usando contratos de função, transferências e portas de revisão — ele não redefine o protocolo.
|
|
45
|
+
|
|
46
|
+
A **verificação de envio (Shipcheck)** é a porta de qualidade de 31 itens que é executada antes do tratamento completo. As portas rígidas A a D devem ser aprovadas antes que qualquer tratamento comece. Referência canônica: `memory/shipcheck.md`.
|
|
47
|
+
|
|
48
|
+
Ordem: Verificação de envio primeiro, depois tratamento completo. Não há v1.0.0 sem a aprovação das portas rígidas.
|
|
49
|
+
|
|
50
|
+
## 32 funções em 8 pacotes
|
|
51
|
+
|
|
52
|
+
| Pacote | Funções |
|
|
53
|
+
|------|-------|
|
|
54
|
+
| **Core** (3) | Coordenador, Estrategista de Produto, Avaliador Crítico |
|
|
55
|
+
| **Engineering** (7) | Desenvolvedor Front-end, Engenheiro Back-end, Engenheiro de Testes, Engenheiro de Refatoração, Engenheiro de Desempenho, Auditor de Dependências, Avaliador de Segurança |
|
|
56
|
+
| **Design** (2) | Designer de Interface, Guardião da Marca |
|
|
57
|
+
| **Marketing** (1) | Redator para Lançamento |
|
|
58
|
+
| **Treatment** (7) | Pesquisador de Repositórios, Tradutor de Repositórios, Arquiteto de Documentação, Curador de Metadados, Auditor de Cobertura, Verificador de Implantação, Engenheiro de Lançamento |
|
|
59
|
+
| **Product** (4) | Sintetizador de Feedback, Priorizador de Roteiro, Redator de Especificações, Arquiteto de Informação |
|
|
60
|
+
| **Research** (4) | Pesquisador de Experiência do Usuário, Analista da Concorrência, Pesquisador de Tendências, Sintetizador de Entrevistas com Usuários |
|
|
61
|
+
| **Growth** (4) | Estrategista de Lançamento, Estrategista de Conteúdo, Gerente de Comunidade, Líder de Triagem de Suporte |
|
|
62
|
+
|
|
63
|
+
Cada função possui um contrato completo: missão, quando usar, quando não usar, entradas esperadas, saídas necessárias, padrão de qualidade e gatilhos de escalonamento.
|
|
64
|
+
|
|
65
|
+
## Como começar
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
npx @mcptoolshop/role-os init
|
|
69
|
+
|
|
70
|
+
# Fill context/ files for your project, then:
|
|
71
|
+
roleos packet new feature
|
|
72
|
+
roleos route .claude/packets/my-feature.md
|
|
73
|
+
roleos review .claude/packets/my-feature.md accept
|
|
74
|
+
roleos status
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
## Quando não usar o Role OS
|
|
78
|
+
|
|
79
|
+
- Correções simples, erros de digitação ou bugs óbvios
|
|
80
|
+
- Pesquisa exploratória sem saída definida
|
|
81
|
+
- Trabalho que cabe na cabeça de uma pessoa em 5 minutos
|
|
82
|
+
- Correções emergenciais que precisam ser lançadas antes que a cadeia de revisão seja concluída
|
|
83
|
+
- Projetos onde a velocidade é mais importante que a estrutura
|
|
84
|
+
|
|
85
|
+
## Evidências
|
|
86
|
+
|
|
87
|
+
O Role OS foi comprovado em três modelos de teste em dois repositórios estruturalmente diferentes:
|
|
88
|
+
|
|
89
|
+
**Teste 001 — Trabalho de funcionalidade** (Tela da Equipe, Star Freight)
|
|
90
|
+
- Cadeia de 7 funções, 45 cenários de teste, 0 conflito de funções.
|
|
91
|
+
- Preveniu a contaminação de um ancestral bifurcado, detectou invenções inline e revelou bloqueios reais.
|
|
92
|
+
|
|
93
|
+
**Teste 002 — Trabalho de integração** (Conexão do Estado da Campanha, Star Freight)
|
|
94
|
+
- Cadeia de 5 funções, resolveu a junção arquitetural sem mentiras de fallback.
|
|
95
|
+
- Testes anti-fallback provaram que o caminho ativo é real, não um espaço reservado.
|
|
96
|
+
|
|
97
|
+
**Teste 003 — Trabalho de identidade** (Remoção de contaminação, Star Freight)
|
|
98
|
+
- Cadeia de 6 funções, 51 cenários de teste, incluindo defesa durável contra contaminação do CI.
|
|
99
|
+
- Corrigiu a derivação de ficção herdada sem reverter para uma grande reformulação.
|
|
100
|
+
|
|
101
|
+
**Teste de portabilidade** (Consistência da persona, sensibilidade aos sensores)
|
|
102
|
+
- Mesma estrutura básica, diferentes idiomas/domínios/pilhas de tecnologias.
|
|
103
|
+
- Adaptado apenas com mudanças de contexto — sem modificações no contrato principal.
|
|
104
|
+
|
|
105
|
+
**Tratamento Completo FT-001** (portlight-desktop)
|
|
106
|
+
- Tratamento completo em 7 fases, com funções do Pacote de Tratamento
|
|
107
|
+
- Verificação de lançamento comprovada, sem colisões de funções
|
|
108
|
+
|
|
109
|
+
**Tratamento Completo FT-002** (studioflow)
|
|
110
|
+
- Mesmo pacote de tratamento, repositório estruturalmente diferente (ambiente de criação vs. jogo)
|
|
111
|
+
- Pacote de tratamento portátil — nenhuma modificação no contrato é necessária
|
|
112
|
+
|
|
113
|
+
## Propriedades essenciais
|
|
114
|
+
|
|
115
|
+
Estas são inegociáveis. Se uma alteração enfraquecer qualquer uma delas, rejeite-a.
|
|
116
|
+
|
|
117
|
+
- Os limites de função são mantidos.
|
|
118
|
+
- A revisão é rigorosa.
|
|
119
|
+
- A escalação permanece transparente.
|
|
120
|
+
- Os pacotes permanecem testáveis.
|
|
121
|
+
- A portabilidade requer adaptação ao contexto, não alterações profundas na estrutura.
|
|
122
|
+
|
|
123
|
+
## Estrutura do projeto
|
|
124
|
+
|
|
125
|
+
```
|
|
126
|
+
role-os/
|
|
127
|
+
README.md ← You are here
|
|
128
|
+
bin/roleos.mjs ← CLI entrypoint
|
|
129
|
+
src/ ← CLI implementation
|
|
130
|
+
starter-pack/
|
|
131
|
+
handbook.md ← How Role OS works
|
|
132
|
+
context/ ← Fill these for your repo
|
|
133
|
+
examples/ ← Feature, integration, identity packets
|
|
134
|
+
agents/ ← 32 role contracts across 8 packs
|
|
135
|
+
schemas/ ← Packet, handoff, verdict formats
|
|
136
|
+
policy/ ← Routing, permissions, escalation, done
|
|
137
|
+
workflows/ ← Ship feature, fix bug, launch update, full treatment
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
## Segurança
|
|
141
|
+
|
|
142
|
+
O sistema "Role OS" opera **apenas localmente**. Ele copia modelos em formato Markdown e escreve arquivos de pacotes/resultados no diretório `.claude/` do seu repositório. Ele não acessa a rede, não lida com informações confidenciais e não coleta dados de telemetria. Não há operações perigosas — todas as operações de escrita de arquivos usam a opção "skip-if-exists" por padrão. Consulte o arquivo [SECURITY.md](SECURITY.md) para a política completa.
|
|
143
|
+
|
|
144
|
+
## Status
|
|
145
|
+
|
|
146
|
+
**v1.0.0 — Superfície Ampla, Mesmas Regras**
|
|
147
|
+
|
|
148
|
+
- v0.1: Operacional — 3 testes, 3 aprovações, 0 colisões de funções
|
|
149
|
+
- v0.2: Adoção — fluxo de trabalho padrão no repositório principal, portátil para o segundo repositório
|
|
150
|
+
- v0.3: Produto — pacote inicial, CLI de inicialização, superfície de evidências
|
|
151
|
+
- v0.4: Pacote de Tratamento — 8 funções de tratamento/identidade, tratamento completo com equipe, portátil entre 2 repositórios
|
|
152
|
+
- v1.0.0: 32 funções em 8 pacotes, CLI completa, tratamento comprovado, portabilidade multi-repositório
|
|
153
|
+
|
|
154
|
+
## Licença
|
|
155
|
+
|
|
156
|
+
MIT
|
|
157
|
+
|
|
158
|
+
---
|
|
159
|
+
|
|
160
|
+
Desenvolvido por <a href="https://mcp-tool-shop.github.io/">MCP Tool Shop</a
|