Skip to content

About

Exemples de config pi (layering de modèles, garde-fous, tests) référencés par postcursors.dev

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

Repository files navigation

postcursors-examples

Configuration excerpts and reproducible companion examples behind the articles on postcursors.dev.

This repository is written for two readers: humans and the coding agents that will reproduce or adapt these setups. Every bundle follows the same structure so an agent can navigate it deterministically:

README.md       What, why, prerequisites, adapt-to-your-context, verify
<config files>  Real, working code — not simplified stubs

How to use this repository (for agents)

  1. Read AGENTS.md first — it defines how to consume this repo.
  2. Each bundle's README.md contains, in order:
    • What / Why — the real-world problem the config solves;
    • Files — what each file does;
    • Adapt to your context — the variables to change (paths, model names, keybindings, tool availability), with the decision points;
    • Install — ordered commands;
    • Pitfalls — traps already hit, as symptom → cause → fix. Read this section before implementing: it is the accumulated experience;
    • Verify — how to prove the setup works.
  3. Never copy secrets, API keys, or machine-specific paths. Assume the user's context differs; the Adapt sections tell you what to change.

Contents

  • pi/ — pi agent configuration: model-layering presets (budget ceiling per task type), guardrail extensions (rm -rf blocking, secret guard, workflow gates), slash-command prompts, and the test bench that proves the guardrails work.
  • pi/env-guard/: standalone pi 0.85.1 extension, loading diagnostics and a real SDK/native-tool smoke without LLM requests.
  • omp/git-review/: frozen Git exports, omp 18.8.6 review launcher and a public pagination-regression fixture.
  • herdr/ — herdr terminal-multiplexer integration: TV (Television) pickers for workspaces/tabs/panes, keybindings, and four documented pitfalls (reload half-validation, CLI child-process fork, popup stdout plumbing, TV source spawning).
  • agents-md/ — AGENTS.md hierarchy examples (project-wide file + per-directory overrides), the cheap way to give context to agents without context-window spending.
  • opencode/ — opencode config and project-scoped custom commands (endpoint scaffold, test generation, service scaffold).
  • prompts/ — prompt structure template and ✅/❌ pairs: task formulation, verifiable exit conditions, constraint types, anti-patterns.
  • tmux/ — tmux config excerpts for agent sessions: accessible prefix, vim-style navigation, one-key agent launch, named session for remote work.

Articles linking here

Sanitization

Real excerpts from a daily setup, adapted for public use:

  • machine paths replaced with $HOME / generic names;
  • no secrets, no API keys (the secret-guard.ts regexes are the redaction feature, not leaks);
  • no private project or company data.

License

MIT — copy, adapt, no attribution required.

About

Exemples de config pi (layering de modèles, garde-fous, tests) référencés par postcursors.dev

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages