@damphuquy/agent-init 1.0.3 → 1.1.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/README.md CHANGED
@@ -20,6 +20,8 @@ process/ ← Engineering workflow: task artifacts, seeds, context
20
20
  Mỗi layer có trách nhiệm độc lập và không duplicate nhau.
21
21
  Chi tiết → [`docs/01-overview.md`](docs/01-overview.md)
22
22
 
23
+ > 💡 **Lưu ý về Context Router:** Mọi kiến thức domain lâu dài (kiến trúc, DB schema, quy tắc nghiệp vụ) lưu trong `process/context/` đều cần được khai báo định tuyến trong [`process/context/all-context.md`](templates/process/context/all-context.md). Agent sẽ dựa vào router này để nạp đúng ngữ cảnh khi cần, không quét bừa toàn bộ repository.
24
+
23
25
  ---
24
26
 
25
27
  ## Tài liệu hướng dẫn
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@damphuquy/agent-init",
3
- "version": "1.0.3",
3
+ "version": "1.1.0",
4
4
  "description": "Scaffolding CLI to bootstrap RIPER-5 Coding Agents & Operational Workspace",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -7,6 +7,15 @@
7
7
  </description>
8
8
 
9
9
  ## Context Directory Index
10
+
11
+ <!--
12
+ CONTEXT ROUTING GUIDELINES:
13
+ - Central index for all project domain knowledge, architecture, and invariants.
14
+ - When adding a new context file or directory (e.g. context/auth/, context/database/),
15
+ ALWAYS register a new <group> entry below.
16
+ - Specify clear `scope` so agents know exactly when to load this context group without
17
+ unnecessary full-directory scanning.
18
+ -->
10
19
  <context_groups>
11
20
  <group id="planning">
12
21
  <title>Planning Standards & Calibration</title>
@@ -25,6 +34,14 @@
25
34
  <path>[`../development-protocols/all-development-protocols.md`](../development-protocols/all-development-protocols.md)</path>
26
35
  <scope>Engineering harness, subagent orchestration, and code standards</scope>
27
36
  </group>
37
+
38
+ <!-- Example: Register custom domain context below
39
+ <group id="domain-billing">
40
+ <title>Billing & Invoicing Architecture</title>
41
+ <path>[`billing/billing-context.md`](billing/billing-context.md)</path>
42
+ <scope>Payment gateway integrations, invoice calculation invariants, tax handling</scope>
43
+ </group>
44
+ -->
28
45
  </context_groups>
29
46
 
30
47
  </context_router>