Repository navigation
Conversation
- getSequantMcpConfig() accepts projectDir and clientType params - Claude Desktop and VS Code + Continue configs include cwd - Cursor config omits cwd (runs from workspace root) - env.ANTHROPIC_API_KEY only included when set in environment - sequant init passes client type to config generator - Docs updated to reflect automatic cwd setup Entire-Checkpoint: aaf7c3f94d79
7 tasks
admarble
deleted the
feature/395-mcp-server-fix-config-generation-cwd-env-per-clien
branch
March 24, 2026 14:55
6 tasks
7 tasks
admarble
added a commit
that referenced
this pull request
May 3, 2026
Mirrors the --testgen pattern from #557 to remove the only --phases emission /assess was still forced to produce for non-resume cases. - bin/cli.ts: register --security-review next to --testgen - types.ts: add RunOptions.securityReview - phase-mapper.ts: extend PhaseMapperOptions and insert security-review after spec when flag set; idempotent vs label-based auto-detection - batch-executor.ts: SEQUANT_SECURITY_REVIEW env override and runtime injection block (handles --resume after spec already ran) - assess/SKILL.md (×3 mirrors): rewrite Rule 8 — drop "asymmetry" clause, list both --testgen and --security-review as additive flags; example commands at #412 and #500 switch from --phases to --security-review (Flags annotations updated to match) - docs/features/assess-minimal-flags.md: update for new flag - assess-skill.test.ts: extend rejection regex to also catch --phases ...,security-review patterns - phase-mapper.test.ts: 5 new tests covering insertion, idempotency, composition with --testgen, and absence of spec - CHANGELOG: [Unreleased] / Added entry Closes #559
admarble
added a commit
that referenced
this pull request
Sep 9, 2026
Mirrors the --testgen pattern from #557 to remove the only --phases emission /assess was still forced to produce for non-resume cases. - bin/cli.ts: register --security-review next to --testgen - types.ts: add RunOptions.securityReview - phase-mapper.ts: extend PhaseMapperOptions and insert security-review after spec when flag set; idempotent vs label-based auto-detection - batch-executor.ts: SEQUANT_SECURITY_REVIEW env override and runtime injection block (handles --resume after spec already ran) - assess/SKILL.md (×3 mirrors): rewrite Rule 8 — drop "asymmetry" clause, list both --testgen and --security-review as additive flags; example commands at #412 and #500 switch from --phases to --security-review (Flags annotations updated to match) - docs/features/assess-minimal-flags.md: update for new flag - assess-skill.test.ts: extend rejection regex to also catch --phases ...,security-review patterns - phase-mapper.test.ts: 5 new tests covering insertion, idempotency, composition with --testgen, and absence of spec - CHANGELOG: [Unreleased] / Added entry Closes #559
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.
Summary
getSequantMcpConfig()now acceptsprojectDirandclientTypeparameters to generate client-appropriate configscwd(absolute project path); Cursor omits itenv.ANTHROPIC_API_KEYis only included when the env var is actually set (no placeholder that confuses Max plan users)sequant initpasses client type through to config generationPre-PR AC Verification
getSequantMcpConfig()acceptsprojectDirandclientTypesrc/lib/mcp-config.ts:35-38cwdCLIENTS_NEEDING_CWDset, tests verifycwdCLIENTS_NEEDING_CWD, tests verifyenv.ANTHROPIC_API_KEYonly when setmcp-config.ts:50-52, env testssequant initgenerates per-client configsinit.ts:565-568passesclient.clientTypemcp-server.mdnoteTest plan
npm run build— passesnpm run lint— passesnpm test— 1843/1843 passCloses #395