Skip to content

OPENCODE: Compaction template - structured Markdown #429

@Hmbown

Description

@Hmbown

Summary

Replace today's free-form compaction prompt with Goal / Constraints / Progress / Done / In Progress / Blocked / Key Decisions; pin certain tool outputs as protected.

Acceptance criteria

  • Template at crates/tui/src/prompts/compaction.md.
  • Pinned-tool list configurable.
  • Cycle-boundary uses it.

Files

crates/tui/src/cycle_manager.rs; new prompt file

Size

S

Source

Source tag: OPENCODE. Add exact upstream/opencode source links during implementation if they are not already known. Do not copy external code blindly; port the behavior into this repo's architecture.

Filed from 2026-05-02 v0.8.8 intake.

Metadata

Metadata

Assignees

No one assigned

    Labels

    contextContext management / contextenhancementNew feature or requestv0.8.8Targeting v0.8.8

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions