Skip to content

Multi-hop promotion fix + CONTRIBUTING + aspirational ROADMAP - #6

Merged
camharris93 merged 2 commits into
mainfrom
chore/promotion-tests-docs
Jul 7, 2026
Merged

Multi-hop promotion fix + CONTRIBUTING + aspirational ROADMAP#6
camharris93 merged 2 commits into
mainfrom
chore/promotion-tests-docs

Conversation

@camharris93

Copy link
Copy Markdown
Owner

What's in here

Fix (was sitting uncommitted): Session.self_contained_sql_for_turn() centralizes the inlining used when promoting a chat answer to a dbt model — includes prior-turn and within-turn hop synthetics but excludes the answer's own turn alias, which previously shadowed CTE names. Agent build action and dashboard promotion both use it; build errors cleanly when the last answer has no SQL. New conversation/multi-hop test coverage.

CONTRIBUTING.md (new): deterministic-core/AI-at-the-edges as a hard boundary, attack-first tests for read-only-guard changes, the offline test + lint gate, solo-practitioner scope filter.

ROADMAP.md (new): explicitly aspirational — v0.3 accumulation layer (grain tests, metric registry, spec/decision templates, all explained in plain English) → sediment doctor → sentinel mode → shareable Ask + MCP server → the layered-stack v1.0 → the one-person data platform north star. README links both docs.

Verification

  • ruff check . clean
  • pytest -m "not live" — 114 passed (includes the new tests/test_conversation.py)

🤖 Generated with Claude Code

camharris93 and others added 2 commits July 7, 2026 13:34
Centralize promotion inlining in Session.self_contained_sql_for_turn():
include prior-turn and within-turn hop synthetics but exclude the
answer's own turn alias (which shadowed CTE names when promoting).
Agent build action and dashboard promotion both use it; build now
errors cleanly when the last answer has no SQL. Adds conversation/
multi-hop test coverage (tests/test_conversation.py).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
CONTRIBUTING encodes the working rules: deterministic core / AI at the
edges as a hard boundary, attack-first tests for guard changes, the
offline test + lint gate, and the solo-practitioner scope filter.
ROADMAP maps v0.3 (accumulation layer: grain tests, metric registry,
templates) through doctor/sentinel/MCP directions to the one-person
data platform north star. README links both.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@camharris93
camharris93 merged commit d5bbf9d into main Jul 7, 2026
7 checks passed
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