DRU-665 -- Take the page, route, and agent boilerplate out of apps - #744
Merged
czpython merged 1 commit intoSep 27, 2026
Conversation
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
czpython
force-pushed
the
commonzenpython/dru-665-take-the-page-route-and-agent-boilerplate-out-of-apps
branch
from
September 27, 2026 19:01
6fedb4a to
2d4d37b
Compare
czpython
force-pushed
the
commonzenpython/dru-665-take-the-page-route-and-agent-boilerplate-out-of-apps
branch
from
September 27, 2026 19:27
2d4d37b to
edfbcc9
Compare
czpython
force-pushed
the
commonzenpython/dru-665-take-the-page-route-and-agent-boilerplate-out-of-apps
branch
from
September 27, 2026 19:43
edfbcc9 to
8f6c1cb
Compare
czpython
force-pushed
the
commonzenpython/dru-665-take-the-page-route-and-agent-boilerplate-out-of-apps
branch
from
September 27, 2026 19:47
8f6c1cb to
ca36c51
Compare
czpython
force-pushed
the
commonzenpython/dru-665-take-the-page-route-and-agent-boilerplate-out-of-apps
branch
from
September 27, 2026 19:59
ca36c51 to
e933750
Compare
czpython
enabled auto-merge (squash)
September 27, 2026 20:02
czpython
disabled auto-merge
September 27, 2026 20:02
czpython
enabled auto-merge (squash)
September 27, 2026 20:02
czpython
deleted the
commonzenpython/dru-665-take-the-page-route-and-agent-boilerplate-out-of-apps
branch
September 27, 2026 20:04
This was referenced Sep 27, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Apps stop repeating what the platform can do for them.
Pages
ui.SubjectStatus(subject, working="auditing")shows where the work on one subject stands. The page endpoint reads the status of every subject on the page in one query, whatever their types, and hands it to the page's serialization. Neither value takes run facts from the author. The shell writes the word: "needs you", the state of a run that stopped with its message, theworkingword, or "idle".ui.GateControls(subject)takes the subject instead of a run id. The shell shows nothing while the subject waits on nothing.Table.emptytakes anEmptyState, likeCards.empty. It replacesTable.empty_text.TimeValue.whencan be empty, andemptyis the word the shell shows for it.Link.argumentstakes numbers. A link on a value takes the value's words, so it needs no label. A link that stands on its own still needs one.ScopedService.connect_urlis where an operator connects the service. The provider sends them back to the app.Routes
start, and its tool is stillsoftware_factory_start.Agents and workspaces
Agent(include_mcp=False)resolves no MCP server for the call. Its harness gets none, and its sandbox gets no server entry.Workspace.get_env()adds environment variables to every agent call.Imports and CLI
druks.servicesexportsConnection, anddruks.workflowsexportsGateTimeout.druks check-app <name>loads one installed app and checks its subjects, pages, operations, and routers. It needs no database and no configured install.Apps change three things when they upgrade:
GateControls(run)becomesGateControls(subject),Table(empty_text=...)becomesTable(empty=EmptyState(...)), and an operation id that repeats the app name fails at boot.