Skip to content

Document async-stream as canonical Response::Stream helper#154

Merged
leynos merged 6 commits intomainfrom
codex/document-async-stream-for-response--stream
Jun 29, 2025
Merged

Document async-stream as canonical Response::Stream helper#154
leynos merged 6 commits intomainfrom
codex/document-async-stream-for-response--stream

Conversation

@leynos
Copy link
Copy Markdown
Owner

@leynos leynos commented Jun 29, 2025

Summary

  • update streaming design docs to drop the FrameSink proposal
  • clarify async-stream as the recommended method for Response::Stream
  • mark documentation milestone complete and add follow-up example task

Testing

  • make fmt
  • make lint
  • make test
  • markdownlint *.md **/*.md
  • nixie *.md **/*.md

https://chatgpt.com/codex/tasks/task_e_68614ec06f388322920c839d605c5ae4

Summary by Sourcery

Update documentation to drop the FrameSink design, recommend async-stream for Response::Stream, and reflect completion of the async-stream docs with a new example task

Documentation:

  • Remove FrameSink proposal and streamline streaming design docs to use a declarative model
  • Clarify and endorse the async-stream crate as the canonical way to construct Response::Stream values
  • Mark the async-stream documentation milestone as complete and add a follow-up example handler task to the roadmap

@sourcery-ai
Copy link
Copy Markdown
Contributor

sourcery-ai Bot commented Jun 29, 2025

Reviewer's Guide

This PR streamlines streaming documentation by removing the FrameSink proposal in favor of the async-stream crate as the canonical Response::Stream helper, applies formatting and numbering fixes in key design tables, and updates the roadmap to mark async-stream docs complete while adding a follow-up example task.

Class diagram for Response and async-stream usage

classDiagram
    class Response {
        <<enum>>
        +Vec(Vec<Frame>)
        +Stream(Pin<Box<dyn Stream<Item = Result<Frame, E>> + Send>>)
        +Error(E)
    }
    class Frame
    class E
    class Stream
    class async_stream {
        +stream!
        +try_stream!
    }
    Response --> Frame : uses
    Response --> Stream : uses
    Stream <.. async_stream : generated by
    async_stream ..> Response : recommended for Stream variant
Loading

File-Level Changes

Change Details Files
Adopt async-stream as the canonical Response::Stream helper in place of the FrameSink model
  • Removed all mentions of the imperative FrameSink proposal
  • Reworded handler API descriptions to highlight async-stream usage
  • Marked async-stream as the recommended and canonical streaming approach
docs/multi-packet-and-streaming-responses-design.md
docs/the-road-to-wireframe-1-0-feature-set-philosophy-and-capability-maturity.md
Align tables and list numbering in the asynchronous-outbound-messaging design doc
  • Adjusted column spacing for requirement and objective tables
  • Fixed enumeration numbering in the Connection Actor push order list
docs/asynchronous-outbound-messaging-design.md
Update roadmap to reflect async-stream documentation milestone and add example task
  • Toggled the async-stream doc checklist item to completed
  • Added a new task for an example handler demonstrating Response::Stream with async-stream
docs/asynchronous-outbound-messaging-roadmap.md

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Jun 29, 2025

Warning

Rate limit exceeded

@leynos has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 0 minutes and 19 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

📥 Commits

Reviewing files that changed from the base of the PR and between c6add81 and b9dc6fc.

📒 Files selected for processing (2)
  • docs/the-road-to-wireframe-1-0-feature-set-philosophy-and-capability-maturity.md (2 hunks)
  • docs/wireframe-1-0-detailed-development-roadmap.md (1 hunks)

Summary by CodeRabbit

  • Documentation
    • Improved formatting and alignment of tables and lists for enhanced readability and consistency across multiple design and roadmap documents.
    • Refined wording and phrasing for greater clarity and conciseness, particularly in explanations of streaming models and handler evolution.
    • Updated checklist items to reflect current status and added new documentation tasks.
    • No changes to technical content, logic, or public interfaces.

Summary by CodeRabbit

  • Documentation
    • Improved formatting and alignment of tables and lists in design documents for better readability.
    • Refined wording and explanations for clarity and conciseness across multiple documents.
    • Updated checklist items to reflect progress and added new items for example usage.
    • Enhanced recommendations and descriptions regarding the use of async-stream as a canonical approach.

Walkthrough

This update refines documentation by improving markdown formatting, correcting list numbering, and clarifying explanations in several design documents. No technical logic, control flow, or public interfaces are changed; all modifications focus on presentation, readability, and concise communication within the documentation.

Changes

