create-m5kdev 0.40.3 → 0.41.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.
@@ -1,69 +1,76 @@
1
- {
2
- "version": "7",
3
- "dialect": "sqlite",
4
- "entries": [
5
- {
6
- "idx": 0,
7
- "version": "6",
8
- "when": 1787759631723,
9
- "tag": "0000_whole_echo",
10
- "breakpoints": true
11
- },
12
- {
13
- "idx": 1,
14
- "version": "6",
15
- "when": 1788197370969,
16
- "tag": "0001_yummy_spectrum",
17
- "breakpoints": true
18
- },
19
- {
20
- "idx": 2,
21
- "version": "6",
22
- "when": 1788197859737,
23
- "tag": "0002_crazy_lilith",
24
- "breakpoints": true
25
- },
26
- {
27
- "idx": 3,
28
- "version": "6",
29
- "when": 1788198203749,
30
- "tag": "0003_freezing_fantastic_four",
31
- "breakpoints": true
32
- },
33
- {
34
- "idx": 4,
35
- "version": "6",
36
- "when": 1788198833389,
37
- "tag": "0004_slow_ezekiel_stane",
38
- "breakpoints": true
39
- },
40
- {
41
- "idx": 5,
42
- "version": "6",
43
- "when": 1788253467922,
44
- "tag": "0005_wonderful_the_professor",
45
- "breakpoints": true
46
- },
47
- {
48
- "idx": 6,
49
- "version": "6",
50
- "when": 1788787832546,
51
- "tag": "0006_lazy_blue_marvel",
52
- "breakpoints": true
53
- },
54
- {
55
- "idx": 7,
56
- "version": "6",
57
- "when": 1788788533642,
58
- "tag": "0007_abnormal_ultimo",
59
- "breakpoints": true
60
- },
61
- {
62
- "idx": 8,
63
- "version": "6",
64
- "when": 1788789159968,
65
- "tag": "0008_steady_nekra",
66
- "breakpoints": true
67
- }
68
- ]
69
- }
1
+ {
2
+ "version": "7",
3
+ "dialect": "sqlite",
4
+ "entries": [
5
+ {
6
+ "idx": 0,
7
+ "version": "6",
8
+ "when": 1787759631723,
9
+ "tag": "0000_whole_echo",
10
+ "breakpoints": true
11
+ },
12
+ {
13
+ "idx": 1,
14
+ "version": "6",
15
+ "when": 1788197370969,
16
+ "tag": "0001_yummy_spectrum",
17
+ "breakpoints": true
18
+ },
19
+ {
20
+ "idx": 2,
21
+ "version": "6",
22
+ "when": 1788197859737,
23
+ "tag": "0002_crazy_lilith",
24
+ "breakpoints": true
25
+ },
26
+ {
27
+ "idx": 3,
28
+ "version": "6",
29
+ "when": 1788198203749,
30
+ "tag": "0003_freezing_fantastic_four",
31
+ "breakpoints": true
32
+ },
33
+ {
34
+ "idx": 4,
35
+ "version": "6",
36
+ "when": 1788198833389,
37
+ "tag": "0004_slow_ezekiel_stane",
38
+ "breakpoints": true
39
+ },
40
+ {
41
+ "idx": 5,
42
+ "version": "6",
43
+ "when": 1788253467922,
44
+ "tag": "0005_wonderful_the_professor",
45
+ "breakpoints": true
46
+ },
47
+ {
48
+ "idx": 6,
49
+ "version": "6",
50
+ "when": 1788787832546,
51
+ "tag": "0006_lazy_blue_marvel",
52
+ "breakpoints": true
53
+ },
54
+ {
55
+ "idx": 7,
56
+ "version": "6",
57
+ "when": 1788788533642,
58
+ "tag": "0007_abnormal_ultimo",
59
+ "breakpoints": true
60
+ },
61
+ {
62
+ "idx": 8,
63
+ "version": "6",
64
+ "when": 1788789159968,
65
+ "tag": "0008_steady_nekra",
66
+ "breakpoints": true
67
+ },
68
+ {
69
+ "idx": 9,
70
+ "version": "6",
71
+ "when": 1791905282553,
72
+ "tag": "0009_empty_starjammers",
73
+ "breakpoints": true
74
+ }
75
+ ]
76
+ }
@@ -1,3 +1,4 @@
1
+ // biome-ignore-all assist/source/organizeImports: feature-gated module imports stay in marker blocks
1
2
  import { createBackendApp } from "@m5kdev/backend/app";
