@skedulo/memory-hub-mcp 0.2.14 → 0.2.16

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.
@@ -0,0 +1,181 @@
1
+ # Project knowledge pages
2
+
3
+ Every skill that reads or writes project knowledge follows this file.
4
+
5
+ ## Where it lives
6
+
7
+ A project is a memory-hub team (for example "Lindamood Bell"). Its knowledge is Team-visible wiki pages
8
+ on the project's delivery repo, the repo linked to that team. A project with several repos links them
9
+ all to the same team; the pages attach to the delivery repo only.
10
+
11
+ - Visibility is always Team: never Org, never Private. A repo-scoped save on a team-linked repo is
12
+ Team by default, so do not pass `visibility`; check that each save reports `visibility: "Team"`.
13
+ - `<Project>` is the project's display name, written the same way in every title.
14
+ - `<PREFIX>` is the project's ID prefix, upper-case letters and digits (`LMB`, `WELBE`). Read it from the
15
+ existing rule IDs; never start a second prefix for the same project. For a new project, take a short
16
+ form of the team name.
17
+
18
+ ## Page kinds
19
+
20
+ - `<Project> › Rules › <feature>`: the rules and constraints for one feature. Tag `ProjectRules`.
21
+ - `<Project> › Don't build`: work that is out of scope, with the reason and source. Tag `ProjectRules`.
22
+ - `<Project> › Reference › feature-map`: every feature, what it covers and where it lives. No tag.
23
+ - `<Project> › Reference › <topic>`: APIs, workflows, data model, glossary, troubleshooting,
24
+ overview. No tag.
25
+ - `<Project> › Sources`: every source the knowledge was built from, with its version or hash. No tag.
26
+
27
+ `<feature>` is a stable kebab-case key (`group-sessions`, `ride-automation`). It becomes a Knowledge Hub
28
+ area name later, so never derive it from a ticket key or a date, and never rename one. Every key on a
29
+ Rules page is listed in the feature map.
30
+
31
+ The feature map has one section per feature:
32
+
33
+ ```
34
+ ## ride-automation
35
+ Creates, times and allocates Ride jobs for appointments, and keeps them in step with changes.
36
+ - Code: Skedulo/CX-Welbe_Transporation src/core/object-services/rides-management/**, src/triggered-actions/*-adjust-rides.triggered-action.json
37
+ - Docs: TDD "Transportation Technical Design" §3.4, §9 · doc: Skedulo/CX-Welbe_Transporation@41e0297 docs/rides.md
38
+ - Tickets: label ride-automation · SOL-2198, SOL-2489
39
+ - Business: "Daily transport scheduling" process
40
+ - Slack: #welbe-transport
41
+ - Pages: Welbehealth › Rules › ride-automation
42
+ ```
43
+
44
+ Leave out a line that would be empty. Plan-ticket matches tickets to features with it, so keep the
45
+ code paths and labels precise.
46
+
47
+ A page over about 20,000 characters is split into parts titled `<title> (1/3)`, `(2/3)`, `(3/3)`. Each
48
+ part keeps its own change log. When an edit pushes a page over the limit, move whole entries into a
49
+ new last part and renumber the titles.
50
+
51
+ Find pages with `memory_list type=Wiki repo=<delivery repo uid> titlePrefix="<Project> ›"`, or
52
+ `tags=["ProjectRules"]` for the rules and don't-build pages only; it returns `total` and one page of
53
+ items, so call it again with `offset` until you have them all. Pages saved before the tag was renamed
54
+ carry `ProductRules`; the title prefix finds both. Read a page in full with
55
+ `memory_get type=Wiki uid=<uid>`, which also returns its `lastModifiedDate`.
56
+
57
+ ## Entry lines
58
+
59
+ One entry per bullet, so a skill can copy it verbatim into a sub-issue:
60
+
61
+ ```
62
+ - **LMB-R13** · core · verified — The Skedulo Optimizer is out of scope for both divisions. _Source: TDD For Schools §4.2_
63
+ ```
64
+
65
+ - ID: `<PREFIX>-R<n>` for a rule, `<PREFIX>-C<n>` for a constraint, `<PREFIX>-D<n>` for a don't-build
66
+ item. IDs are unique within the project and never reused. The next ID is one more than the highest
67
+ existing number of that kind across all the project's pages. Imported entries keep their number.
68
+ - Tier: `core` (changing it later needs the developer's confirmation of that entry), `standard`, or
69
+ `detail` (wording, labels, defaults, configuration values). An entry is `core` when breaking it would
70
+ lose or corrupt data, change something another system relies on, bypass a permission, role, region
71
+ or tenant guard, or break contracted scope.
72
+ - Status: `verified` when the code shows it; for a don't-build entry, when a SOW, work order, change
73
+ request or completed ticket that is not a draft descopes it and no newer source brings it back; for
74
+ another entry the
75
+ code cannot show (a scope limit, an external constraint, a manual process), when two independent
76
+ documents agree.
77
+ Two documents are independent only if neither was written from the other or from the hub; Knowledge
78
+ Hub corpus files never count toward `verified`. `unverified` in every other case, including a rule
79
+ the code should show but does not, a claim only Slack makes, and a decided ticket that is still
80
+ pending.
81
+ - Source: the document and section, the Linear issue, `code: <owner/name>@<short sha> <path>`, or
82
+ `doc: <owner/name>@<short sha> <path>` for a document kept in a repo. Cite the source that
83
+ confirmed an entry, never a hub item on its own.
84
+ Add `(not found in code)` when a document rule has no match in the code, or when the ticket behind
85
+ a `Pending` note completed without the behaviour reaching the code (it replaces the `Pending` note),
86
+ and `Pending SOL-1234 (PR #452)` when a decided ticket changes it: workflow state type `started`, a
87
+ linked open PR, a confirmed bug report (Bug label, state type `unstarted` or `started`), or a ticket
88
+ whose delivery plan was approved, until it is `completed` or `canceled`.
89
+ - When another source wins over an entry, do not rewrite it silently. Keep the line and add
90
+ `Conflict: overridden by <PREFIX>-R<n> (<rule>: <one-line reason>)` after the source, for example
91
+ `(code over TDD: the code uses travel time, capped at 60 min)`, then add the winning entry with its
92
+ own ID. Older pages may carry the earlier form `Conflict: overridden by SOL-1234 (<reason>)`; read it
93
+ the same way.
94
+ - A retired entry moves to a `## Retired` section at the end of its page, before the change log, with
95
+ `Retired <date>: <reason>` after the source, or `Retired <date>: moved to <PREFIX>-D<n>` when it became
96
+ a don't-build entry (which cites `(was <PREFIX>-C<n>)`). Its ID is not reused.
97
+
98
+ Rules pages have `## Rules` and `## Constraints` sections. The don't-build page has one list:
99
+
100
+ ```
101
+ - **LMB-D3** · core · verified — Do not build an automatic waitlist. Reason: the customer keeps waitlists in Salesforce. _Source: SOW §2.1 (scope as function)_
102
+ ```
103
+
104
+ ## Change log
105
+
106
+ Every page ends with:
107
+
108
+ ```
109
+ ## Change log
110
+
111
+ - 2026-10-21 · Sam Developer via project-knowledge · Added LMB-R74, changed LMB-R13 to core · TDD v1.4 §3 changed the session rules
112
+ ```
113
+
114
+ Date, who (the developer, by name, plus `via project-knowledge` when the skill decided the change),
115
+ what changed (entry IDs), why (the source or decision). Newest last. The skills write it; it stands in
116
+ for the history git would otherwise give.
117
+
118
+ ## Sources page
119
+
120
+ One line per source:
121
+
122
+ ```
123
+ - `repo` · Skedulo/cx-lindamood-bell@main · commit 4be1c0d · read 2026-10-21
124
+ - `linear` · SOL-1234 · updatedAt 2026-10-20T03:00:00.000Z · read 2026-10-21
125
+ - `confluence` · page 123456789 "LC Technical Design" · version 14 · read 2026-10-21
126
+ - `local` · docs/TDD For Schools.pdf · sha256 `9f2c…` · read 2026-10-21
127
+ - `gdrive` · file 1AbCdEf "LC Statement of Work" · modifiedTime 2026-10-19T22:10:00.000Z · read 2026-10-21
128
+ - `slack` · #lmb-delivery · latest message 2026-10-20T08:15:00Z · read 2026-10-21
129
+ - `hub` · Fact 03ed1a2b-… · lastModifiedDate 2026-10-20T04:39:03Z · read 2026-10-21
130
+ - `pack` · <owner/name of the shared memory repo> domains/cx-lindamood-bell · commit 7a3e9b1 · read 2026-10-21
131
+ ```
132
+
133
+ How to read each version now:
134
+
135
+ - `repo`: the default branch on the remote, never the checkout's HEAD: `git -C <checkout> fetch -q origin`
136
+ then `git -C <checkout> rev-parse origin/<default>` (find the default branch with
137
+ `gh api repos/<owner>/<name> --jq .default_branch`), or `gh api repos/<owner>/<name>/commits/<default> --jq .sha`.
138
+ - `linear`: the Linear connector's get-issue (or get-project/get-document) call; use `updatedAt`.
139
+ - `confluence`: the Atlassian connector's get-page call; use the page's `version.number`.
140
+ - `local`: `shasum -a 256 "<path>"`.
141
+ - `gdrive`: the Google Drive connector's file-metadata call; use `modifiedTime` (or `version`).
142
+ - `slack`: the Slack connector's read-channel call; use the newest message's time.
143
+ - `hub`: `memory_get` on the item; use its `lastModifiedDate`. Record only Team or Org items, by type
144
+ and uid, never by title. Hub items are leads: a changed one is re-checked against the sources it
145
+ points to.
146
+ - Documents kept in a repo are covered by that repo's `repo` line.
147
+ - `pack`: `git -C <checkout> rev-parse HEAD` in an up-to-date checkout of the shared memory repo, or
148
+ `memory_checkSources` run in that checkout, which lists imported pages whose commit is behind.
149
+
150
+ ## Editing a page (team-safe)
151
+
152
+ Any member of the project team can edit these pages; two developers must not overwrite each other.
153
+
154
+ 1. `memory_get type=Wiki uid=<uid>`; keep its `content` and `lastModifiedDate`.
155
+ 2. Apply the change to the full text. Keep every other line exactly as it was.
156
+ 3. Append the change-log line.
157
+ 4. `memory_update type=Wiki uid=<uid> content=<full new text> expectedLastModified=<lastModifiedDate>`.
158
+ 5. If it fails with `Conflict:`, someone else changed the page. Go back to step 1 and re-apply the
159
+ change to the new text. Keep their edit; if it changed the same entry, keep their version, record
160
+ your change as a new entry or a `Conflict:` note instead, and mention it in the summary.
161
+
162
+ Teammates can change a page's title, content and tags. Only the page's author can move it to another
163
+ repo or change its links. Deleting a page is author-only too; prefer retiring entries over deleting
164
+ pages.
165
+
166
+ ## Confidentiality
167
+
168
+ Read sources in the session and store only distilled knowledge. The hub may hold: the customer's
169
+ organisation name, features and rules, scope stated as function, decisions attributed by role ("the
170
+ customer's operations lead"), schema and field API names, and Skedulo staff names.
171
+
172
+ Never store, on any page or fact:
173
+
174
+ - commercial terms: prices, rates, budgets, contract values, payment terms;
175
+ - customer personal data: names, emails or phone numbers of customer staff or end users;
176
+ - credentials, tokens or secrets;
177
+ - customer data rows or production record IDs (UUIDs, Salesforce record IDs);
178
+ - verbatim contract text: never quote a SOW, work order or change request; restate scope as function;
179
+ - Slack messages word for word.
180
+
181
+ When unsure, leave it out and list it under "Left out" in the summary.
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  name: se-ai-memory-hub
3
3
  description: Use when working in a repo where the memory-hub MCP tools (memory_recall, memory_list, memory_save, memory_saveBatch, memory_upsertPersona, memory_setVisibility, memory_bulkPromoteRepoScoped, memory_grantAccess, memory_checkRepoStatus, memory_linkRepoTeam, memory_moveResourceRepo, memory_listRepos, memory_registerRepo, memory_checkSources, memory_listTeams, memory_joinTeam, memory_addTeamMember, memory_listTeamMembers, memory_whoCanRead, memory_update, memory_getSkillGuide) are available, to recall prior context mid-session, save durable facts/skills/scenarios, update your persona, and share items with your team on explicit request
4
+ argument-hint: "[what to recall or save]"
4
5
  ---
5
6
 
6
7
  # SE AI Memory Hub
package/dist/cli.js CHANGED
@@ -71,9 +71,9 @@ else if (command === '--help' || command === '-h') {
71
71
  end, a background Claude run, using your Claude usage, saves what
72
72
  the session learned (new memories Private, updates keep their
73
73
  visibility). setup also asks.
74
- memory-hub-mcp import convert <packDir> --product <name> --prefix <PREFIX> [--by <name>] [--out <plan.json>] [--force]
74
+ memory-hub-mcp import convert <packDir> --project <name> --prefix <PREFIX> [--by <name>] [--out <plan.json>] [--force]
75
75
  turn a knowledge pack folder (domains/<name> in the shared memory
76
- repo) into a plan of product knowledge pages, plus a review file
76
+ repo) into a plan of project knowledge pages, plus a review file
77
77
  listing values that look like customer data. Saves nothing.
78
78
  memory-hub-mcp import apply <plan.json> --repo <owner/name>
79
79
  save a reviewed plan to the hub as Team items on that repo, with
@@ -8,7 +8,7 @@ const client_1 = require("./client");
8
8
  const pack_import_1 = require("./pack-import");
9
9
  const import_apply_1 = require("./import-apply");
10
10
  const git_remote_1 = require("./git-remote");
11
- exports.IMPORT_USAGE = `memory-hub-mcp import convert <packDir> --product <name> --prefix <PREFIX> [--by <name>] [--out <plan.json>] [--force]
11
+ exports.IMPORT_USAGE = `memory-hub-mcp import convert <packDir> --project <name> --prefix <PREFIX> [--by <name>] [--out <plan.json>] [--force]
12
12
  memory-hub-mcp import apply <plan.json> --repo <owner/name>`;
13
13
  function option(argv, name) {
14
14
  const index = argv.indexOf(`--${name}`);
@@ -49,10 +49,10 @@ async function runImport(argv, deps) {
49
49
  const [subcommand, rawTarget] = argv;
50
50
  const target = rawTarget && !rawTarget.startsWith('--') ? rawTarget : undefined;
51
51
  if (subcommand === 'convert' && target) {
52
- const product = option(argv, 'product');
52
+ const product = option(argv, 'project') ?? option(argv, 'product');
53
53
  const prefix = option(argv, 'prefix');
54
54
  if (!product || !prefix) {
55
- deps.log(`--product and --prefix are required.\n${exports.IMPORT_USAGE}`);
55
+ deps.log(`--project and --prefix are required.\n${exports.IMPORT_USAGE}`);
56
56
  return 2;
57
57
  }
58
58
  const packDir = (0, path_1.resolve)(target);
package/dist/index.js CHANGED
@@ -23,38 +23,7 @@ const revise_1 = require("./revise");
23
23
  const similar_notice_1 = require("./similar-notice");
24
24
  const session_context_1 = require("./session-context");
25
25
  const asset_sync_1 = require("./asset-sync");
26
- // Must match the AgentFacts/AgentSkills/AgentWikiPages Tags custom field's Picklist
27
- // allowedValues (src/object-model/custom-fields/{AgentFacts,AgentSkills,AgentWikiPages}/*-Tags.custom-field.json)
28
- // exactly — the connected function 400s on any value outside this set, with
29
- // no indication of what the valid values are. Validating here instead
30
- // turns that into a clear Zod error at the tool-call boundary.
31
- const TAG_VALUES = [
32
- 'ConnectedFunction',
33
- 'HorizonComponent',
34
- 'TriggeredAction',
35
- 'ObjectModel',
36
- 'MobileExtension',
37
- 'Deployment',
38
- 'Auth',
39
- 'Testing',
40
- 'BreezeUI',
41
- 'PSS',
42
- 'PSF',
43
- 'Optimization',
44
- 'Webhooks',
45
- 'Salesforce',
46
- 'Other',
47
- 'ArchitectureMap',
48
- 'SOW',
49
- 'TDD',
50
- 'AI',
51
- 'API',
52
- 'Mobile',
53
- 'Infrastructure',
54
- 'Security',
55
- 'Messaging',
56
- 'ProductRules',
57
- ];
26
+ const tags_1 = require("./tags");
58
27
  // The team's one deployed memory-hub function. MEMORY_HUB_FUNCTION_URL only needs to
59
28
  // be set to override this (e.g. pointing at a local `sked function dev` instance).
60
29
  const DEFAULT_FUNCTION_URL = 'https://dev-api.test.skl.io/function/memory-hub/memory-hub';
@@ -123,7 +92,7 @@ server.tool('memory_recall', "Recall this developer's (or their team's) Facts, S
123
92
  type: zod_1.z.enum(['Fact', 'Skill', 'Scenario', 'Wiki']),
124
93
  scope: zod_1.z.enum(['self', 'team']),
125
94
  query: zod_1.z.string().optional(),
126
- tags: zod_1.z.array(zod_1.z.enum(TAG_VALUES)).optional().describe('Fact only.'),
95
+ tags: zod_1.z.array(zod_1.z.enum(tags_1.TAG_VALUES)).optional().describe('Fact only.'),
127
96
  externalRef: zod_1.z.string().optional().describe("Fact, Scenario only — filter to items linked to this Linear/Jira ticket ref, e.g. 'SOL-1234'. Does not create a task if the ref doesn't resolve to one — returns no results instead."),
128
97
  maxCharsPerItem: zod_1.z.number().int().positive().optional().describe('Per-item content cap, default 500. Raise it to read longer items inline; prefer memory_get for a single long one.'),
129
98
  maxTotalChars: zod_1.z.number().int().positive().optional().describe('Cap across all items, default 6000.'),
@@ -151,7 +120,7 @@ const saveShape = {
151
120
  summary: zod_1.z.string().optional().describe('Required for Scenario.'),
152
121
  factIds: zod_1.z.array(zod_1.z.string()).optional().describe('Scenario only — UIDs of facts already saved this session that belong together.'),
153
122
  links: zod_1.z.array(zod_1.z.string()).optional().describe('Wiki only — UIDs of other wiki pages this one depends on.'),
154
- tags: zod_1.z.array(zod_1.z.enum(TAG_VALUES)).optional().describe('Fact, Skill, Wiki only.'),
123
+ tags: zod_1.z.array(zod_1.z.enum(tags_1.TAG_VALUES)).optional().describe('Fact, Skill, Wiki only.'),
155
124
  externalRef: zod_1.z.string().optional().describe("Fact, Scenario, Wiki only — the Linear/Jira ticket this relates to, e.g. 'SOL-1234' — pass it when the user mentions a ticket."),
156
125
  repo: zod_1.z.string().min(1).optional().describe('A DevRepos uid from memory_listRepos, or an owner/name that is already registered, overriding the current-directory auto-detected repo.'),
157
126
  visibility: zod_1.z.enum(['Private', 'Team', 'Org']).optional().describe('Only when the human approved sharing this item or batch in this conversation. Org is readable by everyone in the tenant. Omit it to get the default. Team is refused on a repo no team owns yet.'),
@@ -201,7 +170,7 @@ server.tool('memory_list', "List memory items of one type that you can see, newe
201
170
  repo: zod_1.z.string().min(1).nullable().optional().describe('A DevRepos uid from memory_listRepos. null lists only items with no repo; omit for any repo.'),
202
171
  visibility: zod_1.z.enum(['Private', 'Team', 'Restricted', 'Org']).optional(),
203
172
  titlePrefix: zod_1.z.string().min(1).optional().describe('Case-insensitive start of the title (Fact: content, Scenario: summary).'),
204
- tags: zod_1.z.array(zod_1.z.enum(TAG_VALUES)).optional().describe('Items carrying any of these tags. Not supported for Scenario.'),
173
+ tags: zod_1.z.array(zod_1.z.enum(tags_1.TAG_VALUES)).optional().describe('Items carrying any of these tags. Not supported for Scenario.'),
205
174
  mine: zod_1.z.boolean().optional().describe('true: only items you saved.'),
206
175
  createdAfter: zod_1.z.string().min(1).optional().describe('ISO date or datetime. Skills filter on last modified instead of created.'),
207
176
  sourceRepo: zod_1.z.string().min(1).optional().describe('owner/name, exact: only items whose source.repo is this.'),
@@ -290,7 +259,7 @@ server.tool('memory_update', "Revise a memory (yours, or a Team item on your tea
290
259
  content: zod_1.z.string().min(1).optional().describe('Fact, Skill, Wiki: the full new text, not a patch.'),
291
260
  title: zod_1.z.string().min(1).optional().describe('Skill, Wiki only.'),
292
261
  summary: zod_1.z.string().min(1).optional().describe('Scenario only: the full new summary.'),
293
- tags: zod_1.z.array(zod_1.z.enum(TAG_VALUES)).optional().describe('Fact, Skill, Wiki only. Replaces the existing tags.'),
262
+ tags: zod_1.z.array(zod_1.z.enum(tags_1.TAG_VALUES)).optional().describe('Fact, Skill, Wiki only. Replaces the existing tags.'),
294
263
  repo: zod_1.z.string().min(1).nullable().optional().describe('A DevRepos uid, or null to clear it.'),
295
264
  links: zod_1.z.array(zod_1.z.string().min(1)).optional().describe('Wiki only: the full new list of target wiki page uids; [] clears. Replaces, not appends.'),
296
265
  factIds: zod_1.z.array(zod_1.z.string().min(1)).optional().describe('Scenario only: the full new list of YOUR fact uids that belong to it; [] unlinks all. Facts that are not yours come back as skippedFactIds.'),
@@ -236,12 +236,12 @@ function rulesPages(opts, memory, changeLog) {
236
236
  const rules = lines('rules');
237
237
  const constraints = lines('constraints');
238
238
  const intro = `Rules and constraints for ${feature}. One per line: ID · tier · status — rule. Tiers: core (change only with the ` +
239
- "developer's explicit confirmation), standard, detail (a tunable default). Imported entries stay unverified until a developer reviews them.\n";
239
+ "developer's explicit confirmation), standard, detail (a tunable default). Imported entries stay unverified until they are checked against the code.\n";
240
240
  const blocks = [
241
241
  ...(rules.length ? ['\n## Rules\n\n', ...rules] : []),
242
242
  ...(constraints.length ? ['\n## Constraints\n\n', ...constraints] : []),
243
243
  ];
244
- return toPages(`rules-${feature}`, `${opts.product} › Rules › ${feature}`, ['ProductRules'], intro, blocks, changeLog);
244
+ return toPages(`rules-${feature}`, `${opts.product} › Rules › ${feature}`, ['ProjectRules'], intro, blocks, changeLog);
245
245
  });
246
246
  }
247
247
  function entryPages(opts, memory, kind, changeLog) {
@@ -363,7 +363,7 @@ function convertPack(opts) {
363
363
  const sourceLine = source && opts.checkout
364
364
  ? `- \`pack\` · ${source.repo} ${opts.checkout.pathInRepo || '.'} · commit ${source.commit.slice(0, 7)} · read ${opts.today}\n`
365
365
  : `- \`local\` · ${pack} · sha256 \`${hash.digest('hex')}\` · read ${opts.today}\n`;
366
- const sourcesPage = toPages('sources', `${opts.product} › Sources`, [], "Every source this product's knowledge was built from, with its version or hash. product-knowledge update re-reads these and compares.\n\n", [sourceLine], changeLog);
366
+ const sourcesPage = toPages('sources', `${opts.product} › Sources`, [], "Every source this project's knowledge was built from, with its version or hash. project-knowledge update re-reads these and compares.\n\n", [sourceLine], changeLog);
367
367
  const pages = [
368
368
  ...rulesPages(opts, memory, changeLog),
369
369
  ...entryPages(opts, memory, 'api', changeLog),
@@ -424,7 +424,7 @@ function renderReview(plan, planPath) {
424
424
  '',
425
425
  ...(likely.length ? likely : ['None.']),
426
426
  '',
427
- `### Probably product terms (${terms.length})`,
427
+ `### Probably project terms (${terms.length})`,
428
428
  '',
429
429
  'These match the name pattern but are used as capitalised terms throughout the pack. Check the list, then resolve them together.',
430
430
  '',
package/dist/tags.js ADDED
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TAG_VALUES = void 0;
4
+ // Must match the active values of the AgentFacts/AgentSkills/AgentWikiPages Tags custom field's
5
+ // Picklist allowedValues (src/object-model/custom-fields/{AgentFacts,AgentSkills,AgentWikiPages}/*-Tags.custom-field.json)
6
+ // exactly — the connected function 400s on any value outside this set, with
7
+ // no indication of what the valid values are. Validating here instead
8
+ // turns that into a clear Zod error at the tool-call boundary.
9
+ exports.TAG_VALUES = [
10
+ 'ConnectedFunction',
11
+ 'HorizonComponent',
12
+ 'TriggeredAction',
13
+ 'ObjectModel',
14
+ 'MobileExtension',
15
+ 'Deployment',
16
+ 'Auth',
17
+ 'Testing',
18
+ 'BreezeUI',
19
+ 'PSS',
20
+ 'PSF',
21
+ 'Optimization',
22
+ 'Webhooks',
23
+ 'Salesforce',
24
+ 'Other',
25
+ 'ArchitectureMap',
26
+ 'SOW',
27
+ 'TDD',
28
+ 'AI',
29
+ 'API',
30
+ 'Mobile',
31
+ 'Infrastructure',
32
+ 'Security',
33
+ 'Messaging',
34
+ 'ProjectRules',
35
+ // The old name for ProjectRules, still written by skills older than 0.2.16.
36
+ 'ProductRules',
37
+ ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skedulo/memory-hub-mcp",
3
- "version": "0.2.14",
3
+ "version": "0.2.16",
4
4
  "description": "MCP server for the SE AI Memory Hub: recall and save developer memory from Claude Code and Claude Desktop.",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {
package/skill-guide.md CHANGED
@@ -74,8 +74,9 @@ Fact, Skill, or Wiki saves alike. Newer tags: `AI` (LLMs, agents, MCP, prompts),
74
74
  `API` (REST/GraphQL endpoints and schemas), `Mobile` (the Skedulo mobile app/v3 —
75
75
  not `MobileExtension`, which is MEX forms), `Infrastructure` (CI/CD, pipelines,
76
76
  hosting, environments), `Security` (permissions, secrets, vulnerabilities),
77
- `Messaging` (SMS, email, notifications, queues), `ProductRules` (a product's rules and
78
- don't-build wiki pages, written by the product-knowledge skill; see "Product knowledge"). The tool schema enforces this, so an invalid tag fails
77
+ `Messaging` (SMS, email, notifications, queues), `ProjectRules` (a project's rules and
78
+ don't-build wiki pages, written by the project-knowledge skill; see "Project knowledge"; `ProductRules`
79
+ is its old name, still accepted). The tool schema enforces this, so an invalid tag fails
79
80
  with a clear validation error rather than reaching the backend — if this
80
81
  list and the schema's actual error ever disagree, trust the error: this
81
82
  list is prose, kept in sync by hand.
@@ -531,13 +532,14 @@ verbatim (or close to it) the one time it appears** — it's the only signal
531
532
  they get that their saves are now shared with that team, and it won't
532
533
  repeat later in the same session even though the join already happened.
533
534
 
534
- ## Product knowledge
535
+ ## Project knowledge
535
536
 
536
- A customer product's rules, don't-build list, reference pages and sources live as Team wiki pages on
537
- the product's delivery repo, titled `<Product> › Rules › <feature>`, `<Product> › Don't build`,
538
- `<Product> › Reference › <topic>` and `<Product> › Sources`; the rules and don't-build pages carry the
539
- `ProductRules` tag. Find them with `memory_list type=Wiki titlePrefix="<Product> ›"`. Four skills work
540
- on them: product-knowledge (create, refresh from sources, import a knowledge pack), plan-ticket,
537
+ A customer project's rules, don't-build list, reference pages and sources live as Team wiki pages on
538
+ the project's delivery repo, titled `<Project> › Rules › <feature>`, `<Project> › Don't build`,
539
+ `<Project> › Reference › <topic>` and `<Project> › Sources`; the rules and don't-build pages carry the
540
+ `ProjectRules` tag, and `<Project> › Reference › feature-map` lists each feature's code, documents and
541
+ tickets. Find them with `memory_list type=Wiki titlePrefix="<Project> ›"`. Four skills work
542
+ on them: project-knowledge (create, refresh from sources, import a knowledge pack), plan-ticket,
541
543
  delegate-ticket and fold-findings. Change these pages through those skills, which keep the entry
542
544
  format and change log and always pass `expectedLastModified` to `memory_update`. Without those
543
545
  skills, edit with `memory_update` directly, keep the page's entry format, add a change-log line, and