ugly-app 0.1.145 → 0.1.146

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.
@@ -1,2 +1,2 @@
1
- export declare const CLI_VERSION = "0.1.145";
1
+ export declare const CLI_VERSION = "0.1.146";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -1,3 +1,3 @@
1
1
  // Auto-generated by prebuild — do not edit manually
2
- export const CLI_VERSION = "0.1.145";
2
+ export const CLI_VERSION = "0.1.146";
3
3
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ugly-app",
3
- "version": "0.1.145",
3
+ "version": "0.1.146",
4
4
  "type": "module",
5
5
  "main": "./dist/server/index.js",
6
6
  "exports": {
@@ -1,2 +1,2 @@
1
1
  // Auto-generated by prebuild — do not edit manually
2
- export const CLI_VERSION = "0.1.145";
2
+ export const CLI_VERSION = "0.1.146";
@@ -8,6 +8,8 @@ user-invocable: true
8
8
 
9
9
  Run one full autonomous cycle. No human input. No clarifying questions. Make the best possible decision at every step. If something breaks, fix it.
10
10
 
11
+ **CORE PRINCIPLE: Be maximally ambitious. Every bot in this swarm — feedback bots, maintain bot, manager — should push for big changes, not incremental tweaks. Feedback bots should request new features, major redesigns, and bold improvements — not just "move this button 2px." The maintain bot must implement everything requested, no matter how large. "Too complex" is never a valid reason to skip work. The only limit is violating Critical Rules in CLAUDE.md.**
12
+
11
13
  ## Prerequisites
12
14
 
13
15
  - `npm run dev` must be running (Docker, server, Vite)
@@ -146,6 +148,8 @@ Dispatch ALL active personas as **parallel subagents**. Each subagent does:
146
148
  }
147
149
  }'
148
150
  ```
151
+ **Feedback bots should be ambitious in what they request.** Don't just report cosmetic nits — request new features, suggest adding entire new pages, propose redesigns, ask for search/filter/sort capabilities, request animations, dark mode, better navigation, new data models. Think like a demanding product manager, not a passive observer. The feedback should push the site to evolve rapidly.
152
+
149
153
  8. Update `bots/feedback/active/{slug}/memory.md`:
150
154
  ```markdown
151
155
  ## Cycle [YYYY-MM-DD]
@@ -166,6 +170,8 @@ Record which bots succeeded and which failed/timed out.
166
170
 
167
171
  Run sequentially in one session. No questions. Make autonomous decisions.
168
172
 
173
+ **AMBITION MANDATE: The maintain bot builds everything. There is no "too complex," "too risky," or "would require significant changes." If a feedback bot asked for it, you build it. New pages, new endpoints, new collections, migrations, full redesigns, multi-file refactors — all fair game. The only valid decline reason is a direct contradiction of a Critical Rule in CLAUDE.md. Everything else gets built, no matter how many files it touches or how large the change is.**
174
+
169
175
  1. Read `bots/maintain/memory.md` for feature inventory and context
170
176
  2. Mark all `new` feedback as `captured` to prevent double-processing:
171
177
  - Run `npm run feedback --json` to get all feedback
@@ -178,8 +184,14 @@ Run sequentially in one session. No questions. Make autonomous decisions.
178
184
  ```
179
185
  3. Invoke `/fix-feedback local` — run completely unattended:
180
186
  - Do not ask which environment. Use `local`.
181
- - For each feedback item: implement the fix or feature. Build it, no matter how large.
182
- - Resolve each item via API with status `resolved` or `declined` and a resolution message.
187
+ - For each feedback item: implement the fix or feature. **Build it, no matter how large.**
188
+ - **Never decline feedback because it's "complex" or "ambitious."** If you're unsure how, read existing code and the ugly-app API reference, then figure it out.
189
+ - If feedback requires new pages: add routes in `shared/pages.ts`, components in `client/pages/`, mappings in `client/allPages.ts`.
190
+ - If feedback requires new endpoints: add to `shared/api.ts` and `server/index.ts`.
191
+ - If feedback requires new collections: add to `shared/collections.ts`, run `npm run db:init`.
192
+ - If feedback requires images: use `npm run imageGen -- "prompt" --output client/assets/<name>.png`.
193
+ - If feedback requires schema changes: write a migration in `server/migrations/`.
194
+ - Resolve each item via API with status `resolved` (preferred) or `declined` (only for Critical Rule violations) and a resolution message.
183
195
  - Commit each change: `[bot] fix: ...` or `[bot] feat: ...`
184
196
  4. Invoke `/fix-code` — run completely unattended:
185
197
  - Fix all TypeScript errors, lint warnings, test failures.
@@ -18,5 +18,20 @@ Run: `npm run feedback:server`
18
18
 
19
19
  This fetches recent user feedback from MongoDB. For each piece of feedback:
20
20
  1. Understand the user's issue or request
21
- 2. Implement the fix or feature
21
+ 2. Implement the fix or feature — **no matter how large or complex**
22
22
  3. Run `npm run build` to verify it compiles
23
+
24
+ ## Ambition policy
25
+
26
+ **You must attempt every piece of feedback.** There is no such thing as "too complex" or "too risky" or "out of scope." If a user asked for it, build it. This includes:
27
+
28
+ - New pages, new collections, new API endpoints
29
+ - Major UI redesigns or layout overhauls
30
+ - Adding entirely new features (search, filtering, sorting, animations, themes)
31
+ - Generating images with `npm run imageGen` when visuals are needed
32
+ - Writing migrations when collection schemas must change
33
+ - Multi-file changes that touch client, server, and shared simultaneously
34
+
35
+ The only valid reason to decline feedback is if it contradicts a Critical Rule in CLAUDE.md (e.g. "commit .env" or "add `any` types"). Everything else gets built.
36
+
37
+ If you're unsure how to implement something, read the existing code, read the ugly-app API reference, and figure it out. Do not skip it. Do not defer it. Do not say "this would require significant refactoring" — just do the refactoring.