opencode-skills-collection 4.0.40 → 4.0.42

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 (48) hide show
  1. package/bundled-skills/.antigravity-install-manifest.json +3 -2
  2. package/bundled-skills/animejs-animation/SKILL.md +1 -1
  3. package/bundled-skills/anti-ui-slop/SKILL.md +51 -86
  4. package/bundled-skills/antigravity-design-expert/SKILL.md +1 -1
  5. package/bundled-skills/design-spells/SKILL.md +1 -1
  6. package/bundled-skills/docs/integrations/jetski-cortex.md +3 -3
  7. package/bundled-skills/docs/integrations/jetski-gemini-loader/README.md +1 -1
  8. package/bundled-skills/docs/maintainers/repo-growth-seo.md +1 -1
  9. package/bundled-skills/docs/maintainers/skills-update-guide.md +1 -1
  10. package/bundled-skills/docs/users/aas-core.md +1 -1
  11. package/bundled-skills/docs/users/bundles.md +1 -1
  12. package/bundled-skills/docs/users/claude-code-skills.md +1 -1
  13. package/bundled-skills/docs/users/gemini-cli-skills.md +1 -1
  14. package/bundled-skills/docs/users/kiro-integration.md +1 -1
  15. package/bundled-skills/docs/users/usage.md +3 -3
  16. package/bundled-skills/docs/users/visual-guide.md +4 -4
  17. package/bundled-skills/famulor-skill/SKILL.md +132 -0
  18. package/bundled-skills/famulor-skill/references/assistant-design.md +137 -0
  19. package/bundled-skills/famulor-skill/references/toolsets/assistants.md +64 -0
  20. package/bundled-skills/famulor-skill/references/toolsets/automations.md +36 -0
  21. package/bundled-skills/famulor-skill/references/toolsets/billing.md +15 -0
  22. package/bundled-skills/famulor-skill/references/toolsets/calls.md +23 -0
  23. package/bundled-skills/famulor-skill/references/toolsets/campaigns.md +42 -0
  24. package/bundled-skills/famulor-skill/references/toolsets/dashboards.md +27 -0
  25. package/bundled-skills/famulor-skill/references/toolsets/knowledge.md +28 -0
  26. package/bundled-skills/famulor-skill/references/toolsets/messaging.md +52 -0
  27. package/bundled-skills/famulor-skill/references/toolsets/migration.md +10 -0
  28. package/bundled-skills/famulor-skill/references/toolsets/platform.md +14 -0
  29. package/bundled-skills/famulor-skill/references/toolsets/settings.md +28 -0
  30. package/bundled-skills/famulor-skill/references/toolsets/tasks.md +12 -0
  31. package/bundled-skills/famulor-skill/references/toolsets/telephony.md +35 -0
  32. package/bundled-skills/iconsax-library/SKILL.md +1 -1
  33. package/bundled-skills/loki-mode/examples/todo-app-generated/backend/package-lock.json +4 -4
  34. package/bundled-skills/loki-mode/examples/todo-app-generated/backend/package.json +1 -1
  35. package/bundled-skills/magic-animator/SKILL.md +1 -1
  36. package/bundled-skills/magic-ui-generator/SKILL.md +1 -1
  37. package/bundled-skills/project-state-governor/SKILL.md +483 -0
  38. package/bundled-skills/project-state-governor/references/manifest-routing.md +47 -0
  39. package/bundled-skills/project-state-governor/references/persistence-lifecycle.md +93 -0
  40. package/bundled-skills/project-state-governor/references/project-state-schema.md +173 -0
  41. package/bundled-skills/project-state-governor/references/reconstruction-workflow.md +183 -0
  42. package/bundled-skills/salesforce-development/SKILL.md +107 -37
  43. package/bundled-skills/unsplash-integration/SKILL.md +1 -1
  44. package/bundled-skills/vizcom/SKILL.md +1 -1
  45. package/bundled-skills/x-twitter-scraper/SKILL.md +20 -7
  46. package/package.json +1 -1
  47. package/skills_index.json +69 -35
  48. package/bundled-skills/uizze-ui-research/SKILL.md +0 -128
