citadel-ai 1.4.1 → 1.4.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.
@@ -0,0 +1,125 @@
1
+ # šŸ° Getting Started with CITADEL
2
+
3
+ ## Choose your path
4
+
5
+ ### Path A: I know what a terminal is
6
+
7
+ ```bash
8
+ cd my-project
9
+ npx citadel-ai init
10
+ ```
11
+
12
+ Done. Open your IDE and type `/citadel-help` or just start chatting.
13
+
14
+ ---
15
+
16
+ ### Path B: I've never used a terminal (recommended for most vibe coders)
17
+
18
+ **Step 1: Open your AI IDE**
19
+
20
+ Open Cursor, Antigravity, Claude Code, or Windsurf — whichever you use to vibecode.
21
+
22
+ **Step 2: Open or create your project folder**
23
+
24
+ If you already have a project, open it. If not, create an empty folder on your computer (call it whatever you want — "my-app", "side-project", anything).
25
+
26
+ **Step 3: Find the terminal inside your IDE**
27
+
28
+ Every AI IDE has a built-in terminal. You don't need to open a separate app.
29
+
30
+ - **Cursor**: Menu → Terminal → New Terminal (or press `` Ctrl+` ``)
31
+ - **Antigravity**: Click the terminal icon at the bottom, or press `` Ctrl+` ``
32
+ - **Claude Code**: Claude Code IS a terminal — just type directly
33
+ - **Windsurf**: Menu → Terminal → New Terminal (or press `` Ctrl+` ``)
34
+ - **VS Code**: Menu → Terminal → New Terminal (or press `` Ctrl+` ``)
35
+
36
+ You'll see a text area at the bottom of your screen with a blinking cursor. That's the terminal.
37
+
38
+ **Step 4: Type this command and press Enter**
39
+
40
+ ```
41
+ npx citadel-ai init
42
+ ```
43
+
44
+ That's it. One command. It will:
45
+ - Download CITADEL (takes a few seconds)
46
+ - Create all the files your AI needs
47
+ - Set up rules for your specific IDE
48
+
49
+ You'll see something like:
50
+
51
+ ```
52
+ āœ… CITADEL installed! 42 agents ready.
53
+
54
+ .citadel/
55
+ ā”œā”€ā”€ agents/ 42 full agent personas (reference)
56
+ ā”œā”€ā”€ teams/ 10 team files (loaded per phase by IDE)
57
+ ā”œā”€ā”€ specs/ PRD, ADR, Security, Data Model, Growth
58
+ ā”œā”€ā”€ memory/ Session state (gitignored)
59
+ └── gates/ Gate progress (gitignored)
60
+ ```
61
+
62
+ **Step 5: Start chatting**
63
+
64
+ Go back to your AI chat and say what you want to build. The AI already knows about CITADEL — it will start by asking you questions before building anything.
65
+
66
+ That's the whole setup. You're done.
67
+
68
+ ---
69
+
70
+ ### Path C: I don't want to touch the terminal at all
71
+
72
+ Copy-paste this message into your AI chat:
73
+
74
+ ```
75
+ I want to set up CITADEL in this project.
76
+ Please run this command in the terminal: npx citadel-ai init
77
+ Then read the CLAUDE.md (or GEMINI.md) file that was created and follow its instructions.
78
+ ```
79
+
80
+ Your AI IDE will run the command for you and set everything up.
81
+
82
+ ---
83
+
84
+ ## What happens after install
85
+
86
+ Your AI now works like a team of 42 specialists instead of one generalist brain.
87
+
88
+ When you describe what you want to build:
89
+
90
+ 1. **The C-Suite asks questions first** — product, architecture, security, data, growth. You answer.
91
+ 2. **Then specs get drafted** — PRD, architecture decisions, security requirements. Saved in `.citadel/specs/`.
92
+ 3. **Makers build** — specialized agents write code per domain (backend, frontend, mobile, etc.)
93
+ 4. **Checkers review** — independent agents validate the work (the builder never reviews their own code)
94
+ 5. **Security has veto power** — nothing ships without a security check
95
+
96
+ ## Useful commands (in the chat)
97
+
98
+ You can say these things to your AI at any time:
99
+
100
+ | What you say | What happens |
101
+ |-------------|-------------|
102
+ | "help" or "I'm stuck" | ATLAS explains where you are and what to do next |
103
+ | "status" | Shows which phase you're in and what's left |
104
+ | "build [feature]" | Starts the build with the right maker agents |
105
+ | "review" | Runs the checker team on your code |
106
+ | "@bruce security check" | Asks the CISO to audit security |
107
+ | Any description of what you want | ATLAS routes to the right expert |
108
+
109
+ ## FAQ
110
+
111
+ **Do I need an API key?**
112
+ Not for IDE usage. Your IDE already has its own AI. CITADEL just gives it structure.
113
+ The API key is only needed if you want to use the CLI (`npx citadel-ai run`), which most people don't need.
114
+
115
+ **Does this work with [my IDE]?**
116
+ If your IDE reads project files for context (most AI IDEs do), yes. CITADEL creates rule files for Claude Code, Cursor, Antigravity, and Windsurf automatically.
117
+
118
+ **Can I use this with an existing project?**
119
+ Yes. Run `npx citadel-ai init` in your project folder. It won't modify your existing code — it only adds CITADEL files.
120
+
121
+ **What if I want to remove CITADEL?**
122
+ Delete the `.citadel/` folder and the rule files (CLAUDE.md, GEMINI.md, .cursorrules, .windsurfrules). Your project code is untouched.
123
+
124
+ **Is this free?**
125
+ Yes. MIT license. Free forever.
package/README.md CHANGED
@@ -98,11 +98,31 @@ Decisions, errors, and context persist in `.citadel/memory/`. Next session picks
98
98
 
99
99
  ## Quick Start
100
100
 
101
+ ### Option 1: Copy-paste into your AI chat (easiest)
102
+
103
+ Open your AI IDE (Cursor, Antigravity, Claude Code, Windsurf) and paste this:
104
+
105
+ ```
106
+ Run this command in the terminal: npx citadel-ai init
107
+ Then read the CLAUDE.md or GEMINI.md file that was created and follow its instructions.
108
+ ```
109
+
110
+ Your AI does the rest. Start describing what you want to build.
111
+
112
+ ### Option 2: One command in the terminal
113
+
114
+ Open the terminal inside your IDE (press `` Ctrl+` `` in most IDEs) and type:
115
+
101
116
  ```bash
102
- cd my-project
103
117
  npx citadel-ai init
104
118
  ```
105
119
 
120
+ Then go back to your AI chat and start talking.
121
+
122
+ ### Never used a terminal before?
123
+
124
+ See [GETTING-STARTED.md](GETTING-STARTED.md) — a step-by-step guide with zero assumptions.
125
+
106
126
  This creates:
107
127
 
108
128
  ```
package/dist/cli/index.js CHANGED
@@ -50,7 +50,7 @@ After init, you can also use slash commands in your IDE:
50
50
  `);
51
51
  }
52
52
  else if (cmd === 'version' || cmd === '--version' || cmd === '-v') {
53
- console.log('citadel-ai v1.4.0');
53
+ console.log('citadel-ai v1.5.0');
54
54
  }
55
55
  else {
56
56
  console.log(`Unknown command: ${cmd}\nRun: npx citadel-ai help`);
package/dist/cli/init.js CHANGED
@@ -10,7 +10,6 @@ function ask(q) {
10
10
  const rl = createInterface({ input: process.stdin, output: process.stdout });
11
11
  return new Promise(r => { rl.question(q, a => { rl.close(); r(a.trim()); }); });
12
12
  }
13
- // ── Full agent persona files (42 individual .md files) ──
14
13
  function writeAgentPersonas(cp) {
15
14
  const d = join(cp, 'agents');
16
15
  mkdirSync(d, { recursive: true });
@@ -18,45 +17,111 @@ function writeAgentPersonas(cp) {
18
17
  writeFileSync(join(d, `${id}.md`), [
19
18
  `# ${a.icon} ${a.name} — ${a.title}`,
20
19
  `> ${a.subtitle}`,
21
- ``,
20
+ '',
22
21
  `**Inspiration:** ${a.inspiration}`,
23
22
  `**Philosophy:** "${a.philosophy}"`,
24
23
  `**Level:** ${a.level} | **Team:** ${a.team}`,
25
- ``,
24
+ '',
26
25
  `## Personality`,
27
26
  a.personality,
28
- ``,
27
+ '',
29
28
  `## Voice`,
30
29
  a.voice,
31
- ``,
30
+ '',
32
31
  `## Rules (Immutable)`,
33
32
  ...a.rules.map(r => `- ${r}`),
34
- ``,
33
+ '',
35
34
  `## Principles`,
36
35
  ...a.principles.map(p => `- ${p}`),
37
- ``,
36
+ '',
38
37
  `## System Prompt`,
39
38
  a.systemPrompt,
40
39
  ].join('\n') + '\n', 'utf-8');
