Agents Builders

Model page protocol

Submitted
model-page-protocol
UNRESOLVED QA FEEDBACK

Parked on a dependency, NOT a review/code block: studio-engine 0.12 must merge (engine PR #12) + gem push before this can submit. Adoption is BUILT + verified — integration (7) + e2e green, live on :3011 via local engine 0.12. Cleared the stale 'waiting approval' badge (the app-local demo was already approved ~3h ago; we pivoted to engine-first). Resumes automatically on publish: revert Gemfile override -> bundle update studio-engine -> commit -> full-suite-check + dor-check -> PR into release -> submitted.

Created

Jul 08, 01:50

Started

Jul 08, 07:19

DevOps handoff

Type

Feature

Shape

ui+db

Worktree Slug

model-page-protocol

Repositories

mcritchie-studio

Release Slug

Branch

feat/model-page-protocol

QA URL

Production URL

admin-gated new-route read-only

Acceptance Criteria

  • Admin-only /models/:model/:id renders record JSON page
  • Model page shows copy-paste rails console command
  • Release enabled first via model allow-list
  • Model link on /deployments/all opens latest release
  • Non-admins never see the Model link
  • Random sample button opens a random record

Expected Test Plan

  • [unit] console-command builder + allow-list resolver
  • [component] show view renders JSON, console command, sample button
  • [integration] admin request finds release renders; non-admin redirected
  • [integration] random route redirects to a random record page
  • [e2e] admin views model page happy path

Checks Run

  • [unit] Studio::ModelPage unit-tested in studio-engine 0.12 (10 tests, PR #12); consumer adoption adds no unit logic
  • [component] engine studio/models/show render covered in studio-engine 0.12; consumer adoption is registry + link (no new view)
  • [integration] test/integration/model_page_adoption_test.rb — 7 green (release registered, engine route renders Release JSON+cmd, admin gate, random, link)
  • [e2e] e2e/model_page.spec.js green — admin: /deployments/all -> Model -> engine /models/release/:slug -> random
  • [full-suite@9b708a0680bcadb018c3252b19b54525a51d920d] bin/rails db:test:prepare test test:system green
  • [rubocop@9b708a0680bcadb018c3252b19b54525a51d920d] bin/rubocop clean

Stage Timeline

Who handled each stage, the time it took (measured), and the model / tokens / cost reported (best-effort) — plus who's on it right now. means the agent didn't report that metric.

Sizing Avi · PO SMALL Dev SMALL Actual
  1. Created Designed
    D Drowzee
    Drowzee
    Model
    Duration
    Tokens
    Cost
    Completed Jul 08, 01:50 · about 11 hours ago
    api
  2. Designed Building
    D Drowzee
    Drowzee
    Model
    claude-opus-4-8
    Duration
    2 minutes
    Tokens
    675,114
    Cost
    ~$0.71
    Started Jul 08, 01:50
    Completed Jul 08, 01:52 · about 10 hours ago
    cli
  3. Building Blocked
    Model
    claude-opus-4-8
    Duration
    about 4 hours
    Tokens
    119,839,049
    Cost
    ~$98.85
    Started Jul 08, 01:52
    Completed Jul 08, 06:08 · about 6 hours ago
    cli
  4. Blocked Building
    D Drowzee
    Drowzee
    Model
    claude-opus-4-8
    Duration
    about 1 hour
    Tokens
    22,503,250
    Cost
    ~$14.08
    Started Jul 08, 06:08
    Completed Jul 08, 07:19 · about 5 hours ago
    cli
  5. Building Submitted
    D Drowzee
    Drowzee
    Model
    claude-opus-4-8
    Duration
    20 minutes
    Tokens
    38,443,543
    Cost
    ~$22.44
    Started Jul 08, 07:19
    Completed Jul 08, 07:38 · about 5 hours ago
    cli

Conversation

QA review feedback, agent handoffs, and follow-up notes for this task.

Handoff about 9 hours ago

Pivoted to studio-engine. This task is now the Release-only ADOPTION of the engine model-page protocol (engine PR #12 / task model-page-engine-protocol). Parked pending studio-engine 0.12 publish; app-local ModelPage/controller/view will be deleted and replaced by Studio::ModelPage.register("release", Release, lookup: :slug) + studio_model_path link. App-local proof already operator-approved (live on :3011).

Handoff about 7 hours ago

Adoption BUILT + verified against local engine 0.12 (temporary Gemfile path override; NOT committed). Consumer suites green: integration (7) + e2e; live on :3011. Deleted app-local ModelPage/controller/view + app-local tests; added config/initializers/model_pages.rb (registers release via to_prepare); routes cleanup; link -> studio_model_path; new test/integration/model_page_adoption_test.rb. REMAINING (gated on studio-engine 0.12 publish): (1) revert Gemfile override to '~> 0.11' + bundle update studio-engine (lock -> 0.12.0). (2) commit. (3) full-suite-check + dor-check. (4) push + PR into release + move submitted. No further code work.

QA Feedback about 6 hours ago

Parked on a dependency, NOT a review/code block: studio-engine 0.12 must merge (engine PR #12) + gem push before this can submit. Adoption is BUILT + verified — integration (7) + e2e green, live on :3011 via local engine 0.12. Cleared the stale 'waiting approval' badge (the app-local demo was already approved ~3h ago; we pivoted to engine-first). Resumes automatically on publish: revert Gemfile override -> bundle update studio-engine -> commit -> full-suite-check + dor-check -> PR into release -> submitted.

Sealed-bid sizing

Edit →

Alex (PM)

Avi (PO)

SMALL

Dev

SMALL

Actual