homelab/.github/prompts/session-status.prompt.md
nathan 016d38d5ab feat(prompts): add Docker service lifecycle and session management workflows
- Add service management prompts (review, standardize, troubleshoot, integration)
- Add Docker Swarm migration and tutoring workflows (swarm-migration, swarm-tutor)
- Add SSO onboarding guide for Authentik integration (sso-onboarding)
- Add session lifecycle prompts (start, end, status) for context continuity
- Add node bootstrap scripts for Debian Trixie (day0bootstrap.sh) and Ubuntu/Debian (pi_init.sh)

These prompts implement gated, step-by-step workflows with explicit confirmation
requirements to prevent accidental changes during service operations. Bootstrap
scripts standardize IP configuration (10.0.0.200) and install Docker + Ansible
on new nodes.
2026-04-12 16:30:53 -04:00

1.0 KiB

description
description
VS Code Cognitive Reset: Scans active buffers to detect drift and realign.

Cognitive Realignment (VS Code Edition)

Phase 1: Context Retrieval (RAG)

Execute these lookups to ground your analysis:

  1. Search Workspace: @core.instructions.md for "Cognitive Stabilization Protocol".
  2. Search Workspace: SESSION_SNAPSHOT*.md (limit 1, sort newest) to retrieve the Last Known Truth.
  3. Analyze State: Read the currently active file and the last 10 lines of the terminal (if accessible) to determine Current Action.

Phase 2: The Drift Check

Compare Current Action (Step 3) against Last Known Truth (Step 2).

  • Drift Criteria: Are we editing files unrelated to the Snapshot's "Next Session Priorities"?
  • Decision: If yes, initiate Pruning Sequence.

Phase 3: The Output

Generate the "Heads-Up Display" defined in the retrieved Protocol.

  • Action: If a specific command is needed to get back on track (e.g., git checkout main), provide it.