2
3
  import { shutdownTelemetry } from "@m5kdev/backend/lib/otel";
3
4
  // m5k:ai:start
@@ -14,6 +14,7 @@
14
14
  "!!**/storybook-static",
15
15
  "!**/.react-router",
16
16
  "!**/.m5kdev.json",
17
+ "!**/.e2e",
17
18
  "!**/drizzle/meta"
18
19
  ]
19
20
  },
File without changes
@@ -0,0 +1,38 @@
1
+ # Domain Docs
2
+
3
+ How the engineering skills should consume this repo's domain documentation when exploring the codebase.
4
+
5
+ ## Before exploring, read these
6
+
7
+ - **`GLOSSARY.md`** at the repo root, or
8
+ - **`GLOSSARY-MAP.md`** at the repo root if it exists — it points at one `GLOSSARY.md` per context. Read each one relevant to the topic.
9
+ - **`docs/adr/`** — read ADRs that touch the area you're about to work in
10
+
11
+ If any of these files don't exist, **proceed silently**. Don't flag their absence; don't suggest creating them upfront. The `/domain-modeling` skill (reached via `/grill-with-docs` and `/improve-codebase-architecture`) creates them lazily when terms or decisions actually get resolved.
12
+
13
+ ## File structure
14
+
15
+ Single-context repo:
16
+
17
+ ```
18
+ /
19
+ ├── GLOSSARY.md
20
+ ├── docs/
21
+ │ ├── agents/
22
+ │ └── adr/
23
+ │ ├── 0001-….md
24
+ │ └── 0002-….md
25
+ └── apps/
26
+ ```
27
+
28
+ ## Use the glossary's vocabulary
29
+
30
+ When your output names a domain concept (in an issue title, a refactor proposal, a hypothesis, a test name), use the term as defined in `GLOSSARY.md`. Don't drift to synonyms the glossary explicitly avoids.
31
+
32
+ If the concept you need isn't in the glossary yet, that's a signal — either you're inventing language the project doesn't use (reconsider) or there's a real gap (note it for `/domain-modeling`).
33
+
34
+ ## Flag ADR conflicts
35
+
36
+ If your output contradicts an existing ADR, surface it explicitly rather than silently overriding:
37
+
38
+ > _Contradicts ADR-0007 (…) — but worth reopening because…_
@@ -0,0 +1,45 @@
1
+ # Issue tracker: GitHub
2
+
3
+ Issues and specs for this repo live as GitHub issues. Use the `gh` CLI for all operations.
4
+
5
+ ## Conventions
6
+
7
+ - **Create an issue**: `gh issue create --title "..." --body "..."`. Use a heredoc for multi-line bodies.
8
+ - **Read an issue**: `gh issue view <number> --comments`, filtering comments by `jq` and also fetching labels.
9
+ - **List issues**: `gh issue list --state open --json number,title,body,labels,comments --jq '[.[] | {number, title, body, labels: [.labels[].name], comments: [.comments[].body]}]'` with appropriate `--label` and `--state` filters.
10
+ - **Comment on an issue**: `gh issue comment <number> --body "..."`
11
+ - **Apply / remove labels**: `gh issue edit <number> --add-label "..."` / `--remove-label "..."`
12
+ - **Close**: `gh issue close <number> --comment "..."`
13
+
14
+ Infer the repo from `git remote -v` — `gh` does this automatically when run inside a clone.
15
+
16
+ ## Pull requests as a triage surface
17
+
18
+ **PRs as a request surface: no.** _(Set to `yes` if this repo treats external PRs as feature requests; `/triage` reads this flag.)_
19
+
20
+ When set to `yes`, PRs run through the same labels and states as issues, using the `gh pr` equivalents:
21
+
22
+ - **Read a PR**: `gh pr view <number> --comments` and `gh pr diff <number>` for the diff.
23
+ - **List external PRs for triage**: `gh pr list --state open --json number,title,body,labels,author,authorAssociation,comments` then keep only `authorAssociation` of `CONTRIBUTOR`, `FIRST_TIME_CONTRIBUTOR`, or `NONE` (drop `OWNER`/`MEMBER`/`COLLABORATOR`).
24
+ - **Comment / label / close**: `gh pr comment`, `gh pr edit --add-label`/`--remove-label`, `gh pr close`.
25
+
26
+ GitHub shares one number space across issues and PRs, so a bare `#42` may be either — resolve with `gh pr view 42` and fall back to `gh issue view 42`.
27
+
28
+ ## When a skill says "publish to the issue tracker"
29
+
30
+ Create a GitHub issue.
31
+
32
+ ## When a skill says "fetch the relevant ticket"
33
+
34
+ Run `gh issue view <number> --comments`.
35
+
36
+ ## Wayfinding operations
37
+
38
+ Used by `/wayfinder`. The **map** is a single issue with **child** issues as tickets.
39
+
40
+ - **Map**: a single issue labelled `wayfinder:map`, holding the Notes / Decisions-so-far / Fog body. `gh issue create --label wayfinder:map`.
41
+ - **Child ticket**: an issue linked to the map as a GitHub sub-issue (`gh api` on the sub-issues endpoint). Where sub-issues aren't enabled, add the child to a task list in the map body and put `Part of #<map>` at the top of the child body. Labels: `wayfinder:<type>` (`research`/`prototype`/`grilling`/`task`). Once claimed, the ticket is assigned to the driving dev.
42
+ - **Blocking**: GitHub's **native issue dependencies** — the canonical, UI-visible representation. Add an edge with `gh api --method POST repos/<owner>/<repo>/issues/<child>/dependencies/blocked_by -F issue_id=<blocker-db-id>`, where `<blocker-db-id>` is the blocker's numeric **database id** (`gh api repos/<owner>/<repo>/issues/<n> --jq .id`, _not_ the `#number` or `node_id`). GitHub reports `issue_dependencies_summary.blocked_by` (open blockers only — the live gate). Where dependencies aren't available, fall back to a `Blocked by: #<n>, #<n>` line at the top of the child body. A ticket is unblocked when every blocker is closed.
43
+ - **Frontier query**: list the map's open children (`gh issue list --state open`, scoped to the map's sub-issues / task list), drop any with an open blocker (`issue_dependencies_summary.blocked_by > 0`, or an open issue in the `Blocked by` line) or an assignee; first in map order wins.
44
+ - **Claim**: `gh issue edit <n> --add-assignee @me` — the session's first write.
45
+ - **Resolve**: `gh issue comment <n> --body "<answer>"`, then `gh issue close <n>`, then append a context pointer (gist + link) to the map's Decisions-so-far.
@@ -0,0 +1,15 @@
1
+ # Triage Labels
2
+
3
+ The skills speak in terms of five canonical triage roles. This file maps those roles to the actual label strings used in this repo's issue tracker.
4
+
5
+ | Label in mattpocock/skills | Label in our tracker | Meaning |
6
+ | -------------------------- | -------------------- | ---------------------------------------- |
7
+ | `needs-triage` | `needs-triage` | Maintainer needs to evaluate this issue |
8
+ | `needs-info` | `needs-info` | Waiting on reporter for more information |
9
+ | `ready-for-agent` | `ready-for-agent` | Fully specified, ready for an AFK agent |
10
+ | `ready-for-human` | `ready-for-human` | Requires human implementation |
11
+ | `wontfix` | `wontfix` | Will not be actioned |
12
+
13
+ When a skill mentions a role (e.g. "apply the AFK-ready triage label"), use the corresponding label string from this table.
14
+
15
+ Edit the right-hand column to match whatever vocabulary you actually use.
@@ -7,21 +7,21 @@ catalogs:
7
7
  "@heroui/react": 3.0.3
8
8
  "@heroui/styles": 3.0.3
9
9
  "@libsql/client": 0.17.4
10
- "@m5kdev/backend": 0.40.3
11
- "@m5kdev/commons": 0.40.3
12
- "@m5kdev/config": 0.40.3
13
- "@m5kdev/email": 0.40.3
14
- "@m5kdev/expo": 0.40.3
15
- "@m5kdev/frontend": 0.40.3
16
- "@m5kdev/module-clay": 0.40.3
17
- "@m5kdev/module-docx": 0.40.3
18
- "@m5kdev/module-pdf": 0.40.3
19
- "@m5kdev/module-social": 0.40.3
20
- "@m5kdev/module-video": 0.40.3
21
- "@m5kdev/web-ui": 0.40.3
10
+ "@m5kdev/backend": 0.41.1
11
+ "@m5kdev/commons": 0.41.1
12
+ "@m5kdev/config": 0.41.1
13
+ "@m5kdev/email": 0.41.1
14
+ "@m5kdev/expo": 0.41.1
15
+ "@m5kdev/frontend": 0.41.1
16
+ "@m5kdev/module-clay": 0.41.1
17
+ "@m5kdev/module-docx": 0.41.1
18
+ "@m5kdev/module-pdf": 0.41.1
19
+ "@m5kdev/module-social": 0.41.1
20
+ "@m5kdev/module-video": 0.41.1
21
+ "@m5kdev/web-ui": 0.41.1
22
22
  "@mastra/core": 1.51.0
23
23
  "@openrouter/ai-sdk-provider": 3.0.0
24
- "@opentelemetry/api": 1.9.0
24
+ "@opentelemetry/api": 1.9.1
25
25
  "@playwright/test": 1.57.0
26
26
  "@react-email/components": 1.0.1
27
27
  "@tailwindcss/vite": 4.1.17
@@ -29,7 +29,7 @@ catalogs:
29
29
  "@trpc/client": 11.4.3
30
30
  "@trpc/server": 11.4.3
31
31
  "@trpc/tanstack-react-query": 11.4.3
32
- "@types/express": 4.17.21
32
+ "@types/express": 5.0.6
33
33
  "@types/node": 20.19.11
34
34
  "@types/react": 19.2.17
35
35
  "@types/react-dom": 19.2.3
@@ -40,7 +40,7 @@ catalogs:
40
40
  drizzle-kit: 0.31.10
41
41
  drizzle-orm: 0.45.2
42
42
  drizzle-zod: 0.8.3
43
- express: 4.21.2
43
+ express: 5.3.0
44
44
  i18next: 25.3.2
45
45
  ioredis: 5.11.1
46
46
  lucide-react: 0.488.0
@@ -148,6 +148,18 @@
148
148
  {
149
149
  "pattern": "apps/server/drizzle.config.ts",
150
150
  "policy": "ensure"
151
+ },
152
+ {
153
+ "pattern": "GLOSSARY.md",
154
+ "policy": "ensure"
155
+ },
156
+ {
157
+ "pattern": "docs/agents/**",
158
+ "policy": "ensure"
159
+ },
160
+ {
161
+ "pattern": "docs/adr/**",
162
+ "policy": "ensure"
151
163
  }
152
164
  ],
153
165
  "renames": []