GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — S7: attachments & multimedia · Issue #10036 · developing-today/code

S7: attachments & multimedia #10036

New issue
Copy link
New issue
Copy link
Done
Done
S7: attachments & multimedia#10036
Copy link
Labels
effort/lLarge: multi-day or open-ended; expect staged check-inskind/featureNew feature or capability requestpriority/normalOrdinary priority (the default)status/triagedTriaged and routed (see agent note)status:in-reviewtask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

Description

@dezren39
dezren39
opened on Nov 14, 2026
Issue body actions

Sub-issue of #9539. Slice S7 from design doc §6.

Upload handling, multipart, storage refs. Streaming audio is a future enhancement (out of scope).

Design: #9539 · PR #10030

Activity

  1. dezren39
    added
    kind/featureNew feature or capability request
    on Nov 14, 2026
  2. developing-today commented on Nov 14, 2026

    @developing-today
    developing-todayBot
    on Nov 14, 2026 – with developing.today
    Contributor
    More actions

    CODE-3508

  3. github-actions
    assigned
    dezren39
    on Nov 14, 2026
  4. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    Agent note — triage of record (task 19087, lane any-l)

    State: triaged; implementation gated on Drew's design §8.3 answer (escalated, ledger item below). Issue #10036 OPEN, label kind/feature only, no hard-stop labels (fresh check 2026-11-17).

    Verdict:

    • Work kind: small-fix (implementation, when ungated). Priority: normal. Effort: l. Kind: feature (already on the issue).
    • Context: sub-issue of program PM-stack prompt & chat surface: scoped prompt widgets + session interface (program) #9539 (PM-stack prompt & chat surface); design merged in PR doc(pm-stack): design pass for prompt & chat surface (#9539) #10030 (doc/2026-11-13T11-54-00Z_design_pm_stack_prompt_surface/design.md). S7 = design §6 slice: upload handling, multipart, storage refs. Streaming audio is explicitly a future enhancement, out of scope. All sibling slices S1–S6 (S1: generic prompt widget + section/page widgets on main PM-stack pages #10032–S6: chat/session surface (threaded view, reply, cross-reference, archive) #10035, S5: specialized task variants (reprioritize, detail-gather, compare-options, integrate-insights, report) #10037, S2: target selector expansion + async completion notification #10038) are OPEN; none gates S7.
    • Confirmed unimplemented: no upload/multipart/attachment handling exists in pm-stack/aggregator on main (only a request-body size guard in request-body.ts).
    • The gate, verified: design §8 question 3 — "Attachments storage: reuse the existing upload mechanism (if any) or new? Confirm before S7." Fleet fact for that question: there is no existing upload mechanism in the pm-stack to reuse, so the live choice is where new storage lives. This is Drew's decision by his own design doc, so it is escalated properly, not assumed: pending-decisions ledger item pm-stack-s7-attachments-storage-10036 (status pending), options: (a) new storage on the pm-stack host data dir with storage refs in records, (b) Backblaze B2 (exploration explore(saas): Backblaze B2 — adoption investigation for fleet storage (from #1059) #9414) with signed refs, (c) a mechanism outside pm-stack that Drew names.
    • No follow-on task enqueued: enqueueing an implementation packet before the storage answer would bake in an unconfirmed architecture. On Drew's answer, the next lane enqueues the S7 small_fix packet against the chosen storage and this issue proceeds.

    Acceptance check for the eventual fix: prompt/chat submissions accept attachments via multipart, persist them to the storage Drew chose, and carry storage refs (design §3 record shape: "attachments": [multipart refs]); streaming audio excluded.

  5. dezren39
    added
    task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
    priority/normalOrdinary priority (the default)
    effort/lLarge: multi-day or open-ended; expect staged check-ins
    status/triagedTriaged and routed (see agent note)
    user/escalatedRequires a Drew decision or access
    on Nov 17, 2026
  6. dezren39 commented on Nov 18, 2026

    @dezren39
    dezren39
    on Nov 18, 2026
    MemberAuthor
    More actions

    agent-note:v1
    state: triaged
    task: 20476
    lane: code-h
    stage: terminal

    Duplicate intake of completed triage task 19087. Fresh state confirms #10036 remains OPEN, is assigned to Drew, and carries user/escalated. Existing triage records the explicit pending storage decision; no implementation follow-on is safe until that decision arrives. Design PR #10030 is referenced by the issue. Queue task completed as triaged; bookkeeping deferred to fleet reconciliation.

  7. dezren39
    removed their assignment
    on Nov 20, 2026
  8. dezren39 commented on Nov 22, 2026

    @dezren39
    dezren39
    on Nov 22, 2026
    MemberAuthor
    More actions

    Hands item — one action (from the #12234 owner-parks batch, 2026-11-22):

    Drew: answer design §8 question 3 — where does new attachment storage live? The fleet verified there is no existing upload mechanism in the pm-stack to reuse, so the live choice is:

    (a) new storage on the pm-stack host data dir with storage refs in records,
    (b) Backblaze B2 (exploration #9414) with signed refs, or
    (c) a mechanism outside pm-stack that you name.

    Pending-decisions ledger item: pm-stack-s7-attachments-storage-10036 (status pending). On your answer, the next lane enqueues the S7 small_fix packet against the chosen storage and this issue proceeds — no implementation is safe before then, because it would bake in an unconfirmed architecture. user/escalated stays until the answer lands.

  9. dezren39 commented on Nov 22, 2026

    @dezren39
    dezren39
    on Nov 22, 2026
    MemberAuthor
    More actions

    Decided: Attachment storage lives in the pm-stack host data dir, with storage refs in the records (option (a) of design §8 question 3). This supersedes the hands framing posted earlier today: an architecture choice between documented options is a decision under FDR-0013, not a hands item. Storage refs keep the location abstract, so moving to Backblaze B2 (option (b), exploration #9414) later is a migration, not a redesign.
    Why: There is no existing upload mechanism to reuse (verified by the earlier batch note); (a) needs no new external dependency, credential, or spend, matches how pm-stack already keeps its data, and is the only option that unblocks S7 implementation now.
    Undo: One design-note PR switching the ref resolver to B2 if (b) is ever wanted; stored refs do not change.
    By: felix (Muse seat, #12234 owner-parks batch, 2026-11-22)

  10. dezren39
    removed
    user/escalatedRequires a Drew decision or access
    on Nov 22, 2026
  11. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Lane felix picking up #10036 (S7: attachments & multimedia). The §8.3 storage gate is resolved by the decision of record (2026-11-22): option (a) — attachment storage in the pm-stack host data dir, storage refs in records. Starting with a done check against current main, then implementing the bounded slice: multipart upload handling on prompt/chat submissions, persistence to the host data dir, storage refs in the submission records. Streaming audio stays out of scope.

  12. dezren39
    added 2 commits that reference this issue on Nov 23, 2026

    fix(pm-stack): type attachment reads as Buffer so the download Respon…

    9e053ea

    fix(pm-stack): return attachment bytes on a fresh ArrayBuffer for Bod…

    4edee85
  13. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Lane felix — S7 implemented: PR #13328 (unmerged, for Felix's review).

    Done check: S7 was not on main — no multipart/upload handling existed, and promptAnswerBody still carried the placeholder "attachments: []" naming S7. The §8.3 gate was already resolved by the 2026-11-22 decision of record (option (a): host data dir + storage refs), so the slice proceeded.

    What landed: POST /api/prompt accepts multipart/form-data (text fields shaped into the one validator; files under "attachments"), blobs persist to the host data dir (PM_AGG_PROMPT_ATTACHMENTS_DIR, default prompt-attachments/ beside prompts.json) under abstract attachment: refs with sidecar metadata, records carry the refs (design §3.2 shape), the §3.7 answer body echoes them, and GET /api/prompt/:id/attachments/:ref serves a blob back record-bound, download-only. Limits (5 files / 5 MiB each / 25 MiB total) are enforced before any write; a failed submission removes its blobs. The widget form gained the file input. Streaming audio remains out of scope.

    Evidence: remote run 45185224298 at head 4edee85 — success: bun test over prompts/prompt-attachments/prompt-ws suites (41 tests, 0 fail) + bunx tsc --noEmit clean. No new dependencies; no schedule touched.

  14. developing-today
    added
    status:in-review
    on Nov 23, 2026
  15. dezren39
    added a commit that references this issue on Nov 23, 2026

    Merge pull request #13328 from developing-today/felix/10036-s7-attach…

    1ccb4a1
  16. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Merged note — Felix, 2026-11-23: PR #13328 merged after my review. S7 attachments are landed per the 2026-11-22 decision of record (option (a): host data dir, abstract attachment: refs in records; refs are shape-validated before any filesystem touch, blobs serve only when the prompt record carries the ref, limits enforced before any write). Remote suite 41/0 + tsc clean (run 45185224298).

  17. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Second-pass verify-and-route (queue task 21996, lane any-o, 2026-11-24).

    • Fresh state: S7: attachments & multimedia #10036 OPEN. Its S7 slice landed through PR feat(pm-stack): prompt attachments — multipart upload, host-dir storage, storage refs (#10036 S7) #13328 (merged per the 2026-11-23 note), with remote suite 41/0 and tsc clean.
    • Verdict: S7 is delivered. The issue's remaining open state is the parent tracking record, so no follow-on implementation packet is needed.
    • Route: close S7: attachments & multimedia #10036 on Drew's call, or with this note as the closure evidence.
  18. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 26, 2026 – with developing.today fleet
    Contributor
    More actions

    state: triaged — already resolved, closing with evidence
    lane: oc-code-02, task 24695

    Fresh verification 2026-11-26: S7 is delivered on main.

    • PR feat(pm-stack): prompt attachments — multipart upload, host-dir storage, storage refs (#10036 S7) #13328 MERGED 2026-11-23 (merge 1ccb4a1, ancestor of origin/main). PR body intentionally said Refs S7: attachments & multimedia #10036 stays open until review/merge; that condition is now satisfied (merged note 2026-11-23).
    • Scope check: multipart upload handling, host-dir storage (PM_AGG_PROMPT_ATTACHMENTS_DIR, default prompt-attachments/), abstract attachment: refs in records, download-only read side, limits enforced before write. Streaming audio remains out of scope per issue body. Code present: pm-stack/aggregator/src/prompt-attachments.ts + test on main.
    • Focused oracle: bun test src/prompt-attachments.test.ts — 14 pass, 0 fail (this lane, 2026-11-26).

    No follow-on packet: the storage gate (design §8 Q3) was decided 2026-11-22 option (a), implementation landed, second-pass task 21996 already verified delivered. Closing as complete.

  19. developing-today-fleet
    closed this as completedon Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/lLarge: multi-day or open-ended; expect staged check-inskind/featureNew feature or capability requestpriority/normalOrdinary priority (the default)status/triagedTriaged and routed (see agent note)status:in-reviewtask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.