Skip to content

generate task titles - #227

Merged
deathbyknowledge merged 3 commits into
mainfrom
esteve/ham-563-task-titles-make-each-task-have-a-descriptive-name
Jul 29, 2026
Merged

generate task titles#227
deathbyknowledge merged 3 commits into
mainfrom
esteve/ham-563-task-titles-make-each-task-have-a-descriptive-name

Conversation

@deathbyknowledge

Copy link
Copy Markdown
Owner

No description provided.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 11816d4717

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread gateway/src/process/do.ts Outdated
});
if (!started) return;

this.ctx.waitUntil(this.generateTaskTitle(message, fallback));

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Ignore stale title generation after resets

When an auto-title request is in flight and the user runs proc.reset or proc.conversation.reset, the reset path cancels run-scoped work but this waitUntil title job is not tied to a run, AbortSignal, lifecycle epoch, or conversation generation. After the model call returns, generateTaskTitle only checks that the default title still equals the fallback, which resets preserve, so a task can be retitled from a message that was just cleared; capture the generation/epoch before launching and ignore or cancel the result after reset.

AGENTS.md reference: AGENTS.md:L72-L75

Useful? React with 👍 / 👎.

@deathbyknowledge

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6dfbff1a2f

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread gateway/src/process/do.ts
let generated: string | null = null;
try {
const config = this.buildAiTextGenerateConfig();
const result = await this.kernelRpc("ai.text.generate", {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Cancel title generation on process teardown

When a new auto-titled task is reset or killed while this ai.text.generate call is in flight, the request is not tied to any AbortSignal or request controller; resetExecutionState only aborts run/tool/CodeMode controllers, so the provider call can continue until its 20s timeout after teardown. Please pass a lifecycle-owned signal that reset/kill cancels, or register this background syscall with the existing cancellation path.

AGENTS.md reference: AGENTS.md:L27-L28

Useful? React with 👍 / 👎.

@deathbyknowledge

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Can't wait for the next one!

Reviewed commit: 557df2e079

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@deathbyknowledge
deathbyknowledge merged commit 5d1d977 into main Jul 29, 2026
6 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