13 lines
442 B
Plaintext
13 lines
442 B
Plaintext
{
|
|
"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/"
|
|
}
|
|
}
|