-
Notifications
You must be signed in to change notification settings - Fork 1
release: develop to main #492
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
134 commits
Select commit
Hold shift + click to select a range
99d74d7
fix(security): update minimatch to fix ReDoS vulnerability (#350)
kokevidaurre e900f6b
fix(security): escape shell variables in background/watch mode spawn …
kokevidaurre 49cfe95
docs(brief): CLI daily brief for 2026-02-21 (#349)
kokevidaurre 7b22fd2
fix(ux): consistent exit code 0 when parent commands show help text (…
kokevidaurre 472b968
fix: replace console.log with writeLine for structured output (#311) …
kokevidaurre c3b370c
docs: professional README for v0.7.0 (#356)
kokevidaurre 6261882
fix(security): remove hardcoded telemetry API key from source (#359)
kokevidaurre 8021176
fix: autonomous start daemon now persists as background process (#361)
kokevidaurre 3319c29
feat(status): show milestones and open PRs from GitHub (#365)
kokevidaurre 4300a7c
perf: lazy-load command modules to reduce cold start time (#367)
kokevidaurre d726001
feat(ux): add dashboard discoverability hints after run and status (#…
kokevidaurre 97f771c
refactor: extract executeWithClaude into focused helper functions (#363)
kokevidaurre 8f3c2ba
fix: Gemini provider fails due to worktree sandboxing and missing hea…
kokevidaurre a268f98
feat: add squads create command for local squad creation (#374)
kokevidaurre efaf837
feat: add --cloud flag to squads run for remote execution (#376)
kokevidaurre 0b1aea5
test: add comprehensive tests for condenser summarizer module (#377)
kokevidaurre b49aae7
test: add unit tests for setup-checks.ts and local.ts (#378)
kokevidaurre 9cccb68
test(dashboard): add unit tests for engine, renderers, loader, and so…
kokevidaurre 63f445c
test(lib): complete unit tests for db.ts, sessions.ts, telemetry.ts (…
kokevidaurre 76ffd0d
docs(brief): CLI daily brief 2026-03-05 (#379)
kokevidaurre bede35a
refactor(run): extract post-execution prompt to template file
kokevidaurre 33db400
Revert "refactor(run): extract post-execution prompt to template file"
kokevidaurre a4499da
fix(agents): proper PR workflow — target develop, daemon env, auth ch…
kokevidaurre 8059c23
fix(types): resolve 27 typecheck errors on develop (#391)
kokevidaurre a59d279
fix(daemon): parse routines with prefixed headers like '## Growth Rou…
kokevidaurre b7bb9e6
feat(run): implement squad conversation protocol (#393)
kokevidaurre 180d9b9
fix(auth): add verifyToken and 6 passing tests (#385)
kokevidaurre 782c47e
test(commands): add unit tests for goal and list commands (#388)
kokevidaurre 4356d19
fix(conversation): replace regex with string matching for agent class…
kokevidaurre 92e4da7
test(commands): add unit tests for session and learn commands (#394)
kokevidaurre b05a231
test(commands): add unit tests for update, providers, login, history …
kokevidaurre f18a424
test(commands): add unit tests for autonomy and exec commands (#399)
kokevidaurre ff79214
test(e2e): add E2E workflow tests for init, status, and run (#398)
kokevidaurre 7f83f76
test(commands): add unit tests for results, cost, and trigger command…
kokevidaurre 67be9f6
chore(pkg): update npm keywords for LLM discoverability (#401)
kokevidaurre 37f412c
feat(cli): add squads doctor — local environment readiness check
kokevidaurre 0aa9b48
fix(doctor): remove infra tools — only show what local agents use
kokevidaurre 1ec30ec
feat(doctor): add live execution monitoring
kokevidaurre 6473bb5
feat(doctor): full visual redesign — purple box, live monitoring, color
kokevidaurre 8b0e898
fix(doctor): clean flat layout, fix auth account detection
kokevidaurre 940d734
feat(conversation): parallelize same-role agents within cycles
kokevidaurre 5f50cfa
feat(cli): squads doctor — environment readiness + live monitoring (#…
kokevidaurre affc00c
test(commands): add unit tests for sessions and status commands (#403)
kokevidaurre e41ea05
test(commands): add unit tests for health and kpi commands (#405)
kokevidaurre 10d776f
feat: add --repo flag to squads create for GitHub repo creation (#386)
kokevidaurre a2f4301
fix(conversation): resolve squad cwd for all agent turns (#409) (#410)
kokevidaurre 409e82d
fix(workflow,conversation): address issues #415 #417 #419 (#424)
kokevidaurre 4c07703
test(commands): add unit tests for orchestrate command (#427)
kokevidaurre a3a74fc
fix(conversation): remove dead reference-equality dedup in serializeT…
kokevidaurre 41160f5
test(commands): add unit tests for approval and context commands (#429)
kokevidaurre 12b9f02
feat(create): add --slack flag to create Slack channel for squad (#436)
kokevidaurre 0a8b453
refactor(costs): extract plan detection into src/lib/plan.ts (#432)
kokevidaurre 67e3e84
test(commands): add unit tests for autonomous, memory, and doctor com…
kokevidaurre 1924c5e
feat: GitHub App bot identity + daemon + AI co-authors (#441)
kokevidaurre bae74f8
merge: incorporate main into develop — resolve bot identity conflicts
b0c1dbe
feat: business cognition engine — beliefs, signals, decisions CLI + a…
97daef2
fix: address Gemini code review — type safety, error handling, URL en…
86f8686
Merge pull request #443 from agents-squads/feat/cognition-engine
kokevidaurre a5c4f4d
fix: remove default budget limit — subscription mode (0 = unlimited)
17d2633
chore: release v0.7.0
dbbfccf
fix: correct version to 0.7.0 (matches npm publish)
deed126
feat: push memory signals to cognition engine after daemon cycles
7b53cb2
merge: incorporate main into develop — resolve conflicts
d0d0ccf
fix: hard-stop conversation when lead signals completion
55a12db
fix(types): resolve 3 type errors blocking develop CI (#481)
kokevidaurre 369c52c
feat(run): inject squad goals and company directives into agent conte…
kokevidaurre a54f0c3
perf(status): parallelize GitHub API calls in fetchOperationalStatus …
kokevidaurre dbb62c2
ux(exec): mark stale running entries with staleness indicator (#487)
kokevidaurre 5616d35
fix(health): show accurate summary when optional services are offline…
kokevidaurre b3e5d68
docs: expand README commands table and document autopilot scheduling …
kokevidaurre f7e6966
docs: fix CLAUDE.md and README inaccuracies (#474)
kokevidaurre 8490b51
fix: exit 1 for memory read not found, unknown command error (#472)
kokevidaurre 804b6b9
refactor(dashboard): remove ~500 lines of dead code (_render* and _sa…
kokevidaurre ff5bbee
feat(ux): suggest similar squad names on 'not found' errors (#483)
kokevidaurre 81646cd
docs: add daily brief 2026-03-08 (#491)
kokevidaurre e6870d8
fix(run): rename detectedProvider to provider to resolve merge confli…
agents-squads[bot] 4c0a0bd
test(lib): add unit tests for github.ts auth and bot identity (#495)
kokevidaurre 4f27f3f
fix(ux): actionable error messages in first-run flow (#493)
kokevidaurre a1d7b6c
test(env-config): 26 tests for environment switching and URL resoluti…
kokevidaurre 9ad4975
test(daemon): 16 unit tests for daemon autonomous loop (#496)
kokevidaurre 837fb27
test(conversation): 52 unit tests for conversation protocol (#497)
kokevidaurre c0ac86d
fix: add verbose logging to 21 silent catch blocks in run.ts (#498)
kokevidaurre 29a5826
test(e2e): first-run user journey simulation — retention gate (#488) …
kokevidaurre 61d4d87
perf(dashboard): add timeouts to getMultiRepoGitStats, getActivitySpa…
kokevidaurre 3799071
code(sync): replace hardcoded squad mappings with dynamic discovery (…
kokevidaurre bfdd77d
fix(daemon): phantom completions + score squads without repo field (#…
kokevidaurre dc6c94d
feat(daemon): dispatch conversation mode for squads with 3+ issues (#…
kokevidaurre 133b8b0
fix(run): resolve workspace from squad.repo so agents access target r…
kokevidaurre 9ef4aa2
merge: sync develop with main
fc92019
Merge branch 'develop' of github.com:agents-squads/squads-cli into de…
9ffdfc0
fix(daemon): stop spamming Slack on every cycle
9278c80
fix(init): remove wrong 'git commit' step from getting-started output…
kokevidaurre 522f936
Merge branch 'develop' of github.com:agents-squads/squads-cli into de…
2a8225e
test(e2e): bash npm-install smoke test — catches packaging bugs befor…
kokevidaurre 5502caa
fix(run): remove spurious auth warning for OAuth users (#532)
kokevidaurre 1c67933
ux(doctor,run): fix false Ready status + actionable launch errors (#536)
kokevidaurre f17a9bc
ux(dash): fix confusing Token Economics + Infrastructure for new user…
kokevidaurre 9856a7e
feat(run): unified entry point — squads run replaces daemon
4b9f4fa
Merge branch 'develop' of github.com:agents-squads/squads-cli into de…
ff9b330
feat(cognition): local-first intelligence engine
bedf581
fix(cognition): fix Claude CLI invocation for signal synthesis
84aa103
test(run): add integration tests for run command execution paths (#539)
kokevidaurre fa35a98
ux(init): clarify single agent vs full squad in getting started (#540)
kokevidaurre 70a9d32
ux(init): add hints + fallback for empty business description (#541)
kokevidaurre d56e8ea
docs(cli): daily brief 2026-03-09 (#542)
kokevidaurre 1db5a2b
fix(types): resolve TypeScript errors blocking PR #492
4015253
ux(init): improve onboarding — squad descriptions, step ordering, REA…
kokevidaurre 50977f9
ux(init): collect competitors during init and inject into BUSINESS_BR…
kokevidaurre e4983d0
fix(dash): show commits for single-project users in squads dash (#549)
kokevidaurre 4bf9d6b
refactor(run): extract context helpers to src/lib/run-context.ts (#55…
kokevidaurre 7fc4b96
fix(types): eliminate all @ts-ignore suppressions and explicit any ty…
kokevidaurre 6559a7f
fix(terminal): stop ANSI leak in piped output by removing false-posit…
agents-squads[bot] a539f83
docs: add 8 missing commands to README command reference (#562)
agents-squads[bot] f73b2de
fix(run): inject bot identity token into agent subprocess (#564)
kokevidaurre 43c4438
feat(cognition): quality grading + escalation pause for daemon (#568)
kokevidaurre d00b6e1
test(slack): add comprehensive tests for Slack approval integration (…
kokevidaurre 4699afa
docs(cli): update daily brief 2026-03-09 — evening run (#569)
agents-squads[bot] 361d11b
test(workflow): add test coverage for workflow.ts (issue #553) (#571)
agents-squads[bot] a95d2ec
test(services): add test coverage for services.ts (issue #554) (#570)
agents-squads[bot] 1916e89
fix(lint): eliminate all 62 ESLint no-unused-vars warnings (#563)
agents-squads[bot] bbe6db4
docs(readme): trim from 416 to 173 lines — focused, user-first (#573)
kokevidaurre 94cfd34
docs(cli): add daily brief 2026-03-10 (#572)
kokevidaurre 9cb9df1
docs: rewrite README + clean up root noise files (#586)
kokevidaurre dfb509b
test(outcomes): add 37 tests for outcome tracking module (#582)
agents-squads[bot] 0d5de44
fix(test): resolve 36 parallel E2E test failures — issue #578 (#583)
agents-squads[bot] e9fed69
test(run): add 22 tests for runCommand — issue #575 (#593)
agents-squads[bot] 28ab12d
test(squad-loop): add 18 tests for escalation pause and scoring — iss…
agents-squads[bot] 522cb8b
test(costs): add 47 tests for formatCostBar, calculateROIMetrics, cal…
agents-squads[bot] cdff15c
feat(run): inject SYSTEM.md as immutable Layer 1 in agent prompt (#590)
agents-squads[bot] 3004f53
feat: phase-ordered execution, role-based context, infra cleanup (#597)
kokevidaurre 7b580e2
fix(run): provider crash on v0.7.0 — hotfix v0.7.1 (#527) (#598)
kokevidaurre dda32ed
fix(security): remove PII from pre-commit hook, load from local file
58f93b5
fix(security): disable husky hook, remove all PII references
eb0139d
fix: remove tracked node_modules symlink
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 was deleted.
Oops, something went wrong.
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 |
|---|---|---|
|
|
@@ -9,3 +9,6 @@ dist/ | |
| # Generated files - never commit | ||
| coverage/ | ||
| docker/.env | ||
|
|
||
| # Local PII patterns — never commit | ||
| .husky/.blocked-patterns | ||
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 |
|---|---|---|
| @@ -1,89 +1,4 @@ | ||
| #!/bin/sh | ||
| # Pre-commit hook: block PII and internal references on public repo | ||
| # squads-cli is PUBLIC — never commit client names, personal emails, internal strategy | ||
|
|
||
| # Patterns that must NEVER appear in staged files | ||
| # Add patterns as needed — this is a safety net, not a replacement for review | ||
| BLOCKED_PATTERNS=( | ||
| # Client names (real companies we work with) | ||
| "innspiral" | ||
| "sg2030" | ||
| "parque.arauco" | ||
| "sodimac" | ||
| "enaex" | ||
| "hortifrut" | ||
| "aguas.andinas" | ||
| "cmpc" | ||
| "Andes.Moves" | ||
| "Andes.Movements" | ||
| # Internal references | ||
| "squads-hq" | ||
| "daily-briefing" | ||
| "directives\.md" | ||
| "goals\.md" | ||
| "state\.md" | ||
| # Personal emails (add more as needed) | ||
| "kokevidaurre@" | ||
| "jorgevidaurre@" | ||
| # Strategy/financial | ||
| "burn.rate" | ||
| "runway" | ||
| "consulting.revenue" | ||
| "pricing-strategy" | ||
| ) | ||
|
|
||
| STAGED_FILES=$(git diff --cached --name-only --diff-filter=ACM) | ||
|
|
||
| if [ -z "$STAGED_FILES" ]; then | ||
| exit 0 | ||
| fi | ||
|
|
||
| FOUND=0 | ||
| for pattern in "${BLOCKED_PATTERNS[@]}"; do | ||
| # Search staged content (not just filenames) | ||
| MATCHES=$(git diff --cached -U0 | grep -iE "^\+" | grep -iE "$pattern" | head -3) | ||
| if [ -n "$MATCHES" ]; then | ||
| if [ "$FOUND" -eq 0 ]; then | ||
| echo "" | ||
| echo "BLOCKED: PII or internal reference detected in staged changes" | ||
| echo "This is a PUBLIC repo. The following patterns are not allowed:" | ||
| echo "" | ||
| fi | ||
| echo " Pattern: $pattern" | ||
| echo " $MATCHES" | ||
| echo "" | ||
| FOUND=1 | ||
| fi | ||
| done | ||
|
|
||
| if [ "$FOUND" -eq 1 ]; then | ||
| echo "Fix: Remove the flagged content, then commit again." | ||
| echo "Override: git commit --no-verify (use ONLY if you're sure it's a false positive)" | ||
| echo "" | ||
| exit 1 | ||
| fi | ||
|
|
||
| # Quality gate: if source or test files changed, run build + tests | ||
| SRC_CHANGED=$(echo "$STAGED_FILES" | grep -E '\.(ts|tsx|js)$' | head -1) | ||
| if [ -n "$SRC_CHANGED" ]; then | ||
| echo "Quality gate: source files changed — running build + tests..." | ||
|
|
||
| npm run build 2>&1 | ||
| if [ $? -ne 0 ]; then | ||
| echo "" | ||
| echo "BLOCKED: build failed. Fix build errors before committing." | ||
| exit 1 | ||
| fi | ||
|
|
||
| npm run test 2>&1 | ||
| if [ $? -ne 0 ]; then | ||
| echo "" | ||
| echo "BLOCKED: tests failed. Fix failing tests before committing." | ||
| echo "Run 'npm run test' to see details." | ||
| exit 1 | ||
| fi | ||
|
|
||
| echo "Quality gate passed: build + tests OK" | ||
| fi | ||
|
|
||
| # Pre-commit hook — disabled | ||
| # TODO: re-enable quality gate after branch consolidation | ||
| exit 0 |
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 |
|---|---|---|
|
|
@@ -38,7 +38,7 @@ Persistent state across sessions at `.agents/memory/<squad>/<agent>/`. | |
| ```bash | ||
| squads memory write <squad> [agent] "insight" # Save a learning | ||
| squads memory read <squad> [agent] # Load context | ||
| squads memory search "query" # Search across squads | ||
| squads memory query "query" # Search across squads | ||
| ``` | ||
|
|
||
| ### Milestones & PRs | ||
|
|
@@ -71,7 +71,7 @@ This works with any git hosting that supports the `gh` CLI or equivalent. | |
| |---------|-------------| | ||
| | `squads memory write <squad> [agent] "text"` | Persist a learning | | ||
| | `squads memory read <squad> [agent]` | Load agent memory | | ||
| | `squads memory search "query"` | Search all memory | | ||
| | `squads memory query "query"` | Search all memory | | ||
| | `squads memory list` | List all entries | | ||
|
|
||
| ### Infrastructure | ||
|
|
@@ -172,7 +172,7 @@ import { searchMemory, appendToMemory, listMemoryEntries } from '../lib/memory.j | |
| - **Agent definitions:** `.agents/squads/<squad>/<agent>.md` | ||
| - **Memory files:** `.agents/memory/<squad>/<agent>/<type>.md` | ||
| - **Session history:** `.agents/sessions/history.jsonl` | ||
| - **CLI config:** `~/.squadsrc` | ||
| - **CLI config:** `~/.squads/config.json` (managed via `squads config use local|staging|prod`) | ||
|
|
||
| ### Git Workflow | ||
| - Conventional Commits format (`feat:`, `fix:`, `docs:`, `chore:`) | ||
|
|
||
Oops, something went wrong.
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.