Skip to content

refactor(daemon): project open responses in the surface builder - #5173

Merged
thymikee merged 3 commits into
mainfrom
refactor/daemon-open-response
Nov 28, 2026
Merged

thymikee merged 3 commits into
mainfrom
refactor/daemon-open-response

Conversation

@thymikee

@thymikee thymikee commented Nov 28, 2026 •

Copy link
Copy Markdown
Member

Summary

Construct launch-confirmation fields and warnings in the existing open response builder. The open transaction still controls dispatch, claim rollback, session publication, and script recording. Warning order is preserved. The response builder requires an explicit claim owner disclosure decision. A missing decision hides the owner. Once the session is published, one function records stabilization, runtime hints, and script and action state.

Value

  • The open transaction loses six conditional warning writes and one complexity suppression.
  • Five existing warning positions and both launch-confirmation warning variants now have one response owner.

Validation

At cc6a5015bb, 36 focused tests, check:quick, Fallow, and git diff --check passed locally. The new test for a missing disclosure decision failed before the fix because the warning exposed the previous owner. At 17ac981a81, 63 focused tests and check:freerange also passed. Hosted checks are pending on the new head.


Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

View guided diff Turn on auto-fix

@github-actions

github-actions Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

Size Report

Metric Base Current Diff
Installed (including dependencies) 6.68 MB 6.68 MB +257 B
Package (unpacked) 6.68 MB 6.68 MB +257 B
Package (download) 2.04 MB 2.04 MB +62 B

Startup median (7 runs, lower is better):

Scenario Base Current Diff
CLI --version 20.7 ms 21.7 ms +1.0 ms
CLI --help 45.2 ms 45.3 ms +0.1 ms

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 3 files

Reply with feedback, questions, or to request a fix.

View guided diff | Turn on auto-fix | Re-trigger cubic

@apex-sentinel-staging

This comment has been minimized.

@apex-sentinel-staging

Copy link
Copy Markdown

Apex Sentinel · ✅ Approve · review of cc6a501

Since the review of 17ac981: 0 new · 0 still open · 0 no longer raised

No open findings.

1 finding below minor hidden (user_settings.min_severity).

Reviewed with this repository's own Sentinel configuration (e52cd292f50f).

💬 Talking to Sentinel

In a finding's thread, reply with:

Command What it does
@apex-sentinel-staging note <context> Adds context; Sentinel re-checks the cited code
@apex-sentinel-staging pivot <why> Says the finding is wrong; Sentinel re-checks the cited code
@apex-sentinel-staging like Marks the finding as useful
@apex-sentinel-staging dislike <why> Marks it as not useful, so it is not raised again

On this conversation, comment @apex-sentinel-staging review to run a full review once again.

@thymikee

Copy link
Copy Markdown
Member Author

This PR is ready at cc6a501, and no required code changes were found.

Not blocking, so take it or leave it: hidePreviousClaimOwner is a required boolean with one typed caller, so the !== false branch cannot fire through any production route today and could become if (hidePreviousClaimOwner) with the @ts-expect-error missing-decision test removed, or stay as a fail-closed guard.

Two open threads no longer apply and can be resolved: this one, because tests now cover the lease-tenant and missing-decision cases and assert that the session and workspace stay out of warnings, and this one, because hidePreviousClaimOwner is now required with no default and an undefined value fails closed.

CI is green at this commit: 22 checks, all passing. Not verified here: no tests were run locally, the missing-decision test was not reproduced as failing before the fix, and no end-to-end open test covers the full warning stack. Warning order equivalence rests on reading the code and on the focused unit test that covers the first three warnings.

Nothing else needs to happen before merge.

@thymikee thymikee added the ready-for-human Valid work that needs human implementation, judgment, or maintainer merge label Nov 28, 2026
@thymikee
thymikee merged commit 01ce4e3 into main Nov 28, 2026
22 checks passed
@thymikee
thymikee deleted the refactor/daemon-open-response branch November 28, 2026 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-human Valid work that needs human implementation, judgment, or maintainer merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant