memgineering 0.16.0 → 0.18.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,66 @@ language the reader wants. The bilingual rule the monorepo applies to
11
11
 
12
12
  ## [Unreleased]
13
13
 
14
+ ## [0.18.0] — 2026-08-30
15
+
16
+ ### Added
17
+
18
+ - **Setting up happens on a screen now.** `memgineering setup --web` opens the
19
+ wizard at memgineering.com/setup — sign in, choose where the memory lives,
20
+ name a brain or point at a folder, confirm — and this machine applies it when
21
+ you finish. The page is part of the site, so it looks like the product and
22
+ signs you in the way the site does.
23
+ - **Running `memgineering` on its own opens that screen**, when you are on a
24
+ terminal and setup has not been done. Nothing to copy, nothing to paste.
25
+ - **Existing notes can come with you.** If you already keep markdown on this
26
+ machine, the screen offers to carry that folder up to the new brain. Folder
27
+ names are sent only after the screen asks for them, and never the contents.
28
+
29
+ ### Changed
30
+
31
+ - **`setup --web` returns instead of blocking.** With nobody watching a
32
+ terminal it leaves the waiting to a background process, so an agent's shell
33
+ call cannot time out while somebody reads the screen. `--wait` restores the
34
+ old blocking behaviour for scripts that want it.
35
+ - **One sign-in for the whole install.** The screen uses your memgineering.com
36
+ session, so a person already signed in is not asked again — and there is no
37
+ separate device code to approve on top of it.
38
+ - **The setup screen no longer runs on your machine.** The 127.0.0.1 page and
39
+ its local server are gone; `setup --human` and `setup --agent` remain for
40
+ machines with no browser or when you would rather the agent decided.
41
+ - **Setup stops claiming you must restart.** Commands and recall work
42
+ immediately; only the guidance files setup writes wait for your next
43
+ conversation, and that is what it now says.
44
+
45
+ ### Agent guidance
46
+
47
+ - The install banner and `memgineering-setup` changed: `setup --web` is the
48
+ default path, it returns straight away, and the pairing code it prints is
49
+ meant to be shown to the user — the screen asks them to compare it. Restart
50
+ your agent session after upgrading so the new guidance is loaded.
51
+
52
+ ## [0.17.0] — 2026-08-30
53
+
54
+ ### Added
55
+
56
+ - **One sign-in, both halves.** `memgineering login` now links your registry
57
+ account automatically — same Google account, no extra step — and stores a
58
+ registry session next to the brain token. `memgineering whoami` shows both
59
+ identities (brain name and registry username); `memgineering logout` ends
60
+ both. If the registry half is ever unreachable during login, the brain
61
+ sign-in still completes and whoami says how to link later.
62
+ - **Approving a login is one click now.** The browser approval screen keys off
63
+ your memgineering.com sign-in: signed in, you see who is asking and press
64
+ 승인 — no separate Google round trip. Signed out, the same page signs you in
65
+ first (Google in a popup) and then asks. Consent is requested exactly once,
66
+ when an account is first created.
67
+
68
+ ### Agent guidance
69
+
70
+ - `memgineering-setup` explains the unified sign-in: one login carries brain
71
+ and registry credentials together, and `whoami` reports both. Restart agent
72
+ sessions after upgrading so the refreshed guidance loads.
73
+
14
74
  ## [0.16.0] — 2026-08-30
15
75
 
16
76
  ### Added
@@ -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.16.0
5
+ version: 0.18.0
6
6
  ---
7
7
 
8
8
  # memgineering
@@ -87,4 +87,4 @@ Tools without one (e.g. Antigravity): READ `<tool-home>/skills/memgineering-<nam
87
87
  when its topic comes up.
88
88
 
89
89
  If `memgineering: command not found`, install with `npm i -g memgineering`, then
90
- `memgineering setup`.
90
+ `memgineering setup --web`.
@@ -29,6 +29,34 @@ that can read it.
29
29
 
30
30
  ## 1. Register with the agents
31
31
 
32
+ **Default: open the screen.** `memgineering setup --web` starts a setup session,
33
+ prints a short pairing code, opens memgineering.com/setup in their browser, and
34
+ RETURNS — in seconds, with the screen still up. It does not block until they
35
+ finish, so run it and keep going in the same turn.
36
+
37
+ ```
38
+ memgineering setup --web # the screen; the normal answer
39
+ memgineering setup --web --print-url # no browser here — hand over the link
40
+ ```
41
+
42
+ Three things to do after running it:
43
+
44
+ 1. Tell them, in their language, that their browser has a setup screen open.
45
+ 2. Show them the pairing code it printed. The screen's first question is
46
+ whether they started this, and it asks them to compare that code — the
47
+ defence against somebody being sent a setup link.
48
+ 3. Stop. Nothing installs until they finish on the screen, and this machine
49
+ picks it up on its own when they do. There is nothing to poll and nothing
50
+ to wait for.
51
+
52
+ The screen asks everything `--agent` takes from flags — sign in, where the
53
+ memory lives, which brain, which tools, auto-update, the session hook — with
54
+ the recommended answer pre-selected. A person who is already signed in to
55
+ memgineering.com does not sign in again: that session IS the identity, and one
56
+ sign-in covers both halves (below).
57
+
58
+ **Only when they ask you to decide for them**, answer from flags instead:
59
+
32
60
  ```
33
61
  memgineering setup --agent \
34
62
  --tools claude,codex \ # default: everything detected
@@ -37,25 +65,32 @@ memgineering setup --agent \
37
65
  --error-telemetry on # anonymized crash reports; unset = undecided (off)
38
66
  ```
39
67
 
40
- `--dry-run` reports what would change without changing it.
41
-
42
- **The account is the default, and the browser is not.** `setup --agent` starts a
43
- sign-in on its own: it prints a short pairing code and returns immediately,
44
- opening nothing. Show the user the code they approve it in their browser while
45
- you keep working, and the next command picks the token up. Nothing exists on the
46
- server until they approve.
47
-
48
- `--no-login` is how someone says "this machine only". Offer it, do not assume it:
49
- a brain that lives in a folder here cannot follow them to their phone or their
50
- next laptop, and that is discovered weeks later, by which time the notes are in
51
- the wrong place. Ask which they want in one sentence before you run anything.
52
-
53
- **If they would rather set it up themselves**, hand them a screen instead of
54
- doing it: `setup --human` draws a checkbox list in your terminal, and
55
- `setup --web` opens a page in their own browser (`--web --print-url` when you
56
- cannot open one for them). Both ask the same questions `--agent` takes from
57
- flags, and `--web` is the one to reach for when the user is not reading your
58
- terminal at all.
68
+ `--dry-run` reports what would change without changing it. `--human` draws the
69
+ same questions as a checkbox list in your terminal, for a machine with no
70
+ browser and a person sitting at it.
71
+
72
+ **`--no-login` is how someone says "this machine only".** It is a flag on the
73
+ `--agent` path, not a step on the screen: a brain that lives in a folder here
74
+ cannot follow them to their phone or their next laptop, and that is discovered
75
+ weeks later, by which time the notes are in the wrong place. On the screen the
76
+ same choice is made in front of them, with the differences side by side.
77
+
78
+ **One sign-in covers both halves (0.17.0+).** Signing in also links the user's
79
+ registry account (same Google account, automatic), so the credentials hold a
80
+ registry session next to the brain token. `memgineering whoami` reports both —
81
+ the brain identity and a `registry:` line with the username. If the registry
82
+ line says "not linked", the link simply did not happen at sign-in time (older
83
+ server, registry briefly down); a fresh `logout` + `login` links it. Never
84
+ treat a missing registry line as a failed brain sign-in the brain token
85
+ stands on its own. Consent is asked exactly once, when an account is first
86
+ created.
87
+
88
+ **When the setup finishes, say what is true and no more.** Commands work
89
+ immediately — `recall`, `remember`, the session hook. What waits is the
90
+ guidance files setup just wrote: an agent reads those at the start of a
91
+ conversation, so they arrive with the next one. Do not tell the user they must
92
+ restart. (Measured: a fresh agent relayed "restart required" as fact, the user
93
+ checked, and it was not one.)
59
94
 
60
95
  **Ask before setting policy for them.** Auto-update means the tool updates
61
96
  itself; `--hook on` means note summaries and their standing rules reach an agent
@@ -120,25 +155,30 @@ On Grok and Antigravity, run `memgineering resurface` yourself when you start
120
155
  work in a folder, and `memgineering rules` before you change anything — that is
121
156
  the same job the hooks do elsewhere, done by hand.
122
157
 
123
- ### When a person needs a screen, not flags
158
+ ### The screen, in more detail
124
159
 
125
160
  ```
126
- memgineering setup --human # checkbox screen in your terminal
127
- memgineering setup --web # a page in their own browser
161
+ memgineering setup --web # the default: a page in their own browser
128
162
  memgineering setup --web --print-url # no browser here — hand over the link
163
+ memgineering setup --human # checkbox screen in your terminal, no browser
129
164
  ```
130
165
 
131
- Reach for `--web` when the user is not reading your terminal at all. Its first
132
- screen is the account question, and it is theirs: the page explains what
133
- memgineering is, compares this machine against an account, and starts a sign-in
134
- only after they pick. **Do not pre-empt it by running `login` first.** If they
135
- already told you which way, pass `--login` / `--no-login` and the screen opens
136
- with that selected.
137
-
138
- It covers step 2 as well, with the same disclosure `link --dry-run` prints. The
139
- page serves on `127.0.0.1` with a one-time key and **the command does not return
140
- until it is answered or ten idle minutes pass** a screen nobody answered has
141
- set nothing up, so wait for it rather than reporting done.
166
+ The page is on memgineering.com, not on this machine the same site, the same
167
+ sign-in, the same design. So a person who is already signed in there is
168
+ recognised, and the sign-in they do on that screen is the ONLY one the whole
169
+ install asks for. **Do not run `login` first**; it adds an approval to a flow
170
+ that no longer needs one.
171
+
172
+ **The command returns; the screen does not.** With nobody watching a terminal
173
+ (you, a pipe, a CI job) the waiting half detaches and keeps going after your
174
+ command exits, so a slow reader cannot time your call out. `--wait` forces the
175
+ old behaviour of blocking until the screen is answered, for a script that
176
+ genuinely wants it.
177
+
178
+ It covers step 2 as well, with the same disclosure `link --dry-run` prints —
179
+ including, for someone who already keeps notes on this machine, the option to
180
+ carry that folder up to the account. Folder names are sent only after the
181
+ screen asks for them, and never their contents.
142
182
 
143
183
  ## 2. Connect a brain
144
184