@ryuenn3123/agentic-senior-core 2.0.10 → 2.0.12
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/.cursorrules +1 -1
- package/.windsurfrules +1 -1
- package/README.md +38 -7
- package/lib/cli/utils.mjs +3 -2
- package/package.json +1 -1
- package/scripts/validate.mjs +6 -0
package/.cursorrules
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# AGENTIC-SENIOR-CORE DYNAMIC GOVERNANCE RULESET
|
|
2
2
|
|
|
3
|
-
Generated by Agentic-Senior-Core CLI v2.0.
|
|
3
|
+
Generated by Agentic-Senior-Core CLI v2.0.12
|
|
4
4
|
Timestamp: 2026-04-08T14:58:53.570Z
|
|
5
5
|
Selected profile: beginner
|
|
6
6
|
Selected policy file: .agent-context/policies/llm-judge-threshold.json
|
package/.windsurfrules
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# AGENTIC-SENIOR-CORE DYNAMIC GOVERNANCE RULESET
|
|
2
2
|
|
|
3
|
-
Generated by Agentic-Senior-Core CLI v2.0.
|
|
3
|
+
Generated by Agentic-Senior-Core CLI v2.0.12
|
|
4
4
|
Timestamp: 2026-04-08T14:58:53.570Z
|
|
5
5
|
Selected profile: beginner
|
|
6
6
|
Selected policy file: .agent-context/policies/llm-judge-threshold.json
|
package/README.md
CHANGED
|
@@ -42,20 +42,39 @@ AI: *Creates properly layered modules with Zod validation, typed errors,
|
|
|
42
42
|
|
|
43
43
|
The npm package is already published. For most users, this is the default path.
|
|
44
44
|
|
|
45
|
+
**Step 1: Navigate to your project folder**
|
|
46
|
+
```bash
|
|
47
|
+
cd /path/to/your-project
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
**Step 2: Run initialization (does not require install)**
|
|
51
|
+
|
|
52
|
+
Use `npx` or `npm exec` — both download the package temporarily, run it in your project folder, then clean up automatically.
|
|
53
|
+
|
|
45
54
|
```bash
|
|
46
|
-
npm exec --yes @ryuenn3123/agentic-senior-core launch
|
|
47
|
-
npm exec --yes @ryuenn3123/agentic-senior-core init
|
|
48
55
|
npx @ryuenn3123/agentic-senior-core init
|
|
56
|
+
# or
|
|
57
|
+
npm exec --yes @ryuenn3123/agentic-senior-core init
|
|
49
58
|
```
|
|
50
59
|
|
|
51
|
-
|
|
60
|
+
**Alternative: Global install (optional)**
|
|
61
|
+
|
|
62
|
+
If you want the tool available system-wide without repeating `npx`:
|
|
52
63
|
|
|
53
64
|
```bash
|
|
54
65
|
npm install -g @ryuenn3123/agentic-senior-core
|
|
66
|
+
# Then from any project folder:
|
|
55
67
|
agentic-senior-core init
|
|
56
68
|
```
|
|
57
69
|
|
|
58
|
-
|
|
70
|
+
| Approach | Installation | Where to Run | Use Case |
|
|
71
|
+
|----------|--------------|---|---|
|
|
72
|
+
| **npx (default)** | None — temporary download | Inside your project folder | Clearest workflow; no system pollution |
|
|
73
|
+
| **Global install** | System-wide | From anywhere | Convenience if using frequently across many projects |
|
|
74
|
+
|
|
75
|
+
> Note: Both approaches do the same thing: create `.cursorrules`, `.instructions.md`, `.agent-context/` **in your current project folder**. The only difference is convenience. Use `npx` if unsure — it's clearer and doesn't clutter your system.
|
|
76
|
+
|
|
77
|
+
**Use team defaults with profile packs:**
|
|
59
78
|
|
|
60
79
|
```bash
|
|
61
80
|
npx @ryuenn3123/agentic-senior-core init --profile-pack startup
|
|
@@ -118,10 +137,22 @@ npx @ryuenn3123/agentic-senior-core init --newbie
|
|
|
118
137
|
|
|
119
138
|
### Important behavior
|
|
120
139
|
|
|
140
|
+
- `init` creates governance files **in your project folder** (the folder where you run the command).
|
|
121
141
|
- `init` does not copy repository workflows from this project into your target repository.
|
|
122
142
|
- MCP server registration and trust/start are manual in IDE settings.
|
|
123
143
|
- MCP workspace scaffold is opt-in via `--mcp-template` and creates `.vscode/mcp.json`.
|
|
124
144
|
|
|
145
|
+
**What files are created?**
|
|
146
|
+
```
|
|
147
|
+
your-project/
|
|
148
|
+
├── .cursorrules (agent instructions for Cursor)
|
|
149
|
+
├── .windsurfrules (agent instructions for Windsurf)
|
|
150
|
+
├── .instructions.md (canonical governance and AI behavior policy)
|
|
151
|
+
├── .agent-context/ (blueprints, skills, rules, profiles, state maps)
|
|
152
|
+
└── .vscode/
|
|
153
|
+
└── mcp.json (only if --mcp-template is used)
|
|
154
|
+
```
|
|
155
|
+
|
|
125
156
|
### MCP Setup in VS Code (No File Picker)
|
|
126
157
|
|
|
127
158
|
If you are looking for a file picker in the MCP UI, that is expected because VS Code uses MCP server registration, not generic JSON file import.
|
|
@@ -134,10 +165,10 @@ npx @ryuenn3123/agentic-senior-core init --mcp-template
|
|
|
134
165
|
|
|
135
166
|
2. Open Command Palette and run `MCP: Open Workspace Folder Configuration`.
|
|
136
167
|
3. Confirm the file is `.vscode/mcp.json` with server `agentic-senior-core`.
|
|
137
|
-
4. The generated server command is `
|
|
168
|
+
4. The generated server command is `node ./scripts/mcp-server.mjs` with `cwd` set to `${workspaceFolder}`.
|
|
138
169
|
5. Open Chat Customizations > MCP Servers, then trust/start the server.
|
|
139
170
|
|
|
140
|
-
If logs repeatedly show `Waiting for server to respond to initialize request`, upgrade to the latest package version
|
|
171
|
+
If logs repeatedly show `Waiting for server to respond to initialize request`, upgrade to the latest package version, regenerate the workspace config with `--mcp-template`, and restart the MCP server.
|
|
141
172
|
|
|
142
173
|
### CLI Command Reference
|
|
143
174
|
|
|
@@ -374,7 +405,7 @@ Release checklist:
|
|
|
374
405
|
2. Add matching release notes in `CHANGELOG.md`.
|
|
375
406
|
3. Push to `main`.
|
|
376
407
|
|
|
377
|
-
Important notes:
|
|
408
|
+
Important notes for maintainers and forks:
|
|
378
409
|
- If the npm version already exists, publish will fail.
|
|
379
410
|
- Publish requires valid `NPM_TOKEN` in repository secrets.
|
|
380
411
|
|
package/lib/cli/utils.mjs
CHANGED
|
@@ -138,8 +138,9 @@ export async function copyGovernanceAssetsToTarget(
|
|
|
138
138
|
servers: {
|
|
139
139
|
'agentic-senior-core': {
|
|
140
140
|
type: 'stdio',
|
|
141
|
-
command: '
|
|
142
|
-
|
|
141
|
+
command: 'node',
|
|
142
|
+
cwd: '${workspaceFolder}',
|
|
143
|
+
args: ['./scripts/mcp-server.mjs'],
|
|
143
144
|
},
|
|
144
145
|
},
|
|
145
146
|
};
|
package/package.json
CHANGED
package/scripts/validate.mjs
CHANGED
|
@@ -730,6 +730,12 @@ async function validateMcpConfiguration() {
|
|
|
730
730
|
fail('Workspace MCP server command must use Node');
|
|
731
731
|
}
|
|
732
732
|
|
|
733
|
+
if (workspaceServerConfig?.cwd === '${workspaceFolder}') {
|
|
734
|
+
pass('Workspace MCP server cwd uses ${workspaceFolder}');
|
|
735
|
+
} else {
|
|
736
|
+
fail('Workspace MCP server cwd must be ${workspaceFolder}');
|
|
737
|
+
}
|
|
738
|
+
|
|
733
739
|
if (Array.isArray(workspaceServerConfig?.args) && workspaceServerConfig.args.includes('./scripts/mcp-server.mjs')) {
|
|
734
740
|
pass('Workspace MCP server points to scripts/mcp-server.mjs');
|
|
735
741
|
} else {
|