@ngocsangairvds/vsaf 5.5.1 → 5.5.2
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/package.json
CHANGED
|
@@ -142,7 +142,10 @@ Icon: `⏳` running, `✅` done, `❌` error.
|
|
|
142
142
|
- Code module (from GitNexus) → is there a corresponding business concept? (check graph.json)
|
|
143
143
|
- YES → record mapping
|
|
144
144
|
- NO → technical module (infra, utils) — OK, record note
|
|
145
|
-
17. Update `CONTEXT.md` with technical terms from code
|
|
145
|
+
17. Update `CONTEXT.md` with technical terms from code — IDEMPOTENTLY (never overwrite the whole file, never
|
|
146
|
+
blind-append; re-runs must not bloat it): PRESERVE the `## Shared Language` section written by onboard-docs;
|
|
147
|
+
own `## Cross-Domain Verification` + `## Technical Terms` — if a section exists REPLACE its body in place,
|
|
148
|
+
else append it; one row per mapping/term (dedupe, update rather than duplicate):
|
|
146
149
|
|
|
147
150
|
```markdown
|
|
148
151
|
## Technical Terms
|
|
@@ -155,7 +155,10 @@ Print conversion summary:
|
|
|
155
155
|
[ONBOARD-DOCS] [4/4] Extract domain terms → CONTEXT.md... ⏳
|
|
156
156
|
```
|
|
157
157
|
|
|
158
|
-
15. From the completed graph, extract domain terms → `CONTEXT.md`
|
|
158
|
+
15. From the completed graph, extract domain terms → `CONTEXT.md` — update IDEMPOTENTLY (never overwrite the
|
|
159
|
+
whole file, never blind-append; re-runs must not bloat it): ensure one top `# Project Context: {name}`
|
|
160
|
+
heading, then own the `## Shared Language` section — if it exists REPLACE its body in place, else append it;
|
|
161
|
+
leave other sections (`## Technical Terms`, `## Cross-Domain Verification`) untouched; one row per Term (dedupe).
|
|
159
162
|
16. Format Shared Language table:
|
|
160
163
|
|
|
161
164
|
```markdown
|
|
@@ -87,7 +87,11 @@ nodes:
|
|
|
87
87
|
Read `graphify-out/graph.json` (the docs graph from onboard-docs — READ ONLY) and query the code via GitNexus (`query`, `context`). Cross-reference:
|
|
88
88
|
- business concept (graph.json) → is there a matching code module? YES → record `{concept} ↔ {module/class}`; NO → "{concept} not yet implemented".
|
|
89
89
|
- code module (GitNexus) → matching business concept? YES → mapping; NO → technical module (infra/utils), record as such.
|
|
90
|
-
|
|
90
|
+
Update `CONTEXT.md` IDEMPOTENTLY — never overwrite the whole file, and never blind-append (re-runs would bloat it). Manage BY SECTION:
|
|
91
|
+
- PRESERVE the `## Shared Language` section written by onboard-docs — do NOT delete or rewrite it.
|
|
92
|
+
- You OWN `## Cross-Domain Verification` (the concept↔module mappings above) and `## Technical Terms`
|
|
93
|
+
(table: | Term | Definition | Maps to Business Concept |). If a section already exists, REPLACE its body in place; otherwise append it.
|
|
94
|
+
- Keep ONE row per mapping/term (dedupe by key) — update rather than duplicate.
|
|
91
95
|
Flag any cross-database access. If `graphify-out/graph.json` is absent, note that onboard-docs must run first.
|
|
92
96
|
|
|
93
97
|
- id: summary
|
|
@@ -83,7 +83,16 @@ nodes:
|
|
|
83
83
|
Print progress `[ONBOARD-DOCS] [4/4] Extract domain terms → CONTEXT.md... ⏳/✅`.
|
|
84
84
|
|
|
85
85
|
From the completed `graph.json`, extract DOMAIN terms (business vocabulary, not technical/code terms —
|
|
86
|
-
those are added later by onboard-code).
|
|
86
|
+
those are added later by onboard-code).
|
|
87
|
+
|
|
88
|
+
Update `CONTEXT.md` at the project root IDEMPOTENTLY — never overwrite the whole file, and never blind-append
|
|
89
|
+
(re-running onboarding would bloat it). Manage the file BY SECTION:
|
|
90
|
+
- Ensure a single top `# Project Context: {project-name}` heading (create once if missing).
|
|
91
|
+
- You OWN the `## Shared Language` section: if it already exists, REPLACE its body in place; otherwise append it.
|
|
92
|
+
Leave every other section (e.g. `## Technical Terms`, `## Cross-Domain Verification`) untouched.
|
|
93
|
+
- Keep ONE row per Term (dedupe by term name) — update an existing term's row instead of adding a duplicate.
|
|
94
|
+
|
|
95
|
+
## Shared Language
|
|
87
96
|
|
|
88
97
|
| Term | Definition | Example |
|
|
89
98
|
|------|-----------|---------|
|