You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Astro is a popular meta-framework for static sites, but sequant doesn't detect it during init. Projects using Astro fall back to "generic" stack with no customized commands.
Detection
Astro projects can be identified by:
astro.config.mjs, astro.config.js, or astro.config.ts in root
"astro" in package.json dependencies
Proposed Configuration
```typescript
{
name: "astro",
displayName: "Astro",
detect: ["astro.config.mjs", "astro.config.js", "astro.config.ts"],
packageJsonKey: "astro",
commands: {
dev: "npm run dev",
build: "npm run build",
test: "npm run test",
lint: "npm run lint"
}
}
```
Acceptance Criteria
Auto-detect Astro projects during init
Configure appropriate dev/build commands
Note in constitution that Astro may not have test/lint by default
Activity
admarble commentedon Jan 7, 2026
📋 Plan Review (Phase 1: /spec)
AC Checklist with Verification Criteria
AC-1: Auto-detect Astro projects during init
Verification Method: Manual Test
astro.config.mjs(or.js/.ts)sequant initpackage.jsonwith"astro"dep, no config filesequant initAssumptions:
"astro"(not scoped)AC-2: Configure appropriate dev/build commands
Verification Method: Manual Test
npm run devnpm run buildAssumptions:
AC-3: Note test/lint may not exist by default
Verification Method: Code Review
echo 'No test command configured - add vitest or similar'npm run lint(common, but may fail if not configured)Implementation Plan
Files to modify:
src/lib/stacks.ts- Add Astro stack definition + detection logicdocs/stacks/astro.md- New documentation filePhase 1: Stack Definition
Phase 2: Detection Logic
Phase 3: Documentation
docs/stacks/astro.mdfollowingnextjs.mdpatternOpen Questions
Effort: ~30-50 lines across 2-3 files
🤖 Generated with Claude Code
feat(stacks): Add Astro framework detection and configuration
fix(#762): anchor blocker markers to line start; document --strict-pr…
feat(#762): lightweight content pre-flight for --chain (#764)
fix(#762): anchor blocker markers to line start; document --strict-pr…