@@ -0,0 +1,35 @@
1
+ # Telephony toolset
2
+
3
+ Phone numbers, SIP trunks, caller IDs, carrier connections, and verification. Connect only this group with `https://app.famulor.io/mcp?toolsets=telephony`.
4
+
5
+ This 2026-08-23 snapshot covers all 27 tools assigned to `telephony` in the canonical 282-tool registry. The live MCP `tools/list` response is authoritative for arguments, current availability, annotations, and plan or role gating. Never invent fields from this catalog.
6
+
7
+ | Tool | Effect | Accepted scope | Execution | Purpose snapshot |
8
+ | --- | --- | --- | --- | --- |
9
+ | `assign_phone_number` | Write/action | `phone_numbers:write or calls:write` | Immediate | Assign a phone number to an assistant (or unassign it with assistant_id = null) and optionally toggle the allowed call directions. Inbound calls to the number are answered by the assigned assistant. |
10
+ | `buy_phone_number` | Write/action | `phone_numbers:write or calls:write` | Immediate | Start a phone-number purchase after `search_phone_numbers`. Paid numbers return a pending result with a checkout URL and activate after successful payment. An eligible complimentary local number can activate immediately. Mobile, national, and other number types remain paid. Failed, expired, or unpaid purchases release the held number. |
11
+ | `create_caller_id` | Write/action | `phone_numbers:write or calls:write` | Immediate | Start caller-ID verification for an E.164 number. Returns the row plus validation_code spoken on the phone. |
12
+ | `create_carrier_connection` | Write/action | `sip_trunks:write or calls:write` | Immediate | Connect a Twilio, Telnyx, or Vonage account: validates credentials and stores secrets encrypted (never returned again). Carrier-side routing is configured on the first import_carrier_numbers call, not here. |
13
+ | `create_sip_trunk` | Write/action | `sip_trunks:write or calls:write` | Immediate | Connect your own SIP carrier (BYO): inbound + outbound trunk. Supports DID or Extension (trunk_kind), calling_number_format, transport, and advanced options (secure trunking, headers, codecs). See product docs: BYO SIP trunk. After creating, assign E.164 numbers to assistants with assign_phone_number. |
14
+ | `delete_caller_id` | Delete/destructive | `phone_numbers:write or calls:write` | Immediate | Release a verified caller ID and delete the workspace row. |
15
+ | `delete_carrier_connection` | Delete/destructive | `sip_trunks:write or calls:write` | Immediate | Disconnect a carrier connection entirely: removes every imported number (local + best-effort carrier-side) and deletes the connection. Credentials are not retained. This cannot be undone. |
16
+ | `delete_sip_trunk` | Delete/destructive | `sip_trunks:write or calls:write` | Immediate | Delete a SIP trunk including its platform trunk pair and the dispatch rules of its numbers. This cannot be undone. |
17
+ | `get_carrier_connection` | Read | `sip_trunks:read or calls:read` | Immediate | Fetch a single carrier connection by ID, including its imported numbers. |
18
+ | `get_number_verification` | Read | `phone_numbers:read or calls:read` | Immediate | Fetch a single regulatory verification case by ID. |
19
+ | `get_sip_trunk` | Read | `sip_trunks:read or calls:read` | Immediate | Fetch a single SIP trunk by ID (without credentials). |
20
+ | `import_carrier_numbers` | Write/action | `sip_trunks:write or calls:write` | Immediate | Import one or more numbers from the connected carrier account: provisions the carrier side on first call (idempotent), then attaches each number and creates the matching SIP trunk + platform trunk pair. Returns per-number results — partial failures are possible and reported in `results`, not thrown. |
21
+ | `list_caller_ids` | Read | `phone_numbers:read or calls:read` | Immediate | List verified and pending outbound caller IDs for the workspace. Same as GET /api/v1/caller-ids. |
22
+ | `list_carrier_available_numbers` | Read | `sip_trunks:read or calls:read` | Immediate | List the phone numbers on the connected carrier account, flagged with already_attached (attached to a different trunk/connection at the carrier) and already_imported (already on this platform). |
23
+ | `list_carrier_connections` | Read | `sip_trunks:read or calls:read` | Immediate | List the account's carrier connections (BYOC number import from Twilio, Telnyx, or Vonage). Credentials are never returned, only a masked hint. |
24
+ | `list_number_verifications` | Read | `phone_numbers:read or calls:read` | Immediate | List regulatory verification cases for buying numbers in bundle-required countries. Status updates after submission. |
25
+ | `list_phone_numbers` | Read | `phone_numbers:read or calls:read` | Immediate | List the phone numbers of the account (number, assigned assistant, allowed directions, status, source). Optional filters: assistant, status, country. |
26
+ | `list_sip_trunks` | Read | `sip_trunks:read or calls:read` | Immediate | List the account's SIP trunks (bring-your-own-carrier connections). Credentials (auth_password) are never returned. |
27
+ | `list_verification_catalog` | Read | `phone_numbers:read or calls:read` | Immediate | List countries and number types that require regulatory bundle verification, including countries not currently enabled for marketplace purchase. Use this to discover which ISO codes need a case before submit_number_verification. |
28
+ | `release_phone_number` | Delete/destructive | `phone_numbers:write or calls:write` | Immediate | Release a phone number. Paid marketplace numbers stay active until the current billing period ends; complimentary plan numbers release immediately. Customer-provided numbers are deleted. A completed hard release cannot be undone. |
29
+ | `remove_carrier_number` | Delete/destructive | `sip_trunks:write or calls:write` | Immediate | Remove ONE imported number: best-effort detach at the carrier, then deletes the local dispatch rule, phone number and platform trunk pair. |
30
+ | `search_phone_numbers` | Read | `phone_numbers:read or calls:read` | Immediate | Search the marketplace for phone numbers available for purchase in a country, including monthly price and setup fee. monthly_price_cents/setup_fee_cents are EUR (canonical); display_currency + display_currency_rate describe the workspace's currency, and display_monthly_price_cents/display_setup_fee_cents (present when it differs from EUR) is the amount an actual purchase would be charged. The country and number type must be enabled by the platform; some countries additionally require a regulatory bundle on file. Buy a result with buy_phone_number. |
31
+ | `submit_number_verification` | Write/action | `phone_numbers:write or calls:write` | Immediate | Submit a regulatory bundle case (address + end-user attributes) for a country/number type. Available for all bundle-required countries, including those not currently enabled for marketplace purchase. Optional base64 attachments for supporting documents. After approval, marketplace purchase for that country/type becomes available when the platform enables selling there. |
32
+ | `troubleshoot_carrier_connection` | Write/action | `sip_trunks:write or calls:write` | Immediate | Re-run carrier + platform diagnostics (credentials, trunk/connection, origination/FQDN target, termination auth, numbers attached, balance, platform trunk pair, dispatch rules) and auto-repair drift where possible. |
33
+ | `update_caller_id` | Write/action | `phone_numbers:write or calls:write` | Immediate | Update the display label (friendly_name) of a verified caller ID. |
34
+ | `update_carrier_connection` | Write/action | `sip_trunks:write or calls:write` | Immediate | Change a carrier connection's SIP region and repair the provider-side inbound route to the matching regional endpoint. |
35
+ | `update_phone_number_sms` | Write/action | `phone_numbers:write or calls:write` | Immediate | Enable or disable outbound SMS on a number, and optionally assign the SMS agent. For Twilio BYOC, enabling outbound SMS configures the inbound SMS webhook on the customer Twilio account and refreshes A2P status. |
@@ -1,4 +1,4 @@
1
- ---
1
+ ---
2
2
  name: iconsax-library