File(s) Change Summary
docs/asynchronous-outbound-messaging-design.md Reformatted tables and lists for alignment and numbering; no content or logic changes.
docs/asynchronous-outbound-messaging-roadmap.md Marked a checklist item as complete and added a new incomplete checklist item for an example handler.
docs/multi-packet-and-streaming-responses-design.md Streamlined and clarified prose, updated explanations of patterns, and simplified objectives wording.
docs/the-road-to-wireframe-1-0-feature-set-philosophy-and-capability-maturity.md Revised text for clarity and brevity regarding handler return type evolution and async-stream usage.
docs/wireframe-1-0-detailed-development-roadmap.md Editorial and formatting improvements; aligned tables and standardized terminology without content changes.

Sequence Diagram(s)

No sequence diagram generated, as changes are limited to documentation formatting and clarifications.

Possibly related PRs

Poem

A hop and a skip through the docs I go,
Tidying tables, letting clarity show.
Lists now in order, columns aligned,
Each markdown detail thoughtfully refined.
With every carrot-shaped mark I leave,
Documentation’s easier to read, I believe!
🥕

✨ Finishing Touches
🧪 Generate Unit Tests
  • Create PR with Unit Tests
  • Post Copyable Unit Tests in Comment
  • Commit Unit Tests in branch codex/document-async-stream-for-response--stream

🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai auto-generate unit tests to generate unit tests for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Copy Markdown
Contributor

@sourcery-ai sourcery-ai Bot left a comment

Choose a reason for hiding this comment

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

Hey @leynos - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@leynos
Copy link
Copy Markdown
Owner Author

leynos commented Jun 29, 2025

@coderabbitai review

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Jun 29, 2025

✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 5

🔭 Outside diff range comments (1)
docs/asynchronous-outbound-messaging-design.md (1)

687-695: Success-criteria table breaches 80-column rule

Several cells run far beyond 80 columns. Consider wrapping lines inside the
cells or disabling MD013 per line to avoid future lint noise.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: ASSERTIVE
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 77fcbe9 and 6e95b39.

📒 Files selected for processing (4)
  • docs/asynchronous-outbound-messaging-design.md (4 hunks)
  • docs/asynchronous-outbound-messaging-roadmap.md (1 hunks)
  • docs/multi-packet-and-streaming-responses-design.md (3 hunks)
  • docs/the-road-to-wireframe-1-0-feature-set-philosophy-and-capability-maturity.md (2 hunks)
🧰 Additional context used
📓 Path-based instructions (1)
`**/*.md`: * Avoid 2nd person or 1st person pronouns ("I", "you", "we") * Use en...

