nexarch 0.12.35 → 0.12.36

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.
Files changed (2) hide show
  1. package/dist/lib/skills.js +23 -21
  2. package/package.json +1 -1
@@ -104,28 +104,30 @@ skill is the check-in → claim → complete loop for working that queue.
104
104
  - \`nexarch_check_in\` previews pending commands and draft/proposed
105
105
  applications for this agent. It does **not** claim or change anything —
106
106
  safe to call any time, including proactively at the start of a session.
107
- - If you have a **confirmed** application ref — returned by an earlier tool
108
- call in this session (\`target_entity_key\` from a prior check-in,
109
- \`nexarch_list_entities\`, \`nexarch_resolve_reference\`), or the human gave
110
- you the exact ref pass it as
111
- \`applicationContext: { accessibleApplicationRefs: ["application:<ref>"] }\`
112
- on this **first** call to skip a redundant round trip.
113
- - **Never guess the ref from a project/repo/directory name.** A repository
114
- named \`veri-viva-platform\` does not mean its application ref is
115
- \`application:veri_viva_platform\` the real one might be
116
- \`application:veri_viva_platform_website\` or anything else; projects and
117
- applications are different entities with independently-chosen refs (see
118
- the architecture-graph skill). A wrong-but-plausible-looking ref doesn't
119
- just fail to claim it silently filters real pending commands out of the
120
- response, and check-in will wrongly report nothing pending. If you're not
121
- certain a ref is correct, call check-in bare instead.
107
+ - If you have a **confirmed** ref — returned by an earlier tool call in this
108
+ session (\`target_entity_key\` from a prior check-in, \`nexarch_list_entities\`,
109
+ \`nexarch_resolve_reference\`), or the human gave you the exact ref — pass
110
+ it as \`applicationContext: { accessibleApplicationRefs: ["<ref>"] }\` on
111
+ this **first** call to skip a redundant round trip.
112
+ - **A project ref works here too, and is often the one you actually have.**
113
+ You're usually registered against the repository's \`project:\` ref, not
114
+ any specific \`application:\` ref inside it passing the project ref is
115
+ fine; check-in expands it to every application \`sourced_from\` it and
116
+ scopes to all of them. A monorepo project can source several
117
+ applications, so this is different from and safer than — guessing which
118
+ single application ref applies: don't construct an application ref by
119
+ pattern-matching the project/repo name (\`project:veri_viva_platform\` does
120
+ not imply \`application:veri_viva_platform\` exists; the real one might be
121
+ \`application:veri_viva_platform_website\` or something else entirely).
122
+ Pass the project ref you actually have, not a guessed application ref.
123
+ - If a scoped call's response includes \`project_ref_expanded_to_applications\`,
124
+ that's normal — it's telling you which application(s) a project ref
125
+ resolved to. \`application_context_ref_unresolved\` means a ref you passed
126
+ matched nothing at all. \`pending_commands_outside_requested_scope\` means
127
+ the resolved scope still didn't cover everything pending — call check-in
128
+ again with no \`applicationContext\` to see the rest.
122
129
  - Calling bare (no \`applicationContext\`) is always safe and returns every
123
- pending command's real \`target_entity_key\` use that to make an
124
- informed scoped call afterward.
125
- - If a scoped call's response includes a
126
- \`pending_commands_outside_requested_scope\` warning, the ref you supplied
127
- didn't match everything — it's very likely wrong. Re-call bare rather than
128
- trusting the (incomplete) result.
130
+ pending command's real \`target_entity_key\` if you have no ref at all yet.
129
131
  - Report exactly what check-in found. Don't reinterpret "check in" as
130
132
  registration (\`init-agent\`) or as a general health check
131
133
  (\`nexarch_get_governance_summary\`) — they're different actions.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nexarch",
3
- "version": "0.12.35",
3
+ "version": "0.12.36",
4
4
  "description": "Your architecture workspace for AI delivery.",
5
5
  "keywords": [
6
6
  "nexarch",