@agent-native/core 0.235.0 → 0.235.1-nightly-20261127004315

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.
Files changed (22) hide show
  1. package/dist/cli/index.js +12 -4
  2. package/dist/client/session-replay-privacy.d.ts +5 -0
  3. package/dist/client/session-replay-privacy.js +23 -0
  4. package/dist/client/session-replay.js +1 -23
  5. package/dist/framework-package-versions.json +12 -12
  6. package/dist/templates/chat/.agents/skills/storing-data/SKILL.md +1 -1
  7. package/dist/templates/default/.agents/skills/storing-data/SKILL.md +1 -1
  8. package/dist/templates/factory/.agents/skills/review-latest-feedback/SKILL.md +4 -9
  9. package/dist/templates/factory/.agents/skills/review-latest-feedback/references/slack-reaction-replies.md +14 -0
  10. package/dist/templates/factory/.agents/skills/review-prs/SKILL.md +8 -6
  11. package/dist/templates/headless/.agents/skills/storing-data/SKILL.md +1 -1
  12. package/dist/templates/workspace-core/.agents/skills/portability/SKILL.md +1 -1
  13. package/dist/templates/workspace-core/.agents/skills/storing-data/SKILL.md +1 -1
  14. package/package.json +5 -5
  15. package/src/templates/chat/.agents/skills/storing-data/SKILL.md +1 -1
  16. package/src/templates/default/.agents/skills/storing-data/SKILL.md +1 -1
  17. package/src/templates/factory/.agents/skills/review-latest-feedback/SKILL.md +4 -9
  18. package/src/templates/factory/.agents/skills/review-latest-feedback/references/slack-reaction-replies.md +14 -0
  19. package/src/templates/factory/.agents/skills/review-prs/SKILL.md +8 -6
  20. package/src/templates/headless/.agents/skills/storing-data/SKILL.md +1 -1
  21. package/src/templates/workspace-core/.agents/skills/portability/SKILL.md +1 -1
  22. package/src/templates/workspace-core/.agents/skills/storing-data/SKILL.md +1 -1
package/dist/cli/index.js CHANGED
@@ -177,10 +177,18 @@ function findTsxBin() {
177
177
  return findBinUpwards("tsx") ?? "tsx";
178
178
  }
179
179
  function findTypeScriptCompilerBin() {
180
- const names = process.platform === "win32"
181
- ? ["tsc.cmd", "tsc", "tsgo.cmd", "tsgo"]
182
- : ["tsc", "tsgo"];
183
- return findBinUpwards(names);
180
+ const groups = process.platform === "win32"
181
+ ? [
182
+ ["tsgo.cmd", "tsgo"],
183
+ ["tsc.cmd", "tsc"],
184
+ ]
185
+ : [["tsgo"], ["tsc"]];
186
+ for (const names of groups) {
187
+ const found = findBinUpwards(names);
188
+ if (found)
189
+ return found;
190
+ }
191
+ return undefined;
184
192
  }
185
193
  function runTypeScriptCompiler(args) {
186
194
  const compiler = findTypeScriptCompilerBin();
@@ -6,3 +6,8 @@ export declare const SESSION_REPLAY_BLOCK_ATTRIBUTE = "data-an-block";
6
6
  export declare const SESSION_REPLAY_BLOCK_PROPS: {
7
7
  readonly "data-an-block": "";
8
8
  };
9
+ export declare const SESSION_REPLAY_IFRAME_BLOCK_SELECTOR = "iframe[data-agent-native-session-replay]";
10
+ export declare const SESSION_REPLAY_DEFAULT_BLOCK_SELECTOR: string;
11
+ export declare const SESSION_REPLAY_DEFAULT_IGNORE_SELECTOR = ".an-ignore, [data-an-ignore]";
12
+ export declare const SESSION_REPLAY_DEFAULT_MASK_TEXT_CLASS = "an-mask";
13
+ export declare const SESSION_REPLAY_DEFAULT_MASK_TEXT_SELECTOR = "[data-an-mask]";
@@ -1,3 +1,4 @@
1
+ import { SESSION_REPLAY_IFRAME_ATTRIBUTE } from "../session-replay-iframe-protocol.js";
1
2
  export const SESSION_REPLAY_MASK_ATTRIBUTE = "data-an-mask";
2
3
  export const SESSION_REPLAY_MASK_PROPS = {
3
4
  [SESSION_REPLAY_MASK_ATTRIBUTE]: "",
@@ -6,3 +7,25 @@ export const SESSION_REPLAY_BLOCK_ATTRIBUTE = "data-an-block";
6
7
  export const SESSION_REPLAY_BLOCK_PROPS = {
7
8
  [SESSION_REPLAY_BLOCK_ATTRIBUTE]: "",
8
9
  };
10
+ export const SESSION_REPLAY_IFRAME_BLOCK_SELECTOR = `iframe[${SESSION_REPLAY_IFRAME_ATTRIBUTE}]`;
11
+ export const SESSION_REPLAY_DEFAULT_BLOCK_SELECTOR = [
12
+ SESSION_REPLAY_IFRAME_BLOCK_SELECTOR,
13
+ "[data-sensitive]",
14
+ `[${SESSION_REPLAY_BLOCK_ATTRIBUTE}]`,
15
+ "[data-an-private]",
16
+ "[data-private]",
17
+ ".an-block",
18
+ ".an-replay-block",
19
+ ".an-private",
20
+ ".rr-block",
21
+ "[autocomplete='cc-number']",
22
+ "[autocomplete='cc-csc']",
23
+ "[autocomplete='cc-exp']",
24
+ "[name*='password' i]",
25
+ "[name*='credit' i]",
26
+ "[name*='card' i]",
27
+ "[name*='ssn' i]",
28
+ ].join(", ");
29
+ export const SESSION_REPLAY_DEFAULT_IGNORE_SELECTOR = ".an-ignore, [data-an-ignore]";
30
+ export const SESSION_REPLAY_DEFAULT_MASK_TEXT_CLASS = "an-mask";
31
+ export const SESSION_REPLAY_DEFAULT_MASK_TEXT_SELECTOR = `[${SESSION_REPLAY_MASK_ATTRIBUTE}]`;
@@ -8,7 +8,7 @@ import { clientCommitSha } from "./build-compatibility.js";
8
8
  import { whenConsentAllows } from "./consent.js";
9
9
  import { markPassThroughFetch } from "./fetch-transport.js";
10
10
  import { replayEndpointFromAnalyticsEndpoint } from "./session-replay-endpoint.js";
11
- import { SESSION_REPLAY_BLOCK_ATTRIBUTE, SESSION_REPLAY_MASK_ATTRIBUTE, } from "./session-replay-privacy.js";
11
+ import { SESSION_REPLAY_BLOCK_ATTRIBUTE, SESSION_REPLAY_DEFAULT_BLOCK_SELECTOR as DEFAULT_BLOCK_SELECTOR, SESSION_REPLAY_DEFAULT_IGNORE_SELECTOR as DEFAULT_IGNORE_SELECTOR, SESSION_REPLAY_DEFAULT_MASK_TEXT_CLASS as DEFAULT_MASK_TEXT_CLASS, SESSION_REPLAY_DEFAULT_MASK_TEXT_SELECTOR as DEFAULT_MASK_TEXT_SELECTOR, SESSION_REPLAY_IFRAME_BLOCK_SELECTOR, } from "./session-replay-privacy.js";
12
12
  import { decideReplayQuotaResponse, parseRetryAfterSeconds, } from "./session-replay-quota.js";
13
13
  import { scrubUrl } from "./url-scrub.js";
14
14
  function isSyntheticBrowserTraffic() {
@@ -26,25 +26,6 @@ const DEFAULT_EVENT_SAMPLING = {
26
26
  };
27
27
  const SESSION_REPLAY_STATE_KEY = Symbol.for("agent-native.client.sessionReplay");
28
28
  const SESSION_REPLAY_ID_STORAGE_KEY = "agent-native.session_replay_id";
29
- const SESSION_REPLAY_IFRAME_BLOCK_SELECTOR = `iframe[${SESSION_REPLAY_IFRAME_ATTRIBUTE}]`;
30
- const DEFAULT_BLOCK_SELECTOR = [
31
- SESSION_REPLAY_IFRAME_BLOCK_SELECTOR,
32
- "[data-sensitive]",
33
- `[${SESSION_REPLAY_BLOCK_ATTRIBUTE}]`,
34
- "[data-an-private]",
35
- "[data-private]",
36
- ".an-block",
37
- ".an-replay-block",
38
- ".an-private",
39
- ".rr-block",
40
- "[autocomplete='cc-number']",
41
- "[autocomplete='cc-csc']",
42
- "[autocomplete='cc-exp']",
43
- "[name*='password' i]",
44
- "[name*='credit' i]",
45
- "[name*='card' i]",
46
- "[name*='ssn' i]",
47
- ].join(", ");
48
29
  /**
49
30
  * App block selectors extend these framework markers instead of replacing them.
50
31
  * Append them whole: a custom selector can mention one, as in
@@ -54,9 +35,6 @@ const REQUIRED_BLOCK_SELECTORS = [
54
35
  SESSION_REPLAY_IFRAME_BLOCK_SELECTOR,
55
36
  `[${SESSION_REPLAY_BLOCK_ATTRIBUTE}]`,
56
37
  ];
57
- const DEFAULT_IGNORE_SELECTOR = ".an-ignore, [data-an-ignore]";
58
- const DEFAULT_MASK_TEXT_CLASS = "an-mask";
59
- const DEFAULT_MASK_TEXT_SELECTOR = `[${SESSION_REPLAY_MASK_ATTRIBUTE}]`;
60
38
  const DEFAULT_MASK_INPUT_OPTIONS = {
61
39
  color: true,
62
40
  date: true,
@@ -1,18 +1,18 @@
1
1
  {
2
- "@agent-native/agentkit": "0.235.0",
2
+ "@agent-native/agentkit": "0.235.1-nightly-20261127004315",
3
3
  "@agent-native/code-agents-ui": "0.1.75",
4
- "@agent-native/core": "0.235.0",
5
- "@agent-native/core-corpus": "0.235.0",
6
- "@agent-native/creative-context": "0.8.79",
7
- "@agent-native/design-system": "0.235.0",
8
- "@agent-native/dispatch": "0.43.3",
4
+ "@agent-native/core": "0.235.1-nightly-20261127004315",
5
+ "@agent-native/core-corpus": "0.235.1-nightly-20261127004315",
6
+ "@agent-native/creative-context": "0.8.80-nightly-20261127004315",
7
+ "@agent-native/design-system": "0.235.1-nightly-20261127004315",
8
+ "@agent-native/dispatch": "0.43.4-nightly-20261127004315",
9
9
  "@agent-native/embedding": "0.2.0",
10
10
  "@agent-native/migrate": "0.0.7",
11
- "@agent-native/otel": "0.1.46",
12
- "@agent-native/pinpoint": "0.1.122",
13
- "@agent-native/recap-cli": "0.5.110",
14
- "@agent-native/scheduling": "0.4.3",
11
+ "@agent-native/otel": "0.1.47-nightly-20261127004315",
12
+ "@agent-native/pinpoint": "0.1.123-nightly-20261127004315",
13
+ "@agent-native/recap-cli": "0.5.111-nightly-20261127004315",
14
+ "@agent-native/scheduling": "0.4.4-nightly-20261127004315",
15
15
  "@agent-native/shared-app-config": "0.1.2",
16
- "@agent-native/skills": "0.4.14",
17
- "@agent-native/toolkit": "0.235.0"
16
+ "@agent-native/skills": "0.4.15-nightly-20261127004315",
17
+ "@agent-native/toolkit": "0.235.1-nightly-20261127004315"
18
18
  }
@@ -219,7 +219,7 @@ Local PGlite works out of the box for development. To deploy to production or an
219
219
 
220
220
  ### Real-time Sync
221
221
 
222
- Polling streams database changes to the UI. When the agent writes to the database via scripts, the UI updates automatically via `useDbSync()` which invalidates React Query caches.
222
+ Chat-run tool calls refresh UI data automatically. Opt in to `useDbSync({ realtime: { reason } })` only when external changes matter before refresh (see the `real-time-sync` skill).
223
223
 
224
224
  ## Do
225
225
 
@@ -219,7 +219,7 @@ Local PGlite works out of the box for development. To deploy to production or an
219
219
 
220
220
  ### Real-time Sync
221
221
 
222
- Polling streams database changes to the UI. When the agent writes to the database via scripts, the UI updates automatically via `useDbSync()` which invalidates React Query caches.
222
+ Chat-run tool calls refresh UI data automatically. Opt in to `useDbSync({ realtime: { reason } })` only when external changes matter before refresh (see the `real-time-sync` skill).
223
223
 
224
224
  ## Do
225
225
 
@@ -85,16 +85,11 @@ the merged `✅` close-out after an in-review reply, which gets no second reply.
85
85
  on the strength of a local check.
86
86
  - **Once:** never post the same reply twice, and never follow up with one
87
87
  that adds nothing new.
88
+ - **QA report value grade (`#qa-agent-native`):** append `(Report value: <1-5>/5 — <reason>)` per `references/slack-reaction-replies.md`.
88
89
  - Link the PR on the word "fix" (`<url|fix>`), never by number.
89
- - End with the bold line `**This was sent from a bot**` on its own line,
90
- once.
91
-
92
- Don't reply at all to jokes, venting, banter, a message meant for a specific
93
- teammate, or a thread a person is already handling. Once a person says they
94
- have it, or asks the bot to stop, post nothing more in that thread. Before posting, reread the reply as the reporter: would they get it
95
- in five seconds, know what happens next, and feel we did the legwork? Check
96
- the draft before sending, not after: the first version is the one that
97
- notifies them, so editing it afterwards doesn't undo it.
90
+ - End with `**This was sent from a bot**` on its own line, once.
91
+
92
+ Don't reply to jokes, banter, messages for a specific teammate, or threads a person is already handling; once a person takes over or asks the bot to stop, post nothing more. Reread drafts as the reporter before sending (edits don't undo notifications).
98
93
 
99
94
  Good (each is the first line; the footer goes on the line below it):
100
95
 
@@ -300,3 +300,17 @@ Treat each root it returns as a candidate, even one older than your last-seen
300
300
  point. A last-seen timestamp alone skips reports: one was set to the bot's own
301
301
  reply and silently dropped three roots posted minutes earlier. Advance a
302
302
  last-seen point only to the newest report root handled, never to a bot reply.
303
+
304
+ ## QA Report Value Grade (`#qa-agent-native`)
305
+
306
+ On QA-team threads in `#qa-agent-native`, append one concise, friendly parenthetical tag at the end of the reply sentence (before the bot disclosure) so reporters see what makes a report high leverage:
307
+
308
+ `(Report value: <1-5>/5 — <3–6 word reason>)`
309
+
310
+ - **5/5:** core workflow break, data loss, or security bug with clear repro
311
+ - **4/5:** real user-blocking or high-visibility bug with clear repro
312
+ - **3/5:** real bug on a secondary flow or clear edge case
313
+ - **2/5:** minor cosmetic/copy nit, or valid symptom missing key repro detail
314
+ - **1/5:** duplicate, already fixed/tracked, or expected behavior
315
+
316
+ Keep reasons constructive and plain-English (never snarky).
@@ -646,19 +646,21 @@ the thread silent while a required product or UX decision is pending, and
646
646
  report that gate only in the private recap.
647
647
 
648
648
  If no prior maintainer request is awaiting an update and this would be the
649
- active login's first comment on that PR, begin the draft with a warm thank-you that tags the author
650
- using the exact GitHub `author.login` from the live PR metadata, for example:
649
+ active login's first comment on that PR, follow `community-prs/SKILL.md` for
650
+ external authors: begin with a warm thank-you using the first name from their
651
+ GitHub profile (never greet by `@handle`; if no profile name is set, use plain
652
+ "Thanks for the PR!"):
651
653
 
652
654
  ```text
653
- Thanks for the PR, @username!
655
+ Thanks for the PR, FirstName!
654
656
 
655
657
  Couple requests. Can you please [make the specific update] so [the intended
656
658
  behavior or outcome] is preserved?
657
659
  ```
658
660
 
659
- Replace `username` with the PR author's actual login and the bracketed text with
660
- the evidence-backed request; do not use a display name, guess the handle, or
661
- leave placeholders in the draft. Put the thank-you on its own line, then state
661
+ Replace `FirstName` with the author's GitHub profile first name (or omit the
662
+ name if none is set) and replace the bracketed text with the evidence-backed
663
+ request; never guess a name, use `@handle`, or leave placeholders in the draft. Put the thank-you on its own line, then state
662
664
  the concrete request in a friendly, conversational way (for example, "Couple
663
665
  requests. Can you please ...?"). Keep the technical request specific,
664
666
  actionable, and supported by the diff or source evidence; ask for a regression
@@ -219,7 +219,7 @@ Local PGlite works out of the box for development. To deploy to production or an
219
219
 
220
220
  ### Real-time Sync
221
221
 
222
- Polling streams database changes to the UI. When the agent writes to the database via scripts, the UI updates automatically via `useDbSync()` which invalidates React Query caches.
222
+ Chat-run tool calls refresh UI data automatically. Opt in to `useDbSync({ realtime: { reason } })` only when external changes matter before refresh (see the `real-time-sync` skill).
223
223
 
224
224
  ## Do
225
225
 
@@ -63,7 +63,7 @@ const rows = await db
63
63
  .orderBy(desc(meals.createdAt));
64
64
  ```
65
65
 
66
- Avoid `db.execute(...)`, `getDbExec()`, and handwritten SQL in actions, handlers, and stores when Drizzle can express the query. Raw SQL should be limited to additive migrations, health checks, carefully reviewed advanced queries, or one-off maintenance scripts. For timestamps in Drizzle schemas, use `.default(now())`; for migration SQL, use `runMigrations()`.
66
+ Avoid `db.execute(...)`, `getDbExec()`, and handwritten SQL in actions, handlers, and stores when Drizzle can express the query. Raw SQL should be limited to additive migrations, health checks, carefully reviewed advanced queries, or one-off maintenance scripts. For timestamps in Drizzle schemas, use `.default(sql\`now()\`)`; for migration SQL, use `runMigrations()`.
67
67
 
68
68
  ### Raw SQL helpers
69
69
 
@@ -219,7 +219,7 @@ Local PGlite works out of the box for development. To deploy to production or an
219
219
 
220
220
  ### Real-time Sync
221
221
 
222
- Polling streams database changes to the UI. When the agent writes to the database via scripts, the UI updates automatically via `useDbSync()` which invalidates React Query caches.
222
+ Chat-run tool calls refresh UI data automatically. Opt in to `useDbSync({ realtime: { reason } })` only when external changes matter before refresh (see the `real-time-sync` skill).
223
223
 
224
224
  ## Do
225
225
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agent-native/core",
3
- "version": "0.235.0",
3
+ "version": "0.235.1-nightly-20261127004315",
4
4
  "description": "The agentic application framework for building autonomous agents with intuitive UIs",
5
5
  "homepage": "https://github.com/BuilderIO/agent-native#readme",
6
6
  "bugs": {
@@ -823,8 +823,8 @@
823
823
  "yaml": "^2.9.0",
824
824
  "yjs": "^13.6.33",
825
825
  "zod": "^4.3.6",
826
- "@agent-native/agentkit": "^0.235.0",
827
- "@agent-native/recap-cli": "^0.5.110"
826
+ "@agent-native/recap-cli": "^0.5.111-nightly-20261127004315",
827
+ "@agent-native/agentkit": "^0.235.1-nightly-20261127004315"
828
828
  },
829
829
  "devDependencies": {
830
830
  "@ai-sdk/anthropic": "^3.0.71",
@@ -898,7 +898,7 @@
898
898
  "xlsx": "^0.18.5"
899
899
  },
900
900
  "peerDependencies": {
901
- "@agent-native/core-corpus": ">=0.196.0",
901
+ "@agent-native/core-corpus": "0.235.1-nightly-20261127004315",
902
902
  "@ai-sdk/anthropic": ">=3",
903
903
  "@ai-sdk/cohere": ">=3",
904
904
  "@ai-sdk/google": ">=3",
@@ -1087,7 +1087,7 @@
1087
1087
  "scripts": {
1088
1088
  "build": "tsc && tsc -p tsconfig.cli.json && node scripts/finalize-build.mjs && node scripts/check-dist-imports.mjs",
1089
1089
  "dev": "tsc --watch",
1090
- "typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.cli.json && tsc -p tsconfig.type-tests.json",
1090
+ "typecheck": "tsgo --noEmit && tsgo --noEmit -p tsconfig.cli.json && tsgo -p tsconfig.type-tests.json",
1091
1091
  "test": "vitest --run --dir src",
1092
1092
  "test:motion-text-package": "vitest --run scripts/motion-text-package.spec.ts"
1093
1093
  }
@@ -219,7 +219,7 @@ Local PGlite works out of the box for development. To deploy to production or an
219
219
 
220
220
  ### Real-time Sync
221
221
 
222
- Polling streams database changes to the UI. When the agent writes to the database via scripts, the UI updates automatically via `useDbSync()` which invalidates React Query caches.
222
+ Chat-run tool calls refresh UI data automatically. Opt in to `useDbSync({ realtime: { reason } })` only when external changes matter before refresh (see the `real-time-sync` skill).
223
223
 
224
224
  ## Do
225
225
 
@@ -219,7 +219,7 @@ Local PGlite works out of the box for development. To deploy to production or an
219
219
 
220
220
  ### Real-time Sync
221
221
 
222
- Polling streams database changes to the UI. When the agent writes to the database via scripts, the UI updates automatically via `useDbSync()` which invalidates React Query caches.
222
+ Chat-run tool calls refresh UI data automatically. Opt in to `useDbSync({ realtime: { reason } })` only when external changes matter before refresh (see the `real-time-sync` skill).
223
223
 
224
224
  ## Do
225
225
 
@@ -85,16 +85,11 @@ the merged `✅` close-out after an in-review reply, which gets no second reply.
85
85
  on the strength of a local check.
86
86
  - **Once:** never post the same reply twice, and never follow up with one
87
87
  that adds nothing new.
88
+ - **QA report value grade (`#qa-agent-native`):** append `(Report value: <1-5>/5 — <reason>)` per `references/slack-reaction-replies.md`.
88
89
  - Link the PR on the word "fix" (`<url|fix>`), never by number.
89
- - End with the bold line `**This was sent from a bot**` on its own line,
90
- once.
91
-
92
- Don't reply at all to jokes, venting, banter, a message meant for a specific
93
- teammate, or a thread a person is already handling. Once a person says they
94
- have it, or asks the bot to stop, post nothing more in that thread. Before posting, reread the reply as the reporter: would they get it
95
- in five seconds, know what happens next, and feel we did the legwork? Check
96
- the draft before sending, not after: the first version is the one that
97
- notifies them, so editing it afterwards doesn't undo it.
90
+ - End with `**This was sent from a bot**` on its own line, once.
91
+
92
+ Don't reply to jokes, banter, messages for a specific teammate, or threads a person is already handling; once a person takes over or asks the bot to stop, post nothing more. Reread drafts as the reporter before sending (edits don't undo notifications).
98
93
 
99
94
  Good (each is the first line; the footer goes on the line below it):
100
95
 
@@ -300,3 +300,17 @@ Treat each root it returns as a candidate, even one older than your last-seen
300
300
  point. A last-seen timestamp alone skips reports: one was set to the bot's own
301
301
  reply and silently dropped three roots posted minutes earlier. Advance a
302
302
  last-seen point only to the newest report root handled, never to a bot reply.
303
+
304
+ ## QA Report Value Grade (`#qa-agent-native`)
305
+
306
+ On QA-team threads in `#qa-agent-native`, append one concise, friendly parenthetical tag at the end of the reply sentence (before the bot disclosure) so reporters see what makes a report high leverage:
307
+
308
+ `(Report value: <1-5>/5 — <3–6 word reason>)`
309
+
310
+ - **5/5:** core workflow break, data loss, or security bug with clear repro
311
+ - **4/5:** real user-blocking or high-visibility bug with clear repro
312
+ - **3/5:** real bug on a secondary flow or clear edge case
313
+ - **2/5:** minor cosmetic/copy nit, or valid symptom missing key repro detail
314
+ - **1/5:** duplicate, already fixed/tracked, or expected behavior
315
+
316
+ Keep reasons constructive and plain-English (never snarky).
@@ -646,19 +646,21 @@ the thread silent while a required product or UX decision is pending, and
646
646
  report that gate only in the private recap.
647
647
 
648
648
  If no prior maintainer request is awaiting an update and this would be the
649
- active login's first comment on that PR, begin the draft with a warm thank-you that tags the author
650
- using the exact GitHub `author.login` from the live PR metadata, for example:
649
+ active login's first comment on that PR, follow `community-prs/SKILL.md` for
650
+ external authors: begin with a warm thank-you using the first name from their
651
+ GitHub profile (never greet by `@handle`; if no profile name is set, use plain
652
+ "Thanks for the PR!"):
651
653
 
652
654
  ```text
653
- Thanks for the PR, @username!
655
+ Thanks for the PR, FirstName!
654
656
 
655
657
  Couple requests. Can you please [make the specific update] so [the intended
656
658
  behavior or outcome] is preserved?
657
659
  ```
658
660
 
659
- Replace `username` with the PR author's actual login and the bracketed text with
660
- the evidence-backed request; do not use a display name, guess the handle, or
661
- leave placeholders in the draft. Put the thank-you on its own line, then state
661
+ Replace `FirstName` with the author's GitHub profile first name (or omit the
662
+ name if none is set) and replace the bracketed text with the evidence-backed
663
+ request; never guess a name, use `@handle`, or leave placeholders in the draft. Put the thank-you on its own line, then state
662
664
  the concrete request in a friendly, conversational way (for example, "Couple
663
665
  requests. Can you please ...?"). Keep the technical request specific,
664
666
  actionable, and supported by the diff or source evidence; ask for a regression
@@ -219,7 +219,7 @@ Local PGlite works out of the box for development. To deploy to production or an
219
219
 
220
220
  ### Real-time Sync
221
221
 
222
- Polling streams database changes to the UI. When the agent writes to the database via scripts, the UI updates automatically via `useDbSync()` which invalidates React Query caches.
222
+ Chat-run tool calls refresh UI data automatically. Opt in to `useDbSync({ realtime: { reason } })` only when external changes matter before refresh (see the `real-time-sync` skill).
223
223
 
224
224
  ## Do
225
225
 
@@ -63,7 +63,7 @@ const rows = await db
63
63
  .orderBy(desc(meals.createdAt));
64
64
  ```
65
65
 
66
- Avoid `db.execute(...)`, `getDbExec()`, and handwritten SQL in actions, handlers, and stores when Drizzle can express the query. Raw SQL should be limited to additive migrations, health checks, carefully reviewed advanced queries, or one-off maintenance scripts. For timestamps in Drizzle schemas, use `.default(now())`; for migration SQL, use `runMigrations()`.
66
+ Avoid `db.execute(...)`, `getDbExec()`, and handwritten SQL in actions, handlers, and stores when Drizzle can express the query. Raw SQL should be limited to additive migrations, health checks, carefully reviewed advanced queries, or one-off maintenance scripts. For timestamps in Drizzle schemas, use `.default(sql\`now()\`)`; for migration SQL, use `runMigrations()`.
67
67
 
68
68
  ### Raw SQL helpers
69
69
 
@@ -219,7 +219,7 @@ Local PGlite works out of the box for development. To deploy to production or an
219
219
 
220
220
  ### Real-time Sync
221
221
 
222
- Polling streams database changes to the UI. When the agent writes to the database via scripts, the UI updates automatically via `useDbSync()` which invalidates React Query caches.
222
+ Chat-run tool calls refresh UI data automatically. Opt in to `useDbSync({ realtime: { reason } })` only when external changes matter before refresh (see the `real-time-sync` skill).
223
223
 
224
224
  ## Do
225
225