**/*.md: * Avoid 2nd person or 1st person pronouns ("I", "you", "we")

  • Use en-oxendic spelling and grammar.
  • Paragraphs and bullets must be wrapped to 80 columns, except where a long URL would prevent this (in which case, silence MD013 for that line)
  • Code blocks should be wrapped to 120 columns.
  • Headings must not be wrapped.

⚙️ Source: CodeRabbit Configuration File

List of files the instruction was applied to:

  • docs/asynchronous-outbound-messaging-roadmap.md
  • docs/multi-packet-and-streaming-responses-design.md
  • docs/the-road-to-wireframe-1-0-feature-set-philosophy-and-capability-maturity.md
  • docs/asynchronous-outbound-messaging-design.md
🧠 Learnings (2)
docs/multi-packet-and-streaming-responses-design.md (1)
Learnt from: CR
PR: leynos/wireframe#0
File: docs/multi-packet-and-streaming-responses-design.md:0-0
Timestamp: 2025-06-27T13:20:55.648Z
Learning: The async-stream crate's macros (stream! and try_stream!) allow developers to write imperative-style code with yield statements that are transformed into proper Stream objects, making dynamic or large streaming responses ergonomic and idiomatic in Rust.
docs/the-road-to-wireframe-1-0-feature-set-philosophy-and-capability-maturity.md (1)
Learnt from: CR
PR: leynos/wireframe#0
File: docs/multi-packet-and-streaming-responses-design.md:0-0
Timestamp: 2025-06-27T13:20:55.648Z
Learning: The async-stream crate's macros (stream! and try_stream!) allow developers to write imperative-style code with yield statements that are transformed into proper Stream objects, making dynamic or large streaming responses ergonomic and idiomatic in Rust.
🪛 LanguageTool
docs/asynchronous-outbound-messaging-design.md

[uncategorized] ~73-~73: Loose punctuation mark.
Context: ...low_priority_push_rx: mpsc::Receiver`: For standard, non-urgent background ...

(UNLIKELY_OPENING_PUNCTUATION)

🔇 Additional comments (1)
docs/asynchronous-outbound-messaging-design.md (1)

73-75: Double-space and line-length violation in list item

There is an unintended double space before “background” and the line breaks the
80-column rule. Tighten the spacing and wrap the description.

-2. `low_priority_push_rx: mpsc::Receiver<F>`: For standard, non-urgent
-   background messages like log forwarding or secondary status updates.
+2. `low_priority_push_rx: mpsc::Receiver<F>`: For standard, non-urgent
+   background messages such as log forwarding or secondary status updates.

Likely an incorrect or invalid review comment.

Comment on lines +32 to +35
- [x] **Document `async-stream`** for creating `Response::Stream` values
([Roadmap #2.4][roadmap-2-4]).
- [ ] **Example handler using `async-stream`** demonstrating `Response::Stream`
generation in the examples directory.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🧹 Nitpick (assertive)

Bullet exceeds 80-column guideline and should be wrapped

The added bullet for the example handler is > 100 characters, violating the
project’s 80-column wrap rule for paragraphs / bullets.

- - [ ] **Example handler using `async-stream`** demonstrating `Response::Stream` generation in the examples directory.
+ - [ ] **Example handler using `async-stream`** demonstrating `Response::Stream`
+   generation in the *examples* directory.

Committable suggestion skipped: line range outside the PR's diff.

🤖 Prompt for AI Agents
In docs/asynchronous-outbound-messaging-roadmap.md around lines 32 to 35, the
bullet point describing the example handler using async-stream exceeds the
80-column limit. Break this long bullet into multiple lines so that no line
exceeds 80 characters, ensuring proper indentation for wrapped lines to maintain
markdown formatting and readability.

Comment on lines +63 to +68
imperative-style logic (e.g., inside a `for` loop), `wireframe` adopts and
recommends the `async-stream` crate. This crate provides macros (`stream!` and
`try_stream!`) that transform imperative `yield` statements into a fully
compliant `Stream` object. This gives developers the best of both worlds: the
intuitive feel of imperative code generation without the API complexity of a
separate `FrameSink` type.
compliant `Stream` object. This gives developers the intuitive feel of
imperative code generation with minimal API complexity. The library recommends
this pattern as the canonical way to build `Response::Stream` values.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🧹 Nitpick (assertive)

Minor line-length breach – wrap for consistency

Lines 63-66 run a little past 80 columns. While tables are exempt, regular
paragraphs are not. Consider a soft wrap to stay consistent with the coding
guidelines.

🤖 Prompt for AI Agents
In docs/multi-packet-and-streaming-responses-design.md around lines 63 to 68,
the paragraph lines exceed the 80-column limit. To fix this, reformat the text
by inserting line breaks at appropriate points to ensure no line goes beyond 80
characters, maintaining readability and consistency with the coding guidelines.

Comment on lines +42 to 49
| ID | Requirement |
| --- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
| G1 | Any async task must be able to push frames to a live connection. |
| G2 | Ordering-safety: Pushed frames must interleave correctly with normal request/response traffic and respect any per-message sequencing rules. |
| G3 | Back-pressure: Writers must block (or fail fast) when the peer cannot drain the socket, preventing unbounded memory consumption. |
| G4 | Generic—independent of any particular protocol; usable by both servers and clients built on wireframe. |
| G5 | Preserve the simple “return a reply” path for code that does not need pushes, ensuring backward compatibility and low friction for existing users. |
| G1 | Any async task must be able to push frames to a live connection. |
| G2 | Ordering-safety: Pushed frames must interleave correctly with normal request/response traffic and respect any per-message sequencing rules. |
| G3 | Back-pressure: Writers must block (or fail fast) when the peer cannot drain the socket, preventing unbounded memory consumption. |
| G4 | Generic—independent of any particular protocol; usable by both servers and clients built on wireframe. |
| G5 | Preserve the simple “return a reply” path for code that does not need pushes, ensuring backward compatibility and low friction for existing users. |

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot Jun 29, 2025

Choose a reason for hiding this comment

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

🧹 Nitpick (assertive)

Table rows exceed 80 columns

The requirement rows G2–G5 are ~130 chars each. To satisfy MD013 you can either
soft-wrap the cell contents or silence the rule for those lines with
<!-- markdownlint-disable-line MD013 -->.

🤖 Prompt for AI Agents
In docs/asynchronous-outbound-messaging-design.md around lines 42 to 49, the
table rows for requirements G2 to G5 exceed 80 characters, violating the MD013
markdownlint rule. To fix this, either soft-wrap the long cell contents by
breaking the text into multiple lines within the same cell or add a markdownlint
disable comment like <!-- markdownlint-disable-line MD013 --> at the end of
those lines to silence the rule for them.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Table rows are allowed to exceed 80 columns

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@leynos, understood! I've noted that table rows are exempt from the 80-column wrapping requirement for markdown files.


✏️ Learnings added
Learnt from: leynos
PR: leynos/wireframe#154
File: docs/asynchronous-outbound-messaging-design.md:42-49
Timestamp: 2025-06-29T16:50:55.852Z
Learning: In markdown files, table rows are allowed to exceed 80 columns and are exempt from the MD013 wrapping rule, even though paragraphs and bullets must be wrapped to 80 columns.

Note: Learnings are effective only in the context of similar code segments. To apply general coding guidelines, please configure review instructions. You can manage existing learnings in the app.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 4

📜 Review details

Configuration used: CodeRabbit UI
Review profile: ASSERTIVE
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 6e95b39 and c6add81.

📒 Files selected for processing (1)
  • docs/wireframe-1-0-detailed-development-roadmap.md (1 hunks)
🧰 Additional context used
📓 Path-based instructions (7)
`docs/**/*.md`: Use the markdown files within the `docs/` directory as a knowled...

docs/**/*.md: Use the markdown files within the docs/ directory as a knowledge base and source of truth for project requirements, dependency choices, and architectural decisions.
Proactively update the relevant file(s) in the docs/ directory to reflect the latest state when new decisions are made, requirements change, libraries are added/removed, or architectural patterns evolve.
Documentation in the docs/ directory must use en-GB-oxendict spelling and grammar, except for the word 'license'.

📄 Source: CodeRabbit Inference Engine (AGENTS.md)

List of files the instruction was applied to:

  • docs/wireframe-1-0-detailed-development-roadmap.md
`**/*.md`: Validate Markdown files using `markdownlint *.md **/*.md`. Run `mdfor...

