Skip to content

Bug Report: Crashes on /start with "Memory entry requires non-empty content" during Agent 7 (init) #36

@robinr2

Description

@robinr2

When running codemachine /start with user specifications added to inputs/specifications.md, the workflow consistently crashes during Agent 7 (init) with the following error:

Image Agent 7 (init) failed after 462ms: Memory entry requires non-empty content Workflow execution failed

My spec file contains:

# Project Specifications

Overall Architecture

Frontend built with React.

Backend built with Express.js.

Real-time or turn-based multiplayer functionality (e.g., via WebSockets or REST polling).

Clean project structure for both client and server.

Frontend Requirements (React)

A polished, modern UI for the Tic Tac Toe board.

Show player names, current turn, and game status (win/lose/draw).

Prevent invalid moves.

Smooth user experience with clear interactions.

Backend Requirements (Express)

Manages game state for two connected players.

Endpoints or WebSocket logic to:

Create/join a game.

Sync moves between players.

Determine game results.

Not sure if related:
I have logged in using opencode, which then tells me: "OpenCode is already authenticated. Use /logout to sign out. "
If I logout and in again, the same message appears.

Environment
CodeMachine CLI Version: v0.7.0
Operating System: Ubuntu 24.04.3 LTS
Node.js Version: v21.4.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions