Let's work on that. Use this prompt when the user wants execution from the available…
- User
Let's work on that.
Use this prompt when the user wants execution from the available context. The target may be conversation history, a GitHub issue or PR, a todo, a PRD, a URL, a note, or a concrete request. If the user is still exploring, debating scope, asking whether something is worth doing, or asking for options, recommend
/pac-llatinstead of starting implementation.Process:
- Resolve the target. Prefer explicit arguments, then current conversation context. Start with the smallest authoritative artifact needed to understand the request and its current state. For a GitHub issue, make the initial structured read include the body and execution-gate metadata. Reuse that complete result for target resolution and the execution gate: fields already present must not be re-fetched through another command or API shape. Before any second read of the same target, identify the specific materially missing fact that the initial result did not contain. Targeted follow-up reads remain allowed only when information is materially missing, potentially stale, or needs verification after a state transition. For a GitHub PR, read that target first with enough state and resolution metadata to recognize an obvious merged result. For a todo, read the todo first.
- Before repository preparation, decide whether execution is required. Keep this execution gate progressive and cheap:
- If authoritative evidence shows no work is needed or no execution is required, report the evidence concisely and stop.
- Do not create or switch branches, load implementation or commit skills, inspect broad comments or history, or search source files merely to double-check an obvious no-op.
- If the target is ambiguous, perform only the smallest targeted follow-up read needed to decide whether to continue or stop.
- Do not read
README.mdas startup context or by default. Read it only when it materially contributes to executing confirmed work.
- Once execution is confirmed, resolve repository state and the actual default and protected branches before implementation mutation. Implementation must not proceed on the actual default branch. Follow repository-specific execution rules before mutation; they may strengthen but not weaken this default-branch floor. Reuse applicable repository and user policy already available in context. If a specific repository-policy value remains unresolved, make only the smallest targeted read needed; do not broadly re-read
AGENTS.mdor other policy. Repository and user policy own branch naming, branch type and base strategy, additional protected branches, and whether an already-active non-protected branch is appropriate. - State the goal, assumptions, and any ambiguity. If intent or scope is unclear, ask before editing. Give a short implementation and verification plan before making changes.
- Assistant
Goal: keep session metadata intact/right-aligned on footer line 1 by truncating location only, while preserving the true narrow fallback and leaving global
joinColumns()behavior unchanged.Plan:
- Confirm repository/branch state and focused extension guidance.
- Add a regression test for long branches and narrow fallback.
- Implement a targeted first-line layout helper.
- Run focused tests, then prepare an atomic commit if clean.
- Assistant
Assumption: a location remains meaningful when it has at least four visible columns before the existing four-column gap. Below that, the current narrow layout remains preferable. The first tracer test exercises
renderFooterLines()at width 80, where today the session moves to line 2. - Assistant
Implemented issue #428 on
ladislas/bugfix/428-footer_session_layout.- Added targeted first-line truncation;
joinColumns()unchanged. - Session metadata remains intact and right-aligned.
- Genuine narrow-terminal fallback remains.
- Added realistic-width and narrow-width regression tests.
Verified:
npm test— 560 passednpm run typecheck— passed- Working tree clean
Commit:
81c00ab 🐛 fix(footer): Keep session metadata on first line - Added targeted first-line truncation;