**/*.md: Validate Markdown files using markdownlint *.md **/*.md.
Run mdformat-all after any documentation changes to format all Markdown files and fix table markup.
Validate Markdown Mermaid diagrams using the nixie CLI by running nixie *.md **/*.md.
Markdown paragraphs and bullet points must be wrapped at 80 columns.
Code blocks in Markdown files must be wrapped at 120 columns.
Tables and headings in Markdown files must not be wrapped.

📄 Source: CodeRabbit Inference Engine (AGENTS.md)

List of files the instruction was applied to:

  • docs/wireframe-1-0-detailed-development-roadmap.md
`docs/**/wireframe-1-0-detailed-development-roadmap.md`: Document `async-stream` for creating `Response::Stream` values.

docs/**/wireframe-1-0-detailed-development-roadmap.md: Document async-stream for creating Response::Stream values.

📄 Source: CodeRabbit Inference Engine (docs/asynchronous-outbound-messaging-roadmap.md)

List of files the instruction was applied to:

  • docs/wireframe-1-0-detailed-development-roadmap.md
`docs/*`: Each file in the docs/ directory provides design, roadmap, testing, op...

docs/*: Each file in the docs/ directory provides design, roadmap, testing, operations, or reference documentation for the project. Use these files as a reference for understanding the project's architecture, development plans, testing strategies, operational guidelines, and documentation conventions.

📄 Source: CodeRabbit Inference Engine (docs/contents.md)

List of files the instruction was applied to:

  • docs/wireframe-1-0-detailed-development-roadmap.md
`docs/**/*.md`: Use British English spelling based on the Oxford English Diction...

docs/**/*.md: Use British English spelling based on the Oxford English Dictionary, except retain US spelling in API names (e.g., 'color').
Use the Oxford comma in lists.
Write headings in sentence case and use Markdown heading levels in order without skipping.
Follow markdownlint recommendations for Markdown formatting.
Always use fenced code blocks with a language identifier; use 'plaintext' for non-code text.
Use '-' as the first level bullet and renumber lists when items change.
Prefer inline links using 'text' or angle brackets around the URL.
Expand any uncommon acronym on first use, e.g., Continuous Integration (CI).
Wrap paragraphs at 80 columns, code at 120 columns, and do not wrap tables.
Use footnotes referenced with '[^label]'.
When embedding figures, use 'alt text' and provide concise alt text describing the content.
Add a short description before each Mermaid diagram for screen readers.

📄 Source: CodeRabbit Inference Engine (docs/documentation-style-guide.md)

List of files the instruction was applied to:

  • docs/wireframe-1-0-detailed-development-roadmap.md
`docs/**/*`: Write official documentation for new features, including separate g...

docs/**/*: Write official documentation for new features, including separate guides for 'Duplex Messaging & Pushes', 'Streaming Responses', and 'Message Fragmentation', each with runnable examples and explanations of relevant concepts and APIs.

📄 Source: CodeRabbit Inference Engine (docs/wireframe-1-0-detailed-development-roadmap.md)

List of files the instruction was applied to:

  • docs/wireframe-1-0-detailed-development-roadmap.md
`**/*.md`: * Avoid 2nd person or 1st person pronouns ("I", "you", "we") * Use en...

**/*.md: * Avoid 2nd person or 1st person pronouns ("I", "you", "we")

  • Use en-oxendic spelling and grammar.
  • Paragraphs and bullets must be wrapped to 80 columns, except where a long URL would prevent this (in which case, silence MD013 for that line)
  • Code blocks should be wrapped to 120 columns.
  • Headings must not be wrapped.

