Skip to content

Commit a8be9e4

Browse files
committed
docs: document logging demo evaluation workflow
1 parent 626e0b5 commit a8be9e4

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

‎README.md‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,16 @@ Behavioral agent evaluation is separate: see [evals/README.md](evals/README.md)
9898

9999
Keep changes scoped and update examples or eval cases when the recommended behavior changes.
100100

101+
## Generated demo project
102+
103+
Try the skill on a disposable FastAPI order API with stdlib or structlog logging. The application starts with intentional logging defects; an external checker measures HTTP behavior, rendered logs, exception ownership, secret handling, and request context before and after the agent's changes.
104+
105+
```sh
106+
python3 scripts/demo.py create --stack stdlib --dest /tmp/logging-demo-stdlib
107+
```
108+
109+
See the [demo guide](evals/demo/README.md) for environment setup, evaluation commands, and skill/no-skill trials. Run `just demo-test` to test the generator and evaluator; these tests are separate from `just check` and run in their own CI matrix.
110+
101111
## License
102112

103113
This project is licensed under the terms in [LICENSE](LICENSE).

‎evals/README.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
These cases evaluate agent decisions separately from deterministic repository checks. They have not been benchmarked yet. `cases.json` contains prompts, input files, expected implicit activation, and outcome criteria. Keep cases and results outside the installed skill so the agent does not see the grading answers.
44

5+
For a complete generated HTTP application with before/after checks, see the [FastAPI demo](demo/README.md).
6+
57
## Run a case
68

79
1. Create a fresh temporary project and copy only the listed fixtures into it, keeping their basenames. Install any fixture dependencies in an isolated environment. Record initial file checksums.

0 commit comments

Comments
 (0)