harbor run -t openthoughts/tasktrove-exp-rpt-issue-issue-3113harbor download openthoughts/tasktrove-exp-rpt-issue-issue-3113Problem summary
What to deliver (in /app/)
How to run locally (expected)
Before-state (example minimal starting point) The following snippets show a minimal, non-functional placeholder setup you should replace with the fully working crates and CLI.
Code blocks (before)
[workspace]
members = [
]
[package]
name = "seqchunk-core"
version = "0.1.0"
edition = "2021"
[lib]
path = "src/lib.rs"
[dependencies]
bytes = "1"
use bytes::Bytes;
pub struct SeqChunkMessage {
pub seq: u64,
pub eof: bool,
pub data: Bytes,
}
impl SeqChunkMessage {
pub fn new(seq: u64, eof: bool, data: Bytes) -> Self {
SeqChunkMessage { seq, eof, data }
}
}
// encode/decode not implemented yet
pub fn encode(_m: &SeqChunkMessage) -> Bytes {
unimplemented!()
}
[package]
name = "seqchunk-cli"
version = "0.1.0"
edition = "2021"
publish = false
[dependencies]
clap = { version = "4", features = ["derive"] }
hex = "0.4"
seqchunk-core = { path = "../seqchunk-core" }
fn main() {
println!("seqchunk-cli placeholder");
}
What you should create or modify (exact tasks)
Files to create/modify (in /app)
Code to implement (after-state)
Notes and guidance
Acceptance criteria
If you need any clarifications or want a slightly different encoding schema, let me know and I can adapt the instructions accordingly.