Replies: 3 comments
-
|
Thank you for the proposal. I have a few questions before we discuss this with Kone:
Could you share a bit more context on the motivation for the feature flag? Since bin/roxyd would be a separate binary target from the existing one, I was wondering whether the distinction at the target level might already be sufficient, and what additional benefit the feature flag is intended to provide.
This seems slightly beyond the current scope of roxy and the initial skeleton. Would it be reasonable to defer this for now and introduce it later if we find a concrete need for it? |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for the questions — both are fair points. On the feature flag: On the optional AgentInfo fields: I’ll adjust the proposal accordingly to reflect these changes. |
Beta Was this translation helpful? Give feedback.
-
|
Thank you for making the adjustments. I personally think the following points might help AI agents better understand and work from the scaffolding:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Based on #496
Initialize the codebase for
roxydinside the existing crate. It includes entrypoints, config, logging, and review-protocol connection skeletons, and dual-path coexistence with the legacy implementation, but it does not port any existing handler logic yet.The structure should be friendly to AI coding agents (small, focused modules; clear naming; minimal hidden coupling).
Tasks
1. Add a new binary target inside the existing crate
src/bin/roxyd.rs)mainthat:#[tokio::main]).2. Define configuration for the QUIC/mTLS connection
3. Set up review-protocol client skeleton
review_protocolintegration module that exposes a function likerun_connection_loop(config: &Config) -> Result<()>that will:RequestCodes.handle_requeststub that logs theRequestCodeand fails withunimplemented!()TODO:comments where individual handler families will be plugged in later.4. Internal module layout for handlers
Create a directory structure like:
roxyd/handlers/service_control.rshostname.rsntp.rssyslog.rspower.rsobservation.rsIn each handler module:
unimplemented!()to be filled in by follow-up issues.5. Logging, tracing, and error types
tracingwith:main.6. Tests and examples
7. CI / build integration
roxydbinary target is included incargo build/cargo test.Acceptance Criteria
Beta Was this translation helpful? Give feedback.
All reactions