Repository navigation
Make cmux-tui programmability inventory enforceable #8856
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
Merged
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
76af0dc
docs(tui): enforce programmability inventory
lawrencecchen d898471
Merge remote-tracking branch 'origin/main' into task-cmux-tui-spec-co…
lawrencecchen ab864f0
test(tui): cover trailing enum variants
lawrencecchen 3c1340a
docs(tui): resolve programmability review gaps
lawrencecchen 4075b1b
docs(tui): make current protocol risks explicit
lawrencecchen ba9b19e
docs(tui): correct short ID example
lawrencecchen 24c53b3
test(tui): cover inventory routing contracts
lawrencecchen bd4bbc2
docs(tui): enforce authority and stream routes
lawrencecchen 10a0328
test(tui): ignore comment-only wire events
lawrencecchen 60ca64b
fix(tui): exclude comments from event discovery
lawrencecchen 373410b
test(tui): require runtime-owned inventory metadata
lawrencecchen b02a3c6
fix(tui): derive inventory from runtime metadata
lawrencecchen eb69ebd
test(tui): cover autoreview contract regressions
lawrencecchen 0632b61
fix(tui): align runtime and protocol contracts
lawrencecchen 4d4df2e
test(tui): require runtime-owned menu metadata
lawrencecchen e8bb839
fix(tui): derive menu inventory from runtime metadata
lawrencecchen dd2a0d0
test(tui): cover review contract gaps
lawrencecchen 237f2a8
fix(tui): make action and event contracts truthful
lawrencecchen ac8dcf9
test(tui): cover external review hardening gaps
lawrencecchen cc4ead3
fix(tui): harden inventory authority contracts
lawrencecchen 9226485
Merge main into TUI programmability inventory
lawrencecchen 092a5f4
Merge remote-tracking branch 'origin/main' into feat-pr-8856-closeout
lawrencecchen 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| name: cmux-tui spec inventory | ||
|
|
||
| on: | ||
| pull_request: | ||
| paths: | ||
| - "cmux-tui/**" | ||
| - ".github/workflows/cmux-tui-spec.yml" | ||
| workflow_dispatch: | ||
|
|
||
| concurrency: | ||
| group: cmux-tui-spec-${{ github.workflow }}-${{ github.ref }} | ||
| cancel-in-progress: true | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| jobs: | ||
| inventory: | ||
| runs-on: ubuntu-latest | ||
| timeout-minutes: 2 | ||
| steps: | ||
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | ||
| with: | ||
| persist-credentials: false | ||
|
|
||
| - name: Check protocol and TUI action inventory | ||
| run: python3 cmux-tui/scripts/check-spec-inventory.py | ||
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 |
|---|---|---|
| @@ -1,11 +1,10 @@ | ||
| # Go Binding Style | ||
|
|
||
| Go generation is not run this round. | ||
|
|
||
| Future requirements: | ||
| Requirements: | ||
|
|
||
| - Use `context.Context` on every command method. | ||
| - Use exported Go method names and JSON tags matching wire names. | ||
| - Provide typed errors that support `errors.Is` and `errors.As`. | ||
| - Expose event and attach streams with context-aware receive methods. | ||
| - Preserve raw JSON escape hatches for forward compatibility. | ||
| - Expose typed methods for every implemented inventory command under its authority group. |
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 |
|---|---|---|
| @@ -1,11 +1,10 @@ | ||
| # Java Binding Style | ||
|
|
||
| Java generation is not run this round. | ||
|
|
||
| Future requirements: | ||
| Requirements: | ||
|
|
||
| - Provide a builder for client configuration. | ||
| - Use immutable result value objects. | ||
| - Use builders for requests with multiple optional parameters. | ||
| - Separate command, transport, decode, timeout, and protocol mismatch errors. | ||
| - Provide a synchronous stream interface first; callbacks or Flow publishers may be added later. | ||
| - Preserve the public raw request method and add typed methods for every implemented inventory command under its authority group. |
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
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.