knoxis-helper 1.10.0 → 1.10.1

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.
@@ -15,6 +15,23 @@ You are running in single-shot mode. There is no interactive REPL with the opera
15
15
 
16
16
  The interview happens through \`docs/state/OPEN_QUESTIONS.md\`. You write questions there, the operator fills in answers there, the operator re-runs kickoff, you read the answers and produce the context pack. Same questions, same coverage, just batched.
17
17
 
18
+ ## Step 0a — Reconcile prompt-injected operator answers
19
+
20
+ The QIG frontend stores operator answers in a database and injects them into this prompt as a section titled \`## Operator answers to pending questions\`. Each entry has the shape:
21
+
22
+ \`\`\`
23
+ - Q: <question text>
24
+ A: <answer text>
25
+ \`\`\`
26
+
27
+ If that section is present, treat those answers as authoritative — operators typed them in the frontend after the previous kickoff run and they may not be reflected in the file yet. Before evaluating the branch in Step 0:
28
+
29
+ 1. Read \`docs/state/OPEN_QUESTIONS.md\`. Scaffold it if missing (see State A).
30
+ 2. For each \`Q:\`/\`A:\` pair in the prompt block, find the matching entry in \`## Pending Answers\` by question text (case-insensitive, whitespace-normalized — \`#N.\` prefix is optional in the prompt). When you find a match, replace its \`**Answer:** _(fill in)_\` line with \`**Answer:** <answer>\` (or \`**Answer:** <answer> *(via frontend)*\` if you want the provenance preserved).
31
+ 3. Save the file.
32
+
33
+ If the prompt block is absent or empty, skip this step entirely. After reconciliation (or skip), proceed to Step 0 with the file as the source of truth.
34
+
18
35
  ## Step 0 — Read state and pick a branch
19
36
 
20
37
  Before anything else, read \`docs/state/OPEN_QUESTIONS.md\` (if it doesn't exist, scaffold the layout first). It has three sections: \`## Pending Answers\`, \`## Active\`, \`## Resolved\`. Look only at \`## Pending Answers\` to decide which branch you're in.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "knoxis-helper",
3
- "version": "1.10.0",
3
+ "version": "1.10.1",
4
4
  "description": "Local helper for Knoxis pair programming - connects your machine to Knoxis on qig.ai",
5
5
  "bin": {
6
6
  "knoxis-helper": "./bin/knoxis-helper.js"