Skip to content

agents: align guidance with current workflows#1266

Merged
simonklee merged 1 commit into
mainfrom
ot-agents-md
Jul 14, 2026
Merged

agents: align guidance with current workflows#1266
simonklee merged 1 commit into
mainfrom
ot-agents-md

Conversation

@simonklee

Copy link
Copy Markdown
Member

I tried rewriting the AGENTS.md around the workflows and failure modes that recur in
current OpenTUI development.

I had opencode look at:

  • The most recent 50 commits, especially runtime portability, native lifecycle,
    renderer behavior, terminal width, and FFI changes.
  • My OpenCode sessions to identify recurring agent mistakes and unnecessary
    abstractions.
  • Current package scripts, CI workflows, development documentation, and runtime
    implementations.

The previous guide mixed project-specific constraints with generic
TypeScript advice. I think many of these were stale.

The replacement keeps the guide to that cannot be inferred from nearby
code: ownership across TypeScript and Zig, display-cell width semantics,
package-specific verification, Bun and Node portability, terminal-driven
debugging, and borrowed FFI pointer lifetimes.

If this turns out to not work lets revert to the previous one and iterate in
smaller steps.

I tried rewriting the `AGENTS.md` around the workflows and failure modes that recur in
current OpenTUI development.

I had opencode look at:

- The most recent 50 commits, especially runtime portability, native lifecycle,
  renderer behavior, terminal width, and FFI changes.
- My OpenCode sessions to identify recurring agent mistakes and unnecessary
  abstractions.
- Current package scripts, CI workflows, development documentation, and runtime
  implementations.

The previous guide mixed project-specific constraints with generic
TypeScript advice. I think many of these were stale.

The replacement keeps the guide to that cannot be inferred from nearby
code: ownership across TypeScript and Zig, display-cell width semantics,
package-specific verification, Bun and Node portability, terminal-driven
debugging, and borrowed FFI pointer lifetimes.

If this turns out to not work lets revert to the previous one and iterate in
smaller steps.
@simonklee simonklee self-assigned this Jul 14, 2026
@simonklee simonklee requested a review from Hona as a code owner July 14, 2026 08:17
@simonklee simonklee merged commit cdd15e6 into main Jul 14, 2026
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant