create-heresay 0.2.49 → 0.2.51

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,45 +1,84 @@
1
1
  # What's new in Heresay
2
2
 
3
3
  Heresay keeps changing after an app has it: new versions of the Heresay itself and the Swift
4
- package, and new features. In a connected repo, bring these up with the person and **ask before
5
- applying any**.
6
-
7
- ## When to check
8
-
9
- - **When a chat starts.** In Claude Code, a session-start check (`.claude/settings.json`, added
10
- by `heresay connect`) does it and tells you what it found. Other agents: call `whats_new`
11
- (or run `npx -y heresay@latest updates`) once early in the conversation, whatever it is about.
12
- - **At the start of every Heresay task**, call `whats_new` yourself.
13
-
14
- ## What to do with it
15
-
16
- 1. If it returns nothing, carry on. Don't mention it.
17
- 2. If it returns updates, tell the person in one short sentence each, in their words, not ours,
18
- for example: "Heresay has a newer Swift package (0.2.22) with more context in reports. Want me
19
- to update it?" One question for all of them is fine. If they asked about something else,
20
- help with that first and ask at the end of your reply.
21
- 3. **Never apply an update without a yes.** It changes what the app's users see.
22
- - Yes: follow its `how` (below), then `check_install` for that app.
23
- - No: call `skip_update` with its id (or `npx heresay updates --skip <id>`), so nobody asks
24
- again. It is recorded in `.claude/skills/heresay/decisions.json`; commit that. A skipped
25
- version is asked about again when a newer one comes out.
26
- - Not now: leave it; it comes up again in a later chat.
4
+ package, and new features. In a connected repo, bring these up with the person, explain them, and
5
+ **ask before applying any**. A version update is never just a bump: what the app's users see may
6
+ change, and the person should hear that first.
7
+
8
+ ## 1. Notice
9
+
10
+ - **When a chat starts.** In Claude Code a session-start check (`.claude/settings.json`, added by
11
+ `heresay connect`) tells you what it found. Other agents: call `whats_new` (or run
12
+ `npx -y heresay@latest updates`) once early in the conversation, whatever it is about.
13
+ - **At the start of every Heresay task**, and when asked to "update Heresay": call `whats_new`.
14
+ - If it returns nothing, carry on and don't mention it. If the person asked about something else,
15
+ help with that first and raise the updates at the end of your reply.
16
+
17
+ ## 2. Explain each item, in plain words
18
+
19
+ For every update, say three things, in the person's words, not ours:
20
+
21
+ - **What the app's users will see.** For a version update read `notes`: each release lists
22
+ `users` (what the people using the app see), `developers` (what changes for whoever builds it)
23
+ and `action` (a code change needed, if any). If `users` has anything, say so first: "the Report
24
+ panel your users see was redesigned: no tabs, compact type pills..."
25
+ - **What code changes.** Often none (web apps get Report button changes from the Heresay with no
26
+ code change); for a feature, the lines or attributes it adds.
27
+ - **Your recommendation for this app, with a reason.** Look at the app. An app with its own
28
+ "Report a problem" menu item or sidebar row should use `open-next-to-trigger`: the panel opens
29
+ beside that item instead of in a corner. A dense editor may suit the `bar` layout; most apps
30
+ should keep the default. Say "I'd add it because..." or "I'd skip it because...". Don't just
31
+ read out the list.
32
+
33
+ Fields you get: `id`, `title`, `summary`, `how` (the guide to follow), `notes` and `then` on version
34
+ updates, `offer` on features (`recommended`, or `optional`: only offered right after the version
35
+ that introduced it).
36
+
37
+ ## 3. Ask, per item
38
+
39
+ **Add it / Not now / Never.** One question covering several items is fine if each is clear.
40
+ **Never apply an update without a yes**: it changes what the app's users see.
41
+
42
+ ## 4. Apply
43
+
44
+ Follow the item's `how` (a guide), run `check_install` for the app, and **commit each item
45
+ separately** so any one can be reverted. For a version update, read `notes[].action` and do what
46
+ it says.
47
+
48
+ ## 5. Show the result
49
+
50
+ Say where to see it: the screen and what to click or tap ("open Settings, press Report a problem:
51
+ the panel opens next to it"). If you can run the app, take a screenshot and show it.
52
+
53
+ ## 6. Chain
54
+
55
+ After a version update, look at its `then`: the features that version introduced that fit this
56
+ app. Explain and offer each the same way (steps 2 to 5). Don't offer them before the update is
57
+ applied, or when the person said Not now to the update.
58
+
59
+ ## 7. Remember
60
+
61
+ - **Never**: call `skip_update` with the id (or `npx heresay updates --skip <id>`). It is recorded
62
+ in `.claude/skills/heresay/decisions.json`; commit that. A newer version of a skipped version
63
+ update is asked about once more.
64
+ - **Not now**: leave it. It comes up again in a later chat.
65
+ - **Yes**: nothing to record; once applied it stops being offered.
27
66
 
28
67
  ## The kinds of update
29
68
 
30
69
  - **`instance@x.y.z`: this team's Heresay is behind.** The dashboard, the API and the web Report
31
- button (web apps load it from the Heresay, so they get it with no code change). Whoever set the
32
- Heresay up runs `npx create-heresay update`; it signs in to Google with their account. Offer to
33
- run it only if that's the person you're talking to.
70
+ button (web apps load it from the Heresay, so they get it with no code change, but their users
71
+ see the new button). Whoever set the Heresay up runs `npx create-heresay update`; it signs in to
72
+ Google with their account. Offer to run it only if that's the person you're talking to.
34
73
  - **`swift@x.y.z`: the Swift package is behind.** Xcode: File › Packages › Update to Latest
35
74
  Package Versions. A Swift package: `swift package update heresay-swift`. From a terminal for an
36
75
  Xcode project: delete the `heresay-swift` pin from its `Package.resolved` and run
37
- `xcodebuild -resolvePackageDependencies`. Build, read the CHANGELOG for anything that needs a
38
- code change, and commit `Package.resolved`.
76
+ `xcodebuild -resolvePackageDependencies`. Build, do what the notes' `action` says, commit
77
+ `Package.resolved`. The package also ships `CHANGELOG.md`.
39
78
  - **`agent-files@N`: this repo's Heresay agent files are old.** Run
40
79
  `npx -y heresay@latest connect --update` and commit what it lists, in its own commit.
41
- - **Anything else is a feature this app doesn't use yet**, from this Heresay's feature list. Its
42
- `how` names the guide to follow.
80
+ - **Anything else is a feature this app doesn't use yet.** Its `how` names the guide to follow.
43
81
 
44
- If the tool isn't there (an older `heresay` package), read `/guides/changes.json` on this Heresay
45
- and check the code for each entry's `detect` strings yourself.
82
+ If the tool isn't there (an older `heresay` package), read `/guides/releases.json` and
83
+ `/guides/changes.json` on this Heresay and check the code for each entry's `when` and `detect`
84
+ strings yourself.
@@ -10,7 +10,7 @@ This site is one team's own Heresay. Its guides for coding agents are plain Mark
10
10
  - [Install on the web](/guides/install-web.md): where the script tag goes, per framework
11
11
  - [Change how it looks on the web](/guides/customize-web.md): every option, and the recommended defaults
12
12
  - [Install on iOS and macOS](/guides/install-apple.md): the Swift package and one line of setup
13
- - [Change how it looks on iOS and macOS](/guides/customize-apple.md): HeresayStyle, and the recommended defaults
13
+ - [Change how it looks on iOS and macOS](/guides/customize-apple.md): HeresayStyle position, offset and a few options
14
14
  - [Fix a brief](/guides/fix-brief.md): claim, fix, hand off, mark fixed
15
15
  - [Write the fix note](/guides/write-note.md): the note the reporter reads
16
16
  - [Docs](/docs.html): script tag options, JavaScript API, limits