Repository navigation
docs: converge protected current workflow media authority #705
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
Merged
seonghobae
merged 14 commits into
main
from
docs/procedural-current-media-authority-20260913
Sep 13, 2026
Merged
Changes from 6 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
5f6935c
test: require protected current media authority docs
seonghobae 0ee17ac
docs: record protected current workflow media admission
seonghobae d12ca3b
docs: converge protected current workflow media authority
seonghobae 35f29ff
docs: restore protected history authority
seonghobae a2243b5
docs: preserve changelog newline
seonghobae 17d5edf
docs: restore changelog historical text
seonghobae 748188b
test: require accurate workflow media documentation
seonghobae 568b6dc
docs: align current workflow media contract
seonghobae abc2d3b
docs: align current workflow media contract
seonghobae 3500679
fix: restore historical changelog wording
seonghobae c4dc70f
fix: restore historical changelog context
seonghobae 8ea6a47
fix: restore #687 authority wording
seonghobae 089af44
test: prove #704 authority must be section scoped
seonghobae 164c5a8
test: scope #704 documentation authority checks
seonghobae File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| import { readFileSync } from "node:fs"; | ||
|
|
||
| import { describe, expect, it } from "vitest"; | ||
|
|
||
| describe("protected procedural current-lifecycle media documentation authority", () => { | ||
| it("records protected #704 without promoting Workflow / Task or production authority", () => { | ||
| const baseline = readFileSync("docs/product-technical-gap-baseline.md", "utf8"); | ||
| const changelog = readFileSync("CHANGELOG.md", "utf8"); | ||
| const source = readFileSync("src/agent-runtime/procedural-current-lifecycle.ts", "utf8"); | ||
|
|
||
| expect(changelog).toContain("Protected #704"); | ||
| expect(changelog).toContain("42b15e865bdf88fde622c3bba2c0b123770d18be"); | ||
| expect(changelog).toContain("e8c2002e5af8fa5611880091dab81916bb716c35"); | ||
| expect(changelog).toContain("application/json; charset=utf-8"); | ||
| expect(changelog).toContain("invalid_workflow_state_response"); | ||
| expect(changelog).toContain("best-effort cleanup"); | ||
|
|
||
| expect(baseline).toContain( | ||
| "merged PR #704 exact `42b15e865bdf88fde622c3bba2c0b123770d18be`", | ||
| ); | ||
| expect(baseline).toContain("GitHub-verified normal merge `e8c2002e5af8fa5611880091dab81916bb716c35`"); | ||
| expect(baseline).toContain("application/json; charset=utf-8"); | ||
| expect(baseline).toContain("stable `invalid_workflow_state_response`"); | ||
| expect(baseline).toContain("best-effort cleanup"); | ||
| expect(baseline).toContain("immutable release"); | ||
| expect(baseline).not.toContain("#704 transfers Workflow / Task lifecycle authority to Agent Runtime"); | ||
|
|
||
| expect(source).toContain("function isJsonMediaType(value: string | null): boolean"); | ||
| expect(source).toContain("Noema current workflow-state response used an unsupported media type"); | ||
| }); | ||
| }); |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.