@handsupmin/gc-tree 0.7.2 → 0.7.3

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.
@@ -41,6 +41,7 @@ export function onboardingCompletionLines() {
41
41
  return [
42
42
  'Before you claim onboarding is complete, run `gctree verify-onboarding --branch <current-gc-branch>` and inspect the real gc-tree files.',
43
43
  'Do not claim onboarding is complete unless verification returns `status: "complete"`.',
44
+ 'If verification returns anything other than `status: "complete"`, do not tell the user onboarding is done; inspect the reported failures, heal what can be healed automatically, rerun verification, and repeat until it passes or a real blocker remains.',
44
45
  'After applying the onboarding docs, explicitly list which durable docs were saved.',
45
46
  'Then summarize what you now understand from the saved docs instead of stopping at the filenames alone.',
46
47
  'For that final summary, do not ask an open-ended validation question first; present the summary and ask the user to choose only one structured confirmation: 1. This matches well enough. 2. Some parts are wrong. I will give the delta. 3. The frame is wrong. I will restate it.',
@@ -49,6 +50,7 @@ export function onboardingCompletionLines() {
49
50
  'After docs are confirmed correct, do not ask the user to recall repo-scope mappings from scratch; propose the concrete repository candidates that appear materially tied to this gc-branch, then ask the user to choose only one structured confirmation: 1. Map these candidates. 2. Map these, but with corrections. 3. Skip repo mapping for now.',
50
51
  'If the user picks 2 for repo mapping, ask only for the repo delta to add or remove. If the user picks 1 or gives corrected candidates, navigate to each confirmed repository and run `gctree set-repo-scope --branch <current-gc-branch> --include`. Skip mapping only if the user picks 3 or explicitly says mapping is not needed.',
51
52
  'Do not finish onboarding while material related repos, workflows, or domain terms remain uninspected when recoverable local evidence is still available.',
52
- 'Only after the related repos, workflows, glossary, default verification commands, and repo-scope mapping are either captured or explicitly skipped should you wrap up, then remind the user that future changes belong in `gctree update-global-context`.',
53
+ 'Only after the related repos, workflows, glossary, default verification commands, repo-scope mapping, and verification gate are all complete should you wrap up.',
54
+ 'When you do wrap up, explicitly tell the user three things in plain language: onboarding is finished; future durable changes can be made with `gctree update-global-context`, or directly through the provider command surface as Codex `$gc-update-global-context {prompt}` and Claude Code `/gc-update-global-context {prompt}`; and they can close this session and start fresh in a new one.',
53
55
  ];
54
56
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@handsupmin/gc-tree",
3
- "version": "0.7.2",
3
+ "version": "0.7.3",
4
4
  "description": "Global Context Tree, a lightweight branch-aware global context orchestrator for AI coding tools",
5
5
  "type": "module",
6
6
  "private": false,
@@ -81,19 +81,21 @@ Use this when a user wants to create global context for a product, company, or w
81
81
  26. Launch the guided onboarding flow with `gctree onboard [--branch <name>]`.
82
82
  27. Before you claim onboarding is complete, run `gctree verify-onboarding --branch <current-gc-branch>` and inspect the real gc-tree files.
83
83
  28. Do not claim onboarding is complete unless verification returns `status: "complete"`.
84
- 29. After the onboarding docs are written, explicitly list which durable docs were saved.
85
- 30. Summarize what you now understand from the saved docs instead of ending at the filenames alone.
86
- 31. For that final summary, do not ask an open-ended validation question first. Present the summary and ask the user to choose only one:
84
+ 29. If verification returns anything other than `status: "complete"`, do not tell the user onboarding is done. Inspect the reported failures, heal what can be healed automatically, rerun verification, and repeat until it passes or a real blocker remains.
85
+ 30. After the onboarding docs are written, explicitly list which durable docs were saved.
86
+ 31. Summarize what you now understand from the saved docs instead of ending at the filenames alone.
87
+ 32. For that final summary, do not ask an open-ended validation question first. Present the summary and ask the user to choose only one:
87
88
  - 1. This matches well enough.
88
89
  - 2. Some parts are wrong. I will give the delta.
89
90
  - 3. The frame is wrong. I will restate it.
90
- 32. If the user picks 2 or 3 for the final summary, ask only for the correction delta or replacement frame, then update the saved understanding instead of restarting the interview.
91
- 33. Ask whether anything else should be saved while the context is still fresh.
92
- 34. After docs are confirmed correct, do not ask the user to recall repo-scope mappings from scratch. Propose the concrete repository candidates that appear materially tied to this gc-branch, then ask the user to choose only one:
91
+ 33. If the user picks 2 or 3 for the final summary, ask only for the correction delta or replacement frame, then update the saved understanding instead of restarting the interview.
92
+ 34. Ask whether anything else should be saved while the context is still fresh.
93
+ 35. After docs are confirmed correct, do not ask the user to recall repo-scope mappings from scratch. Propose the concrete repository candidates that appear materially tied to this gc-branch, then ask the user to choose only one:
93
94
  - 1. Map these candidates.
94
95
  - 2. Map these, but with corrections.
95
96
  - 3. Skip repo mapping for now.
96
- 35. If the user picks 2 for repo mapping, ask only for the repo delta to add or remove. If the user picks 1 or gives corrected candidates, navigate to each confirmed repo and run `gctree set-repo-scope --branch <gc-branch> --include`. Skip mapping only if the user picks 3 or explicitly says mapping is not needed.
97
- 36. Do not finish onboarding while material related repos, workflows, or domain terms remain uninspected when recoverable local evidence is still available.
98
- 37. Only after the related repos, workflows, glossary, default verification commands, and repo-scope mapping are either captured or explicitly skipped should you wrap up, then remind the user that future changes belong in `gctree update-global-context`.
99
- 38. Keep the current gc-branch explicit while gathering context.
97
+ 36. If the user picks 2 for repo mapping, ask only for the repo delta to add or remove. If the user picks 1 or gives corrected candidates, navigate to each confirmed repo and run `gctree set-repo-scope --branch <gc-branch> --include`. Skip mapping only if the user picks 3 or explicitly says mapping is not needed.
98
+ 37. Do not finish onboarding while material related repos, workflows, or domain terms remain uninspected when recoverable local evidence is still available.
99
+ 38. Only after the related repos, workflows, glossary, default verification commands, repo-scope mapping, and verification gate are all complete should you wrap up.
100
+ 39. When you wrap up, explicitly tell the user three things in plain language: onboarding is finished; future durable changes can be made with `gctree update-global-context`, or directly through the provider command surface as Codex `$gc-update-global-context {prompt}` and Claude Code `/gc-update-global-context {prompt}`; and they can close this session and start fresh in a new one.
101
+ 40. Keep the current gc-branch explicit while gathering context.