Skip to content

Proposal: Replace brittle JSON state with robust artifact inference in setup #136

@moisgobg

Description

@moisgobg

Problem Description
The current setup.toml command relies on a brittle setup_state.json file to manage setup progress and state. This approach has several drawbacks:

  • If the JSON file is deleted or out of sync, the setup process gets confused, forcing users to restart or manually patch the state.
  • Writing to and reading from a state file frequently wastes tokens and adds unnecessary file-writing tool calls.

Expected Behavior
Instead of a state file, the agent should perform an artifact audit by checking the physical presence of artifacts (like product.md, tech-stack.md, workflow.md, index.md, and tracks/), the agent can deterministically map the project state and seamlessly resume setup.

Metadata

Metadata

Assignees

Labels

area:setupRelated to conductor:setup commanddiscussionProposals or architectural changes that require consensus or further research.p1High priority. Must be fixed in the upcoming release

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions