Skip to content

docs: document issue lifecycle labels and roadmap sequencing - #2524

Open
krishicks wants to merge 1 commit into
mainfrom
hicks/push-korllpnmymol
Open

docs: document issue lifecycle labels and roadmap sequencing#2524
krishicks wants to merge 1 commit into
mainfrom
hicks/push-korllpnmymol

Conversation

@krishicks

Copy link
Copy Markdown
Collaborator

Summary

Add a published Issue Triage and Lifecycle page and align AGENTS.md, CONTRIBUTING.md, README.md, the PR template, and the issue-handling skills on the state:/agent: label model.

This is meant to make it easier for us to manage the open issues and PRs in the project. Presently it's not easy to know which issues are validated and/or accepted, for example. This also clarifies the state machine for issues that are going to be owned by an agent.

Related Issue

Changes

Testing

  • mise run pre-commit passes
  • Unit tests added/updated
  • E2E tests added/updated (if applicable)

Checklist

  • Follows Conventional Commits
  • Commits are signed off (DCO)
  • Architecture docs updated (if applicable)

Add a published Issue Triage and Lifecycle page and align AGENTS.md,
CONTRIBUTING.md, README.md, the PR template, and the issue-handling
skills on the state:*/agent:* label model.

Signed-off-by: Kris Hicks <khicks@nvidia.com>
@github-actions

Copy link
Copy Markdown

---
name: build-from-issue
description: Given a GitHub issue number, plan and implement the work described in the issue. Operates iteratively - creates an implementation plan, responds to feedback, and only builds when the 'state:agent-ready' label is applied. Includes tests, documentation updates, and PR creation. Trigger keywords - build from issue, implement issue, work on issue, build issue, start issue.
description: Given a GitHub issue number, plan and implement the work described in the issue. Operates iteratively through a human-controlled agent workflow, planning when `agent:plan-requested` is applied and building only when `agent:implementation-requested` is applied. Includes tests, documentation updates, and PR creation. Trigger keywords - build from issue, implement issue, work on issue, build issue, start issue.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I've had a few times where the build-from-issue refuses to work on a ticket because its missing one of these labels. "I won't work on this until label X is applied", which I thought was interesting.

In a way, this system will further encourage that workflow, right? If I try to build-from-issue an issue that doesn't have agent:* applied, should it just fail?

I guess in my mind the challenge comes from manually-controlled agents (e.g me asking codex to implement issue XYZ), and some future automatic-agent that sees the label and auto-picks it up. I'm wondering if there will be a race condition there, where to proceed with my agent, I have to mark the issue, but then in the process of doing so I effectively enqueue the work for our pool of agents.

Not something we have to solve now, but just sharing the pitfalls of how I've used this skill so far

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

That's a reasonable concern. I think there's a distinction between an always-on agent that we have watching for labels on issues to take action on and a human directing an agent to do something on an issue. I don't think we want to block the latter. I'll try revising this to account for that distinction.

@pimlock pimlock left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This looks good IMO, I haven't reviewed all the small changes, my assumption is the overall approach was to define the new process (the issue-lifecycle doc), give that to the agent to update all existing skills/documentation around this?

Once this lands, we'll need to migrate some of the existing labels, right? E.g. the state:... -> agent:....

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Right now, our docs are mostly about how to use openshell. For contributors-like docs we have bunch of .md files (CONTRIBUTING, STYLEGUIDE, etc.).

I can see how this is somewhere in the middle, if I'm a user and want to submit an issue maybe this doc could be useful? However for user submitting an issue, the process should be clear from the github -> new issue, rather than having to review more documentation.

If we wanted to include a page like this, I think this may need a new section, e.g. "Contributing", where we include things like "how to create an issue", but it would probably didn't need all the details in here?

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.

3 participants