feed-the-machine 1.1.0 → 1.2.0

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 (94) hide show
  1. package/bin/generate-manifest.mjs +253 -0
  2. package/bin/install.mjs +101 -2
  3. package/docs/INBOX.md +233 -0
  4. package/ftm/SKILL.md +34 -0
  5. package/ftm-audit/SKILL.md +69 -0
  6. package/ftm-brainstorm/SKILL.md +51 -0
  7. package/ftm-browse/SKILL.md +39 -0
  8. package/ftm-capture/SKILL.md +370 -0
  9. package/ftm-capture.yml +4 -0
  10. package/ftm-codex-gate/SKILL.md +59 -0
  11. package/ftm-config/SKILL.md +35 -0
  12. package/ftm-council/SKILL.md +56 -0
  13. package/ftm-dashboard/SKILL.md +34 -0
  14. package/ftm-debug/SKILL.md +84 -0
  15. package/ftm-diagram/SKILL.md +44 -0
  16. package/ftm-executor/SKILL.md +97 -0
  17. package/ftm-git/SKILL.md +60 -0
  18. package/ftm-inbox/backend/__init__.py +0 -0
  19. package/ftm-inbox/backend/__pycache__/main.cpython-314.pyc +0 -0
  20. package/ftm-inbox/backend/adapters/__init__.py +0 -0
  21. package/ftm-inbox/backend/adapters/_retry.py +64 -0
  22. package/ftm-inbox/backend/adapters/base.py +230 -0
  23. package/ftm-inbox/backend/adapters/freshservice.py +104 -0
  24. package/ftm-inbox/backend/adapters/gmail.py +125 -0
  25. package/ftm-inbox/backend/adapters/jira.py +136 -0
  26. package/ftm-inbox/backend/adapters/registry.py +192 -0
  27. package/ftm-inbox/backend/adapters/slack.py +110 -0
  28. package/ftm-inbox/backend/db/__init__.py +0 -0
  29. package/ftm-inbox/backend/db/connection.py +54 -0
  30. package/ftm-inbox/backend/db/schema.py +78 -0
  31. package/ftm-inbox/backend/executor/__init__.py +7 -0
  32. package/ftm-inbox/backend/executor/engine.py +149 -0
  33. package/ftm-inbox/backend/executor/step_runner.py +98 -0
  34. package/ftm-inbox/backend/main.py +103 -0
  35. package/ftm-inbox/backend/models/__init__.py +1 -0
  36. package/ftm-inbox/backend/models/unified_task.py +36 -0
  37. package/ftm-inbox/backend/planner/__init__.py +6 -0
  38. package/ftm-inbox/backend/planner/__pycache__/__init__.cpython-314.pyc +0 -0
  39. package/ftm-inbox/backend/planner/__pycache__/generator.cpython-314.pyc +0 -0
  40. package/ftm-inbox/backend/planner/__pycache__/schema.cpython-314.pyc +0 -0
  41. package/ftm-inbox/backend/planner/generator.py +127 -0
  42. package/ftm-inbox/backend/planner/schema.py +34 -0
  43. package/ftm-inbox/backend/requirements.txt +5 -0
  44. package/ftm-inbox/backend/routes/__init__.py +0 -0
  45. package/ftm-inbox/backend/routes/__pycache__/plan.cpython-314.pyc +0 -0
  46. package/ftm-inbox/backend/routes/execute.py +186 -0
  47. package/ftm-inbox/backend/routes/health.py +52 -0
  48. package/ftm-inbox/backend/routes/inbox.py +68 -0
  49. package/ftm-inbox/backend/routes/plan.py +271 -0
  50. package/ftm-inbox/bin/launchagent.mjs +91 -0
  51. package/ftm-inbox/bin/setup.mjs +188 -0
  52. package/ftm-inbox/bin/start.sh +10 -0
  53. package/ftm-inbox/bin/status.sh +17 -0
  54. package/ftm-inbox/bin/stop.sh +8 -0
  55. package/ftm-inbox/config.example.yml +55 -0
  56. package/ftm-inbox/package-lock.json +2898 -0
  57. package/ftm-inbox/package.json +26 -0
  58. package/ftm-inbox/postcss.config.js +6 -0
  59. package/ftm-inbox/src/app.css +199 -0
  60. package/ftm-inbox/src/app.html +18 -0
  61. package/ftm-inbox/src/lib/api.ts +166 -0
  62. package/ftm-inbox/src/lib/components/ExecutionLog.svelte +81 -0
  63. package/ftm-inbox/src/lib/components/InboxFeed.svelte +143 -0
  64. package/ftm-inbox/src/lib/components/PlanStep.svelte +271 -0
  65. package/ftm-inbox/src/lib/components/PlanView.svelte +206 -0
  66. package/ftm-inbox/src/lib/components/StreamPanel.svelte +99 -0
  67. package/ftm-inbox/src/lib/components/TaskCard.svelte +190 -0
  68. package/ftm-inbox/src/lib/components/ui/EmptyState.svelte +63 -0
  69. package/ftm-inbox/src/lib/components/ui/KawaiiCard.svelte +86 -0
  70. package/ftm-inbox/src/lib/components/ui/PillButton.svelte +106 -0
  71. package/ftm-inbox/src/lib/components/ui/StatusBadge.svelte +67 -0
  72. package/ftm-inbox/src/lib/components/ui/StreamDrawer.svelte +149 -0
  73. package/ftm-inbox/src/lib/components/ui/ThemeToggle.svelte +80 -0
  74. package/ftm-inbox/src/lib/theme.ts +47 -0
  75. package/ftm-inbox/src/routes/+layout.svelte +76 -0
  76. package/ftm-inbox/src/routes/+page.svelte +401 -0
  77. package/ftm-inbox/static/favicon.png +0 -0
  78. package/ftm-inbox/svelte.config.js +12 -0
  79. package/ftm-inbox/tailwind.config.ts +63 -0
  80. package/ftm-inbox/tsconfig.json +13 -0
  81. package/ftm-inbox/vite.config.ts +6 -0
  82. package/ftm-intent/SKILL.md +44 -0
  83. package/ftm-manifest.json +3794 -0
  84. package/ftm-map/SKILL.md +50 -0
  85. package/ftm-mind/SKILL.md +173 -66
  86. package/ftm-pause/SKILL.md +43 -0
  87. package/ftm-researcher/SKILL.md +55 -0
  88. package/ftm-resume/SKILL.md +47 -0
  89. package/ftm-retro/SKILL.md +54 -0
  90. package/ftm-routine/SKILL.md +36 -0
  91. package/ftm-state/blackboard/capabilities.json +5 -0
  92. package/ftm-state/blackboard/capabilities.schema.json +27 -0
  93. package/ftm-upgrade/SKILL.md +41 -0
  94. package/package.json +6 -2
@@ -0,0 +1,27 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "title": "FTM Capabilities Snapshot",
4
+ "type": "object",
5
+ "required": ["discovered_at", "expires_at", "capabilities"],
6
+ "properties": {
7
+ "discovered_at": { "type": "string", "format": "date-time" },
8
+ "expires_at": { "type": "string", "format": "date-time" },
9
+ "capabilities": {
10
+ "type": "array",
11
+ "items": {
12
+ "type": "object",
13
+ "required": ["name", "type", "verified", "confidence"],
14
+ "properties": {
15
+ "name": { "type": "string" },
16
+ "type": { "type": "string", "enum": ["mcp", "cli", "api", "env", "browser"] },
17
+ "verified": { "type": "boolean" },
18
+ "last_verified_at": { "type": "string", "format": "date-time" },
19
+ "operations_verified": { "type": "array", "items": { "type": "string" } },
20
+ "path": { "type": "string" },
21
+ "version": { "type": "string" },
22
+ "confidence": { "type": "string", "enum": ["verified", "known", "inferred", "unavailable"] }
23
+ }
24
+ }
25
+ }
26
+ }
27
+ }
@@ -151,3 +151,44 @@ Map `CHECK_FAILED <reason>` codes to user-facing messages:
151
151
  **Cache location**: `~/.cache/ftm-brain/version-check`
