Repository navigation
feat(status): centralize work and communication semantics in Relay core #1975
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
2df16b1
39a8773
b35e587
20575e0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -124,7 +124,9 @@ | |
| "test:e2e": "vitest run --config vitest.e2e.config.ts", | ||
| "smoke:prod": "node tests/e2e/prod-smoke/prod-smoke.mjs", | ||
| "test:subscriptions:proof": "node --test tests/e2e/github-subscriptions/*.test.mjs", | ||
| "build:cli-surface": "npm --prefix packages/cli-surface run build" | ||
| "build:cli-surface": "npm --prefix packages/cli-surface run build", | ||
| "build:status": "npm --prefix packages/status run build", | ||
| "test:status": "npm --prefix packages/status test" | ||
|
Comment on lines
+128
to
+129
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. status package not in build:core; package-validation will failHigh Severity
|
||
| }, | ||
| "author": "AgentWorkforce <hello@agentrelay.com>", | ||
| "license": "Apache-2.0", | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| # Relay status core | ||
|
|
||
| One portable owner for work status, communication policy, native-evidence interpretation, PR completion rules, and transition fixtures. No database, hosted service, transport, or harness parser dependencies. | ||
|
|
||
| - Work: working, needs attention, waiting on agent, idle, waiting on PR, done, archived. Reasons explain the current activity or blocker. Freshness is separate; silence never changes state. | ||
| - Communication: Open, Knock, Allow list, Busy, Offline. Admission policy survives disconnects and Busy. Delivery adapters must recheck policy immediately before injection. | ||
| - History OSS captures and normalizes harness evidence. Hosted History stores and serves evidence. Neither owns product status, work episodes, PR completion rules, or communication policy. | ||
| - Cloud persists hosted projections and supplies PR facts. Desktop persists local projections. Both apply these rules; native-language consumers generate wire types from the exported JSON and run the same fixtures. | ||
|
|
||
| `npm run contracts` regenerates schemas and fixtures. `npm run contracts:check` detects drift. Run `npm test` for reference semantics. Publication follows the normal Relay release process; creating this package does not enable live delivery enforcement. | ||
|
|
||
| PR adapters supply fresh, stable-head provider facts and a durable event ID. Core checks episode identity, complete declared dependencies, evidence age, and all required merges before producing a transition. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win
Put the release level in the Unreleased heading.
This entry is a pending user-visible change. The heading remains
[Unreleased], andMinoris not a permitted changelog section. Change the heading to[Unreleased - Minor]and place the entry under### Added. As per coding guidelines, “The first pending user-visible change must set the heading to[Unreleased - Patch],[Unreleased - Minor], or[Unreleased - Major]”; sections must use Keep a Changelog names.🤖 Prompt for AI Agents
Source: Coding guidelines