oneie 3.3.0 → 3.3.3

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,138 @@
1
+ # /infer N - Jump to Specific Inference
2
+
3
+ **Purpose:** Jump directly to a specific inference number in the sequence.
4
+
5
+ ⚠️ **Use Sparingly:** This command breaks sequential flow. Only use when absolutely necessary.
6
+
7
+ ## Usage
8
+
9
+ ```bash
10
+ /infer 42 # Jump to inference 42
11
+ /infer 95 # Jump to inference 95 (documentation)
12
+ ```
13
+
14
+ ## When to Use
15
+
16
+ Use `/infer N` only in these situations:
17
+
18
+ 1. **Fixing broken build:** Jump to Infer 91 (Build production bundle) to fix deployment issues
19
+ 2. **Emergency hotfix:** Jump to relevant inference for urgent fix
20
+ 3. **Parallel work:** Different team members working on different inferences simultaneously
21
+ 4. **Recovering from error:** Jump back to specific inference after system crash
22
+
23
+ ## When NOT to Use
24
+
25
+ Do NOT use `/infer N` to:
26
+ - ❌ Skip ahead to "easier" work
27
+ - ❌ Avoid difficult inferences
28
+ - ❌ Work out of order without reason
29
+ - ❌ Jump around randomly
30
+
31
+ **Golden Rule:** Sequential execution ensures dependencies are met.
32
+
33
+ ## Safety Checks
34
+
35
+ When you use `/infer N`, the system checks:
36
+
37
+ 1. **Dependencies:** Are required inferences complete?
38
+ 2. **Context:** Do you have necessary context to complete this inference?
39
+ 3. **State:** Is the codebase in correct state for this inference?
40
+
41
+ ### Example Safety Check
42
+
43
+ ```
44
+ User: /infer 21
45
+
46
+ Claude: ⚠️ WARNING: Jumping to Infer 21 (Create Astro page)
47
+
48
+ Dependencies check:
49
+ ✅ Infer 12 (schema.ts) - Complete
50
+ ❌ Infer 13 (Effect.ts service) - Not complete
51
+ ❌ Infer 15 (Convex queries) - Not complete
52
+
53
+ Recommendation: Complete Infer 13 and 15 first, or continue anyway?
54
+ 1. Go back to sequential flow (/next from current)
55
+ 2. Continue to Infer 21 anyway (not recommended)
56
+ 3. Cancel
57
+
58
+ Choice: _
59
+ ```
60
+
61
+ ## Marking Previous Inferences
62
+
63
+ When you jump, you must decide what to do with skipped inferences:
64
+
65
+ ```
66
+ User: /infer 50
67
+
68
+ Claude: You are jumping from Infer 23 to Infer 50.
69
+
70
+ What should I do with Infer 24-49?
71
+ 1. Mark as skipped (can review later)
72
+ 2. Mark as complete (assume done elsewhere)
73
+ 3. Leave as pending (must do later)
74
+
75
+ Choice: _
76
+ ```
77
+
78
+ ## Recovery Mode
79
+
80
+ If you crash or lose state, use `/infer` to recover:
81
+
82
+ ```bash
83
+ /infer --recover # Analyze codebase and suggest current inference
84
+ ```
85
+
86
+ This scans the codebase and suggests which inference you're likely on based on:
87
+ - Files present
88
+ - Schema defined
89
+ - Tests written
90
+ - Components created
91
+
92
+ ## Parallel Execution
93
+
94
+ For parallel work with multiple team members:
95
+
96
+ ```bash
97
+ # Team member 1
98
+ /infer 11 --parallel=backend # Work on backend (11-20)
99
+
100
+ # Team member 2
101
+ /infer 21 --parallel=frontend # Work on frontend (21-30)
102
+ ```
103
+
104
+ System tracks multiple inference branches and merges when ready.
105
+
106
+ ## Jump History
107
+
108
+ View your jump history:
109
+
110
+ ```bash
111
+ /infer --history
112
+ ```
113
+
114
+ Output:
115
+ ```
116
+ Jump History:
117
+ Infer 1 → 15 (Skipped 2-14)
118
+ Infer 15 → 21 (Completed 16-20)
119
+ Infer 21 → 50 (Skipped 22-49)
120
+ Infer 50 → Current
121
+ ```
122
+
123
+ ## Best Practices
124
+
125
+ 1. **Default to sequential:** Use `/next` and `/done` for normal flow
126
+ 2. **Document jumps:** Add reason when jumping: `/infer 42 --reason="Fixing production bug"`
127
+ 3. **Review skipped:** Use `/plan --status=skipped` to review what you jumped over
128
+ 4. **Fill gaps:** Return to skipped inferences when possible
129
+
130
+ ## Philosophy
131
+
132
+ Inference-based planning works best **sequentially**. Each inference builds on previous ones. Jumping breaks this flow and may cause:
133
+ - Missing dependencies
134
+ - Incomplete context
135
+ - Integration issues
136
+ - Failed tests
137
+
138
+ **Use `/infer` only when sequential flow is not possible.**
@@ -0,0 +1,53 @@
1
+ # /next - Skip to Next Inference
2
+
3
+ **Purpose:** Skip the current inference and advance to the next one in the sequence.
4
+
5
+ ## Behavior
6
+
7
+ When `/next` is invoked:
8
+
9
+ 1. **Skip Current:** Current inference is NOT marked as complete
10
+ 2. **Advance:** Move to next inference (Infer N+1)
11
+ 3. **Show Context:** Display context for next inference
12
+ 4. **Log Skip:** Record that inference was skipped (for review later)
13
+
14
+ ## When to Use
15
+
16
+ Use `/next` when the current inference is **not applicable** to your feature:
17
+ - ✅ Feature doesn't need this functionality (e.g., skip auth if public-only)
18
+ - ✅ Already implemented in previous iteration
19
+ - ✅ Dependency not met (e.g., can't test if no code written yet)
20
+ - ✅ Out of scope for current feature
21
+
22
+ ## When NOT to Use
23
+
24
+ Do NOT use `/next` to:
25
+ - ❌ Avoid difficult work
26
+ - ❌ Skip failing tests
27
+ - ❌ Bypass errors or blockers
28
+ - ❌ Rush through quality checks
29
+
30
+ **Instead:** Use `/done` when work is complete, or continue working if incomplete.
31
+
32
+ ## Example Usage
33
+
34
+ ```
35
+ User: This feature doesn't need authentication - it's a public landing page. /next
36
+ Claude: Skipping Infer 41 (Configure Better Auth). Moving to Infer 42...
37
+ ```
38
+
39
+ ## Difference from /done
40
+
41
+ | Command | Current Inference | Next Inference | Use Case |
42
+ |---------|-------------------|----------------|----------|
43
+ | `/done` | ✅ Marked complete | Loads automatically | Task finished |
44
+ | `/next` | ⏭️ Skipped (not complete) | Loads automatically | Task not applicable |
45
+
46
+ ## Review Skipped Inferences
47
+
48
+ Later, review skipped inferences with:
49
+ ```
50
+ /plan --show-skipped
51
+ ```
52
+
53
+ This shows all skipped inferences for review (in case any should be revisited).
@@ -0,0 +1,133 @@
1
+ # /npx - Fast NPX Publishing Command
2
+
3
+ ⚡ **Rapid NPX Package Updates & Publishing**
4
+
5
+ *Fast-track NPX package updates with automated version management, testing, and publishing through specialized NPX agent.*
6
+
7
+ ## Core Interface
8
+
9
+ When `/npx` is invoked, automatically launch the NPX specialist agent for superfast publishing:
10
+
11
+ ```
12
+ ╔════════════════════════════════════════════════════════════════════════════╗
13
+ ║ ║
14
+ ║ ███╗ ██╗██████╗ ██╗ ██╗ Fast NPX Publishing ║
15
+ ║ ████╗ ██║██╔══██╗╚██╗██╔╝ Automated Version & Publish ║
16
+ ║ ██╔██╗ ██║██████╔╝ ╚███╔╝ ║
17
+ ║ ██║╚██╗██║██╔═══╝ ██╔██╗ 🚀 SUPERFAST WORKFLOW ║
18
+ ║ ██║ ╚████║██║ ██╔╝ ██╗ Update → Test → Version → Publish ║
19
+ ║ ╚═╝ ╚═══╝╚═╝ ╚═╝ ╚═╝ ║
20
+ ║ ║
21
+ ║ NPX Agent - Package Publishing Specialist ║
22
+ ╚════════════════════════════════════════════════════════════════════════════╝
23
+
24
+ 🎯 **QUICK ACTIONS** (Instant Publishing)
25
+ 1. Fast Publish Current → Update, test, version, publish immediately
26
+ 2. Version Bump Only → Update version without publish
27
+ 3. Test Before Publish → Run comprehensive tests first
28
+ 4. Full Quality Check → Complete validation before publish
29
+ 5. Emergency Hotfix → Ultra-fast critical update publish
30
+
31
+ ⚙️ **ADVANCED OPTIONS** (Power User)
32
+ 6. Custom Version Number → Specify exact version to publish
33
+ 7. Beta/Alpha Release → Publish pre-release version
34
+ 8. Dry Run Mode → Test publishing process without actual publish
35
+ 9. Multi-Package Publish → Publish multiple packages simultaneously
36
+
37
+ 🔧 **CONFIGURATION**
38
+ C. Configure NPM Settings → Setup registry, tokens, defaults
39
+ S. Set Publishing Preferences → Automated testing, versioning rules
40
+
41
+ 📊 **STATUS & MONITORING**
42
+ V. View Current Versions → See all published versions
43
+ L. Publication Log → Recent publishing history
44
+ M. Metrics Dashboard → Download stats, version adoption
45
+
46
+ ❓ **HELP**
47
+ H. Publishing Guide → Best practices and workflows
48
+ ?. Command Reference → Complete NPX publishing commands
49
+
50
+ Auto-launching NPX Agent for superfast publishing...
51
+ ```
52
+
53
+ ## Command Handler
54
+
55
+ ```yaml
56
+ command: /npx
57
+ action: launch_npx_agent
58
+ description: "Automated NPX package publishing with quality gates"
59
+ agent_file: ".claude/agents/npx.md"
60
+ workflow: |
61
+ 1. Auto-detect package.json and determine current version
62
+ 2. Run automated quality checks (lint, test, build)
63
+ 3. Prompt for version bump type (patch, minor, major) or use smart detection
64
+ 4. Update version and generate changelog
65
+ 5. Build package and run pre-publish validation
66
+ 6. Publish to NPM with automated retry on failure
67
+ 7. Tag Git release and push to repository
68
+ 8. Verify publication success and update monitoring
69
+ ```
70
+
71
+ ## Fast Publishing Workflow
72
+
73
+ ### 1. Instant Publish (Default Option)
74
+ ```yaml
75
+ instant_publish:
76
+ detect: "Auto-detect changes and determine version bump needed"
77
+ test: "Run essential tests (lint, unit tests, build validation)"
78
+ version: "Auto-increment based on change type (patch/minor/major)"
79
+ build: "Generate optimized build with size analysis"
80
+ publish: "Publish to NPM with automated verification"
81
+ tag: "Create Git tag and push to repository"
82
+ verify: "Confirm package availability on NPM registry"
83
+ timing: "<2 minutes end-to-end for most packages"
84
+ ```
85
+
86
+ ### 2. Quality-First Publish
87
+ ```yaml
88
+ quality_publish:
89
+ analysis: "Deep code analysis and quality scoring"
90
+ testing: "Comprehensive test suite (unit, integration, e2e)"
91
+ security: "Automated security vulnerability scanning"
92
+ performance: "Bundle size analysis and optimization"
93
+ compatibility: "Multi-Node version testing"
94
+ documentation: "Auto-generate/update README and docs"
95
+ publish: "Publish with full quality validation"
96
+ timing: "<5 minutes with comprehensive validation"
97
+ ```
98
+
99
+ ## Agent Integration
100
+
101
+ The `/npx` command automatically launches the specialized NPX agent (`/Users/toc/Server/ONE/.claude/agents/npx.md`) which handles:
102
+
103
+ - **Package Detection**: Auto-detect Node.js packages and current state
104
+ - **Version Management**: Smart version bumping based on change analysis
105
+ - **Quality Validation**: Automated testing and quality gates
106
+ - **Build Optimization**: Optimized builds with performance monitoring
107
+ - **Publishing Automation**: Reliable NPM publishing with retry logic
108
+ - **Git Integration**: Automatic tagging and repository updates
109
+ - **Verification**: Post-publish validation and monitoring
110
+
111
+ ## Success Metrics
112
+
113
+ **Publishing Performance Targets:**
114
+ - Simple package update: <60 seconds
115
+ - Full quality validation: <5 minutes
116
+ - Multi-package monorepo: <10 minutes
117
+ - Emergency hotfix: <30 seconds
118
+
119
+ **Quality Standards:**
120
+ - 100% successful publish rate (with retry logic)
121
+ - Automated rollback on critical failures
122
+ - Comprehensive pre-publish validation
123
+ - Real-time monitoring and alerting
124
+
125
+ **Developer Experience:**
126
+ - Zero-configuration setup for most packages
127
+ - Intelligent defaults with override options
128
+ - Clear progress indication and error messaging
129
+ - Integration with existing development workflows
130
+
131
+ ---
132
+
133
+ *Designed for maximum speed and reliability in NPX package publishing workflows*
@@ -0,0 +1,106 @@
1
+ Welcome. Control Your AI.
2
+
3
+ ██████╗ ███╗ ██╗███████╗
4
+ ██╔═══██╗████╗ ██║██╔════╝
5
+ ██║ ██║██╔██╗ ██║█████╗
6
+ ██║ ██║██║╚██╗██║██╔══╝
7
+ ╚██████╔╝██║ ╚████║███████╗
8
+ ╚═════╝ ╚═╝ ╚═══╝╚══════╝
9
+
10
+ Make Your Ideas Real
11
+ https://one.ie • npx oneie
12
+
13
+ ## 🚀 Commands
14
+
15
+ - /now - See what you're currently working on
16
+ - /next - Move to the next task
17
+ - /todo - View your full task list
18
+ - /done - Mark current task complete
19
+ - /build - Start building features
20
+ - /design - Create wireframes & UI
21
+ - /deploy - Ship to production
22
+ - /see - View analytics & insights
23
+
24
+ 🚀 **QUICK START** (Turn Ideas into Reality)
25
+ 1. Start New Idea → Transform any idea into working code
26
+ 2. Build Your Plan → Create feature collections & assign work
27
+ 3. Launch Big Feature → Specifications with quality gates
28
+ 4. Create Tests & Design → User flows that drive implementation
29
+ 5. Get Things Done → Execute with 8 AI agents in parallel
30
+
31
+ 🤖 **Agents** (Your Personal Engineering Team)
32
+ 6. Engineering Director → Validates ideas, creates plans, assigns work
33
+ 7. Backend Specialist → Services, mutations, queries, schemas
34
+ 8. Frontend Specialist → Pages, components, UI/UX
35
+ 9. Integration Specialist → Connections, data flows, workflows
36
+ A. Quality Agent → Tests, validation, acceptance criteria
37
+ B. Design Agent → Wireframes, components, test-driven design
38
+ C. Problem Solver → Ultrathink mode, root cause analysis
39
+ D. Documenter → Feature docs, user guides, knowledge base
40
+
41
+ **Type `/now` to see detailed context** | **Type `?` for help**
42
+
43
+ <!--
44
+ INSTRUCTIONS FOR AI AGENT:
45
+ - You are ONE, an AI Agent helping users build apps, websites, and agent teams
46
+ - Silently load one/knowledge/ontology.yaml and one/things/todo.md in the background
47
+ - Show only the content above this comment
48
+ -->
49
+
50
+ ### 2. Breadcrumb System
51
+ Always show current location:
52
+ ```
53
+ ONE > Engineering Director > Create Plan > Course Platform
54
+ ↑ Current Location
55
+ ```
56
+
57
+ ### 3. Progressive Disclosure
58
+ - **Level 1**: Show most common actions (1-5)
59
+ - **Level 2**: Show AI agents (6-9, A-D)
60
+ - **Level 3**: Show advanced features (T, W, S)
61
+ - **Level 4**: Show help and reference (H, ?)
62
+
63
+ ## Menu Handlers
64
+
65
+ ### Quick Start Actions (1-5)
66
+
67
+ #### 1. Start New Idea
68
+ ```yaml
69
+ action: launch_idea_creation_flow
70
+ display: |
71
+ 💡 **TURN YOUR IDEA INTO REALITY**
72
+
73
+ Agent ONE validates your idea against the 6-dimension ontology:
74
+
75
+ 🌟 What's your idea?
76
+
77
+ 1. Tech & Software → Apps, websites, digital products
78
+ 2. Business & Services → Companies, consulting, coaching
79
+ 3. Creative & Content → Art, writing, videos, courses
80
+ 4. Custom Project → Tell me about your unique vision
81
+
82
+ Behind the scenes: Engineering Director automatically validates against
83
+ ontology (organizations, people, things, connections, events, knowledge).
84
+
85
+ B. Back to Main Menu
86
+
87
+
88
+ next_actions:
89
+ 1: tech_software_idea_flow
90
+ 2: business_services_idea_flow
91
+ 3: creative_content_idea_flow
92
+ 4: custom_idea_flow
93
+
94
+ Essential Commands:
95
+ 1. /one → Main CASCADE interface (you are here)
96
+ 2. /start → Quick idea start with 6-level workflow
97
+ 3. /plan → Plan creation with feature assignments
98
+ 4. /feature → Feature specification with quality gates
99
+ 5. /task → Parallel task execution management
100
+ 6. /agent → Direct access to 8 AI agents
101
+
102
+ CASCADE-Specific Commands:
103
+ 7. /test → Execute Quality Agent (define tests)
104
+ 8. /design → Run Design Agent (create wireframes)
105
+ 9. /solve → Launch Problem Solver (ultrathink mode)
106
+ 10. /document → Run Documenter Agent (auto-generation)