Repository navigation
fix(prompting): say where an outcome comes from, not only what is not one - #123
Merged
Merged
Conversation
goldbarth
force-pushed
the
fix/where-an-outcome-comes-from
branch
from
September 9, 2026 09:24
43fcda0 to
2ba0455
Compare
goldbarth
force-pushed
the
fix/where-an-outcome-comes-from
branch
from
September 9, 2026 09:30
2ba0455 to
ae4dab2
Compare
… one Ten of the 24 entries of the customer rendering of 2026-09-08 say what changed and never what the reader gets from it, and nine of them fail nothing else. The test that decides the case was already in the prompt when they were written. A test rejects a sentence and does not produce one: a model that has written the mechanism keeps the mechanism, nothing having said what the sentence should have been. The rule now says where the outcome is taken from before the test checks it - the reader's side of the change, and for a fix what they no longer have to do about it rather than that the fault is gone - drawn from the facts of the change, which usually say what it was for. Refs #122
goldbarth
force-pushed
the
fix/where-an-outcome-comes-from
branch
from
September 9, 2026 09:33
ae4dab2 to
e5dafca
Compare
5 tasks done
goldbarth
pushed a commit
to goldbarth/chartula-evals
that referenced
this pull request
Sep 15, 2026
`sonnet-5-fix-outcome-v010-out`, rendered from Chartula `c72f068` with `v0.1.0` at `8061f46`: 28 changes. Carries goldbarth/chartula#123, which rewrites C3's target so a bug-fix entry closes on what the reader no longer has to do rather than on the bug being gone, and #126, which adds the two worked examples and aligns the prompt with the rest of the rubric. Rows laid out by `labels.py init`, every verdict `?`.
goldbarth
added a commit
that referenced
this pull request
Sep 21, 2026
…d template (#197) A pull request whose body was the untouched template became a fact description, and the template's comments were read as facts: its "Closes #123" example linked issue #123 at depth title-description-and-issues, and a comment containing BREAKING CHANGE: would have flagged the change as breaking. HTML comments are now removed from every body, since GitHub does not show them to a reader, and a body with nothing left but headings and checklist items is no description. Everything downstream reads the same cleaned description. Closes #141
goldbarth
added a commit
that referenced
this pull request
Oct 1, 2026
…ape the template like the merged ones (#322) Follows #316 and #318, after which CONTRIBUTING can link the testing page and the ADR index instead of explaining either. - **Why:** CONTRIBUTING told a contributor to clone `goldbarth/chartula` as "your fork", had no word on branches, review or how a merge closes an issue, did not say that a pull request's title and description become Chartula's own release notes, listed types without saying which ones reach a release, and asked for a PR description ("what and why") unlike any that has been merged. The template asked for a type checkbox and a checklist none of the merged pull requests fill in. - **From a fork to a merged pull request** in six steps: fork and `upstream`, a branch named after type and topic (as the 40 last merged branches are), commit, open, review, merge. The merge step says what the repository is set to do: squash, with the PR title as the commit title and the description as the message, so `Closes #123` in the description closes the issue and stays in the history. - **"Your pull request is Chartula's input":** the title is the line a release names the change by, its type decides whether it appears, and the description is what the model reads, so it can reach a published note. Links `writing-pull-requests.md` instead of repeating it. - **Setup:** the exact SDK with an install command, and lock files: what rewrites them, that they are committed with the change, and the locked restore CI runs, as a command to check before pushing. - **Build, test and format** as the three commands CI runs, a single test with `--filter`, and the hook; the rest links `testing.md`. - **Trying the CLI on a repository:** where the binary is, what `preview`, `generate --no-publish` and `generate` cost or change, and the local stub for the model path. - **Types with a column "In the release notes",** worked out from the category table and this repository's `chartula.yaml`: `refactor` and `docs` appear only with `visibility:user-facing`, `test`, `build`, `ci`, `chore` and `style` are dropped as internal, `revert` appears unless its target is in the same release. Scopes are the folders, as before. - **The pull request** describes the shape the merged ones share (the `Closes` or `Follows` line, a bullet per decision with its reason, a bold verification section, a `Tests:` line) with a shortened #301 as the example, and keeps the short list of checks before opening. - **Writing documentation** gives the rules the pages follow, from the documentation plan, so a docs contribution needs no other source. - **The template** has the same four parts with comments that say what goes in each, and drops the type checkboxes and the checklist. **Verified:** - The merge settings from the repository API (`squash_merge_commit_title: PR_TITLE`, `squash_merge_commit_message: PR_BODY`), and that the last 20 commits on `main` are squash merges. - The CI commands against `.github/workflows/ci.yml`; `dotnet restore Chartula.slnx --locked-mode` passes on this branch. - The type column against `what-goes-into-a-release.md` (categories, what is dropped, who can meet a change, reverts) and `GroundedFactsFactory.Reaches`. - The example against #301's description; branch names against the head branches of the last 40 merged pull requests. - Every relative link and anchor in all Markdown files of the repository resolves (script, with a negative test). Tests: none, documentation only.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
The outcome rule in
CustomerFormatgains a first half that says where thesentence comes from. The test that was there stays and becomes the check on what
that half produced.
Why?
Ten of the 24 entries of the customer rendering of 2026-09-08 say what changed
and never what the reader gets from it. Nine of them fail nothing else, so this
one shape is the difference between 11 entries shipping and 20.
The test was already in the prompt when those entries were written. A test
rejects a sentence and does not produce one: a model that has written the
mechanism keeps the mechanism, because nothing has said what the sentence should
have been. Three of the ten, verbatim:
The first two close on the negation of their own opening; the third never leaves
the mechanism.
Refs #122
The material is in the fact base, which is why this is a prompt change
Each of the nine entries that fail on this and nothing else was held against
test-runs/v0.1.0-facts.mdinchartula-evals on 2026-09-09.
Eight of the nine have their outcome in the facts they were written from:
The exception is the entry about linked issues, where the facts say the closing
keywords are parsed and nothing about what a reader gets from it. One of nine,
and nothing here changes how that case is rendered.
Verified
dotnet build Chartula.slnx -c Release: 0 warnings, 0 errors.dotnet test Chartula.slnx -c Release: 433 passing (Core 324, Infrastructure33, Cli 76), one of them new -
Says_where_an_outcome_is_taken_from_before_testing_the_one_written.No run was made against a live model: what this changes is measured by the
harness, over three renderings, per the turn budget in its
pipeline.md.