@skedulo/memory-hub-mcp 0.2.15 → 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.
@@ -1,133 +0,0 @@
1
- # Product knowledge pages
2
-
3
- Every skill that reads or writes product knowledge follows this file.
4
-
5
- ## Where it lives
6
-
7
- A product is a memory-hub team (for example "Lindamood Bell"). Its knowledge is Team-visible wiki pages
8
- on the product's delivery repo, the repo linked to that team. A product 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
- - `<Product>` is the product's display name, written the same way in every title.
14
- - `<PREFIX>` is the product's ID prefix, upper-case letters and digits (`LMB`). Read it from the
15
- existing rule IDs; never start a second prefix for the same product.
16
-
17
- ## Page kinds
18
-
19
- - `<Product> › Rules › <feature>`: the rules and constraints for one feature. Tag `ProductRules`.
20
- - `<Product> › Don't build`: work that is out of scope, with the reason and source. Tag `ProductRules`.
21
- - `<Product> › Reference › <topic>`: APIs, workflows, data model, glossary, troubleshooting,
22
- overview. No tag.
23
- - `<Product> › Sources`: every source the knowledge was built from, with its version or hash. No tag.
24
-
25
- `<feature>` is a stable kebab-case key (`group-sessions`, `schedule-plans`). It becomes a Knowledge Hub
26
- area name later, so never derive it from a ticket key or a date, and never rename one. Add a new
27
- feature key only with the developer's agreement.
28
-
29
- A page over about 20,000 characters is split into parts titled `<title> (1/3)`, `(2/3)`, `(3/3)`. Each
30
- part keeps its own change log. When an edit pushes a page over the limit, move whole entries into a
31
- new last part and renumber the titles.
32
-
33
- Find pages with `memory_list type=Wiki repo=<delivery repo uid> titlePrefix="<Product> ›"`, or
34
- `tags=["ProductRules"]` for the rules and don't-build pages only; it returns `total` and one page of
35
- items, so call it again with `offset` until you have them all. Read a page in full with
36
- `memory_get type=Wiki uid=<uid>`, which also returns its `lastModifiedDate`.
37
-
38
- ## Entry lines
39
-
40
- One entry per bullet, so a skill can copy it verbatim into a sub-issue:
41
-
42
- ```
43
- - **LMB-R13** · core · verified — The Skedulo Optimizer is out of scope for both divisions. _Source: TDD For Schools §4.2_
44
- ```
45
-
46
- - ID: `<PREFIX>-R<n>` for a rule, `<PREFIX>-C<n>` for a constraint, `<PREFIX>-D<n>` for a don't-build
47
- item. IDs are unique within the product and never reused. The next ID is one more than the highest
48
- existing number of that kind across all the product's pages. Imported entries keep their number.
49
- - Tier: `core` (never change without the developer's explicit confirmation of that entry),
50
- `standard`, or `detail` (a tunable default).
51
- - Status: `verified` or `unverified`. Anything taken from code, an import or old files is
52
- `unverified` until a developer reviews it. An entry the developer confirmed from a TDD, SOW,
53
- Confluence page or Linear decision is `verified`.
54
- - Source: the document and section, the Linear issue, or `code: <owner/name>@<short sha> <path>`.
55
- - When a later decision overrides an entry, do not rewrite it silently. Keep the line and add
56
- `Conflict: overridden by SOL-1234 (<one-line reason>)` after the source, then add the new entry with
57
- its own ID.
58
- - A retired entry moves to a `## Retired` section at the end of its page, before the change log, with
59
- `Retired <date>: <reason>` after the source. Its ID is not reused.
60
-
61
- Rules pages have `## Rules` and `## Constraints` sections. The don't-build page has one list:
62
-
63
- ```
64
- - **LMB-D3** · core · verified — Do not build an automatic waitlist. Reason: the customer keeps waitlists in Salesforce. _Source: SOW §2.1 (scope as function)_
65
- ```
66
-
67
- ## Change log
68
-
69
- Every page ends with:
70
-
71
- ```
72
- ## Change log
73
-
74
- - 2026-10-21 · Sam Developer · Added LMB-R74, changed LMB-R13 to core · TDD v1.4 §3 changed the session rules
75
- ```
76
-
77
- Date, who (the developer, by name), what changed (entry IDs), why (the source or decision). Newest
78
- last. The skills write it; it stands in for the history git would otherwise give.
79
-
80
- ## Sources page
81
-
82
- One line per source:
83
-
84
- ```
85
- - `local` · docs/TDD For Schools.pdf · sha256 `9f2c…` · read 2026-10-21
86
- - `confluence` · page 123456789 "LC Technical Design" · version 14 · read 2026-10-21
87
- - `linear` · SOL-1234 · updatedAt 2026-10-20T03:00:00.000Z · read 2026-10-21
88
- - `gdrive` · file 1AbCdEf "LC Statement of Work" · modifiedTime 2026-10-19T22:10:00.000Z · read 2026-10-21
89
- - `repo` · Skedulo/cx-lindamood-bell@main · commit 4be1c0d · read 2026-10-21
90
- - `pack` · <owner/name of the shared memory repo> domains/cx-lindamood-bell · commit 7a3e9b1 · read 2026-10-21
91
- ```
92
-
93
- How to read each version now:
94
-
95
- - `local`: `shasum -a 256 "<path>"`.
96
- - `confluence`: the Atlassian connector's get-page call; use the page's `version.number`.
97
- - `linear`: the Linear connector's get-issue (or get-project/get-document) call; use `updatedAt`.
98
- - `gdrive`: the Google Drive connector's file-metadata call; use `modifiedTime` (or `version`).
99
- - `repo`: `git -C <checkout> rev-parse HEAD`, or `gh api repos/<owner>/<name>/commits/<branch> --jq .sha`.
100
- - `pack`: `git -C <checkout> rev-parse HEAD` in an up-to-date checkout of the shared memory repo, or
101
- `memory_checkSources` run in that checkout, which lists imported pages whose commit is behind.
102
-
103
- ## Editing a page (team-safe)
104
-
105
- Any member of the product team can edit these pages; two developers must not overwrite each other.
106
-
107
- 1. `memory_get type=Wiki uid=<uid>`; keep its `content` and `lastModifiedDate`.
108
- 2. Apply the change to the full text. Keep every other line exactly as it was.
109
- 3. Append the change-log line.
110
- 4. `memory_update type=Wiki uid=<uid> content=<full new text> expectedLastModified=<lastModifiedDate>`.
111
- 5. If it fails with `Conflict:`, someone else changed the page. Go back to step 1, re-apply the change
112
- to the new text, show the developer what the other person changed if it touches the same entries,
113
- and retry.
114
-
115
- Teammates can change a page's title, content and tags. Only the page's author can move it to another
116
- repo or change its links; ask them if that is needed. Deleting a page is author-only too; prefer
117
- retiring entries over deleting pages.
118
-
119
- ## Confidentiality
120
-
121
- Read documents in the session and store only distilled knowledge. The hub may hold: the customer's
122
- organisation name, features and rules, scope stated as function, decisions attributed by role ("the
123
- customer's operations lead"), schema and field API names, and Skedulo staff names.
124
-
125
- Never store, on any page or fact:
126
-
127
- - commercial terms: prices, rates, budgets, contract values, payment terms;
128
- - customer personal data: names, emails or phone numbers of customer staff or end users;
129
- - credentials, tokens or secrets;
130
- - customer data rows or production record IDs (UUIDs, Salesforce record IDs);
131
- - verbatim contract text: never quote a SOW or change request; restate scope as function.
132
-
133
- When unsure, leave it out and tell the developer what you left out.