41
40
  }
42
41
  }
43
- // ── Spec templates ──
44
42
  function writeSpecTemplates(cp) {
45
43
  const d = join(cp, 'specs');
46
44
  mkdirSync(d, { recursive: true });
47
- writeFileSync(join(d, 'prd.md'), [
48
- '# Product Requirements Document', '',
49
- '## Problem Statement', '<!-- What problem are we solving? -->', '',
50
- '## Target Users', '',
51
- '## Success Metrics', '',
52
- '## User Stories', '<!-- As a [user], I want [action] so that [outcome] -->', '',
53
- '## Scope', '### In Scope', '### Out of Scope',
54
- ].join('\n') + '\n', 'utf-8');
45
+ writeFileSync(join(d, 'prd.md'), '# Product Requirements Document\n\n## Problem Statement\n<!-- What problem are we solving? -->\n\n## Target Users\n\n## Success Metrics\n\n## User Stories\n<!-- As a [user], I want [action] so that [outcome] -->\n\n## Scope\n### In Scope\n### Out of Scope\n', 'utf-8');
55
46
  writeFileSync(join(d, 'adr.md'), '# Architecture Decision Records\n\n<!-- ADRs appended by LINUS (CTO) -->\n', 'utf-8');
56
47
  writeFileSync(join(d, 'security.md'), '# Security Requirements\n\n## Authentication\n## Authorization\n## Data Protection\n## Compliance\n## Threat Model\n\n<!-- Reviewed by BRUCE (CISO) — ABSOLUTE VETO POWER -->\n', 'utf-8');
57
48
  writeFileSync(join(d, 'data-model.md'), '# Data Model\n\n## Entities\n## Relationships\n## Indexes\n## Migration Plan\n\n<!-- Designed by CODD, reviewed by DATE -->\n', 'utf-8');
58
49
  writeFileSync(join(d, 'growth.md'), '# Growth Strategy\n\n## Metrics & KPIs\n## Analytics Plan\n## SEO Strategy\n## Growth Loops\n\n<!-- Owned by SEAN (CGO) -->\n', 'utf-8');
59
50
  }
