nexarch 0.2.7 → 0.2.8

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.
@@ -40,7 +40,7 @@ const COMMAND_TYPE_HINTS = {
40
40
  drift_audit: "Compare the current codebase to the architecture graph and report any drift or missing entities.",
41
41
  access_audit: "Audit which agents and users have access to this application and report findings.",
42
42
  gap_check: "Run a gap analysis: identify architecturally significant platforms or infrastructure not yet in the graph.",
43
- policy_check: "Call nexarch_get_entity_policy_controls with argument entityExternalKey set to the target_entity_key value. If controls are returned, evaluate the application against each one and report findings, then mark the command done. If controls array is empty, do NOT mark the command done instead run: npx nexarch command-fail --id <id> --error \"No policy controls linked\" and tell the user they must create policy_control entities in the nexarch workspace and link them to the application via 'governs' relationships before this check can run.",
43
+ policy_check: "Gather evidence from the codebase (README, architecture summary, key file contents), then call nexarch_submit_policy_audit with applicationEntityKey set to target_entity_key, commandId set to the command id, agentKey set to your agent key, and the evidence you gathered. The tool evaluates all linked policy rules and persists structured findings. If it returns ok:false with APPLICATION_NOT_FOUND, run command-fail. If summary.totalRules is 0, run command-fail with error 'No policy rules linked to this application'.",
44
44
  enrich_entity: "Update the entity description, subtype, and metadata using information from the README or codebase.",
45
45
  register_aliases: "Find internal package names that are unresolved and register them as company aliases.",
46
46
  custom: "Execute the custom instructions provided.",
package/dist/lib/mcp.js CHANGED
@@ -62,7 +62,7 @@ export async function mcpInitialize(options = {}) {
62
62
  return callMcpRpc("initialize", {
63
63
  protocolVersion: "2024-11-05",
64
64
  capabilities: {},
65
- clientInfo: { name: "nexarch-cli", version: "0.2.7" },
65
+ clientInfo: { name: "nexarch-cli", version: "0.2.8" },
66
66
  }, options);
67
67
  }
68
68
  export async function mcpListTools(options = {}) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nexarch",
3
- "version": "0.2.7",
3
+ "version": "0.2.8",
4
4
  "description": "Connect AI coding tools to your Nexarch architecture workspace",
5
5
  "keywords": [
6
6
  "nexarch",