3
3
  description: Extensive icon library and AI-driven icon generation skill for premium UI/UX design.
4
4
  risk: safe
@@ -11,7 +11,7 @@
11
11
  "better-sqlite3": "^12.11.1",
12
12
  "cors": "^2.8.6",
13
13
  "express": "^4.18.2",
14
- "express-rate-limit": "^8.6.0"
14
+ "express-rate-limit": "^8.6.1"
15
15
  },
16
16
  "devDependencies": {
17
17
  "@types/better-sqlite3": "^7.6.13",
@@ -691,9 +691,9 @@
691
691
  }
692
692
  },
693
693
  "node_modules/express-rate-limit": {
694
- "version": "8.6.0",
695
- "resolved": "https://registry.npmjs.org/express-rate-limit/-/express-rate-limit-8.6.0.tgz",
696
- "integrity": "sha512-XKJXDsASUOo0LLtFwW5hCcQGH0N4WQc/Rn8/Pvoia+TJFOkkFPvrtW9lZOeeNcxQJspvOIERMwiRLsVFlhHEkA==",
694
+ "version": "8.6.1",
695
+ "resolved": "https://registry.npmjs.org/express-rate-limit/-/express-rate-limit-8.6.1.tgz",
696
+ "integrity": "sha512-0D493aP61w0TJ2A0wy27riRsO7FMQ7FK+KUHOKCSfPvYo0R55aiC6emCVgFUeShH0fq0ICPVzNcgoS+BsbXQCA==",
697
697
  "license": "MIT",
698
698
  "dependencies": {
699
699
  "debug": "^4.4.3",
@@ -12,7 +12,7 @@
12
12
  "better-sqlite3": "^12.11.1",
13
13
  "cors": "^2.8.6",
14
14
  "express": "^4.18.2",
15
- "express-rate-limit": "^8.6.0"
15
+ "express-rate-limit": "^8.6.1"
16
16
  },
17
17
  "devDependencies": {
18
18
  "@types/better-sqlite3": "^7.6.13",
@@ -1,4 +1,4 @@
1
- ---
1
+ ---
2
2
  name: magic-animator
3
3
  description: AI-powered animation tool for creating motion in logos, UI, icons, and social media assets.
4
4
  risk: safe
@@ -1,4 +1,4 @@
1
- ---
1
+ ---
2
2
  name: magic-ui-generator
3
3
  description: Utilizes Magic by 21st.dev to generate, compare, and integrate multiple production-ready UI component variations.
4
4
  risk: safe
@@ -0,0 +1,483 @@
1
+ ---
2
+ name: project-state-governor
3
+ description: "Govern evidence-backed canonical project state across sessions, branches, reviews, and research cycles without inventing product intent."
4
+ category: project-management
5
+ risk: critical
6
+ source: community
7
+ source_repo: Ghost011118/project-state-governor
8
+ source_type: community
9
+ date_added: "2026-08-20"
10
+ author: Ghost011118
11
+ tags: [project-state, project-memory, documentation, governance, context-engineering, multi-agent]
12
+ tools: [claude, cursor, gemini, codex, copilot, opencode]
13
+ license: "Apache-2.0"
14
+ license_source: "https://github.com/Ghost011118/project-state-governor/blob/main/LICENSE"
15
+ ---
16
+
17
+ # Project State Governor
18
+
19
+ ## Mission
20
+
21
+ Maintain the project's durable, evidence-backed state so a competent agent entering a fresh conversation can quickly determine:
22
+
23
+ - why the project exists;
24
+ - what is authoritative now;
25
+ - what is active, blocked, deferred, or done;
26
+ - what failed and should not be repeated;
27
+ - which decisions and constraints govern future work;
28
+ - what should happen next.
29
+
30
+ Operate as the project-state and documentation governor, not as the product owner, coding agent, research executor, or release approver.
31
+
32
+ Use this model:
33
+
34
+ - Git preserves history.
35
+ - The canonical project-state system preserves current durable knowledge.
36
+ - `AGENTS.md` defines how agents operate.
37
+ - Conversation history is working context, not authoritative project memory.
38
+ - Single source of truth means one canonical state system, not necessarily one giant file.
39
+
40
+ Read `references/project-state-schema.md` when creating or repairing canonical project state.
41
+ Read `references/persistence-lifecycle.md` when deciding what to recall, stage, persist, review, or consolidate.
42
+ Read `references/reconstruction-workflow.md` when cleaning fragmented history or contradictory documentation.
43
+ Read `references/manifest-routing.md` when the project is large enough to split canonical state across multiple files.
44
+
45
+ ## When to Use This Skill
46
+
47
+ - Use when resuming a substantial project after conversation, agent, or branch changes.
48
+ - Use when plans, status files, reviews, tests, and implementation evidence disagree.
49
+ - Use when a completion claim must be verified before it becomes durable project state.
50
+ - Use when expensive negative evidence or a recurring lesson should survive future sessions.
51
+ - Use when fragmented project documentation needs bounded consolidation.
52
+
53
+ Do not use this skill as a substitute for implementation, domain research, product ownership, or release approval.
54
+
55
+ ## Limitations
56
+
57
+ - It cannot determine undefined business intent or choose among legitimate owner decisions.
58
+ - It requires access to relevant project evidence; unsupported conclusions remain `UNKNOWN`.
59
+ - It does not replace engineering, security, or domain-specific verification workflows.
60
+ - It may modify canonical documentation when authorized, so broad cleanup or deletion must be staged and reviewed before application.
61
+
62
+ ## Worked Example
63
+
64
+ A feature branch claims that `export-redesign` is complete. The canonical
65
+ `PROJECT_STATE.md` still marks it `ACTIVE`, and its definition of done requires
66
+ both targeted tests and an integration test.
67
+
68
+ 1. Resolve every applicable `AGENTS.md` for the canonical state file and the
69
+ evidence paths before reading or changing them.
70
+ 2. Verify that the branch was merged and that targeted tests passed.
71
+ 3. Record that the required integration test has not run; classify this as an
72
+ evidence gap rather than inferring success from the merge.
73
+ 4. Preserve `export-redesign: ACTIVE`, record the missing integration evidence,
74
+ and identify running that test as the next authoritative step.
75
+
76
+ The durable result is a minimal state delta, not a rewritten history:
77
+
78
+ ```text
79
+ Status: ACTIVE (unchanged)
80
+ Verified: implementation merged; targeted tests passed
81
+ Missing evidence: required integration test
82
+ Next step: run and evaluate the integration test
83
+ ```
84
+
85
+ Only after that test satisfies the approved definition of done may the task
86
+ transition to `DONE`.
87
+
88
+ ## 1. Authority hierarchy
89
+
90
+ Before ranking conflicting sources, enforce a hard boundary: no owner or product
91
+ decision may override applicable law, an actual authorization boundary,
92
+ non-waivable security or safety constraints, or objective facts. Verify that a
93
+ claimed constraint is real and applicable; convention, preference, and
94
+ speculation do not become non-overridable merely by being labelled a risk.
95
+
96
+ Within the owner's legitimate decision authority, apply this default order:
97
+
98
+ 1. current explicit owner decision;
99
+ 2. current approved requirements and acceptance criteria;
100
+ 3. formal product and technical contracts, schemas, APIs, protocols, and risk controls;
101
+ 4. tests traceable to authoritative requirements;
102
+ 5. current verified implementation behavior;
103
+ 6. current canonical project-state records;
104
+ 7. historical documentation;
105
+ 8. historical review reports;
106
+ 9. historical AI conversations, summaries, suggestions, or speculation.
107
+
108
+ Lower-authority evidence must not silently override higher-authority evidence.
109
+
110
+ Treat code as evidence of current behavior, not automatic proof of intended behavior.
111
+ Treat historical documentation as evidence of prior belief, not automatic proof of current truth.
112
+ Treat reviewer findings as hypotheses until verified.
113
+ Treat prior AI output as non-authoritative unless supported by stronger evidence.
114
+
115
+ If materially conflicting evidence leaves multiple legitimate business outcomes, escalate only the smallest unresolved owner decision.
116
+
117
+ ## 2. Canonical state modes
118
+
119
+ Use the smallest structure that stays clear.
120
+
121
+ ### Compact mode
122
+
123
+ Prefer for small and medium projects:
124
+
125
+ ```text
126
+ AGENTS.md
127
+ PROJECT_STATE.md
128
+ ```
129
+
130
+ ### Scaled mode
131
+
132
+ Use when `PROJECT_STATE.md` becomes too large, mixes unrelated subsystems, or repeatedly forces irrelevant context loading:
133
+
134
+ ```text
135
+ AGENTS.md
136
+ .project/
137
+ MANIFEST.md
138
+ STATE.md
139
+ DECISIONS.md
140
+ CONSTRAINTS.md
141
+ NEGATIVE_EVIDENCE.md
142
+ areas/
143
+ <subsystem>.md
144
+ ```
145
+
146
+ The files together form one canonical state system.
147
+ Do not split merely for aesthetics.
148
+ Do not duplicate the same fact across canonical files unless one copy is clearly a pointer.
149
+
150
+ Allow separate durable technical documentation when it has an independent stable purpose, such as README, API/protocol specifications, architecture docs, schemas, security policies, runbooks, dataset specifications, legal/compliance docs, or user-facing docs.
151
+
152
+ Do not fragment progress, roadmap, current TODOs, review conclusions, decisions, or GPT session summaries across ad hoc files.
153
+
154
+ ## 3. Classify intent before persisting
155
+
156
+ Use the smallest fitting type.
157
+
158
+ ### MISSION
159
+ A long-lived reason the project exists. It survives many implementations and experiments.
160
+
161
+ ### SUCCESS_CRITERION
162
+ A durable definition of meaningful project success. Never invent one merely to make a mission measurable.
163
+
164
+ ### WORKSTREAM
165
+ A coherent multi-task initiative with a meaningful end or pause condition.
166
+
167
+ ### MILESTONE
168
+ A bounded intermediate outcome spanning multiple tasks.
169
+
170
+ ### TASK
171
+ Bounded work with a recognizable closure condition.
172
+
173
+ ### RESEARCH_HYPOTHESIS
174
+ A falsifiable proposition requiring evidence. A failed hypothesis does not fail the mission.
175
+
176
+ ### DECISION
177
+ An owner-approved or objectively established choice that materially constrains future work.
178
+
179
+ ### CONSTRAINT
180
+ A technical, business, risk, authorization, compatibility, data, research-integrity, or operational rule future work must respect.
181
+
182
+ ### BLOCKER
183
+ A confirmed condition preventing meaningful progress.
184
+
185
+ ### DEFERRED
186
+ Real work intentionally postponed.
187
+
188
+ ### QUESTION
189
+ Persist only if unresolved status materially affects future work.
190
+
191
+ ### LESSON
192
+ A concise, validated pitfall or correction worth retaining because future agents are likely to repeat an expensive mistake.
193
+
194
+ ## 4. Closure and hierarchy
195
+
196
+ Classify goals using this default test:
197
+
198
+ - one clear code/configuration change can finish it -> `TASK`;
199
+ - multiple tasks are required but a bounded intermediate finish exists -> `MILESTONE` or `WORKSTREAM`;
200
+ - it is an ongoing strategic objective across many iterations -> `MISSION` or long-term `WORKSTREAM`;
201
+ - experimentation is required to determine truth -> `RESEARCH_HYPOTHESIS`.
202
+
203
+ Use hierarchical completion rather than one global `DONE` claim:
204
+
205
+ - `SESSION_DOD`: what this execution session promised to complete;
206
+ - `TASK_DOD`: acceptance and verification required for the bounded task;
207
+ - `MILESTONE_DOD`: required child outcomes for the milestone;
208
+ - `WORKSTREAM_DOD`: conditions for the initiative to complete or pause;
209
+ - `MISSION_SUCCESS`: owner-defined project success criteria.
210
+
211
+ Never infer that a parent is complete merely because a child completed.
212
+
213
+ Example:
214
+
215
+ ```text
216
+ session DONE != task DONE
217
+ task DONE != milestone DONE
218
+ milestone DONE != workstream DONE
219
+ workstream DONE != mission success
220
+ ```
221
+
222
+ ## 5. Session bootstrap and recall
223
+
224
+ When repository access exists and project-level conclusions are required:
225
+
226
+ 1. read the repository-root `AGENTS.md` when present;
227
+ 2. identify candidate paths that may be inspected, written, moved, or deleted;
228
+ 3. before acting on each candidate path, resolve its complete instruction scope: include the candidate itself when it is an existing directory, otherwise stop at its parent; for recursive directory operations, discover every nested `AGENTS.md` in the affected subtree before inspecting or mutating that subtree; deeper rules govern only their subtree;
229
+ 4. detect compact or scaled canonical-state mode;
230
+ 5. in scaled mode, read `.project/MANIFEST.md` first;
231
+ 6. read current state/brief before historical material;
232
+ 7. identify current Git branch and working tree;
233
+ 8. inspect relevant recent commits, code, tests, configuration, and contracts;
234
+ 9. load domain-specific governance files when applicable;
235
+ 10. load only task-relevant canonical area files;
236
+ 11. inspect historical documentation only when needed to resolve state or conflict.
237
+
238
+ Use progressive retrieval. Do not load the whole repository history or every memory file by default.
239
+
240
+ If canonical state is missing, reconstruct it from repository evidence rather than fabricating it from conversation alone.
241
+
242
+ ## 6. Provenance and confidence
243
+
244
+ For durable facts whose reliability materially matters, capture concise provenance and confidence.
245
+
246
+ Preferred provenance includes:
247
+
248
+ - owner decision or issue ID;
249
+ - commit SHA;
250
+ - test name/result;
251
+ - contract/schema path;
252
+ - experiment/candidate/manifest ID;
253
+ - authoritative file path and section.
254
+
255
+ Use confidence labels only when they add value:
256
+
257
+ - `CONFIRMED`: directly supported by authoritative evidence;
258
+ - `INFERRED`: best current interpretation, but not directly authoritative;
259
+ - `UNKNOWN`: unresolved or insufficiently supported.
260
+
261
+ Never persist `INFERRED` as if it were settled fact.
262
+ Represent material inference explicitly as hypothesis, question, or provisional state.
263
+
264
+ Do not add provenance noise to obvious low-impact facts.
265
+
266
+ ## 7. Semantic State Diff
267
+
268
+ After meaningful work, ask:
269
+
270
+ > Did this work create, remove, invalidate, complete, clarify, or materially modify a durable project fact?
271
+
272
+ Persist when one or more occurred:
273
+
274
+ - mission or owner-defined success criteria changed;
275
+ - a workstream/milestone began, ended, paused, blocked, or materially changed;
276
+ - a task changed lifecycle state;
277
+ - a durable decision was made;
278
+ - an important invariant or constraint was discovered;
279
+ - a blocker appeared or was removed;
280
+ - a research hypothesis changed validated state;
281
+ - negative evidence changed future direction;
282
+ - project phase or roadmap priority materially changed;
283
+ - meaningful debt was explicitly deferred;
284
+ - a historical project belief was proven obsolete;
285
+ - a validated recurring pitfall or owner correction should become a `LESSON`.
286
+
287
+ Do not persist merely because:
288
+
289
+ - a conversation occurred;
290
+ - code or files were inspected;
291
+ - commands were run;
292
+ - an intermediate debugging theory appeared;
293
+ - an AI suggested an idea;
294
+ - a reviewer raised an unverified concern;
295
+ - wording changed without semantic consequence;
296
+ - a known fact was repeated.
297
+
298
+ No durable state change means no canonical-state write.
299
+
300
+ ## 8. Persistence lifecycle and write gate
301
+
302
+ Use the lifecycle in `references/persistence-lifecycle.md`:
303
+
304
+ ```text
305
+ RECALL -> PROPOSE -> VERIFY -> APPLY -> CONSOLIDATE
306
+ ```
307
+
308
+ Never jump from conversation directly to permanent state when material uncertainty exists.
309
+
310
+ For low-risk deterministic updates, apply after evidence verification and a semantic-diff self-check.
311
+
312
+ Require owner review or explicit prior authorization before applying changes that:
313
+
314
+ - redefine mission or success criteria;
315
+ - choose among legitimate business outcomes;
316
+ - delete documentation with uncertain unique value;
317
+ - perform broad/mass cleanup outside previously authorized scope;
318
+ - convert an inferred state into an owner commitment;
319
+ - accept release, research-integrity, security, legal, or operational risk.
320
+
321
+ When reconstruction or broad cleanup is requested but deletion authority is unclear, stage the cleanup set and report the proposed diff rather than deleting.
322
+
323
+ ## 9. Convert conversations into semantic state, not transcripts
324
+
325
+ Never archive raw conversation history by default.
326
+
327
+ Do not persist chronology such as:
328
+
329
+ > User asked X, GPT suggested Y, then we considered Z.
330
+
331
+ Persist only the durable semantic result.
332
+
333
+ If a long discussion ends in a verified rejection of an expensive research direction, preserve the concise rejection, reason, and evidence reference.
334
+ If the discussion produced no durable lesson, store nothing.
335
+
336
+ ## 10. Status transitions
337
+
338
+ Use these defaults unless the project defines authoritative alternatives.
339
+
340
+ Tasks:
341
+
342
+ - `PROPOSED`
343
+ - `ACTIVE`
344
+ - `BLOCKED`
345
+ - `DONE`
346
+ - `CANCELLED`
347
+ - `DEFERRED`
348
+
349
+ Research hypotheses:
350
+
351
+ - `PROPOSED`
352
+ - `ACTIVE`
353
+ - `SUPPORTED`
354
+ - `REJECTED`
355
+ - `INCONCLUSIVE`
356
+ - `INVALIDATED`
357
+ - `FORWARD_ONLY`
358
+
359
+ Workstreams:
360
+
361
+ - `PLANNED`
362
+ - `ACTIVE`
363
+ - `BLOCKED`
364
+ - `COMPLETED`
365
+ - `PAUSED`
366
+ - `CANCELLED`
367
+
368
+ Do not invent new status vocabularies unless necessary.
369
+
370
+ ## 11. Completion claims
371
+
372
+ Never mark a task `DONE` merely because code was written or an agent says it is finished.
373
+
374
+ Before accepting a completion claim:
375
+
376
+ 1. identify the relevant DoD level;
377
+ 2. identify authoritative acceptance criteria;
378
+ 3. verify implementation/build/test/integration evidence appropriate to the task;
379
+ 4. verify required decisions/dependencies are resolved;
380
+ 5. ensure no child-only completion is being promoted to a parent-level claim;
381
+ 6. record only the resulting durable state transition.
382
+
383
+ If verification is incomplete, do not change lifecycle status based on the
384
+ completion claim. Preserve the item's existing status and record the missing
385
+ evidence or blocker separately; transition status only when independent
386
+ evidence supports that change.
387
+
388
+ ## 12. Documentation, branch, and evidence hygiene
389
+
390
+ - Follow `references/reconstruction-workflow.md` to classify status documents, resolve historical conflicts, and stage cleanup without losing unique durable information.
391
+ - Keep branch-local implementation state branch-local until it is merged or accepted under project rules; never blend divergent branches silently.
392
+ - Preserve only decision-relevant negative evidence and recurring lessons. Git remains the detailed historical archive.
393
+ - Consolidate duplicate and obsolete state when it impairs retrieval, but stage any deletion whose significance is uncertain.
394
+ - Never persist secrets, authentication material, or unnecessary sensitive personal data in canonical project state.
395
+
396
+ ## 13. Coordination with other governors
397
+
398
+ Engineering governors own technical defect classification, fixes, verification, and release risk. Research governors own protocols, stage gates, experiments, and evidence requirements. Consume their verified outputs as evidence; do not bypass or duplicate those workflows merely to advance project status.
399
+
400
+ ## 14. Owner authority boundary
401
+
402
+ Autonomously:
403
+
404
+ - classify evidence;
405
+ - identify duplicate status docs;
406
+ - identify objectively obsolete information;
407
+ - update lifecycle state when completion is objectively verified;
408
+ - compress redundant state;
409
+ - reconcile deterministic factual conflicts;
410
+ - remove clearly redundant generated status docs when deletion is already authorized.
411
+
412
+ Do not autonomously:
413
+
414
+ - redefine mission;
415
+ - redefine product semantics;
416
+ - invent acceptance criteria;
417
+ - accept unresolved release/research/security/legal risk;
418
+ - choose among multiple legitimate business outcomes;
419
+ - erase uniquely valuable history when significance is uncertain;
420
+ - treat prior AI output as authoritative because an AI wrote it.
421
+
422
+ Escalate only the smallest unresolved owner decision.
423
+
424
+ ## 15. Repository reconstruction mode
425
+
426
+ When asked to clean, repair, consolidate, or reconstruct a repository with fragmented history, enter `REPOSITORY_STATE_RECONSTRUCTION` and follow `references/reconstruction-workflow.md`.
427
+
428
+ Do not use reconstruction as justification for unrelated feature work.
429
+
430
+ ## 16. State update equation
431
+
432
+ Before applying canonical state, compute:
433
+
434
+ ```text
435
+ OLD_STATE
436
+ + VERIFIED_NEW_FACTS
437
+ - INVALIDATED_FACTS
438
+ = NEW_STATE
439
+ ```
440
+
441
+ For material updates, make the proposed semantic delta explicit before applying it.
442
+ Distinguish `CONFIRMED`, `INFERRED`, and `UNKNOWN` where reliability matters.
443
+
444
+ ## 17. Final reporting
445
+
446
+ After meaningful governance work, report only:
447
+
448
+ ### Project State Changes
449
+ Durable state transitions applied.
450
+
451
+ ### Current Focus
452
+ Active mission/workstream/milestone/task/research direction.
453
+
454
+ ### Remaining Blockers / Decisions
455
+ Only genuine unresolved blockers or owner decisions.
456
+
457
+ ### Documentation Actions
458
+ Canonical docs changed, staged, consolidated, or removed.
459
+
460
+ ### Evidence Notes
461
+ Only provenance or confidence caveats that materially affect trust.
462
+
463
+ If no durable state changed, say so briefly and do not manufacture an update.
464
+
465
+ ## 18. Anti-patterns
466
+
467
+ Never:
468
+
469
+ - dump conversations into project docs;
470
+ - create a new status/review/TODO file after each session;
471
+ - assume code automatically defines intended behavior;
472
+ - assume reviewer findings are automatically true;
473
+ - persist unsupported inference as settled fact;
474
+ - accumulate completed/cancelled/duplicate TODOs indefinitely;
475
+ - confuse session, task, milestone, workstream, and mission completion;
476
+ - declare `DONE` without required verification;
477
+ - keep obsolete status files merely "for reference" when Git already preserves them;
478
+ - delete conflicting docs before extracting unique durable information;
479
+ - load every memory file for every task;
480
+ - use documentation cleanup as permission to rewrite unrelated code.
481
+
482
+ The objective is not maximum documentation.
483
+ The objective is minimum sufficient, high-confidence, continuously maintained project knowledge.
@@ -0,0 +1,47 @@
1
+ # Manifest Routing for Large Projects
2
+
3
+ Use scaled mode only when a single `PROJECT_STATE.md` is no longer efficient.
4
+
5
+ ## Trigger conditions
6
+
7
+ Consider scaled mode when one or more are repeatedly true:
8
+
9
+ - agents must read large irrelevant sections to work on one subsystem;
10
+ - decisions/constraints substantially outgrow active-state information;
11
+ - unrelated research and engineering streams compete for context;
12
+ - negative evidence is important but rarely needed;
13
+ - the canonical state file is becoming difficult to scan or safely edit.
14
+
15
+ Do not split based on line count alone.
16
+
17
+ ## Routing principle
18
+
19
+ `MANIFEST.md` is the stable map.
20
+ `STATE.md` is the fast cold-start brief.
21
+ Other files are loaded only when relevant.
22
+
23
+ Default load path:
24
+
25
+ ```text
26
+ AGENTS.md
27
+ -> .project/MANIFEST.md
28
+ -> .project/STATE.md
29
+ -> only task-relevant routed files
30
+ ```
31
+
32
+ ## Routing rules
33
+
34
+ - Put global mission, current phase, current workstreams and tasks, recent terminal transitions, blockers, and next steps in `STATE.md`.
35
+ - Put durable choices in `DECISIONS.md`.
36
+ - Put non-negotiable rules in `CONSTRAINTS.md`.
37
+ - Put expensive failures and repeated pitfalls in `NEGATIVE_EVIDENCE.md`.
38
+ - Put subsystem-specific state in `areas/<subsystem>.md` only when the subsystem is large enough to justify independent loading.
39
+ - Keep global facts out of area files unless represented as pointers.
40
+ - Do not create one file per task, conversation, or day.
41
+
42
+ ## MANIFEST quality rules
43
+
44
+ Keep MANIFEST concise and navigational.
45
+ Every routed file should state what question it answers.
46
+ Remove routes when files are merged or deleted.
47
+ Do not let MANIFEST become a second project summary.