Skip to content

reassess-roadmap artifact check fails despite file existing on disk and committed #1054

@jkristoph

Description

@jkristoph

Bug Report

GSD version: 0.57.1 (@glittercowboy/gsd)

What happened

reassess-roadmap M016/S01 dispatched by auto-mode after slice completion. Agent writes S01-ASSESSMENT.md, auto-commit succeeds, working tree is clean — but the dispatcher's artifact check reports "Expected artifact not found" and re-dispatches. Loops 4 times before hitting the loop detector.

Evidence

  • File exists on disk: ls -la confirms 1347 bytes at .gsd/milestones/M016/slices/S01/S01-ASSESSMENT.md
  • git status shows clean working tree
  • git log shows 4 successive chore(M016/S01): auto-commit after reassess-roadmap commits, each modifying the same file
  • No gsd/* branch exists — commits land on master (the integration branch)
  • STATE.md already advanced to S02 executing

Error message

Error: Loop detected: reassess-roadmap M016/S01 dispatched 4 times total.
Expected artifact not found.
    Expected: .gsd/milestones/M016/slices/S01/S01-ASSESSMENT.md (roadmap reassessment)
    Check branch state and .gsd/ artifacts.

Possible causes

  • Artifact check may be looking on a different branch than the one the auto-commit lands on
  • Check may run before the auto-commit flushes to disk
  • Stale filesystem state between dispatch cycles

Reproduction

  1. Complete a slice in auto-mode (e.g. S01 of a multi-slice milestone)
  2. Auto-mode dispatches reassess-roadmap M016/S01
  3. Agent writes S01-ASSESSMENT.md and it gets auto-committed
  4. Dispatcher reports artifact not found and re-dispatches
  5. Loops until loop detector kills it

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triageNew issue awaiting maintainer review

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions