Skip to content

Ground Studio stack checks in pack.stack.tools - #1797

Draft
groupthinking with Copilot wants to merge 2 commits into
mainfrom
copilot/ground-video-pack-stack-checks
Draft

Ground Studio stack checks in pack.stack.tools#1797
groupthinking with Copilot wants to merge 2 commits into
mainfrom
copilot/ground-video-pack-stack-checks

Conversation

Copilot AI commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Canonical issue

Linked by automation.

Outcome

Studio was still mixing transcript/catalog signals into the formation surface, which could surface Shopify-oriented stack UI on Cloudflare/x402 packs. This change makes Studio derive stack checks and formation tool chips from grounded pack.stack.tools, while continuing to show pack architecture and artifacts from the emitted pack.

const packFormation = studioPackFormation(selected?.videoPack);
const stackChecks = packFormation.checks;
const supplementalEntities = studioFormationSupplementalEntities(
  packFormation.tools,
  linkedSop?.entities,
);

Scope

  • Included:
    • Ground stack checks in pack formation
      • OneLoopStudio now renders stack checks from packFormation.checks instead of re-filtering SOP checklist state inline.
    • Stop transcript-only tool bleed-through when pack tools exist
      • Added studioFormationSupplementalEntities(...) so grounded pack.stack.tools suppress transcript-only entity chips on the formation surface.
    • Regression coverage
      • Added focused tests for:
        • grounded pack.stack.tools driving Studio stack checks
        • transcript-only chips being hidden when pack tools are present
        • source-level Studio assertions updated to match the grounded path
  • Explicitly excluded:
    • Linked SOP generation rules
    • pack extraction/schema behavior
    • unrelated billing/type-check failures already present on head

Risk

  • Risk level: low
  • Failure mode:
    • Studio could omit supplemental entity chips when a pack provides tools, or render no stack checks if the pack is malformed.
  • Rollback:
    • Revert the OneLoopStudio/studio-pipeline-status changes in this PR.

Verification

List exact automated and manual checks, tied to the current head SHA.

  • Focused tests — 7a86e97: cd /home/runner/work/EventRelay/EventRelay/apps/web && VITE_CONFIG_NATIVE_IGNORE_WARNING=true ../../node_modules/.bin/vitest run src/lib/__tests__/linked-sop.test.ts src/lib/__tests__/official-templates.test.ts src/lib/__tests__/studio-pipeline-status.test.ts src/lib/__tests__/uvai-surface-unification.test.ts
  • Required CI
  • Review threads resolved

Production evidence

Not applicable in-session. This PR changes Studio derivation/rendering logic only; no preview or production deployment was created as part of this change.

Agent handoff

  • One canonical issue is linked
  • No competing PR implements the same issue
  • Acceptance criteria are satisfied
  • Required checks pass on the current head
  • Human decision is requested only for product, security, irreversible infrastructure, or production approval

@vercel

vercel Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
v0-uvai Ready Ready Preview, v0 Sep 8, 2026 11:26pm UTC

Co-authored-by: groupthinking <154503486+groupthinking@users.noreply.github.com>
Copilot AI changed the title [WIP] Ground video pack stack checks in pack.stack.tools only Ground Studio stack checks in pack.stack.tools Sep 8, 2026
Copilot AI requested a review from groupthinking September 8, 2026 23:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants