feat(framework): upload out of band, never at the session's expense
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Active
- Tech stack
- typescript
Research direction
No files, tests, or entry points are identified in the issue. Start by locating the session data sink, the local retention queue, and the redaction path referenced by #655; then determine how upload can remain out of band. Done requires the listed delivery, retry, retention, redaction, disabling, and duplicate-batch behaviors to be asserted.
Written by the indexing model from the issue text.
Description
Outcome
Measured data reaches a hosted dashboard reliably, and never at the cost of the session that produced it.
Scope
#652 claims the upload in its boundaries and no issue builds it. #656 reports across repositories and people, which is impossible while data expires locally on N laptops.
- Includes: what is sent — the run journal and the aggregates, never raw telemetry payloads.
- Includes: authentication, and where the credential lives. Not in a committed file.
- Includes: batching, retry with backoff, and idempotency, so a retried batch does not double a figure.
- Includes: backpressure and a bounded local queue, so an unreachable endpoint degrades rather than grows without limit.
- Includes: upload before local expiry. The sink's retention floor becomes a function of the upload cadence, or data is lost between the two.
- Includes: the redaction of #655 applied on this path, before anything leaves.
- Excludes: the hosted side — storage schema, tenancy, query model, server retention. That is the dashboard's product, not this repository's.
- Excludes: any behaviour that blocks, delays or alters a session. Upload is out of band, always.
Done When
- A session is unaffected in duration and outcome whether the endpoint is reachable, slow or absent.
- A batch delivered twice produces one figure, asserted against a duplicate delivery.
- An endpoint down for a day loses nothing, and an endpoint down past the retention bound says what it lost rather than silently truncating.
- Nothing the redaction list forbids appears in a captured request body.
- Disabling upload stops it immediately and leaves local reading intact.
Completion Evidence
A capture of what actually left the machine over a working week, checked against the redaction list, with the delivered totals matching the local ones.
Relations
| Field | Value |
|---|---|
| parent | #652 |
| depends_on | #647, #655 |
| blocks | #656 |
- Dominant language
- TypeScript
- Stars
- 481
- Forks
- 45
- Avg merge
- 19h 38m
- Merged PRs (30d)
- 108
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ai-driven-dev/framework
-
refactor(aidd-orchestrator): the check zone says when to stop, and reviews its axes in one round Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
ai-driven-dev/framework#887 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
ai-driven-dev/framework#873 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
ai-driven-dev/framework#872 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
ai-driven-dev/framework#625 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
ai-driven-dev/framework#467 · 1 comment ·
All issues in ai-driven-dev/framework
Similar issues
-
VerificationGate: ATTRIBUTION quote guard never matches a normal quotation (\b around the quote) Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
danielmiessler/LifeOS#2234 ·
-
T: Bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
Mend: dependency security vulnerability untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 70/100