Repository navigation
Conversation
…pawned (garrytan#3287) docs/OPENCLAW.md said "only `spawned` is honored" and that other values are ignored. Since 1.91.70.0 the classifier also honors `unattended` (bin/gstack-session-kind:28-29, :42), and docs/unattended.md documents it as the explicit override, so an orchestrator author who read this page first learned the opposite of what happens. The section keeps its `spawned` focus and links unattended.md. Fixes garrytan#3287 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Merging to
After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here |
Contributor
|
Thank you for catching this. #3367 (v1.91.187.0) updated docs/OPENCLAW.md to say GSTACK_SESSION_KIND honors both spawned and unattended, so I'm closing this as superseded. If anything is still wrong on current main, please reply and we'll reopen. |
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.
Why (in your own words)
docs/OPENCLAW.md's "Explicit override: GSTACK_SESSION_KIND" section says: "Deliberately narrow: onlyspawnedis honored … Empty or other values are reserved and ignored (fall through to ambient detection)."Since 1.91.70.0 that isn't true.
unattendedtoo:bin/gstack-session-kind:42matchesspawned|unattended, and its header (:28-29) says "only those two are honored".docs/unattended.md:12-13documents it as the explicit override that outranksGSTACK_HEADLESS.An orchestrator author who meets
GSTACK_SESSION_KINDon this page first (the page is written for them) learns thatunattendedwould be ignored, the opposite of what happens. The sentence predates the fourth session kind: the file's last change, v1.91.66.0, came before #3115 addedunattended.Fixes #3287.
Why this shape
spawnedfocus, namesunattendedas the other honored value, and linksunattended.md. Only the two categorical claims change.headless/interactivereasoning and the hook-env note); the edited lines are re-wrapped.main, and fine to absorb into a wave.What it does
docs/OPENCLAW.md, "Explicit override: GSTACK_SESSION_KIND": the "Deliberately narrow" sentence now saysspawnedandunattendedare honored. It says in a parenthesis whatunattendedis for and linksunattended.md. The reasons that follow (headlesshasGSTACK_HEADLESS, forcinginteractiveis a footgun, other values fall through) are unchanged.What it deliberately does not do
bin/gstack-session-kindor any other code. Only the docs were behind.docs/designs/multi-agent-wave-2026-10-10/ceo-native.md:16says the same thing, but it's a historical record of the plan.VERSION/CHANGELOG/ README / ETHOS untouched, and no generated files./shipnot run (the wave stamps the version).AI was used for assistance.
Live evidence
Setup.
git showof the two trees.env -i, withGSTACK_HEADLESS=1as the ambient marker. Nothing is written.Before (
upstream/mainatafac8dfd8): the page says onlyspawnedis honored.What the classifier actually does (the same on both trees, since this PR doesn't touch it):
unattendedis honored and outranksGSTACK_HEADLESS; other values fall through.After (this branch,
afab4ccee):Scope
docs/OPENCLAW.md(+7/−4). No code, no VERSION, no CHANGELOG, no generated files.originis my fork, so I pointed a temporaryorigin/pregate-baseref atupstream/main(afac8dfd8). It selects one test,test/openclaw-native-skills.test.ts, which reads this file: 2 of 2 pass.bin/gstack-session-kind:28-29, :42anddocs/unattended.md:12-13. Theunattended.mdlink target exists.bin/gstack-redact --repo-visibility publicon the diff reports no findings.git diff --checkis clean.bun run eval:select --base upstream/mainselects no behavioral probes and no quality judges, and defers nothing.bun run test: not run for this one-file Markdown change. pregate's import graph links one test todocs/OPENCLAW.md, and it passes (above). CI's free suite is the gate.Liveness proof (required for external contributors)
Checklist
GSTACK PRtyped live into a real surface) or PR author is @garrytan (owner exemption)spawnedis honored for GSTACK_SESSION_KIND;unattendedis honored too #3287Test plan
bin/gstack-session-kindanddocs/unattended.mdtest/openclaw-native-skills.test.ts(the one test pregate selects)Fork PRs do not get eval secrets; the free files above are the gate.
Fixes #3287