Skip to content

docs: add example .preflight/ config directory#196

Closed
TerminalGravity wants to merge 1 commit intomainfrom
docs/preflight-config-examples
Closed

docs: add example .preflight/ config directory#196
TerminalGravity wants to merge 1 commit intomainfrom
docs/preflight-config-examples

Conversation

@TerminalGravity
Copy link
Collaborator

The README documents .preflight/ config extensively but there were no actual example files users could copy into their projects.

Adds examples/.preflight/ with ready-to-use templates:

  • config.yml — profile, related projects, thresholds, embedding provider
  • triage.yml — keyword rules and strictness for prompt classification
  • contracts/api.yml — manual type/interface definitions
  • README.md — setup instructions and tips

Also adds a pointer in the main README linking to the examples.

…lates

The README documents .preflight/ config extensively but there were no
actual example files to copy. Adds:
- examples/.preflight/config.yml — profile, related projects, thresholds
- examples/.preflight/triage.yml — keyword rules and strictness
- examples/.preflight/contracts/api.yml — manual contract definitions
- examples/.preflight/README.md — setup instructions and tips
- README.md pointer to the examples directory
Copy link
Collaborator Author

@TerminalGravity TerminalGravity left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice — example configs are exactly what people need to get started without reading the whole README. The triage.yml and contracts examples lower the barrier significantly.

One suggestion: in config.yml, the related_projects paths use /Users/you/projects/... which is fine as a placeholder, but maybe add a comment like # Use absolute paths or paths relative to this project to clarify. People might wonder if relative paths work.

LGTM, ship it.

@TerminalGravity
Copy link
Collaborator Author

Closing — #201 covers the same examples directory. Let's use that one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant