Repository navigation
Slice 1: reset Tyto as a thin layer on agent-browser - #5
Merged
Merged
Conversation
Removes the old self-built browser stack (CDP adapter, host, Perch, vault, SDK, MCP stub, protocol, session store, MV3 extension, live e2e, Playwright POC) and the CDP-era parts of core. Everything is preserved at tag archive/tyto-v0. Core keeps the model, clock, redactor, and page-text ports, the secret redactor (now also masking token/password/api_key/sid values), and fake clock/model. The import boundary now also bans processes, files, network, fetch, and WebSocket in core source. Docs and agent rules are rewritten for the new product: SPEC draft 3, IMPLEMENTATION draft 3 (packages, ports, recipe format, and the spec-sentence tests for slices 2-9), README, AGENTS, CONTRIBUTING, SECURITY, and the Claude/Cursor rule files. The e2e workflow is gone; the default suite stays offline and live tests get `npm run test:live`. Co-Authored-By: Claude Opus 5.5 (1M context) <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.
Plan:
docs/IMPLEMENTATION.md(draft 3). Tyto becomes a thin layer on agent-browser that adds recipes (learn once, replay with no model, repair) and a one-call page brief.What
Removed:
packages/{cdp,host,perch,secrets,sdk,mcp,protocol,fs,poc},extension/,e2e/,poc/, the e2e workflow,docs/DESIGN.md,docs/USAGE.md;packages/core.All of it is preserved at tag
archive/tyto-v0(pushed).Core keeps:
SecretRedactor, which now also maskstoken/password/api_key/sidvalues (test first:packages/core/test/redact.test.ts);SystemClock;FakeClockandFakeModel.packages/llmis unchanged.Import boundary:
scripts/check-core-imports.mjsnow also banschild_process,fs,net/http,fetchandWebSocketin core source (verified with a planted violation).Tooling:
npm run test:liveadded (live tests inpackages/*/test/live/run only withTYTO_LIVE=1);tsconfig.jsonreferences fixed.Docs and rules:
.env.example;cdp,extensionandprotocolrules removed;gitleaks: the
e2e/andextension/test/allowlist entries stay, because those fake fixtures are still in git history.Tests
npm run checkon Node 26: import boundary clean, secret scan clean, 3 files / 13 tests, typecheck clean.gitleaks detect --config .gitleaks.toml --redact: no leaks.🤖 Generated with Claude Code