Repository navigation
Analytics skills on the Foundation Analytics Toolkit: build, metrics generation, source survey, eval generation - #275
Draft
shubhambatlan wants to merge 1 commit into
Conversation
shubhambatlan
added a commit
that referenced
this pull request
Dec 2, 2026
…s off by name run.md's conflict goes #270's way. The cross-skill allowlist shrinks to what #275 leaves: no Markdown link or flow reference from one skill into another remains in atlanai-analytics, only 15 Python paths to the shared run code. next_move reads a state without a stage, as a test mocks it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
shubhambatlan
force-pushed
the
analytics-demo-state-driven
branch
from
December 3, 2026 03:14
4d628f3 to
65dc0a0
Compare
shubhambatlan
force-pushed
the
analytics-skills-on-toolkit
branch
from
December 3, 2026 04:15
abe7e9b to
cbd7fd6
Compare
shubhambatlan
added a commit
that referenced
this pull request
Dec 3, 2026
The off-script principle names all three kinds and says the toolkit, never prose, decides where the flow goes next. The example notes the change and redirect mechanisms are designed in PR #275 and the demo handles asides; the why cites Rasa CALM's command set. The sorting-test example no longer calls the way back after a detour a `say` (the toolkit's results carry it). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…the PR
Fourteen journeys (S1-S14) through analytics-build, eval-generation, accuracy-check, metrics-generation and
source-survey, each stop graded by the card-grading table: T (main's question text), C (a composed card: main's
helper command or `question get <card>`), F<n> (a flow-only card, n/a before commit n, via `--commit`).
Runner and grader prerequisites R1-R11: the person's own folder from a sample (its BI file, its CSVs as SQLite,
its past queries, and a metric catalogue derived only from the BI file's own measures); `setup.expect` for a journey
with no sample; `{label}`, `{nth}` and question-text selects; every skill's flow read for callee cards; the first
value after a skill move; a built project from a finished main run (`--project-from`); each run staged with the
gateway emulator, signed out or no Atlan server on both hosts, refused if the stage names a live one; the demo picker
as `given` + `sample list`; the plugin's scripts and commands derived from the arm, matched by path; the sentence
style in own words; a session ended mid-build once the a3b answer is ingested.
Ten new checks, each with a constructed failing case: no-write-before-approval, asks-only-what-is-missing,
correction-reaches-build, eval-set-as-written, project-loads-across-versions, safe-calls-only (from commit 0);
one-way-asked, change-reopens-stage, redirect-through-toolkit, root-reopens-after-close (from commit 7).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
shubhambatlan
force-pushed
the
analytics-skills-on-toolkit
branch
from
December 3, 2026 15:32
50ca355 to
b0e11e0
Compare
shubhambatlan
added a commit
that referenced
this pull request
Dec 3, 2026
…-before-run One check per flow-defined sequence: each step's reply ends on its card and asks nothing after it, no later step's work runs before that card is answered (a command of the card's moves in flow.json, or a set's run before the card asking to test it), and nothing moves on while a card is open. The last part moves here from typed-reply-mapped, which now only grades how typed words are recorded. A failure still names the rule that broke, per step, e.g. "turn 8: demo.check.run_set: EVAL todo ran before the pick" or "turn 5 (demo.save.where_to_keep): no card composed". The set-running list (answering agents, EVAL todo, EVAL collect) stays written by hand because accuracy-check and eval-generation ship no flow.json yet; it is #275 debt and goes away when those skills get flows. Co-Authored-By: Claude Opus 5.5 <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.
Stacked on #270 (base
analytics-demo-state-driven); the branch merges #270's head (merge commits, no rebase) before each push.Refactors every skill
analytics-builduses onto the Analytics Toolkit, with the toolkit holding only what more than one skill shares.Decisions
analytics-build/scripts/intake.py, a stateless composer whose output goes toquestion get <id> --options -(options_from: given)route,presets,asked_with(two questions in one card),plain_line, a given option'slike/detail(kept with the pick aschosen), flow options markedalwaysafter composed ones,job flag <name>for flags a flow declares, a multiple pick holding each partcheck_flowand the schemasource-survey,metrics-generationandeval-generationkeep no job. Their questions live in their ownflow.json(nojob, nostages), asked withquestion get --flowandquestion choose --flow, which record nothing.job startrefuses such a flowTOOLKIT run <helper>runs the run's shared helpers (project, context, evals, publication)analytics-build/scriptsin prose; now the toolkit is the one place that names itCommits
c8414ef3(intake.py, generic toolkit features,--flow),3852aca8(no Doing/Why),53112cb0(links by name)88758797(TOOLKIT run),0f41704f(--flowdefault and reference paths)6862393d,2a32a1ed,67a9353a(flow.json)174d0939,af10b0d3,41f135ec(flow.json)f9201670,225d5b20,a573f116(flow.json)57363170,82e8ebd7;ab5800e2,e0ed565cabe7e9be:build-own-folder-discovery,build-own-dashboard-branch,build-own-resumeVerification
tools/lint.pyandtools/build.py --checkpass (512 files:render.mdfolds intovisuals.md). Each pushed commit was checked in a detached worktree.sqlglot, saved-run fixtures), none new. New:tools/tests/test_build_flow.py, 19 tests (the interview throughintake.pyandquestion get --options,--flowwith no job, the capability flows,TOOLKIT run).claude -p, the bench (no paid runs). The end-to-end and bench results in earlier versions of this description measured the branch before this pass.Open
accuracy-checkandeval-generationimportanalytics-build/scripts(the shared run code), andanalytics-buildimportsmetrics-generation's engine module. Moving the shared run code into the toolkit is the next step.🤖 Generated with Claude Code