-
Notifications
You must be signed in to change notification settings - Fork 1
feat: alpha upload V2 pipeline with hardened telemetry contract #65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
61 commits
Select commit
Hold shift + click to select a range
5d83448
refactor: upgrade skill folder to match Anthropic skill-creator patterns
WellDunDun 879f9cf
refactor: drop agent copy-to-home, use progressive disclosure instead
WellDunDun 07d9e8c
fix: tell agent HOW to spawn subagents (read file, then spawn)
WellDunDun 7dd2119
fix: align skill docs with CLI reality (28 parity fixes)
WellDunDun 3df0ef2
feat: sync skill version with CLI, add doctor check
WellDunDun 40d2557
feat: track iterations_used in evolution audit table
WellDunDun f11f06e
feat: add constitutional pre-validation gate to evolution pipeline
WellDunDun d57f4c7
feat: add aggregate grading metrics to evolution proposal context
WellDunDun 40bbc54
feat: use real query patterns as few-shot examples in synthetic eval …
WellDunDun cfdac7b
feat: add execution telemetry context to body evolution proposals
WellDunDun 8ca6908
feat: add console-only cross-skill overlap detection to orchestrate
WellDunDun c9561ac
fix localdb session telemetry upserts
WellDunDun 02db3b2
improve evolution proposal drilldown in dashboard
WellDunDun d12da24
refine bundled selftune subagent docs
WellDunDun 5122818
add selftune architecture and alpha planning docs
WellDunDun 19c4838
stop dashboard scripts from mutating bun lockfile
WellDunDun c3a8434
add dashboard sidebar button and accent bar on active nav items
WellDunDun f189af0
feat: alpha trust floor — env-overridable paths, health identity, reb…
WellDunDun 5dc1cf9
feat: consentful alpha onboarding — init enrollment, user identity, c…
WellDunDun 5df4ed2
docs: alpha remote data contract spike — D1 schema, upload payload, q…
WellDunDun ce95b3e
tighten alpha trust floor and rollout planning
WellDunDun 9c5fa5d
feat: alpha upload HTTP client and flush engine
WellDunDun d9e98f3
feat: scaffold Cloudflare Worker for alpha D1 ingest
WellDunDun f95c2a3
remove stale rebuild-db guidance
WellDunDun 67d3a05
feat: alpha upload queue and watermark storage layer
WellDunDun 0643e13
feat: alpha upload payload builder — SQLite to AlphaUploadEnvelope ma…
WellDunDun e09598d
plan phase d marginal case review spike
WellDunDun 0e14ad1
feat: alpha upload orchestration — prepareUploads, runUploadCycle, CL…
WellDunDun 34d7692
feat: alpha upload status in CLI and doctor health checks
WellDunDun 2b75a38
clarify dashboard freshness and integrity warnings
WellDunDun c357d3b
feat: icon-only Activity tabs with tooltips to fix sidebar overflow
WellDunDun 164319b
docs: update project tree, architecture, and plan for alpha upload pi…
WellDunDun 841a06c
docs: realign alpha upload pipeline from Worker/D1 to cloud API V2 push
WellDunDun 30950af
feat: realign alpha upload from Worker/D1 to cloud API V2 push
WellDunDun cd9ddc7
feat: harden telemetry contract — Zod schemas, execution_fact_id, par…
WellDunDun 18765a7
feat: lossless canonical upload staging table for V2 push pipeline
WellDunDun 298833f
test: add e2e integration tests for alpha upload pipeline
WellDunDun 55b7591
feat: harden telemetry contract — Zod schemas, execution_fact_id, par…
WellDunDun 02ba76c
chore: bump cli version to v0.2.8
github-actions[bot] b873ba3
fix: address CodeRabbit review comments across 41 files
WellDunDun 19de860
fix: response body consumption bug and version path in orchestrate
WellDunDun 4cb872d
fix: CI failures — TS error, biome lint, constitutional size limit
WellDunDun 5ee6ef9
feat: agent-first alpha onboarding — cloud link state, readiness chec…
WellDunDun 91ba870
fix: make alpha readiness reachable via real CLI path
WellDunDun 0b27dfa
fix: address CodeRabbit review comments across 41 files
WellDunDun 719a1e4
fix: CI failures — TS error, biome lint, constitutional size limit
WellDunDun 7a3e119
fix: redact api_key from selftune init stdout output
WellDunDun 239f3c3
fix: relax health test assertions for CI compatibility
WellDunDun a8c5aee
fix: health test watcher_mode assertion fails in CI
WellDunDun 827ed6e
feat: accepted cloud response handling, exec plans for alpha program
WellDunDun 794084d
fix: CI failures — biome lint fixes across 23 files
WellDunDun 99eabe1
fix: address CodeRabbit review comments across 9 files
WellDunDun ba29ade
fix alpha upload and ownership follow-ups
WellDunDun 071d2bb
Tighten alpha guidance and resolve review feedback
WellDunDun 986ffa7
Sync alpha docs with staging behavior
WellDunDun ba99e6e
docs: align sqlite and dashboard architecture notes
WellDunDun 9099890
feat: add alpha device-code bootstrap flow
WellDunDun a4751f6
test: fix alpha smoke payload contract
WellDunDun 5e13a6c
fix: address alpha PR review feedback
WellDunDun c69dcac
test: fix alpha identity lint issues
WellDunDun 651325a
fix: stop logging alpha key prefixes
WellDunDun File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,59 @@ | ||
| import { useEffect, useState } from "react" | ||
| import type { HealthResponse } from "@/types" | ||
|
|
||
| function isHealthResponse(value: unknown): value is HealthResponse { | ||
| if (typeof value !== "object" || value === null) return false | ||
| const record = value as Record<string, unknown> | ||
| return ( | ||
| typeof record.workspace_root === "string" && | ||
| typeof record.git_sha === "string" && | ||
| typeof record.db_path === "string" && | ||
| typeof record.process_mode === "string" && | ||
| (record.watcher_mode === "jsonl" || record.watcher_mode === "none") | ||
| ) | ||
| } | ||
|
|
||
| export function RuntimeFooter() { | ||
| const [health, setHealth] = useState<HealthResponse | null>(null) | ||
|
|
||
| useEffect(() => { | ||
| fetch("/api/health") | ||
| .then((res) => res.json()) | ||
| .then((data: unknown) => { | ||
| if (isHealthResponse(data)) { | ||
| setHealth(data) | ||
| } | ||
| }) | ||
| .catch(() => { | ||
| /* non-critical — footer simply stays hidden */ | ||
| }) | ||
| }, []) | ||
WellDunDun marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| if (!health) return null | ||
| const legacyWatcherMode = health.watcher_mode === "jsonl" | ||
|
|
||
| return ( | ||
| <footer className="fixed bottom-0 left-0 right-0 z-10 border-t border-border/40 bg-background/80 backdrop-blur-sm px-4 py-1.5"> | ||
| <div className="flex flex-wrap items-center gap-4 text-[11px] font-mono text-muted-foreground"> | ||
| <span title="Workspace root">{health.workspace_root}</span> | ||
| <span title="Git SHA">{health.git_sha}</span> | ||
| <span title="Database path">{health.db_path}</span> | ||
| <span title="Process mode">mode: {health.process_mode}</span> | ||
| <span | ||
| title="Watcher mode" | ||
| className={legacyWatcherMode ? "text-amber-700 dark:text-amber-300" : undefined} | ||
| > | ||
| watcher: {health.watcher_mode} | ||
| </span> | ||
| {legacyWatcherMode && ( | ||
| <span | ||
| className="rounded border border-amber-300/70 bg-amber-500/10 px-2 py-0.5 text-amber-800 dark:border-amber-800 dark:text-amber-300" | ||
| title="Dashboard reads SQLite, but live invalidation still comes from JSONL log watchers." | ||
| > | ||
| warning: legacy JSONL watcher invalidation | ||
| </span> | ||
| )} | ||
| </div> | ||
| </footer> | ||
| ) | ||
| } | ||
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.