152
152
  **Version file**: `~/.claude/skills/ftm-version.txt`
153
153
  **Repo**: `kkudumu/ftm-brain`
154
+
155
+ ## Requirements
156
+
157
+ - tool: `gh` | required | GitHub CLI for querying releases from kkudumu/ftm-brain
158
+ - reference: `~/.claude/skills/ftm-upgrade/scripts/check-version.sh` | required | version check and cache script
159
+ - reference: `~/.claude/skills/ftm-upgrade/scripts/upgrade.sh` | required | download and install latest release script
160
+ - reference: `~/.claude/skills/ftm-version.txt` | optional | locally installed version number
161
+
162
+ ## Risk
163
+
164
+ - level: high_write
165
+ - scope: downloads and overwrites skill files in ~/.claude/skills/ on upgrade; changes affect all ftm skill behavior going forward; irreversible without restoring previous version from backup or git
166
+ - rollback: restore from ~/.claude/skills/ backup if one was made before upgrade; or reinstall specific version by downloading an older release tarball
167
+
168
+ ## Approval Gates
169
+
170
+ - trigger: UPGRADE_AVAILABLE detected | action: show current and latest version with changelog URL, wait for explicit "yes" confirmation before running upgrade.sh
171
+ - trigger: version check during preamble (passive notice pattern) | action: show one-line notice only, do NOT ask for confirmation or interrupt workflow
172
+ - complexity_routing: micro → auto | small → auto | medium → auto | large → auto | xl → auto
173
+
174
+ ## Fallbacks
175
+
176
+ - condition: gh not installed | action: report "GitHub CLI not installed" with brew install gh instructions
177
+ - condition: no internet connection | action: report "Cannot reach GitHub. Check internet connection."
178
+ - condition: kkudumu/ftm-brain repo not found | action: report repo not found, suggest verifying access
179
+ - condition: no releases found | action: report "No releases found yet. Check back later."
180
+ - condition: upgrade.sh exits non-zero | action: report failure output, suggest running script manually
181
+
182
+ ## Capabilities
183
+
184
+ - cli: `gh` | required | GitHub CLI for release queries and download
185
+ - cli: `bash` | required | for running check-version.sh and upgrade.sh
186
+
187
+ ## Event Payloads
188
+
189
+ ### task_completed
190
+ - skill: string — "ftm-upgrade"
191
+ - action: string — "check" | "upgrade" | "already_up_to_date"
192
+ - current_version: string | null — version before upgrade
193
+ - new_version: string | null — version after upgrade (null if no upgrade)
194
+ - status: string — "success" | "failed" | "up_to_date" | "check_failed"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "feed-the-machine",
3
- "version": "1.1.0",
4
- "description": "A unified intelligence layer for Claude Code — 16 skills with OODA-based reasoning, persistent memory, and multi-model deliberation",
3
+ "version": "1.2.0",
4
+ "description": "A unified intelligence layer for Claude Code — 22 skills with OODA-based reasoning, persistent memory, multi-model deliberation, and optional operator cockpit inbox",
5
5
  "license": "MIT",
6
6
  "author": "kkudumu",
7
7
  "type": "module",
@@ -51,8 +51,12 @@
51
51
  "ftm-map/",
52
52
  "ftm-dashboard/",
53
53
  "ftm-routine/",
54
+ "ftm-capture/",
54
55
  "ftm-state/",
56
+ "ftm-inbox/",
55
57
  "ftm-config.default.yml",
58
+ "ftm-manifest.json",
59
+ "docs/INBOX.md",
56
60
  "README.md",
57
61
  "LICENSE"
58
62
  ],