mirror of
https://github.com/thegeneralist01/config.git
synced 2026-10-09 12:55:25 +02:00
aerospace: assign apps to workspaces on-window-detected
This commit is contained in:
parent
691dfad298
commit
ff7e33c0af
23 changed files with 572 additions and 4 deletions
12
modules/dotfiles/omp/prompts/implement-and-review.md
Normal file
12
modules/dotfiles/omp/prompts/implement-and-review.md
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
---
|
||||
description: l-worker implements → l-reviewer reviews → l-worker applies feedback
|
||||
---
|
||||
Sequential `task` chain for:
|
||||
|
||||
$@
|
||||
|
||||
1. `agent: "l-worker"` — implement the request.
|
||||
2. `agent: "l-reviewer"` — review the implementation (read-only); use worker summary + paths.
|
||||
3. `agent: "l-worker"` — apply reviewer feedback only (minimal fixes).
|
||||
|
||||
Pass outputs between steps. End with a short summary of changes + remaining risks.
|
||||
13
modules/dotfiles/omp/prompts/implement.md
Normal file
13
modules/dotfiles/omp/prompts/implement.md
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
---
|
||||
description: l-scout → l-planner → l-worker full implementation
|
||||
---
|
||||
Sequential `task` chain for:
|
||||
|
||||
$@
|
||||
|
||||
1. `agent: "l-scout"` — find all code relevant to the task.
|
||||
2. `agent: "l-planner"` — implementation plan from scout context (no edits).
|
||||
3. `agent: "l-worker"` — implement the plan from planner output.
|
||||
|
||||
Pass each step's result into the next task instructions.
|
||||
After the worker finishes, briefly summarize what changed.
|
||||
15
modules/dotfiles/omp/prompts/planflow.md
Normal file
15
modules/dotfiles/omp/prompts/planflow.md
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
---
|
||||
description: l-scout recon → l-expert plan/review (no implementation)
|
||||
---
|
||||
Run a sequential two-agent advisory flow using the `task` tool (not parallel).
|
||||
|
||||
Task:
|
||||
$@
|
||||
|
||||
Flow:
|
||||
1. Spawn `task` with `agent: "l-scout"` — cheap recon: relevant files, constraints, findings for the task above.
|
||||
2. When scout returns, spawn `task` with `agent: "l-expert"` — plan/review/recommendation. Include the scout output in full (or via a `local://` path if huge) as context.
|
||||
|
||||
Rules:
|
||||
- Do **not** implement or edit files unless the user already explicitly asked for implementation.
|
||||
- Return the expert recommendation clearly; ask before making changes if they did not request implementation.
|
||||
11
modules/dotfiles/omp/prompts/scout-and-plan-impl.md
Normal file
11
modules/dotfiles/omp/prompts/scout-and-plan-impl.md
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
---
|
||||
description: l-scout → l-planner implementation plan only (no coding)
|
||||
---
|
||||
Sequential `task` flow for:
|
||||
|
||||
$@
|
||||
|
||||
1. `agent: "l-scout"` — find all code relevant to the task.
|
||||
2. `agent: "l-planner"` — using scout findings, produce a concrete implementation plan only.
|
||||
|
||||
Do **not** implement — return the plan.
|
||||
11
modules/dotfiles/omp/prompts/scout-and-plan.md
Normal file
11
modules/dotfiles/omp/prompts/scout-and-plan.md
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
---
|
||||
description: l-scout gathers context, l-expert recommends (no implementation)
|
||||
---
|
||||
Sequential `task` flow for:
|
||||
|
||||
$@
|
||||
|
||||
1. `agent: "l-scout"` — find relevant code and constraints.
|
||||
2. `agent: "l-expert"` — using scout findings, provide plan/recommendation only.
|
||||
|
||||
Do **not** implement. Return compact findings + recommendation.
|
||||
17
modules/dotfiles/omp/prompts/workspace-sweep.md
Normal file
17
modules/dotfiles/omp/prompts/workspace-sweep.md
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
---
|
||||
description: Audit current jj workspace state and propose next actions
|
||||
---
|
||||
Audit the current workspace with a jj-first workflow.
|
||||
|
||||
Use read-only inspection and summarize:
|
||||
1. Current workspace/change state
|
||||
2. Files changed and risk hotspots
|
||||
3. Suggested next actions (commit/split/rebase/test)
|
||||
|
||||
Suggested commands:
|
||||
- `jj workspace list --color=never`
|
||||
- `jj status --color=never`
|
||||
- `jj log -r @-::@ --no-graph`
|
||||
- `jj diff --color=never`
|
||||
|
||||
No file edits unless the user asks.
|
||||
17
modules/dotfiles/omp/prompts/workspace-team.md
Normal file
17
modules/dotfiles/omp/prompts/workspace-team.md
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
---
|
||||
description: l-scout + l-expert in a specific workspace (first arg = cwd)
|
||||
---
|
||||
Run a two-agent advisory flow in this workspace:
|
||||
|
||||
Workspace (cwd):
|
||||
$1
|
||||
|
||||
Task:
|
||||
${@:2}
|
||||
|
||||
Sequential `task` spawns, each with working directory / focus on `"$1"`:
|
||||
1. `agent: "l-scout"` — cheap recon for the task in that workspace.
|
||||
2. `agent: "l-expert"` — recommendation/review using scout output.
|
||||
|
||||
Do **not** implement automatically.
|
||||
Final output: relevant files, recommendation, validation steps, remaining risks.
|
||||
Loading…
Add table
Add a link
Reference in a new issue