Add Taiga auto-sync Codex plugin
This commit is contained in:
12
marketplace.json
Normal file
12
marketplace.json
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"name": "infra-plugins",
|
||||||
|
"interface": { "displayName": "Infra Plugins" },
|
||||||
|
"plugins": [
|
||||||
|
{
|
||||||
|
"name": "taiga-auto-sync",
|
||||||
|
"source": { "source": "local", "path": "./plugins/taiga-auto-sync" },
|
||||||
|
"policy": { "installation": "AVAILABLE", "authentication": "ON_INSTALL" },
|
||||||
|
"category": "Productivity"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
18
plugins/taiga-auto-sync/.codex-plugin/plugin.json
Normal file
18
plugins/taiga-auto-sync/.codex-plugin/plugin.json
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
{
|
||||||
|
"name": "taiga-auto-sync",
|
||||||
|
"version": "0.1.0",
|
||||||
|
"description": "Injects Taiga tracking rules on every Codex prompt.",
|
||||||
|
"author": {
|
||||||
|
"name": "Local developer"
|
||||||
|
},
|
||||||
|
"hooks": "./hooks/claude-codex-hooks.json",
|
||||||
|
"interface": {
|
||||||
|
"displayName": "Taiga Auto Sync",
|
||||||
|
"shortDescription": "Automatic Taiga tracking reminder.",
|
||||||
|
"longDescription": "Injects the IT Infra & Ops Taiga contract before each prompt.",
|
||||||
|
"developerName": "Local developer",
|
||||||
|
"category": "Productivity",
|
||||||
|
"capabilities": ["Lifecycle hooks"],
|
||||||
|
"defaultPrompt": "Help me use Taiga Auto Sync."
|
||||||
|
}
|
||||||
|
}
|
||||||
12
plugins/taiga-auto-sync/hooks/claude-codex-hooks.json
Normal file
12
plugins/taiga-auto-sync/hooks/claude-codex-hooks.json
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"hooks": {
|
||||||
|
"UserPromptSubmit": [{
|
||||||
|
"hooks": [{
|
||||||
|
"type": "command",
|
||||||
|
"command": "sh \"${CLAUDE_PLUGIN_ROOT}/hooks/taiga-reminder.sh\"",
|
||||||
|
"timeout": 3,
|
||||||
|
"statusMessage": "Checking Taiga tracking..."
|
||||||
|
}]
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
}
|
||||||
4
plugins/taiga-auto-sync/hooks/taiga-reminder.sh
Executable file
4
plugins/taiga-auto-sync/hooks/taiga-reminder.sh
Executable file
@@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
cat <<'EOF'
|
||||||
|
TAIGA AUTO-SYNC: For material IT Infra & Ops work, create or update the matching Taiga item now through the scoped launcher. Do not track read-only/no-op work. A new User Story must use the Wiki description template; preserve its state file for progress, blocked, and verified done updates.
|
||||||
|
EOF
|
||||||
Reference in New Issue
Block a user