This repository was archived by the owner on Apr 11, 2026. It is now read-only.
Commit 887c5ce
feat: maximize project-context.md across all pipeline stages
Core:
- Add parse_project_context module (ProjectContext, GuardCommands structs)
- Parse yaml blocks for Guard Commands and File Conventions
- infer_domain() matches file paths to domains via conventions
- conflicts_with_non_goals() keyword matching
- flowctl project-context show/domain commands
Guard integration:
- Guard reads Guard Commands from project-context as highest priority
- Falls back to stack config → auto-detection
Init generation:
- Auto-detect guard commands (test/lint/typecheck/format per stack)
- Auto-detect file conventions (scan actual directories)
- Auto-detect critical rules (unsafe_code, strict TS, CI)
- Refactored into detect_stack/generate_guard_commands/generate_file_conventions/detect_rules
Skills/prompts updated (7 files):
- brainstorm: reads Non-Goals + Architecture Decisions
- plan: reads Non-Goals, File Conventions, Architecture Decisions
- plan_review: verifies against Non-Goals
- close: Non-Goals compliance in pre-launch checklist
- Edge Case Hunter: checks Critical Rules violations
- Acceptance Auditor: checks Non-Goals compliance
- Worker spawn: includes Non-Goals + Critical Rules in prompt
8 new tests, 359 total pass.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 82faa92 commit 887c5ce
16 files changed
Lines changed: 996 additions & 31 deletions
File tree
- bin
- codex/skills
- flow-code-plan/steps
- flow-code-work/steps
- flowctl/crates
- flowctl-cli/src
- commands
- admin
- flowctl-core/src
- prompts
- skills
- flow-code-brainstorm/steps
- flow-code-code-review
- flow-code-run
- templates
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
17 | 21 | | |
18 | 22 | | |
19 | 23 | | |
| |||
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
80 | 84 | | |
81 | 85 | | |
82 | 86 | | |
| |||
110 | 114 | | |
111 | 115 | | |
112 | 116 | | |
| 117 | + | |
| 118 | + | |
113 | 119 | | |
114 | 120 | | |
115 | 121 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
337 | 338 | | |
338 | 339 | | |
339 | 340 | | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
340 | 374 | | |
341 | 375 | | |
342 | 376 | | |
343 | | - | |
| 377 | + | |
344 | 378 | | |
345 | 379 | | |
346 | 380 | | |
| |||
355 | 389 | | |
356 | 390 | | |
357 | 391 | | |
358 | | - | |
359 | | - | |
360 | | - | |
361 | | - | |
362 | | - | |
363 | | - | |
364 | | - | |
365 | | - | |
366 | | - | |
367 | | - | |
368 | | - | |
369 | | - | |
370 | | - | |
371 | | - | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
372 | 410 | | |
373 | 411 | | |
374 | 412 | | |
| |||
0 commit comments