⚙️ Source: CodeRabbit Configuration File

List of files the instruction was applied to:

  • docs/wireframe-1-0-detailed-development-roadmap.md
🪛 LanguageTool
docs/wireframe-1-0-detailed-development-roadmap.md

[grammar] ~23-~23: The verb ‘depend’ requires the preposition ‘on’ (or ‘upon’).
Context: ... | Size | Depends | | ---- | ----------------------------...

(DEPEND_ON)


[typographical] ~25-~25: To join two clauses or introduce examples, consider using an em dash.
Context: .... | Small | - | | 1.2 | Priority Push Channels ...

(DASH_RULE)


[typographical] ~26-~26: To join two clauses or introduce examples, consider using an em dash.
Context: ... | Medium | - | | 1.3 | Connection Actor Write ...

(DASH_RULE)


[style] ~27-~27: Consider using the typographical ellipsis character here instead.
Context: ...stateful connection actors. Implement a select!(biased; ...) loop that polls for shutdown signals,...

(ELLIPSIS)


[uncategorized] ~27-~27: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ...p that polls for shutdown signals, high/low priority pushes and the handler response stream ...

(EN_COMPOUND_ADJECTIVE_INTERNAL)


[typographical] ~28-~28: To join two clauses or introduce examples, consider using an em dash.
Context: ... | Medium | - | | 1.5 | Basic FragmentAdapter ...

(DASH_RULE)


[uncategorized] ~29-~29: Possible missing comma found.
Context: ...for a single, non-multiplexed stream of fragments and the outbound logic for splitting a ...

(AI_HYDRA_LEO_MISSING_COMMA)


[grammar] ~38-~38: The verb ‘depend’ requires the preposition ‘on’ (or ‘upon’).
Context: ... | Size | Depends | | ---- | -------------------...

(DEPEND_ON)


[grammar] ~53-~53: The verb ‘depend’ requires the preposition ‘on’ (or ‘upon’).
Context: ... | Size | Depends | | ---- | ----------------------------...

(DEPEND_ON)


[grammar] ~66-~66: The verb ‘depend’ requires the preposition ‘on’ (or ‘upon’).
Context: ... | Size | Depends | | ---- | -------------------------...

(DEPEND_ON)


[uncategorized] ~73-~73: Do not mix variants of the same word (‘finalise’ and ‘finalize’) within a single text.
Context: ...Changelog & 1.0 Release | Finalise the CHANGELOG.md with a comprehensive...

(EN_WORD_COHERENCY)

⏰ Context from checks skipped due to timeout of 90000ms (1)
  • GitHub Check: build-test
🔇 Additional comments (1)
docs/wireframe-1-0-detailed-development-roadmap.md (1)

72-74: Verify spelling consistency of “finalise”/“finalize”

Line 74 uses the British spelling “finalise”, which is correct per guidelines.
Please double-check earlier occurrences (outside this diff) for any stray “finalize” forms to avoid mixing variants.

Comment thread docs/wireframe-1-0-detailed-development-roadmap.md Outdated
Comment thread docs/wireframe-1-0-detailed-development-roadmap.md Outdated
Comment thread docs/wireframe-1-0-detailed-development-roadmap.md Outdated
Comment thread docs/wireframe-1-0-detailed-development-roadmap.md
leynos and others added 2 commits June 29, 2025 19:01
…ables

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
@leynos leynos merged commit 2e290ab into main Jun 29, 2025
4 checks passed
@leynos leynos deleted the codex/document-async-stream-for-response--stream branch June 29, 2025 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant