Repository navigation
feat: seed engine apps over their workflows' runs, one waiting for an admin - #428
Conversation
… admin Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DGjkfKxJZ9eCUeQ9YexmJF
|
…een builds The upgrade compares against the engine's latest version, so one committed before a stop is made current instead of committed again; every engine's screens must build, approved or not. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DGjkfKxJZ9eCUeQ9YexmJF
|
@greptileai review: 4c390d5 fixes both findings. Generated by Claude Code |
… change An engine without seeded screens is never touched, and a later version with anyone else's changes is left unreleased, with the engine's apps as they are. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DGjkfKxJZ9eCUeQ9YexmJF
|
@greptileai review: b9508cd fixes the unpublished-version finding. Generated by Claude Code |
|
This PR only changes Generated by Claude Code |
What and why
GRA-430 follow-up to #417. After seeding, every engine said "No apps yet", and the dashboard had no app waiting for an admin. This adds an app (core's screen) to three of the demo engines.
scripts/seed/screens.tsholds one screen template, built only on what any App's screen gets:useWorkflowfrom@grasp-os/sdk/screen, and@grasp-os/uicomponents. No permission or connection is needed. Each screen shows:decide);The three apps:
supplier-invoices.file-handover.complaint-acknowledgement.An admin approves the Finance and Client onboarding apps as the seed runs (
screenTrust.review, thenapprovewith the built artifacts), so their people see live data. Service desk's app is left unapproved, so admins get "Service desk has 1 app whose code nobody approved" under "Waiting elsewhere" on the dashboard.Idempotent: a new engine gets its apps in its first version. An engine seeded before this PR gets the missing screens as its next version, made current by an admin. Approval happens only while a screen is unapproved. If a screen doesn't build, the seed says so and stops.
How it was tested
vp run devstarted anew):vp run seedsucceeds, and a second run adds nothing.text-2xlonCardTitle), which is now fixed.screens.openanswersscreen.unreviewed, notscreen.build_failed).vp checkpasses.Checklist
vp checkandvp testpass.vp checkpasses; no tests change.@greptileai review
🤖 Generated with Claude Code
https://claude.ai/code/session_01DGjkfKxJZ9eCUeQ9YexmJF
Generated by Claude Code