memgineering 0.15.1 → 0.17.0

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.
package/CHANGELOG.md CHANGED
@@ -11,6 +11,52 @@ language the reader wants. The bilingual rule the monorepo applies to
11
11
 
12
12
  ## [Unreleased]
13
13
 
14
+ ## [0.17.0] — 2026-08-30
15
+
16
+ ### Added
17
+
18
+ - **One sign-in, both halves.** `memgineering login` now links your registry
19
+ account automatically — same Google account, no extra step — and stores a
20
+ registry session next to the brain token. `memgineering whoami` shows both
21
+ identities (brain name and registry username); `memgineering logout` ends
22
+ both. If the registry half is ever unreachable during login, the brain
23
+ sign-in still completes and whoami says how to link later.
24
+ - **Approving a login is one click now.** The browser approval screen keys off
25
+ your memgineering.com sign-in: signed in, you see who is asking and press
26
+ 승인 — no separate Google round trip. Signed out, the same page signs you in
27
+ first (Google in a popup) and then asks. Consent is requested exactly once,
28
+ when an account is first created.
29
+
30
+ ### Agent guidance
31
+
32
+ - `memgineering-setup` explains the unified sign-in: one login carries brain
33
+ and registry credentials together, and `whoami` reports both. Restart agent
34
+ sessions after upgrading so the refreshed guidance loads.
35
+
36
+ ## [0.16.0] — 2026-08-30
37
+
38
+ ### Added
39
+
40
+ - **Opt-in anonymized error reporting.** When the CLI itself breaks — the
41
+ server unreachable, the server's own 500, or an unhandled crash — it can
42
+ send an anonymous report: error kind, CLI/Node version, platform, and a
43
+ sanitized message excerpt (paths, tokens, and identifiers stripped;
44
+ 200-character cap). Never note content, never commands, never identity —
45
+ the server table has no columns identity could land in, and expected
46
+ refusals (like `no vault is linked`) are never reported. Off by default:
47
+ `memgineering setup` asks once in a terminal, `--error-telemetry on|off`
48
+ answers by flag, and `MEMGINEERING_NO_TELEMETRY=1` overrides everything.
49
+ Reports are deleted after 90 days. The privacy policy
50
+ (api.memgineering.com/privacy, effective 2026-08-30) documents all of it.
51
+
52
+ ### Agent guidance
53
+
54
+ - `memgineering-setup` explains the telemetry question and both
55
+ off-switches, so an agent running setup for someone can relay the decision
56
+ instead of guessing it. Setup never prompts without a terminal — an
57
+ unanswered question stays `undecided`, which behaves as off. Restart your
58
+ agent session after upgrading so the refreshed skill is what gets read.
59
+
14
60
  ## [0.15.1] — 2026-08-29
15
61
 
16
62
  ### Fixed
@@ -2,7 +2,7 @@
2
2
  name: memgineering
3
3
  description: Use whenever the user refers to something they told you before, asks what was decided, tells you something worth keeping, or settles something that should hold next time. The memory lives in their own folder and outlives this session; check it before answering from guesswork, and write to it when you learn something durable.
4
4
  type: skill
5
- version: 0.15.1
5
+ version: 0.17.0
6
6
  ---
7
7
 
8
8
  # memgineering
@@ -33,7 +33,8 @@ that can read it.
33
33
  memgineering setup --agent \
34
34
  --tools claude,codex \ # default: everything detected
35
35
  --auto-update on \ # default: on, and recommended
36
- --hook on # session-start summary + rules before an edit
36
+ --hook on \ # session-start summary + rules before an edit
37
+ --error-telemetry on # anonymized crash reports; unset = undecided (off)
37
38
  ```
38
39
 
39
40
  `--dry-run` reports what would change without changing it.
@@ -44,6 +45,18 @@ opening nothing. Show the user the code — they approve it in their browser whi
44
45
  you keep working, and the next command picks the token up. Nothing exists on the
45
46
  server until they approve.
46
47
 
48
+ **One sign-in covers both halves (0.17.0+).** The approval also links the
49
+ user's registry account (same Google account, automatic), so the claim stores a
50
+ registry session next to the brain token. `memgineering whoami` reports both —
51
+ the brain identity and a `registry:` line with the username. If the registry
52
+ line says "not linked", the link simply did not happen at sign-in time (older
53
+ server, registry briefly down); a fresh `logout` + `login` links it. Never
54
+ treat a missing registry line as a failed brain sign-in — the brain token
55
+ stands on its own. On the approval page itself, a user already signed in to
56
+ memgineering.com approves with one click; a signed-out user signs in right
57
+ there first (Google in a popup). Consent is asked exactly once, when an
58
+ account is first created.
59
+
47
60
  `--no-login` is how someone says "this machine only". Offer it, do not assume it:
48
61
  a brain that lives in a folder here cannot follow them to their phone or their
49
62
  next laptop, and that is discovered weeks later, by which time the notes are in
@@ -60,6 +73,17 @@ terminal at all.
60
73
  itself; `--hook on` means note summaries and their standing rules reach an agent
61
74
  unasked. Recommend both, but they are theirs to decide.
62
75
 
76
+ **Error telemetry is theirs to decide too, and defaults to off.** With
77
+ `--error-telemetry on`, the CLI sends an anonymous report when it ITSELF
78
+ breaks: error kind, CLI/Node version, platform, and a sanitized message
79
+ excerpt — never note content, commands, or anything naming them, and the
80
+ server has no columns identity could land in. Unset leaves it `undecided`
81
+ (behaves as off) so a person can be asked later; a terminal `setup` asks
82
+ once; without a terminal it never prompts. Two off-switches at any time:
83
+ `memgineering setup --error-telemetry off`, or `MEMGINEERING_NO_TELEMETRY=1`
84
+ in the environment. Deleted server-side after 90 days; the full contract is
85
+ at api.memgineering.com/privacy.
86
+
63
87
  **`--hook off` removes them**, it does not merely decline to add them, so it is
64
88
  the answer when someone already has the callbacks and has decided they do not
65
89
  want them. Only groups memgineering wrote are taken out; anything else in that