Skip to content

[External State] Docs and implementation diverge on gitignore behavior #1400

Closed

Description

@dat-intellis

Summary

Docs and implementation diverge on .gitignore behavior for externalize/internalize.

Evidence

  • Docs say externalize adds .squad/ to .gitignore:
    • docs/src/content/docs/features/external-state.md:103
  • Docs say internalize removes .squad/ from .gitignore:
    • docs/src/content/docs/features/external-state.md:124
  • Implementation appends only .squad/config.json ignore block:
    • packages/squad-cli/src/cli/commands/externalize.ts:217-229
  • runInternalize(...) has no gitignore cleanup:
    • packages/squad-cli/src/cli/commands/externalize.ts:169-198

Expected

Either code and docs agree on full behavior, or docs are corrected to match actual behavior.

Actual

Current docs and code describe different ignore semantics.

Activity

  1. bradygaster commented on Jun 30, 2026

    @bradygaster
    Collaborator

    Fixed in PR #1426 (docs overhaul). Will auto-close on merge.

  2. dat-intellis commented on Jul 12, 2026

    @dat-intellis
    Author

    Fixed in PR #1426 (docs overhaul). Will auto-close on merge.

    Would it not make more sense to either A) correct the gitignore file after internalizing state? Or B) at least write a note for the user to edit it accordingly?

  3. added a commit that references this issue on Jul 13, 2026
    f03cc78
  4. added a commit that references this issue on Aug 13, 2026
    54f699f
  5. added
    stalled-initiativeWork area that was started but never completed — cut, close, finish, or reprioritize
    on Aug 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    stalled-initiativeWork area that was started but never completed — cut, close, finish, or reprioritize

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions