@hadooppei/hwcode 1.0.8 → 1.0.9

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/README.md CHANGED
@@ -153,21 +153,24 @@ scanned through a verified ProxyJump. Runner execution requires Terraform,
153
153
  Terraform backend. The exact policy-checked file manifest is uploaded and its
154
154
  per-file digest is verified remotely before execution.
155
155
 
156
- Knowledge capture is independent from workflow completion. A background Worker
157
- checks settled conversations once per minute and asks the active model to
158
- review only the session delta since the last successful checkpoint. It runs for
159
- ordinary conversations and Vibe, SDD, and Cloud alike, produces no visible
160
- assistant turn, and is cancelled when new input or a new agent run starts.
161
-
162
- Reusable knowledge is stored under `~/.hwcode/knowledge/` using two tracks.
163
- Short, high-confidence rules live under `rules/` and every applicable rule file
164
- is loaded when a session starts. Detailed SOPs and evolving engineering
165
- experience live under `topics/`; only the bounded `MEMORY.md` keyword index is
166
- loaded into the prompt, while `catalog.json` remains a complete token-free
167
- machine index. The `hwcode_knowledge_lookup` tool loads a detailed topic on
168
- demand. Exact repeats are reinforced, safe explicit revisions replace their
169
- source, and ambiguous conflicts are quarantined under `pending/`. Legacy
170
- `index.json` and `records/` data are neither loaded nor migrated.
156
+ Knowledge capture is independent from workflow and session completion. Every
157
+ HWCode process owns a lightweight Worker, but a user-private Unix socket elects
158
+ exactly one machine-local Leader. The Leader checks every open or closed session
159
+ once per minute and serially asks its configured model to review uncommitted
160
+ session deltas. Workers without model access remain ineligible; they rejoin the
161
+ election automatically after model authentication becomes available.
162
+
163
+ Reusable knowledge is stored as immutable generations under
164
+ `~/.hwcode/knowledge-v3/` using two tracks. Short, high-confidence rules live
165
+ under each generation's `rules/` directory and every applicable rule is loaded
166
+ when an agent starts. Detailed SOPs and evolving engineering experience live
167
+ under `topics/`; only the bounded keyword index is loaded into the prompt. The
168
+ `hwcode_knowledge_lookup` tool loads a detailed topic on demand. A generation
169
+ atomically publishes rules, topics, the complete catalog, and per-session review
170
+ cursors, so a catalog can never reference an unpublished body. Exact repeats
171
+ are reinforced, safe explicit revisions replace their source, and ambiguous
172
+ conflicts are quarantined under `pending/`. Earlier knowledge layouts are
173
+ neither loaded nor migrated.
171
174
 
172
175
  A successful managed Terraform apply additionally produces a schema-v2
173
176
  Terraform Template bundle containing filtered Terraform, Helm, discovery and
@@ -200,7 +203,7 @@ Runtime data is separated by ownership: project SDD specifications live under
200
203
  `.hwcode/specs/`, retained Cloud run artifacts live under
201
204
  `.hwcode/cloud/runs/<run-id>/`, user-private credentials, SSH trust, and
202
205
  Terraform Templates live under `~/.hwcode/cloud/`, and the cross-workflow
203
- knowledge base lives under `~/.hwcode/knowledge/`. Cloud run artifacts are
206
+ knowledge base lives under `~/.hwcode/knowledge-v3/`. Cloud run artifacts are
204
207
  deliberately retained for inspection and automatic bundle extraction; HWCode
205
208
  does not apply a time-based cleanup policy.
206
209
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hadooppei/hwcode",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "description": "A customizable terminal coding agent with local-model support and HWCode workflows.",
5
5
  "type": "module",
6
6
  "bin": {