About
Why FACET exists
FACET is a private research project by Pascal Malbranche. There is no company behind it and no business model, and no data is sold.
Published so others can try it
Coding agents change business rules in diffs that look reasonable. FACET writes down what each feature should do, next to its code, and notices when the two DriftDrift is when code changes and the record describing it does not follow, so the two no longer match. facet drift lists the features whose anchored code changed since a chosen baseline.In the glossary apart.
I publish FACET so that friends and colleagues can use it and evaluate it in their own projects.
In use
FACET helps coding agents write better documentation. Months of use show clearly that FACET keeps documentation and code from drifting apart.
I use FACET in my own work. First findings from productive use: running facet adopt on a large SaaS product uncovered real defects and helped raise its test coverage.
These are personal observations, not a measured study.
A first personal verdict
What FACET achieves beyond that is even more valuable:
- FACET makes agents disclose which features they do not understand. That shows where documentation is needed so coding agents can work at the level of people.
- Agents write more tests, find more ScenarioA scenario is one behaviour a feature promises, written in a record as Given/When/Then steps. Each scenario has an id that tests and other records can refer to.Read more here and edge cases, and so deliver better software.
- Documentation gets better: agents write it goal-oriented and precise instead of as shapeless, creative prose in Markdown files.
- Development with agents scales better. More standards mean fewer follow-up questions. FACET also sets guardrails through its schema that make the agent deal with the subject and offer more complete solutions. That cuts human-in-the-loop work to a minimum.
- As a person, I see much more clearly how my application works and where tests are missing, even without AI.
- When my session limit is reached, I can keep making changes myself, without an agent explaining software to me that it built and I did not.
Maintenance status
- One person maintains FACET, Atlas
Atlas opens your repository as a product map, showing features, their requirements and the tests linked to them in your browser.View nowRead more here and Facet UI.
- Every published product is a 0.1 release candidate: formats and commands may still change.
- Research and development happen internally; results are published through releases.
- Issues are read; answers are not guaranteed.
What FACET does not do
Content on this website names its limits openly. In summary:
- It only knows what is recorded and anchored. Code without an AnchorAn anchor is a comment in the source code, starting with
@facet:, that names the record the code belongs to. FACET reads these comments to know where each feature is implemented.In the glossary and dependencies nobody wrote down stay invisible. - Atlas does not run tests and does not read what a test asserts.
- facet test runs the test commands you declare and reports per test file. Whether a test really covers a scenario is not checked.
- facet drift never blocks work on findings; it warns instead of raising errors, as a list for a reviewer. calibrate and split always exit 0. Hard failures come from LintLint is FACET's check that records and code still point at each other: every record matches its schema, every anchor names an existing record, and every active record has an anchor. It runs locally and in CI on every pull request.In the glossary, for broken links between FACET recordA FACET record is a short, checkable description of one feature, kept as a YAML file next to the code. It states why the feature exists, the behaviour it promises as scenarios, and the tests that check it.In the glossary and code, and that lint is optional.
- The Agent pluginThe agent plugin, also called the FACET plugin, installs FACET into your coding agent in one step, today or Codex. It connects your records to every agent session through hooks, skills and an MCP server.Read more here asks the agent to review a record when its code changed. It does not block a change.
- facet docs site check notices changed inputs: a record, its anchored code or an article. It cannot tell whether a sentence is wrong.
- It does not reconstruct intent that was never written down. Open business questions still need people.