51
+ function writeGettingStarted(pp) {
52
+ writeFileSync(join(pp, '.citadel', 'GETTING_STARTED.md'), `# šŸ° Getting Started with CITADEL
53
+
54
+ ## What just happened?
55
+
56
+ \`npx citadel-ai init\` installed CITADEL into your project. Here's what it created:
57
+
58
+ ### Files your IDE reads automatically
59
+ Your AI IDE picks these up without any action from you:
60
+ - \`CLAUDE.md\` → Claude Code reads this on every message
61
+ - \`GEMINI.md\` → Antigravity reads this on every message
62
+ - \`.cursorrules\` → Cursor reads this on every message
63
+ - \`.windsurfrules\` → Windsurf reads this on every message
64
+
65
+ These files contain the CITADEL rules: which agents exist, how they work together,
66
+ when to ask questions vs when to build, and what standards to enforce.
67
+
68
+ ### Your project's knowledge base (.citadel/)
69
+ - \`agents/\` — 42 agent personas with full personality, rules, and system prompts
70
+ - \`teams/\` — Same agents grouped by team (loaded per phase to save tokens)
71
+ - \`specs/\` — Templates for PRD, architecture, security, data model, growth
72
+ - \`memory/\` — Session state, decisions, errors (persists across sessions)
73
+ - \`gates/\` — Progress tracking for the 5 quality gates
74
+
75
+ ### Slash commands (Claude Code & Cursor)
76
+ - \`/citadel-help\` — "What should I do next?"
77
+ - \`/citadel-build\` — Start building with the maker team
78
+ - \`/citadel-review\` — Run the checker team on your code
79
+ - \`/citadel-security\` — Full security audit by BRUCE (CISO)
80
+ - \`/citadel-status\` — See current phase and gate progress
81
+
82
+ ## What to do now
83
+
84
+ ### Step 1: Open your project in your IDE
85
+ Just open this folder in Claude Code, Cursor, Antigravity, or Windsurf.
86
+ The AI already knows about CITADEL — no configuration needed.
87
+
88
+ ### Step 2: Describe what you want to build
89
+ Type something like:
90
+ - "I want to build a meal planning app for people with food allergies"
91
+ - "I need an internal dashboard to track team capacity"
92
+ - "Build me a REST API for a marketplace"
93
+
94
+ ### Step 3: Answer the C-Suite's questions
95
+ The AI will convene the C-Suite — 5 strategic agents who each ask
96
+ 1-2 questions from their angle:
97
+ - šŸŽÆ MARTY (Product): Who is this for? What problem?
98
+ - šŸ—ļø LINUS (Architecture): Tech preferences? Scale?
99
+ - šŸ›”ļø BRUCE (Security): User data? Auth needs?
100
+ - šŸ“ˆ SEAN (Growth): How will users find this?
101
+ - šŸ—„ļø MONICA (Data): What entities? Relationships?
102
+
103
+ Answer their questions. They'll draft specs based on YOUR answers.
104
+
105
+ ### Step 4: Build
106
+ The maker agents will build per domain — backend, frontend, mobile, etc.
107
+ Each one follows strict code standards.
108
+
109
+ ### Step 5: Review
110
+ Checker agents validate independently. The builder never reviews their own work.
111
+
112
+ ## Tips
113
+
114
+ - Say "help" or "stuck" anytime — ATLAS will guide you
115
+ - Say "@bruce" to talk directly to the security agent
116
+ - Say "status" to see gate progress
117
+ - Specs are saved in .citadel/specs/ — they persist across sessions
118
+ - If the AI starts building without asking questions first, remind it:
119
+ "Follow CITADEL rules — ask questions before drafting"
120
+
121
+ ## Need help?
122
+ https://github.com/nbabderrahmane/citadel-ai/issues
123
+ `, 'utf-8');
124
+ }
60
125
  // ═══ MAIN INIT ═══
