Enable incorporation of developer/organizational preferences in preparation of tasks.md

Open
#2,175 0 comments 1 reaction 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Active
Tech stack
typescript

Research direction

The issue names OpenSpec and tasks.md but no implementation files or tests. Start by locating how OpenSpec prepares tasks.md and how it currently reads developer instructions. Done means team preferences for workflow gates can be represented and incorporated into generated tasks; the issue leaves their format and scope to be designed.

Written by the indexing model from the issue text.

Description

enhancement needs-triage
The problem, in one or two sentences

Different development teams have different protocols around certain common workflows, especially when it comes to working with agents. Some teams might require performing an agentic review (e.g., /review in Claude Code or GH Copilot), or requesting an @copilot review on a PR submission.

Tasks routinely don't clearly state check-in behaviors expected, which should conform to team norms (which makes this even more fun to describe). I personally prefer commits on completion of each task group as the last step, so that I can backtrack to a previous step if I need to start over again.

From my perspective, I have a rule that before PR, a review should be done, and after all PR checks complete and the build is green, then and only then to I archive/sync the work. That's realistically my last task group, get the PR to green, and then archive sync the work so that if anything goes wrong, I can still update the design, specs, and tasks.

The one before it is get the PR submitted, which has it's own process of a) perform an agentic review, b) submiit the PR (with certain tags included) as a draft, c) requeust @copilot review, d) coordinate and address review feedback from the agent and gh @copilot.

What all of this boils down to is that there should be a way to layer team norms and guidelines for certain commonly controlled/gated behaviors into how tasks are written, so that these are incorporated into the tasks themselves, so that the agent after creating a tasks.md is following the developer's process.

I'm not sure what shape this feature would have in OpenSpec, but it goes a long way towards making it more customizable to agentic development processes which organizations are getting more structure around as they continue their exploration of agentically assisted development.

Who this affects

Everyone

Alternatives you considered

I have a CLAUDE.md which after running openspec handles some of this, but sometimes forgets a moment after and has to go back and correct itself. Most commonly forgotten are the /review steps, and a commit after each group.

Why it's worth the added complexity

Different teams have different preferences, often configured in CLAUDE on an organization, user, or even project level.

What you have in mind

There are some commonly observed control points often found in published best practices (whether you agree with them or not, those can at least tell you what users care about),. For example, these include gates and expected behaviors for submitting a PR, gates for committing, processes for handling review findings. OpenSpec can ask the agent at these control points to ensure that tasks.md is following these user preferences. If there was a strccuted way to express some of these at a project, user, or event organization level content, it would make using OpenSpec easier for teams to adopt where such processes and gates are already present.

Dominant language
TypeScript
Stars
76k
Forks
5.2k
Avg merge
1d 5h
Merged PRs (30d)
58

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Fission-AI/OpenSpec

All issues in Fission-AI/OpenSpec

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.