Repository navigation
cases: gt-web-client (WEB OPEN / CONVERSE / CLOSE to a stated origin peer) (gitgalaxy#4767 C5) - #44
Merged
Merged
Conversation
…peer: 200 round trip, 404; CONVERSE after CLOSE designed out); peers gain optional host, new WEB-OPEN / WEB-CONVERSE / WEB-CLOSE events (gitgalaxy#4767 C5) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Step C5 of gitgalaxy#4767: the client role on the C2 peer model.
Case
gt-web-client(GT85 / GTWCLI):WEB OPENhost,WEB CONVERSEGET /gt/item,WEB CLOSE, result shown by SEND TEXT.ok: orders.example answers 200,item=42(TOLENGTH 7).notfound: gone.example answers 404,no such item; a 404 is NORMAL, the status is data.Format (additive, no major bump):
peers.<id>.hostmakes a peer an origin server; new eventsWEB-OPEN,WEB-CONVERSE,WEB-CLOSE.tools/validate.pychecks OPEN host -> stated peer, the nth CONVERSE against the peer script (status, body), session pairing, and script length. SPEC sections 2/5/6/9, both schemas and the README table updated.Checks:
python3 tools/validate.py48/48;--self-testok;tools/syntax_check.pyall programs compile; negative mutations (unstated host, status/body mismatch, no CLOSE, CONVERSE without OPEN, extra scripted response) are each rejected.Cross-repo: no companion PR. When gitgalaxy's
cics_cruciblerunner arrives it must handle the three events and origin peers. No tag, no pin change. Note: README's "43 cases and 158 scenarios" was already stale and is untouched.🤖 Generated with Claude Code