Add bug fix documentation workflow to steering, add restore-kiro-config fallback hook
This commit is contained in:
12
.kiro/hooks/restore-kiro-config.kiro.hook
Normal file
12
.kiro/hooks/restore-kiro-config.kiro.hook
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"name": "Restore Kiro Config",
|
||||
"version": "1.0.0",
|
||||
"description": "Restores .kiro specs, hooks, and agents from ops/records after switching back to master (where .kiro is gitignored and gets wiped by branch switches)",
|
||||
"when": {
|
||||
"type": "userTriggered"
|
||||
},
|
||||
"then": {
|
||||
"type": "runCommand",
|
||||
"command": "git checkout ops/records -- .kiro/specs/ .kiro/hooks/ .kiro/agents/ .kiro/steering/ && git reset HEAD .kiro/"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user