thoth-plugin 1.2.9 → 1.2.11
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,10 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: context-discovery
|
|
3
3
|
description: Use when a skill needs Thoth KB context (identity, stakeholders, projects) and it hasn't been discovered yet this session. Called automatically by morning-boot and other context-dependent skills.
|
|
4
|
-
triggers:
|
|
5
|
-
- "discover context"
|
|
6
|
-
- "find my identity"
|
|
7
|
-
- "where is my kb"
|
|
4
|
+
triggers:
|
|
8
5
|
created: 2026-01-09
|
|
9
6
|
updated: 2026-01-10
|
|
10
7
|
---
|
|
@@ -41,7 +38,8 @@ This skill is typically invoked by other skills, not directly by user.
|
|
|
41
38
|
| Find KB root | Check config → walk up for markers → check siblings |
|
|
42
39
|
| Determine hemisphere | Parse CWD path for `/work/`, `/life/`, `/coding/` |
|
|
43
40
|
| Find email | Read `{hemisphere}/AGENTS.md`, extract from MCP config table |
|
|
44
|
-
| Find stakeholders | Check `{hemisphere}/Stakeholders/_index.md`
|
|
41
|
+
| Find stakeholders | Check `{hemisphere}/Stakeholders/_index.md` — peers, bosses, external contacts |
|
|
42
|
+
| Find team | Check `{hemisphere}/Team/_index.md` — direct reports |
|
|
45
43
|
| Cache results | Store in `.thoth-state/context.json` for session reuse |
|
|
46
44
|
|
|
47
45
|
---
|
|
@@ -115,12 +113,16 @@ Extract `user_google_email` value.
|
|
|
115
113
|
3. `{hemisphere}/_identity.md`
|
|
116
114
|
4. `kernel/config/identity.md`
|
|
117
115
|
|
|
118
|
-
### Step 6: Locate
|
|
116
|
+
### Step 6: Locate People
|
|
119
117
|
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
118
|
+
Discover BOTH categories (they serve different purposes):
|
|
119
|
+
|
|
120
|
+
**Stakeholders** (peers, bosses, external contacts):
|
|
121
|
+
- Check: `{kb_root}/{hemisphere}/Stakeholders/_index.md`
|
|
122
|
+
- Fallback: `{kb_root}/{hemisphere}/people/_index.md`
|
|
123
|
+
|
|
124
|
+
**Team** (direct reports):
|
|
125
|
+
- Check: `{kb_root}/{hemisphere}/Team/_index.md`
|
|
124
126
|
|
|
125
127
|
### Step 7: Build Context Object
|
|
126
128
|
|
|
@@ -136,6 +138,10 @@ Check in order (use first that exists):
|
|
|
136
138
|
"path": "work/Stakeholders/_index.md",
|
|
137
139
|
"count": 32
|
|
138
140
|
},
|
|
141
|
+
"team": {
|
|
142
|
+
"path": "work/Team/_index.md",
|
|
143
|
+
"count": 8
|
|
144
|
+
},
|
|
139
145
|
"projects": {
|
|
140
146
|
"path": "work/projects/_index.md"
|
|
141
147
|
},
|
|
@@ -167,10 +173,14 @@ Identity:
|
|
|
167
173
|
Timezone: Europa/Berlin (if found)
|
|
168
174
|
Source: work/AGENTS.md
|
|
169
175
|
|
|
170
|
-
Stakeholders:
|
|
176
|
+
Stakeholders (peers, bosses, external):
|
|
171
177
|
Path: work/Stakeholders/_index.md
|
|
172
178
|
Count: 32 files
|
|
173
179
|
|
|
180
|
+
Team (direct reports):
|
|
181
|
+
Path: work/Team/_index.md
|
|
182
|
+
Count: 8 files
|
|
183
|
+
|
|
174
184
|
Projects:
|
|
175
185
|
Path: work/projects/_index.md
|
|
176
186
|
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: context-discovery
|
|
3
3
|
description: Use when a skill needs Thoth KB context (identity, stakeholders, projects) and it hasn't been discovered yet this session. Called automatically by morning-boot and other context-dependent skills.
|
|
4
|
-
triggers:
|
|
5
|
-
- "discover context"
|
|
6
|
-
- "find my identity"
|
|
7
|
-
- "where is my kb"
|
|
4
|
+
triggers:
|
|
8
5
|
created: 2026-01-09
|
|
9
6
|
updated: 2026-01-10
|
|
10
7
|
---
|
|
@@ -41,7 +38,8 @@ This skill is typically invoked by other skills, not directly by user.
|
|
|
41
38
|
| Find KB root | Check config → walk up for markers → check siblings |
|
|
42
39
|
| Determine hemisphere | Parse CWD path for `/work/`, `/life/`, `/coding/` |
|
|
43
40
|
| Find email | Read `{hemisphere}/AGENTS.md`, extract from MCP config table |
|
|
44
|
-
| Find stakeholders | Check `{hemisphere}/Stakeholders/_index.md`
|
|
41
|
+
| Find stakeholders | Check `{hemisphere}/Stakeholders/_index.md` — peers, bosses, external contacts |
|
|
42
|
+
| Find team | Check `{hemisphere}/Team/_index.md` — direct reports |
|
|
45
43
|
| Cache results | Store in `.thoth-state/context.json` for session reuse |
|
|
46
44
|
|
|
47
45
|
---
|
|
@@ -115,12 +113,16 @@ Extract `user_google_email` value.
|
|
|
115
113
|
3. `{hemisphere}/_identity.md`
|
|
116
114
|
4. `kernel/config/identity.md`
|
|
117
115
|
|
|
118
|
-
### Step 6: Locate
|
|
116
|
+
### Step 6: Locate People
|
|
119
117
|
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
118
|
+
Discover BOTH categories (they serve different purposes):
|
|
119
|
+
|
|
120
|
+
**Stakeholders** (peers, bosses, external contacts):
|
|
121
|
+
- Check: `{kb_root}/{hemisphere}/Stakeholders/_index.md`
|
|
122
|
+
- Fallback: `{kb_root}/{hemisphere}/people/_index.md`
|
|
123
|
+
|
|
124
|
+
**Team** (direct reports):
|
|
125
|
+
- Check: `{kb_root}/{hemisphere}/Team/_index.md`
|
|
124
126
|
|
|
125
127
|
### Step 7: Build Context Object
|
|
126
128
|
|
|
@@ -136,6 +138,10 @@ Check in order (use first that exists):
|
|
|
136
138
|
"path": "work/Stakeholders/_index.md",
|
|
137
139
|
"count": 32
|
|
138
140
|
},
|
|
141
|
+
"team": {
|
|
142
|
+
"path": "work/Team/_index.md",
|
|
143
|
+
"count": 8
|
|
144
|
+
},
|
|
139
145
|
"projects": {
|
|
140
146
|
"path": "work/projects/_index.md"
|
|
141
147
|
},
|
|
@@ -167,10 +173,14 @@ Identity:
|
|
|
167
173
|
Timezone: Europa/Berlin (if found)
|
|
168
174
|
Source: work/AGENTS.md
|
|
169
175
|
|
|
170
|
-
Stakeholders:
|
|
176
|
+
Stakeholders (peers, bosses, external):
|
|
171
177
|
Path: work/Stakeholders/_index.md
|
|
172
178
|
Count: 32 files
|
|
173
179
|
|
|
180
|
+
Team (direct reports):
|
|
181
|
+
Path: work/Team/_index.md
|
|
182
|
+
Count: 8 files
|
|
183
|
+
|
|
174
184
|
Projects:
|
|
175
185
|
Path: work/projects/_index.md
|
|
176
186
|
|
package/dist/index.js
CHANGED
|
@@ -7403,16 +7403,15 @@ var THOTH_INTENT_GATE = `<Phase_0_Intent_Gate>
|
|
|
7403
7403
|
|
|
7404
7404
|
Before ANY action, classify the incoming request:
|
|
7405
7405
|
|
|
7406
|
-
### Step 0: Check for Skills
|
|
7407
|
-
**
|
|
7406
|
+
### Step 0: Check for Skills (BLOCKING)
|
|
7407
|
+
**CRITICAL: Check the \`<Skill_Routing>\` section above for trigger phrases.**
|
|
7408
7408
|
|
|
7409
|
-
|
|
7410
|
-
|
|
7411
|
-
|
|
7412
|
-
|
|
7413
|
-
|
|
7414
|
-
|
|
7415
|
-
| "Check my email", "email triage" | \`skill({ skill: "mail-triage" })\` |
|
|
7409
|
+
If user intent matches ANY skill trigger:
|
|
7410
|
+
1. **INVOKE the skill IMMEDIATELY** using \`skill({ skill: "skill-name" })\`
|
|
7411
|
+
2. **DO NOT** use \`slashcommand\` \u2014 always use the \`skill\` tool
|
|
7412
|
+
3. **DO NOT** proceed to Step 1 until skill is invoked
|
|
7413
|
+
|
|
7414
|
+
The \`<Skill_Routing>\` section contains dynamically discovered triggers from all available skills.
|
|
7416
7415
|
|
|
7417
7416
|
### Step 1: Identify Hemisphere(s)
|
|
7418
7417
|
| Signal | Hemisphere |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "thoth-plugin",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.11",
|
|
4
4
|
"description": "Thoth - Root-level life orchestrator for OpenCode. Unified AI chief of staff combining Sisyphus execution quality, Personal-OS rhythms, and Thoth relationship model.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|