Skip to content

v0.6.8: Score just the lines a pull request changes, and comment the questions on it.

Latest

Choose a tag to compare

@github-actions github-actions released this 02 Dec 08:16
· 56 commits to main since this release
317bf7f

Added: scoring pull requests

  • --score --changed-since REF plants faults only on the lines a branch changed, including uncommitted work, so the questions are about the new code. When nothing qikly can change was touched, it says so and runs no tests.
  • --score --json prints the score, the missed faults, the questions and a ready-made pull request comment.
  • --score --max-missed N exits with code 3 when more than N planted faults are missed. Without it, misses never change the exit code.
  • A copy-paste GitHub workflow in docs/examples/qikly-score-pr.yml comments the questions on a pull request, with no model call and no API key. See docs/SCORE_PULL_REQUESTS.md.

Changed

  • The example workflows install the current qikly. The copy-paste workflows installed 0.3.0; they now pin the release they ship with, and a test fails when a pin drifts.
  • qikly --install-mcp keeps Claude Code's file tools out of your generated tests. For Claude Code it adds Read(/outputs/tests/**) and Read(/outputs/reports/acceptance_criteria/**) to permissions.deny in the project's .claude/settings.json, keeping everything already there and backing the file up first. The new --lock-task-files also locks the task files, which hold the criteria; Claude Code can then no longer read or edit them. It is not the default because the guided setup has the assistant write your answers into them. The rules do not stop a program the assistant runs from opening these files; docs/mcp.md says what they cover. Suggested by Gaurav Pandey (#15).

Added

  • A security policy. SECURITY.md says how to report a vulnerability privately, what is covered and how long a reply takes (#46).
  • Two example catalogs for --bad-inputs in docs/bad_input_catalogs/: dates_and_times.yaml and urls.yaml, to show what a family for one kind of data looks like.
  • docs/bad_input_catalogs/semver.yaml: ten --bad-inputs families for SemVer 2.0.0 version strings (leading v, missing patch, empty prerelease, a non-ASCII digit and more), contributed by @md1qamar in #29, the first outside contribution. Thank you!
  • docs/bad_input_catalogs/indian_numbers_and_currency.yaml: eight --bad-inputs families for amounts in Indian notation (lakh and crore digit grouping, the rupee sign, a Devanagari digit and more), contributed by @anuragb-gif in #33. Thank you!
  • docs/bad_input_catalogs/uuid.yaml: ten --bad-inputs families for canonical UUID text (a stray character beside a hyphen, a group one digit short or long, an underscore or plus sign, a reserved version nibble and more), contributed by @azmifauzan in #37. Thank you!
  • docs/bad_input_catalogs/email.yaml: twelve --bad-inputs families for plain local@domain email addresses (a doubled or missing @, a dot beside it, a space inside a domain label, a non-ASCII letter and more), contributed by @Tejas3545 in #42. Thank you!
  • docs/bad_input_seeds/indian_numbers_and_currency/: seed amounts for the Indian numbers catalog, in lakh and crore grouping, with the rupee sign, paise and the Rs. 500/- form, contributed by @Tejas3545 in #43. Thank you!
  • docs/bad_input_catalogs/ip_addresses.yaml: 38 --bad-inputs families for IPv4 and IPv6 addresses, with prefix lengths, zone ids and ports, started by @Tejas3545 in #44 and extended in review, with seeds in the identifiers pack to match. Thank you!
  • docs/bad_input_catalogs/json_numbers.yaml: eleven --bad-inputs families for numbers inside JSON text (a plus sign, no digit beside the decimal point, an empty exponent, NaN and more), with a seed of numbers in the JSON seed pack.
  • A README.md in docs/bad_input_catalogs/ lists every catalog, the standard it covers and who contributed it.
  • Seed packs for --bad-inputs in docs/bad_input_seeds/: valid inputs for dates and times, URLs, SemVer versions, identifiers and JSON, ready to use as seeds= and to pair with a catalog of the same theme. A .gitattributes rule keeps Git from changing the seed bytes.
  • Four parser pairs to compare, ready to run, in docs/bad_input_pairs/: json and orjson, the two ijson backends, PyYAML's two safe loaders, and tomli and tomlkit, each with a wrapper and a config that runs both directions. TOML and YAML seed packs to go with them.