Skip to content

Cross-run state persistence (export/import) #1606

Closed

Description

@bradygaster

Scenario

A Squad team runs backlog triage every morning via gh-aw. Each run loses all context — casting registry resets, Scribe's history vanishes, decisions.md starts empty. The team rediscovers the same patterns every day instead of building on yesterday's knowledge.

For example: Monday's triage identifies that issues labeled area/auth always need security review. Tuesday's run has no memory of this and routes them generically again.

Proposal

Add squad export-state / squad import-state CLI commands:

  • squad export-state --output squad-state.tar.gz — bundles .squad/ state (casting registry, history, decisions, routing overrides) into a portable archive
  • squad import-state --input squad-state.tar.gz — restores state before the team starts working
  • The shared component can optionally cache/restore state via Actions cache or artifact storage between runs
  • Include a --merge flag for import that combines rather than overwrites (useful for parallel workflow runs)

Value

Squad teams in CI accumulate knowledge across runs — triage gets smarter, patterns compound.

Activity

  1. added
    enhancementNew feature or improvement
    gh-awGitHub Agentic Workflows integration
    on Aug 5, 2026
  2. added
    squadSquad triage inbox — Lead will assign to a member
    on Aug 20, 2026
  3. github-actions commented on Aug 20, 2026

    @github-actions
    Contributor

    📋 Assigned to EECOM (Core Dev)

    Issue: #1606 — Cross-run state persistence (export/import)

    EECOM will pick this up in the next Copilot session.

    For Copilot coding agent: If enabled, this issue will be worked automatically.
    Otherwise, start a Copilot session and say:
    EECOM, work on issue #1606

  4. github-actions commented on Sep 10, 2026

    @github-actions
    Contributor

    🔄 Ralph — Auto-Triage

    Assigned to: RETRO
    Reason: Matched routing keyword(s): security, security review
    Source: routing-rule

    Ralph auto-triaged this issue using routing rules.
    To reassign, swap the squad:* label.

  5. 1 remaining item

  6. github-actions commented on Sep 11, 2026

    @github-actions
    Contributor

    🔄 Ralph — Auto-Triage

    Assigned to: RETRO
    Reason: Matched routing keyword(s): security, security review
    Source: routing-rule

    Ralph auto-triaged this issue using routing rules.
    To reassign, swap the squad:* label.

  7. github-actions commented on Sep 11, 2026

    @github-actions
    Contributor

    🔄 Ralph — Auto-Triage

    Assigned to: RETRO
    Reason: Matched routing keyword(s): security, security review
    Source: routing-rule

    Ralph auto-triaged this issue using routing rules.
    To reassign, swap the squad:* label.

  8. github-actions commented on Sep 11, 2026

    @github-actions
    Contributor

    🔄 Ralph — Auto-Triage

    Assigned to: RETRO
    Reason: Matched routing keyword(s): security, security review
    Source: routing-rule

    Ralph auto-triaged this issue using routing rules.
    To reassign, swap the squad:* label.

  9. github-actions commented on Sep 11, 2026

    @github-actions
    Contributor

    🔄 Ralph — Auto-Triage

    Assigned to: RETRO
    Reason: Matched routing keyword(s): security, security review
    Source: routing-rule

    Ralph auto-triaged this issue using routing rules.
    To reassign, swap the squad:* label.

  10. github-actions commented on Sep 11, 2026

    @github-actions
    Contributor

    🔄 Ralph — Auto-Triage

    Assigned to: RETRO
    Reason: Matched routing keyword(s): security, security review
    Source: routing-rule

    Ralph auto-triaged this issue using routing rules.
    To reassign, swap the squad:* label.

  11. github-actions commented on Sep 13, 2026

    @github-actions
    Contributor

    🔄 Ralph — Auto-Triage

    Assigned to: security-reviewer
    Reason: Matched routing keyword(s): Security review, security, review
    Source: routing-rule

    Ralph auto-triaged this issue using routing rules.
    To reassign, swap the squad:* label.

  12. bradygaster commented on Sep 23, 2026

    @bradygaster
    CollaboratorAuthor

    Closing as resolved — this shipped as squad export / squad import (see docs/src/content/docs/features/export-import.md), with routing/decisions/team-state preservation landed via PRs #1129, #1130, #1131.

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

    gh-awGitHub Agentic Workflows integrationpriority:p2Next sprintsquadSquad triage inbox — Lead will assign to a membersquad:retrosquad:security-reviewerAssigned to security-reviewer (Security Reviewer)triagedIssue has been triagedtype:featureNew capabilitywave:3-laterWave 3 — backlog, future

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions