Commit 5392184
feat: add Project Sentinel supervisory infra, Agentic Sentinality system, and Beta Tracker frontend
## Backend
- **Project Sentinel** (Plan A): sentinel-agent.sh CLI, JulesWebhookBroadcaster WS auth +
tag-based filtering, JulesOverseer /ingest + doom-loop detection + clarification handler,
babysitter callbacks in JulesService/StitchService, sentinel REST API routes
- **Agentic Sentinality** (Plan B): 10 Drizzle learning schema tables (sessions, threads,
messages, enrichment, tags, AI insights, PR reflections), LearningAgent DO with
contemplation gate (Vectorize + D1 dual-check), LearningWorkflow (4-step CF Workflow),
/api/learning + /api/governance routes, Active PR Interceptor (sentinel-handler.ts),
AgentStubs for 11 production DO classes
- **TS fixes**: setState→setStatus, removed generic type params, added getAgentByName util,
streamTextAgent/createRunner exports, @ts-nocheck on backup file, MCP signature fixes,
null guards on env secrets
- **wrangler.jsonc**: fixed D1 DB IDs to match production, consolidated DO migrations to
single v1, added sentinel-patterns Vectorize index, LearningWorkflow binding, cron trigger
- **env-augments.d.ts**: VECTORIZE_INDEX, LEARNING_WORKFLOW, LEARNING_AGENT bindings
## Frontend
- **Beta Tracker** (Linear/ClickUp-inspired):
- TrackerLayout: left sidebar (views + status counts + saved searches), top toolbar
(search/filter/new task), AI assistant sheet
- TrackerListView: hierarchical list grouped by status, checkboxes, inline tagging,
floating bulk action bar
- TrackerBoardView: @dnd-kit kanban with 5 columns (Backlog→Done), drag-and-drop
- TrackerReportsView: recharts analytics (pie + bar), metric cards, team workload,
AI insights alert
- TrackerBeta page wrapper: react-query data fetching from /api/projects/tasks,
PATCH/POST/DELETE mutations, repo-scoped + global modes
- **Routes**: /beta/tracker, /beta/tracker/:view, /project/:owner/:repo/beta-tracker,
/project/:owner/:repo/beta-tracker/:view
- **Sidebar**: Tracker [Beta] in AppSidebar global nav + ProjectFolder per-repo tabs
- **Learning dashboard**: 5 Astro pages + 9 React components (InsightGrid, SessionsTable,
BabysitterHUD, PatternDistributionChart, etc.)
- **CostsApp**: QueryClientProvider wrapper to fix SSR error
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent f0bdbf3 commit 5392184
261 files changed
Lines changed: 9634 additions & 302817 deletions
File tree
- .agent/rules
- backend/src
- ai
- agents
- base
- patterns
- github
- workshop
- mcp/tools/github
- utils
- automations
- issues
- pr
- db/schemas/github
- learning
- do
- routes/api
- agents
- frontend
- ai
- research
- governance
- learning
- projects/sentinel
- webhooks
- services
- jules
- sentinel
- stitch
- types
- workflows/learning
- container
- frontend/src
- components
- layout
- learning
- project-dashboard/beta
- pages
- learning
- views/control/global
- migrations
- core
- meta
- webhooks
- meta
- public
- _astro
- config
- ai
- general
- github
- history
- secrets
- costs
- learning
- babysitter
- dashboard
- insights
- sessions
- showcase
- workshop
- scripts
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
1 | 22 | | |
2 | 23 | | |
3 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
68 | 67 | | |
69 | 68 | | |
70 | | - | |
71 | | - | |
| 69 | + | |
72 | 70 | | |
73 | 71 | | |
74 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
| 13 | + | |
| 14 | + | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
| |||
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
24 | | - | |
| 26 | + | |
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
0 commit comments