Skip to content

feat(trail): open the new Trail onboarding from graft trail push - #553

Closed
anirudhkumar-nanonets wants to merge 2 commits into
mainfrom
feat/trail-signup-new-onboarding
Closed

anirudhkumar-nanonets wants to merge 2 commits into
mainfrom
feat/trail-signup-new-onboarding

Conversation

@anirudhkumar-nanonets

Copy link
Copy Markdown
Collaborator

Moves: connect (graft users who connect a coding brain). On 2026-10-06 that was 40 external coding brains built in the last 7 days, and 7 of 8 graft sign-ups settled.

Do not release until NanoNets/assign#3125 is in production. An older Trail would show the first onboarding question and never answer the push. Every install would then time out.

What

signupUrl now opens /creating-a-trail?graft_repo=…&graft_port=…&graft_state=… instead of /get-started?step=repo&…. That is Trail's new onboarding for a code trail:

  • The repo is already filled in.
  • The page shows what Trail reads from it.
  • Rules appear on a map as they're mined.
  • The user can test the trail before using it.

Nothing else changes:

  • The same three params.
  • The same loopback callback and state check.
  • The same 303 back to /get-started?step=build&brain=…, which Trail forwards to the new map.
  • Agent mode, where there is no port, behaves the same.

Checks

  • npm test: 1,356 pass, 0 fail.
  • Manual: GRAFT_BRAIN_URL=http://localhost:5175 graft trail push against Trail running #3125 locally. The steps that ran:
    • The printed link opened the new code screen.
    • Build Trail handed back to the loopback.
    • graft linked the repo and uploaded 78 commits.
    • The browser returned to the new map.

The README's "Try it" badges still link to /get-started?step=repo. That's left for a follow-up.

@github-actions

github-actions Bot commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

🌱 graft blast radius

Nothing outside this diff depends on it. 2 areas changed; no indexed dependents at depth 2.
Tests: 1 area updated its tests.
Tag: @shhdwi — CLI

Who knows this code — 1 person across 2 areas
Area Who knows it
CLI · changed @shhdwi — 23 commits, last 2mo ago
Signup Flow · changed only you — nobody else has touched these files

Ownership is git history over each area's own files, weighted towards recent work (120-day half-life). Merge commits and bots are dropped, and you are dropped from your own PR. A name with no @ has no GitHub handle in its commit email — tag them by hand, or add a .mailmap entry. A suggestion from history, not a CODEOWNERS rule.

Test signal per changed area — 1 ✓ · 1 –

Reached = a node under a test path has a resolved edge into the changed symbol. It undercounts anything called indirectly — through a CLI, a spawned process or a dynamic import — so read a low ratio as “look here”, never as a coverage gate.

  • – CLI — no function, method or class changed here
  • ✓ Signup Flow — 1 of 1 reached · 1 test file changed here: test/brain-signup.test.ts

graft blast · origin/main...HEAD · depth 2 · 3 changed files

Open the interactive graph → — click an area to see its dependent symbols at file:line.

github-actions Bot added a commit that referenced this pull request Oct 6, 2026
github-actions Bot added a commit that referenced this pull request Oct 6, 2026
@shhdwi shhdwi closed this in #726 Nov 7, 2026
github-actions Bot added a commit that referenced this pull request Nov 7, 2026
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.

1 participant