61
126
  export async function initCommand(targetPath) {
62
127
  const pp = targetPath ?? process.cwd();
@@ -70,37 +135,28 @@ export async function initCommand(targetPath) {
70
135
  }
71
136
  }
72
137
  console.log('\nā³ Installing CITADEL...\n');
73
- // Scaffold directories
138
+ // Scaffold
74
139
  for (const d of [cp, join(cp, 'memory'), join(cp, 'gates'), join(cp, 'specs'), join(cp, 'agents'), join(cp, 'teams')]) {
75
140
  mkdirSync(d, { recursive: true });
76
141
  }
77
- // Config (robust — includes LLM defaults that run.ts can override from env)
142
+ // Config
78
143
  writeFileSync(join(cp, 'citadel.config.json'), JSON.stringify({
79
- version: '1.4.0',
144
+ version: '1.5.0',
80
145
  features: { autoGates: true, persistentMemory: true, chineseWalls: true },
81
146
  }, null, 2), 'utf-8');
82
147
  // Init memory & gates
83
148
  new Memory(pp).initSession();
84
149
  new GateSystem(pp).initAllGates();
85
- // Agent personas — 42 individual files (full reference)
150
+ // Content
86
151
  writeAgentPersonas(cp);
87
- // Team files — 10 files (phased loading for IDEs)
88
152
  writeTeamFiles(cp);
89
- // Spec templates
90
153
  writeSpecTemplates(cp);
91
- // IDE rules (Claude Code, Cursor, Antigravity, Windsurf)
154
+ writeGettingStarted(pp);
155
+ // IDE rules
92
156
  installAllIDEs(pp);
93
- console.log(' āœ… .citadel/agents/ — 42 agent personas (full reference)');
94
- console.log(' āœ… .citadel/teams/ — 10 team files (phased loading for IDE)');
95
- console.log(' āœ… .citadel/specs/ — PRD, ADR, Security, Data Model, Growth');
96
- console.log(' āœ… CLAUDE.md — Claude Code');
97
- console.log(' āœ… .cursorrules — Cursor');
98
- console.log(' āœ… GEMINI.md — Antigravity');
99
- console.log(' āœ… .windsurfrules — Windsurf');
100
- console.log(' āœ… Slash commands — Claude Code + Cursor');
101
157
  // .gitignore
102
158
  const gi = join(pp, '.gitignore');
103
- const giContent = '\n# CITADEL state (agents + teams + specs are committed)\n.citadel/memory/\n.citadel/gates/\n';
159
+ const giContent = '\n# CITADEL state\n.citadel/memory/\n.citadel/gates/\n';
104
160
  if (existsSync(gi)) {
105
161
  if (!readFileSync(gi, 'utf-8').includes('.citadel/memory'))
106
162
  appendFileSync(gi, giContent);
@@ -109,20 +165,40 @@ export async function initCommand(targetPath) {
109
165
  writeFileSync(gi, giContent);
110
166
  }
111
167
  const c = getAgentCount();
112
- console.log(`
113
- āœ… CITADEL installed! ${c.total} agents ready.
168
+ console.log(` āœ… ${c.total} agents installed (.citadel/agents/)
169
+ āœ… 10 team files for phased loading (.citadel/teams/)
170
+ āœ… Spec templates (.citadel/specs/)
171
+ āœ… Getting started guide (.citadel/GETTING_STARTED.md)
172
+
173
+ IDE rules (auto-loaded — no config needed):
174
+ āœ… CLAUDE.md → Claude Code
175
+ āœ… .cursorrules → Cursor
176
+ āœ… GEMINI.md → Antigravity
177
+ āœ… .windsurfrules → Windsurf
178
+
179
+ Slash commands:
180
+ āœ… /citadel-help → "What do I do next?"
181
+ āœ… /citadel-build → Start the maker team
182
+ āœ… /citadel-review → Run the checker team
183
+ āœ… /citadel-security → Security audit
184
+ āœ… /citadel-status → Phase & gate progress
185
+
186
+ ${'═'.repeat(56)}
187
+
188
+ āœ… CITADEL is ready. Here's what to do:
189
+
190
+ 1. Open this folder in your IDE
191
+ (Claude Code, Cursor, Antigravity, or Windsurf)
192
+
193
+ 2. The AI already knows the rules — just start talking:
194
+ "I want to build [describe your idea]"
114
195
 
115
- .citadel/
116
- ā”œā”€ā”€ agents/ 42 full agent personas (reference)
117
- ā”œā”€ā”€ teams/ 10 team files (loaded per phase by IDE)
118
- ā”œā”€ā”€ specs/ PRD, ADR, Security, Data, Growth
119
- ā”œā”€ā”€ memory/ Session state (gitignored)
120
- └── gates/ Gate progress (gitignored)
196
+ 3. The C-Suite will ask you questions FIRST,
197
+ then draft specs based on your answers.
121
198
 
122
- IDE: Open your project → /citadel-help (Claude Code/Cursor)
123
- or just start chatting (Antigravity/Windsurf)
199
+ That's it. You talk, the team works.
124
200
 
125
- CLI: npx citadel-ai run (needs ANTHROPIC_API_KEY or OPENAI_API_KEY)
201
+ šŸ“– Full guide: .citadel/GETTING_STARTED.md
126
202
  `);
127
203
  }
128
204
  //# sourceMappingURL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IACvB,mBAAmB,CAAC,EAAE,CAAC,CAAC;IAExB,YAAY;IACZ,cAAc,CAAC,EAAE,CAAC,CAAC;IAEnB,aAAa;IACb,MAAM,EAAE,GAAG,IAAI,CAAC,EAAE,EAAE,YAAY,CAAC,CAAC;IAClC,MAAM,SAAS,GAAG,wDAAwD,CAAC;IAC3E,IAAI,UAAU,CAAC,EAAE,CAAC,EAAE,CAAC;QACnB,IAAI,CAAC,YAAY,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC,QAAQ,CAAC,iBAAiB,CAAC;YAAE,cAAc,CAAC,EAAE,EAAE,SAAS,CAAC,CAAC;IAC5F,CAAC;SAAM,CAAC;QACN,aAAa,CAAC,EAAE,EAAE,SAAS,CAAC,CAAC;IAC/B,CAAC;IAED,MAAM,CAAC,GAAG,aAAa,EAAE,CAAC;IAC1B,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,KAAK;;;;;;;;;;;;;;;;;;EAkB1B,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC;;;;;;;;;;;;;;;;CAgBf,CAAC,CAAC;AACH,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "citadel-ai",
3
- "version": "1.4.1",
3
+ "version": "1.4.2",
4
4
  "description": "Enterprise AI dev framework. 42 agents. C-suite governance. Chinese walls. Persistent memory. You talk, they build.",
5
5
  "keywords": [
6
6
  "ai",
@@ -37,7 +37,8 @@
37
37
  "templates",
38
38
  "README.md",
39
39
  "LICENSE",
40
- "CONTRIBUTING.md"
40
+ "CONTRIBUTING.md",
41
+ "GETTING-STARTED.md"
41
42
  ],
42
43
  "scripts": {
43
44
  "build": "tsc",
@@ -55,4 +56,4 @@
55
56
  "engines": {
56
57
  "node": ">=18.0.0"
57
58
  }
58
- }
59
+ }