Repository navigation
Docs with no shell: new pages only, and a blank ask is Docs (v1.0.4) - #4
Merged
Merged
Conversation
…m page.html, its marks kept and its ledger empty; a blank ask gets the title and nothing else (docs.js blank with a shell) Co-authored-by: Pointman <noreply@pointman.ai> Co-authored-by: Claude <noreply@anthropic.com>
…ank ask is Docs, with the folder's hash Co-authored-by: Pointman <noreply@pointman.ai> Co-authored-by: Claude <noreply@anthropic.com>
…never create_version; docs.js blank writes a title with $ patterns as typed Co-authored-by: Pointman <noreply@pointman.ai> Co-authored-by: Claude <noreply@anthropic.com>
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.
Docs couldn't be used by an agent with no shell (a Shepherd turn, or the spacesheep MCP alone): SKILL.md's first step is
node docs.js start. This adds a no-shell path, as the Design skill has.What changed
docs/references/shepherd.md(new): how a no-shell agent makes a Docs page. It copiesreferences/page.htmlwhole, keeping<meta name="ss-edit" content="open">(the page opens in Edit) and<meta name="docs-ledger" content="">, left empty.create_space(files,label) and never callscreate_version, whoseparentmerges onto newer edits. A page with anything on it, and through the MCP any existing space, is never saved over: the agent proposes the change (a comment through the MCP), or says an agent with a shell can make it.docs.jscounts every block on the page as the person's, so it never rewrites one without a yes.<title>and one<h1>, no id) and nothing else, no outline. With a shell,docs.js blank "<title>"makes the same page, and refuses any space that isn't blank. Its title goes in through replacer functions, so$&or$'in it is written as typed.SKILL.md: its first line sends a no-shell agent toreferences/shepherd.md; the description names a blank document the person writes themselves.51887724c53f.Tests
node tests/run.js: 76 passed (was 70).tests/noshell.jsreads shepherd.md's own examples, so the words and the tool can't drift:docs.js blankmakes; both marks kept; no ledgerstart,outlineandblankall refuse it, nothing drawn or savedblankrefuses it and changes nothing; the blank page with the person's typing stays theirsR$&D $' $$$ &: one<title>, one, the title escaped in both (failed before the fix with two<title>`s)create_spaceand only fields it takes (from spacesheep'sshared/doors.json), and noskill,keep_othersorparentblankis also intests/ownership.js's walk over a page a person has changed (refused there).skills lint: no problems.Look closely at
create_spaceon the dashboard and through the MCP, an@pageblock on a space) follow the Design skill's shepherd.md; they weren't run against the app here.<h1>with nodata-ss-id(the blank page's title), as it does for the person's own typed lines.