Skip to content

docs: Add nap, reskill, and compact behavior documentation#448

Merged
bradygaster merged 7 commits intobradygaster:devfrom
diberry:squad/docs-nap-reskill-compact
Mar 18, 2026
Merged

docs: Add nap, reskill, and compact behavior documentation#448
bradygaster merged 7 commits intobradygaster:devfrom
diberry:squad/docs-nap-reskill-compact

Conversation

@diberry
Copy link
Copy Markdown
Collaborator

@diberry diberry commented Mar 17, 2026

Documenting the nap/reskill/compact behaviors based on community confusion about whether shutting down Squad nightly is equivalent to a nap (it's not).

New file: docs/features/context-hygiene.md

Key points:

  • Nap = /compact - actively summarizes memory files, reclaiming context space
  • Shutting down preserves files as-is - no compaction occurs
  • Reskill re-examines and validates agent skills (currently requires running from source/symlink)
  • Combined command example included for both behaviors with reporting
  • When-to-use guidance and CLI equivalents documented

Updated file: docs/reference/config.md

Added a new .squad/ - Required vs Optional Files section covering:

  • Required files table (10 files created by squad init, with purpose and editability)
  • Optional files list (--include-workflows, --include-mcp-config)
  • Hard rule callout: Squad never writes to repo root
  • Quick recovery commands (squad doctor, full reset)

Copilot AI added 6 commits March 17, 2026 13:24
Developer-oriented guide explaining:
- Directory structure (.squad/agents/{name}/)
- charter.md format and parsing
- history.md append-only learnings
- Casting system (registry, policy, history)
- Relationship between .squad/ runtime and SDK source
- How an agent 'exists' (charter + roster + routing)
- Alumni pattern for retired agents
- Cross-agent context propagation

Requested by Brady via Dina. Addresses the question: 'What does it mean
on disk to be a Squad agent?'

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Adds a new feature page documenting context hygiene commands based on
community confusion about whether shutting down Squad is equivalent to
a nap (it is not).

Key points documented:
- Nap = /compact: actively summarizes and compacts memory files
- Shutting down preserves files as-is (no compaction occurs)
- Reskill re-examines and validates agent skills
- Reskill currently requires running from source (symlink)
- Combined command example for both behaviors with reporting

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Document all 9 diagnostic checks from the doctor command source code
with their exact warning/failure messages and resolution steps.
Update cli.md example output to match real doctor output format.
Cross-link cli.md doctor section to the full troubleshooting reference.

Addresses docs-opportunities item #8.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Stripped agent-on-disk.md and agent-inclusive-sdlc.md to keep PR focused
on nap/reskill/compact behavior per Brady's preference for sparse docs.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@diberry diberry force-pushed the squad/docs-nap-reskill-compact branch from 4031b49 to 402281b Compare March 17, 2026 20:25
KalebCole pushed a commit to KalebCole/squad that referenced this pull request Mar 17, 2026
Session: 2026-02-24T0430-prs-merged
Requested by: Brady

Changes:
- Merged 6 decision inbox files into decisions.md (Cheritto, Fenster, Kovash, Marquez, McManus, Waingro)
- Deleted all inbox files (now empty)
- Created .squad/identity/prd-next-waves.md (4-wave execution plan: A=Polish, B=Reliability, C=Testing, D=Delight)
- Updated .squad/identity/now.md to reflect Wave A focus
- Created session log: .squad/log/2026-02-24T0430-prs-merged.md

PRs merged this session: bradygaster#444, bradygaster#445, bradygaster#446, bradygaster#447
Issues closed: bradygaster#400, bradygaster#389, bradygaster#417, bradygaster#391, bradygaster#402, bradygaster#405, bradygaster#404, bradygaster#407, bradygaster#431, bradygaster#429
Issues filed: bradygaster#448-bradygaster#459 (Wave A Polish items)

Process directive: All work through PRs with squad member review before merge

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
KalebCole pushed a commit to KalebCole/squad that referenced this pull request Mar 17, 2026
…gaster#448, bradygaster#450) (bradygaster#464)

- Unify agent status labels to bracket style [WORK] [STREAM] [ERR] [IDLE] across
  AgentPanel compact mode, AgentPanel normal mode, and /agents command
- Add phase prop to ThinkingIndicator: 'connecting', 'routing', 'thinking'
- Phase determines default label when no activityHint is provided
- App.tsx passes phase='connecting' when SDK not yet connected, 'routing' otherwise

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The PR added docs/features/context-hygiene.md but the test's
EXPECTED_FEATURES array was not updated, causing the count assertion
to fail (expected 34, got 35).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@bradygaster bradygaster merged commit 1468250 into bradygaster:dev Mar 18, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants