Skip to content

docs(rfc): propose the OpenShell Software Factory (RFC 0026) - #6093

Draft
purp wants to merge 15 commits into
ai-openshell:mainfrom
purp:docs/6092-software-factory-rfc/purp
Draft

purp wants to merge 15 commits into
ai-openshell:mainfrom
purp:docs/6092-software-factory-rfc/purp

Conversation

@purp

@purp purp commented Nov 30, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds RFC 0026, an umbrella proposal for the OpenShell Software Factory: a structure in which teams of single-purpose agents turn issues and pull requests into acceptable code across the project's repositories. The RFC is in draft state and still being written; this PR is open early for sharing.

Related Issue

Closes #6092

Changes

  • Add rfc/0026-openshell-factory/README.md.
  • The RFC asks reviewers to agree on the factory's purpose, its structure and approach, the contract for adding and triggering agents, and how the project decides how much human supervision work needs.

Release Notes

Testing

  • Checks appropriate to the affected code and behavior pass (pre-commit, including markdown lint and format)
  • Unit tests added/updated (if applicable)
  • E2E tests added/updated (if applicable)

Checklist

  • Follows Conventional Commits
  • Commits are signed off (DCO)

Signed-off-by: Jim Meyer <jimeyer@nvidia.com>
@purp purp added area:build CI/CD workflows, releases, build targets, packaging, and artifact publication. topic:architecture System design, component boundaries, data/control flow, architectural decisions, and RFCs. topic:dx Making OpenShell easy to contribute to for humans and agents. labels Nov 30, 2026
@github-actions github-actions Bot added the state:accepted A maintainer decided OpenShell should pursue this issue label Nov 30, 2026
Signed-off-by: Jim Meyer <jimeyer@nvidia.com>
purp added 7 commits November 30, 2026 14:50
Signed-off-by: Jim Meyer <jimeyer@nvidia.com>
Signed-off-by: Jim Meyer <jimeyer@nvidia.com>
Signed-off-by: Jim Meyer <jimeyer@nvidia.com>
Signed-off-by: Jim Meyer <jimeyer@nvidia.com>
Signed-off-by: Jim Meyer <jimeyer@nvidia.com>
Signed-off-by: Jim Meyer <jimeyer@nvidia.com>
Signed-off-by: Jim Meyer <jimeyer@nvidia.com>
Comment thread rfc/0026-openshell-factory/README.md Resolved
Comment thread rfc/0026-openshell-factory/README.md Resolved
Comment thread rfc/0026-openshell-factory/README.md Resolved
Comment thread rfc/0026-openshell-factory/README.md Resolved
Comment thread rfc/0026-openshell-factory/README.md Resolved
Comment thread rfc/0026-openshell-factory/README.md Resolved
Comment thread rfc/0026-openshell-factory/README.md Resolved
Comment thread rfc/0026-openshell-factory/README.md Resolved
Signed-off-by: Jim Meyer <jimeyer@nvidia.com>
Comment thread rfc/0026-openshell-factory/README.md Resolved
purp added 3 commits December 1, 2026 10:32
Signed-off-by: Jim Meyer <jimeyer@nvidia.com>
Signed-off-by: Jim Meyer <jimeyer@nvidia.com>
Rename reviewer-catalog.md to agent-catalog.md and list agents for all three stages with job, trigger, output, and status. Split reviewers into one table per tier. Add a Measures column to the metrics catalog. In the README, point to the rubric for risk scoring detail, broaden the sources of factory events, add the agent tuner, sync agent names with the catalog, and say incident in place of accident.

Signed-off-by: Jim Meyer <jimeyer@nvidia.com>
| Criticality of impact | An operator sees wrong or missing information, or a build step breaks visibly | A sandbox or gateway cannot start, stop, or stay connected, or works unreliably. PRs or releases are blocked | Enforcement or isolation fails |
| Complexity | The touched functions are simple and the change adds little | The touched functions branch heavily, or the change adds substantial logic | The change adds new architecture or rewrites complex code |
| Dependents | Little other code depends on the touched code | Several crates or many callers depend on it | Most of the workspace depends on it |
| Widening | The change stays inside the scope the issue states | The change touches adjacent functionality | The change expands the range of affected functionality |

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I'm not convinced of the value of "widening" here but I'm leaving it for comment. I think "widening" will just see an agent update the issue to match the wider scope.

I think overall size of a PR increases risk. Larger changes can present too much context, for agents or humans. We'd rather have smaller changes flowing through quickly.

| Complexity | The touched functions are simple and the change adds little | The touched functions branch heavily, or the change adds substantial logic | The change adds new architecture or rewrites complex code |
| Dependents | Little other code depends on the touched code | Several crates or many callers depend on it | Most of the workspace depends on it |
| Widening | The change stays inside the scope the issue states | The change touches adjacent functionality | The change expands the range of affected functionality |
| Contracts and boundaries | No public contract, security boundary, or dependency changes | An additive change to a public contract, or a dependency update | A breaking change to a public contract, any change to a security boundary, or a new dependency |

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Unconvinced that dependency updates should necessarily be medium. A dependabot PR for a dependency update should be tested rigorously, but if it passes I think it should just land unsupervised.

| Dependents | Little other code depends on the touched code | Several crates or many callers depend on it | Most of the workspace depends on it |
| Widening | The change stays inside the scope the issue states | The change touches adjacent functionality | The change expands the range of affected functionality |
| Contracts and boundaries | No public contract, security boundary, or dependency changes | An additive change to a public contract, or a dependency update | A breaking change to a public contract, any change to a security boundary, or a new dependency |
| Testing | Reliable tests exercise the changed code | Tests exercise part of the changed code, or some of them are flaky or skipped | No tests exercise the changed code |

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Something about how well covered the code is by existing, mature tests vs. newly implemented or changed tests.

Also something about test quality, though that's out of scope for this RFC to do something about judging.

The chance we've got a "no tests exercise the changed code" is very low (and likely would refuse that work). The chance that it's all new and/or newly changed tests that the agent rewrote to fit its code feels high.

purp added 2 commits December 1, 2026 17:23
Replace the Complexity input with Size of change, rated on a PR from lines added and files touched. Rename Dependents to Coupling. Score risk at the start of each pass through Review, with the latest score replacing the one before.

Signed-off-by: Jim Meyer <jimeyer@nvidia.com>
Signed-off-by: Jim Meyer <jimeyer@nvidia.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:build CI/CD workflows, releases, build targets, packaging, and artifact publication. rfc state:accepted A maintainer decided OpenShell should pursue this issue topic:architecture System design, component boundaries, data/control flow, architectural decisions, and RFCs. topic:dx Making OpenShell easy to contribute to for humans and agents.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: propose the OpenShell Software Factory (RFC 0026)

3 participants