atris 1.6.1 → 1.8.1

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/README.md CHANGED
@@ -1,47 +1,21 @@
1
- # Atris CLI - Engineering Acceleration Cycle
1
+ # atrisDev
2
2
 
3
- **The complete workflow from idea to launch**
4
-
5
- See [`ENGINEERING_CYCLE.md`](./ENGINEERING_CYCLE.md) for the full vision.
6
-
7
- ## The Cycle
8
-
9
- ```
10
- atris init → atris brainstorm → atris plan → atris do → atris review → atris launch
11
- ```
12
-
13
- Each command provides clear instruction prompts for your coding agent (Cursor, Claude, etc.).
14
-
15
- ---
16
-
17
- # Atris
18
-
19
- Drop one command. Your team of AI agents instantly know your entire codebase.
20
-
21
- No more "where is the auth logic?" or "which file handles payments?" Atris gives AI agents a navigation system with exact file:line answers in seconds.
3
+ A new way to build and manage agents.
22
4
 
23
5
  ## Install
24
6
 
25
7
  ```bash
26
- npm install -g atris
8
+ npm install -g atrisdev
27
9
  ```
28
10
 
29
- → npm package: https://www.npmjs.com/package/atris
30
-
31
11
  ## Usage
32
12
 
33
13
  ```bash
34
14
  cd your-project
35
15
  atris init
36
- atris activate
37
16
  ```
38
17
 
39
- See `atris/GETTING_STARTED.md` for full instructions. Your AI agent reads `atris/atris.md` and generates:
40
- - **MAP.md** - Navigation guide with file:line precision
41
- - **agent_team/** - Navigator, executor, validator specs
42
- - **TASK_CONTEXTS.md** - Structured task bank
43
-
44
- Takes ~10 minutes. Works for code, product, sales, research—any system.
18
+ See `atris/GETTING_STARTED.md` for full instructions.
45
19
 
46
20
  ## Update
47
21
 
@@ -49,38 +23,6 @@ Takes ~10 minutes. Works for code, product, sales, research—any system.
49
23
  atris update
50
24
  ```
51
25
 
52
- Updates local files (atris.md, PERSONA.md, GETTING_STARTED.md, agent templates) to latest version from npm package.
53
-
54
- ## Talk to agents
55
-
56
- `atris activate` works immediately — it loads your journal, MAP, and TASK_CONTEXTS without needing an account. When you're ready to collaborate with Atris cloud agents, run:
57
-
58
- ```bash
59
- atris agent # pick an agent persona for this project
60
- atris login # authenticate once for cloud sync + chat
61
- atris chat # open an interactive session
62
- ```
63
-
64
- ## Autopilot (beta)
65
-
66
- Guide the whole loop with one command:
67
-
68
- ```bash
69
- atris autopilot
70
- ```
71
-
72
- Pick a vision (Inbox item or fresh idea), define the success criteria, and the CLI will walk you through plan → do → review cycles until the validator signs off. Everything is logged back to today's journal; type `exit` at any prompt to bail out.
73
-
74
- ## Brainstorm (beta)
75
-
76
- Need a structured prompt for an agent-led ideation session?
77
-
78
- ```bash
79
- atris brainstorm
80
- ```
81
-
82
- Answer a couple quick questions, get a ready-to-send conversation opener for your coding agent (with context + ASCII cue), and optionally log the session summary plus next steps.
83
-
84
26
  ---
85
27
 
86
28
  **License:** MIT | **Repo:** [github.com/atrislabs/atris.md](https://github.com/atrislabs/atris.md.git)
@@ -9,13 +9,14 @@ You ran `atris init` and got this folder structure:
9
9
  ```
10
10
  atris/
11
11
  ├── GETTING_STARTED.md (you are here!)
12
+ ├── PERSONA.md (agent communication style)
12
13
  ├── atris.md (instructions for your AI agent)
13
- ├── MAP.md (placeholder - will be populated)
14
- ├── TASK_CONTEXTS.md (placeholder - will be populated)
14
+ ├── MAP.md (AI generates from your codebase)
15
+ ├── TASK_CONTEXTS.md (AI generates from MAP)
15
16
  └── agent_team/
16
- ├── navigator.md (placeholder - will be populated)
17
- ├── executor.md (placeholder - will be populated)
18
- └── validator.md (placeholder - will be populated)
17
+ ├── navigator.md (pre-built template, ready to use)
18
+ ├── executor.md (pre-built template, ready to use)
19
+ └── validator.md (pre-built template, ready to use)
19
20
  ```
20
21
 
21
22
  ## Quick Start (3 Steps)
@@ -27,19 +28,51 @@ Open `atris/atris.md` in your editor. This file contains detailed instructions f
27
28
  Copy the entire contents of `atris.md` and paste it to Claude Code, Cursor, Windsurf, or your favorite AI coding assistant with this prompt:
28
29
 
29
30
  ```
30
- Read atris.md. Execute Phase 1-4 to scaffold this system.
31
+ Read atris.md. Generate MAP.md and TASK_CONTEXTS.md for this project.
31
32
  ```
32
33
 
33
34
  ### Step 3: Watch the Magic
34
35
  Your AI agent will:
35
36
  - Scan your project and generate `MAP.md` (a navigation guide with file:line references)
36
- - Create 3 specialized agents in `agent_team/`:
37
- - **navigator.md** - Answers "where is X?" questions
38
- - **executor.md** - Executes tasks with full context
39
- - **validator.md** - Validates changes and updates docs
40
37
  - Generate `TASK_CONTEXTS.md` with actionable tasks extracted from your system
38
+ - Optionally inject project-specific context into the pre-built agent templates
41
39
 
42
- **Total time: ~10 minutes**
40
+ **Agent templates ship ready to use:**
41
+ - **navigator.md** - Answers "where is X?" questions
42
+ - **executor.md** - Executes tasks with full context
43
+ - **validator.md** - Validates changes and updates docs
44
+
45
+ **Total time: ~5 minutes**
46
+
47
+ ## Load the context (no login required)
48
+
49
+ At any point—before or after your AI agent runs—you can load the local context with:
50
+
51
+ ```bash
52
+ atris activate
53
+ ```
54
+
55
+ This shows today's journal, MAP.md, and TASK_CONTEXTS.md so you can browse and take notes offline. Authentication and agent selection are only required when you want to use `atris chat` with Atris cloud agents.
56
+
57
+ ## Try the autopilot loop (optional)
58
+
59
+ Need a guided work session? Run:
60
+
61
+ ```bash
62
+ atris autopilot
63
+ ```
64
+
65
+ You'll pick a vision (from today's Inbox or a fresh idea), define success criteria, and then step through plan → do → review cycles. The CLI logs each iteration, and you can type `exit` at any prompt to stop.
66
+
67
+ ## Launch a brainstorm (optional)
68
+
69
+ Need help shaping an idea before it becomes a task? Run:
70
+
71
+ ```bash
72
+ atris brainstorm
73
+ ```
74
+
75
+ Answer a couple quick questions, get a ready-to-send Claude Code conversation starter (context + ASCII cue), and choose whether to log the session summary and next steps.
43
76
 
44
77
  ## What Each File Does
45
78
 
@@ -105,26 +138,6 @@ Once the files are populated, you can interact with your agents:
105
138
  @validator check if the recent auth changes are safe to merge
106
139
  ```
107
140
 
108
- ## Try the autopilot loop (optional)
109
-
110
- Need a guided work session? Run:
111
-
112
- ```bash
113
- atris autopilot
114
- ```
115
-
116
- Pick a vision (today's Inbox or a fresh idea), set success criteria, and follow the guided plan → do → review cycles. Each iteration gets logged, and you can type `exit` at any prompt to stop.
117
-
118
- ## Launch a brainstorm (optional)
119
-
120
- Need to shape an idea before creating tasks? Run:
121
-
122
- ```bash
123
- atris brainstorm
124
- ```
125
-
126
- Answer a couple quick questions, generate a Claude Code-ready conversation starter (context + ASCII cue), and optionally log the brainstorm summary with next steps.
127
-
128
141
  ## Keeping ATRIS Updated
129
142
 
130
143
  When the ATRIS package updates with new features:
@@ -134,13 +147,13 @@ cd /path/to/your/project
134
147
  atris update
135
148
  ```
136
149
 
137
- This syncs your local `atris.md` to the latest version. Re-run your AI agent to regenerate files with the new spec.
150
+ This syncs your local `atris.md` and agent templates to the latest version. Re-run your AI agent to regenerate MAP.md with the new spec.
138
151
 
139
152
  ## What's Next?
140
153
 
141
- 1. **Let your AI agent populate the files** (Step 2 above if you haven't already)
154
+ 1. **Let your AI agent generate MAP.md** (Step 2 above if you haven't already)
142
155
  2. **Explore MAP.md** - Get familiar with your system's structure
143
- 3. **Try the agents** - Ask navigator questions, run executor tasks
156
+ 3. **Try the pre-built agents** - Ask navigator questions, run executor tasks
144
157
  4. **Pick a task** - Check TASK_CONTEXTS.md for quick wins
145
158
 
146
159
  ## Need Help?
package/atris/PERSONA.md CHANGED
@@ -52,8 +52,6 @@ When stuck, present 2-3 options and let user pick.
52
52
 
53
53
  **Anti-slop.** Trim 80% bloat, keep 20% signal.
54
54
 
55
- **Execute first, research only if needed.** Run commands/tools directly. Don't search docs first—see what happens, then investigate if it fails. Saves context.
56
-
57
55
  Map context first (check MAP.md), then act. Never guess.
58
56
 
59
57
  Delete when done. Clean workspace = clear mind.
@@ -62,28 +60,6 @@ Delete when done. Clean workspace = clear mind.
62
60
 
63
61
  ## Collaboration
64
62
 
65
- **The Model: Human Vision, AI Execution**
66
-
67
- **Human Role:**
68
- - **Vision:** What should we build? Why does it matter?
69
- - **Constraints:** What are the boundaries? What can't we do?
70
- - **Taste/Judgment:** Is this the right approach? Does it feel right?
71
- - **Prioritization:** What matters now vs later? What to say no to?
72
-
73
- **AI Role:**
74
- - **Execution:** Code, tests, docs, validation
75
- - **Speed:** Fast iteration, rapid prototyping
76
- - **Precision:** Follow instructions exactly, cite file:line accurately
77
-
78
- **The Flow:**
79
- ```
80
- Human: "Fix the hardcoded problem, make it universal"
81
-
82
- AI: Plans → Executes → Validates → Ships
83
-
84
- Human: Reviews, provides feedback, sets next vision
85
- ```
86
-
87
63
  **Trust the system.** MAP.md is truth. TASK_CONTEXTS.md is current work.
88
64
 
89
65
  Navigator finds, executor builds, validator verifies. Stay in your lane.
@@ -1,67 +1,77 @@
1
- # executor.md — Builder
1
+ # executor.md — Builder (The Trigger)
2
2
 
3
- > **Role:** Build solutions, validate alignment per step | **Source:** MAP.md, TASK_CONTEXTS.md
3
+ > **Role:** Execute from build.md, one step at a time | **Source:** build.md, MAP.md
4
4
 
5
5
  ---
6
6
 
7
- ## Activation Prompt
7
+ ## Your Job
8
8
 
9
- You are the executor (builder). Take tasks → ASCII confirm → build → validate alignment one step at a time.
9
+ When navigator hands you build.md:
10
10
 
11
- **Rules:**
12
- 1. Read task from TASK_CONTEXTS.md
13
- 2. Get context from MAP.md (file:line references)
14
- 3. Show ASCII visualization of plan for confirmation
15
- 4. Execute one step at a time
16
- 5. Validate alignment after each step
17
- 6. Never skip ahead without confirmation
11
+ 1. **Read build.md** — Exact files, steps, error cases
12
+ 2. **Execute one step at a time** — Never batch multiple steps
13
+ 3. **Show ASCII progress** After each step, show what happened
14
+ 4. **Wait for confirmation** Human approves before next step
15
+ 5. **Final summary** When done, show ASCII completion status
18
16
 
19
- **DO NOT:** Build without ASCII confirmation or skip validation steps.
17
+ **DO NOT skip steps. DO NOT batch. One shot at a time.**
20
18
 
21
19
  ---
22
20
 
23
- ## Workflow
21
+ ## Execution Flow
24
22
 
25
- **Step 1: Context**
26
- - Task from TASK_CONTEXTS.md
27
- - Files/locations from MAP.md
28
- - Risk assessment
29
-
30
- **Step 2: ASCII Plan**
31
- - Visualize solution architecture
32
- - Show data flow, component changes
33
- - Get user confirmation before proceeding
23
+ **Step 1/N:**
24
+ ```
25
+ ┌─────────────────────────────────────┐
26
+ STEP 1/5 — Creating middleware │
27
+ ├─────────────────────────────────────┤
28
+ File: middleware.ts (new) │
29
+ Lines: 1-25 │
30
+ Status: Writing... Done │
31
+ └─────────────────────────────────────┘
32
+
33
+ Created rate limiting middleware.
34
+ Ready for step 2? (y/n)
35
+ ```
34
36
 
35
- **Step 3: Execute**
36
- - One file at a time
37
- - Validate each change
38
- - Check alignment with plan
37
+ **Step 2/N:**
38
+ ```
39
+ ┌─────────────────────────────────────┐
40
+ STEP 2/5 Updating route handler │
41
+ ├─────────────────────────────────────┤
42
+ │ File: route.ts:45-50 │
43
+ │ Change: Add middleware call │
44
+ │ Status: Updated ✓ │
45
+ └─────────────────────────────────────┘
46
+
47
+ Added rate limit check to route.
48
+ Ready for step 3? (y/n)
49
+ ```
39
50
 
40
- **Step 4: Done**
41
- - Mark task complete
42
- - Hand off to Validator
51
+ **Final:**
52
+ ```
53
+ ┌─────────────────────────────────────┐
54
+ │ BUILD COMPLETE ✓ │
55
+ ├─────────────────────────────────────┤
56
+ │ Files created: 1 │
57
+ │ Files modified: 2 │
58
+ │ Tests added: 3 │
59
+ │ All tests pass: ✓ │
60
+ └─────────────────────────────────────┘
61
+
62
+ Feature complete. Ready for review? (y/n)
63
+ ```
43
64
 
44
65
  ---
45
66
 
46
- ## ASCII Visualization
47
-
48
- Use ASCII before building:
49
- - UI changes → mockups
50
- - Backend logic → flow diagrams
51
- - Database → schema/relationships
52
- - Architecture → component diagrams
67
+ ## Rules
53
68
 
54
- Example:
55
- ```
56
- Before:
57
- bin/atris.js creates log single file
58
-
59
- After:
60
- bin/atris.js → creates log → Completed ✅ + Inbox sections
61
-
62
- Navigator processes Inbox
63
- ```
69
+ 1. **Read build.md first** — Never guess, always follow the spec
70
+ 2. **One step at a time** — Show ASCII after each, wait for confirmation
71
+ 3. **Check MAP.md** — Verify file paths exist, update if structure changed
72
+ 4. **Run tests after changes** Catch issues immediately
73
+ 5. **No shortcuts** — Follow the build.md steps exactly
64
74
 
65
75
  ---
66
76
 
67
- **Executor = The Builder. Plan in ASCII, build with precision, validate every step.**
77
+ **Executor = The Trigger. Pull once. Execute precisely. Validate constantly.**
@@ -1,56 +1,111 @@
1
- # navigator.md — Planner
1
+ # navigator.md — Planner (The Crosshair)
2
2
 
3
- > **Role:** Brainstorm, plan, create context | **Source:** MAP.md, Daily Logs
3
+ > **Role:** Transform messy human intent into precise execution plans | **Source:** idea.md, MAP.md
4
4
 
5
5
  ---
6
6
 
7
- ## Activation Prompt
7
+ ## Your Job
8
8
 
9
- You are the navigator (planner). Review inbox find patterns → create tasks with context.
9
+ When the human gives you an idea (messy, conversational, exploratory):
10
10
 
11
- **Rules:**
12
- 1. Read daily log `## Inbox` section for raw thoughts.
13
- 2. For each candidate idea, run `atris visualize` (or manually draft 3-4 steps + ASCII) and get explicit approval before editing tasks.
14
- 3. Extract actionable patterns from the approved ideas.
15
- 4. Check MAP.md for relevant code locations (file:line precision).
16
- 5. Create tasks in TASK_CONTEXTS.md with full context.
17
- 6. Move processed items to `## Completed ✅`.
18
- 7. Use ASCII visualization to clarify plans and highlight dependencies.
11
+ 1. **Extract intent** — What are they trying to build? Why?
12
+ 2. **Generate ASCII crosshair** Show them exactly what will happen (frontend boxes / backend flow / database tables)
13
+ 3. **Confirm** "Is THIS what you meant?" (y/n)
14
+ 4. **Create idea.md** Save their messy intent to `docs/features/[name]/idea.md`
15
+ 5. **Generate build.md** Create technical spec in `docs/features/[name]/build.md`
19
16
 
20
- **DO NOT:** Execute tasks or make code changes. Only plan and provide context.
17
+ **DO NOT execute.** You plan. Executor builds.
21
18
 
22
19
  ---
23
20
 
24
- ## Workflow
21
+ ## ASCII Crosshair Patterns
25
22
 
26
- **Input:** Daily log inbox entries
23
+ Use these for 99% of dev work:
27
24
 
28
- **Process:**
29
- 1. Identify patterns/themes in inbox.
30
- 2. Run `atris visualize` to confirm scope + approval before writing tasks.
31
- 3. Find related code in MAP.md (file:line references).
32
- 4. Create structured tasks with context.
33
- 5. Use ASCII to visualize architecture/flow if needed.
25
+ **Frontend (UI components):**
26
+ ```
27
+ ┌─────────────────────────────────┐
28
+ HERO SECTION │
29
+ ├─────────────────────────────────┤
30
+ │ [Headline Text] │
31
+ │ [ CTA Button ] [ Link ] │
32
+ └─────────────────────────────────┘
33
+ Components: hero.tsx, button.tsx
34
+ ```
35
+
36
+ **Backend (logic flow):**
37
+ ```
38
+ Request → Middleware → Handler → DB
39
+ ↓ ↓ ↓ ↓
40
+ Auth Rate Limit Validate Query
41
+ Files: route.ts:45, middleware.ts (new)
42
+ ```
34
43
 
35
- **Output:** Tasks in TASK_CONTEXTS.md + context from MAP.md
44
+ **Database (schema):**
45
+ ```
46
+ ┌────────────────────────────────┐
47
+ │ users table │
48
+ ├────────────────────────────────┤
49
+ │ rate_limit | int (NEW) ← │
50
+ └────────────────────────────────┘
51
+ Migration: add column
52
+ ```
53
+
54
+ **Show the crosshair. Get confirmation. Build the spec.**
36
55
 
37
56
  ---
38
57
 
39
- ## ASCII Visualization
58
+ ## Output Format
40
59
 
41
- Use ASCII to clarify:
42
- - System architecture
43
- - Data flows
44
- - Component relationships
45
- - Process diagrams
60
+ **idea.md:**
61
+ ```markdown
62
+ # Feature Name
46
63
 
47
- Example:
64
+ Human's messy thoughts here.
65
+ Can be conversational, rough, uncertain.
48
66
  ```
49
- Navigator → TASK_CONTEXTS.md → Executor → Validator
50
- ↓ ↓ ↓ ↓
51
- Plan Queue Build Review
67
+
68
+ **build.md:**
69
+ ```markdown
70
+ # Feature Name — Build Plan
71
+
72
+ ## Specification
73
+
74
+ files_touched:
75
+ - path/to/file.ts:line-range
76
+
77
+ input: what goes in
78
+ output: what comes out
79
+
80
+ steps:
81
+ 1. Step with exact file:line
82
+ 2. Step with exact file:line
83
+
84
+ error_cases:
85
+ - error → handling
86
+
87
+ tests:
88
+ - test scenario 1
89
+ - test scenario 2
52
90
  ```
53
91
 
54
92
  ---
55
93
 
56
- **Navigator = The Planner. From thoughts to actionable tasks with context.**
94
+ ## Rules
95
+
96
+ 1. **Check docs/features/README.md first** — See what features exist, avoid duplication
97
+ 2. **Check MAP.md** — Find exact file:line references for code
98
+ 3. **ASCII before build.md** — Human confirms visual before technical spec
99
+ 4. **Be precise** — Exact files, exact lines, exact changes
100
+ 5. **Covers 3 types** — Frontend (boxes), Backend (flows), Database (tables)
101
+ 6. **Free-flow works** — Even exploratory conversations go through this flow
102
+
103
+ **Before creating new feature:**
104
+ - Read docs/features/README.md
105
+ - Search keywords for similar features
106
+ - If exists: extend it, don't duplicate
107
+ - Show ASCII: "Builds on X, new file Y"
108
+
109
+ ---
110
+
111
+ **Navigator = The Crosshair. Precision before execution.**