Skip to content

fix: lock host homes, align start with next on doctor FAIL - #59

Merged
Dandre126 merged 6 commits into
mainfrom
cursor/board-host-home-start-origin-91b4
Aug 22, 2026
Merged

fix: lock host homes, align start with next on doctor FAIL#59
Dandre126 merged 6 commits into
mainfrom
cursor/board-host-home-start-origin-91b4

Conversation

@Dandre126

@Dandre126 Dandre126 commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

Adversarial-board follow-up on main (baseline 3e24897 / post-#57), plus the P1 from the #59 review. No version bump (stays 0.7.10). Does not merge, tag, or publish.

P0-1 — no host-home creation under explicit overrides

_host_home used to return env / host_homes paths without an existence check, so _ensure_safe_directory created the host home and skills/.

Resolved homes that are not already a real directory (not a symlink) are now skipped, matching absent-default behavior. Install refuses isolated-mirror-only when no host remains. Symlink / non-dir path components stay fail-closed. Dyro never mkdirs host homes.

P1-1 — dyro start honesty vs doctor FAIL

dyro next already treats any doctor FAIL (including missing-origin-only) as needs_repair. dyro start now refuses the same way.

P1-2 — parse missing-origin findings

is_missing_origin_finding now matches the constructed doctor shape FAIL <kind>:<id>/<repo>: missing origin/<branch> instead of a substring. A FAIL whose path embeds : missing origin/evil is not classified as missing-origin and still blocks start.

P1-3 — public review redaction

The public 2026-08-19 slash-review record now uses the fictional example-line placeholder. docs/ is scanned for already-known banned identity tokens only.

P1 — open exception is missing-origin-only (review of this PR)

existing_line_workspace used a per-line prefix filter, so workspace-level FAILs such as FAIL external Profile requires … never blocked open while start/next refused.

Open now refuses every doctor FAIL that next maps to needs_repair, except the constructed missing-origin shape. Setup / join / open may skip only that shape so a just-created local-only line can be created and opened. Every other FAIL blocks open.

Tests

  • Explicit env / host_homes pointing at a missing path: path is not created; install refuses creating it.
  • dyro start refuses missing-origin-only and path-embedded-token FAILs.
  • Classifier regression for : missing origin/evil in a path.
  • External Profile FAIL blocks open/start; next is needs_repair; missing-origin-only local-only open still works.

CHANGELOG Unreleased notes the live contract. Version pins stay 0.7.10.

Open in Web Open in Cursor 

cursoragent and others added 4 commits August 22, 2026 19:12
Env and host_homes paths must already exist as real directories.
Absent overrides stay silent; symlink components stay fail-closed.

Co-authored-by: Dandre Yang <[email protected]>
Only the constructed FAIL <kind>:<id>/<repo>: missing origin/<branch>
shape matches. A path that embeds the token is not missing-origin.

Co-authored-by: Dandre Yang <[email protected]>
Any doctor FAIL, including missing-origin-only, blocks dyro start
and existing_line_workspace. Setup and join still skip missing-origin
so a SHA-pinned local-only line can be created.

Co-authored-by: Dandre Yang <[email protected]>
Replace the leaked token with the fictional example-line placeholder
and scan docs for already-known banned identity tokens.

Co-authored-by: Dandre Yang <[email protected]>
@vercel

vercel Bot commented Aug 22, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
dyro Error Error Aug 22, 2026 7:56pm
dyro-engineering-flow Error Error Aug 22, 2026 7:56pm

start and next still refuse any doctor FAIL. existing_line_workspace
skips missing-origin-only so a just-created local-only line can be
opened; other FAILs still block open.

Co-authored-by: Dandre Yang <[email protected]>
existing_line_workspace used a per-line prefix filter, so workspace-level
FAILs such as external Profile never blocked open. Refuse the same FAIL
set next maps to needs_repair, minus the constructed missing-origin shape.

Co-authored-by: Dandre Yang <[email protected]>
@Dandre126
Dandre126 merged commit 85affd0 into main Aug 22, 2026
9 of 11 checks passed
@Dandre126
Dandre126 deleted the cursor/board-host-home-start-origin-91b4 branch August 22, 2026 20:11
cursor Bot pushed a commit that referenced this pull request Aug 23, 2026
把已在 main 落地的 OpenCode/Hermes Skill 分身挂接与 #59#63
诚实收口(host-home、start/next、alias casefold、ReadBudget、
bootstrap 作用域、briefing deadline partial)收进 0.7.11。
版本停在 0.7.x,不改 0.7.10 历史,不发明新功能。

Co-authored-by: Dandre Yang <[email protected]>
@cursor cursor Bot mentioned this pull request Aug 23, 2026
Dandre126 added a commit that referenced this pull request Aug 23, 2026
把已在 main 落地的 OpenCode/Hermes Skill 分身挂接与 #59#63
诚实收口(host-home、start/next、alias casefold、ReadBudget、
bootstrap 作用域、briefing deadline partial)收进 0.7.11。
版本停在 0.7.x,不改 0.7.10 历史,不发明新功能。

Co-authored-by: Cursor Agent <[email protected]>
Co-authored-by: Dandre Yang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants