Skip to content

Releases

Decision Forge v0.4.0

Choose a tag to compare

@github-actions github-actions released this 22 Nov 07:27
5374196

Version 0.4.0 adds audit-trace, which replays what agents actually did against the declared policy,
together with a five-minute tutorial and a two-organization agent delegation example. Deduplication and
evidence matching now handle Chinese and Japanese text. Two changes affect existing outputs: builds with
Chinese or Japanese presentations may drop more near-duplicates under dedup protocol v3, and
conflict/override pair reviews reopen once because they now bind to the sampling settings.

Documentation

  • Describe Laplace-1 as released with open weights and trained entirely on Decision Forge data, with its
    decision-benchmark results, links to the Atlas and Vector model cards, and the online playground. State
    that these results come from a full training run and that the controlled fixed-budget comparison
    remains the next milestone.
  • Describe Laplace by the four decisions it makes rather than as an allow/block gate, and label the third
    surface Act (select_actions in data) to match the model cards.
  • Publish the documentation site at https://juneo-lab.github.io/decision-forge/ and link it from both
    READMEs, the issue chooser, and the repository homepage.
  • Move questions and early proposals to GitHub Discussions, with Q&A and Ideas forms; the Question
    issue template is retired. CONTRIBUTING.md gains a where-to-start table, and AUTHORS.md lists
    outside contributors.
  • Fix a dead experiment link, a malformed benchmark table, and a dedup command that referenced a
    run no step creates.

Added

  • Add audit-trace, an offline audit of what agents actually did. It reads tool calls from JSON Lines or
    from OTLP JSON exports of OpenTelemetry GenAI execute_tool spans, maps each call to a decision node
    through a small YAML mapping, and replays it against the declared policy: aligned, permitted but not
    preferred, or not permitted, with the governing sentence and any state the dataset does not yet cover.
    The agent delegation example includes a sample session in both formats.
  • Add a five-minute tutorial (docs/tutorial.md) and a Colab-ready notebook
    (examples/agent_delegation/tutorial.ipynb): build a dataset from a written policy, change the policy,
    watch an evidence check refuse the stale rule, see the label follow, export training rows, and compare
    two organizations. A test executes every notebook cell.
  • Add an agent delegation example: two fictional organizations, Lumen Labs and Halcyon Health, decide
    the same four agent actions (refund, record sharing, delegation, permission requests) under their own
    written policies. scripts/compare_organizations.py builds both and renders a comparison in which
    every decision cites the sentence that governs it.

Changed

  • Pin every GitHub Action in the workflows to a full commit SHA, with its release in a trailing comment.
    Dependabot updates the SHA and the comment together.
  • Update LangGraph to 1.2.22 in the orchestration adapter, and typer, onnxruntime, pypdfium2, and the
    development tools to their latest releases.

Fixed

  • Detect Chinese and Japanese near-duplicates. Deduplication split presentations only on whitespace, so a
    whole CJK sentence became one token and a one-character edit scored zero similarity. Each CJK
    character, including halfwidth Katakana and its voiced marks (U+FF65–U+FF9F), is now its own token;
    fullwidth Latin, Hangul (including halfwidth Hangul), and other scripts remain whitespace-delimited.
    The dedup protocol is now policy-aware-structural-token-minhash-v3. Builds with Chinese or Japanese
    presentations may remove more rows than before. Thanks to tridev-tej (#86).
  • Match evidence quotes across hard-wrapped Chinese and Japanese text while retaining original source
    offsets and hashes. Korean Hangul keeps the ordinary word-spacing rules. Thanks to Golden007-prog (#87).
  • Bind conflict/override reviews to the raw sampling seed and both pool-size settings, so changing
    the sample requires renewed pair acceptance even when its witnesses are unchanged. Existing pair
    acceptances reopen once; unrelated recipe fields and same-effect shadowed reviews keep their bindings.
    Thanks to sunxiuguo (#56).
  • events-ingest and plan-recipe --targets report a JSON input that is not an array as a one-line
    error with exit code 1 instead of a traceback or a misleading validation failure (#71). Thanks to
    kratos0718 (#88).

Decision Forge v0.3.2

Choose a tag to compare

@github-actions github-actions released this 03 Nov 10:11
d9f2bd4

Version 0.3.2 keeps published families in their splits across dataset versions and sends rule
conflicts that appear only at generated dimension values to review. Both fixes change what builds and
reviews produce: commit the new project.splits.lock.json next to each specification, regenerate
plan-recipe plans, and record conflict reviews again.

Changed

  • Consolidate duplicated pipeline, CLI, ingestion, provider, and workflow code without changing any
    dataset, export, plan, review fingerprint, or ingestion output, and cover twelve CLI failure paths.
  • Update GitHub Actions, mypy, and pre-commit hooks.
  • Tell the project's story in the README and a new Why Decision Forge page: the missing
    trust layer for AI agents, the three kinds of organizational data it requires, and where Decision Forge
    fits in the data → model → organization stack.

Fixed

  • Keep every published family in its split across dataset versions (#35). Rebuilding with build after
    adding scenario families could move existing families between train, development, and test, leaking
    held-out examples into training. The first build now records each family's split in a split lock next
    to the specification (project.splits.lock.json); later builds keep locked families in place, give
    new families a stable per-family split, and remember removed families. build --locked-splits fails
    instead of creating or changing the lock. Plans from plan-recipe made with older versions must be
    regenerated.
  • Send allow/deny rule pairs to review when they overlap only at generated dimension values (#36). Conflict
    witnesses were searched in seed states alone, so an override that appeared only in a generated
    situation was labeled without review. The gate now searches every situation the build samples and
    also queues pairs whose conditions cannot be proven disjoint, since synthesis can reach new states.
    Conflict items report overlap, witness_count, and up to five witnesses with their dimension
    values; existing conflict reviews must be recorded again. Thanks to sunxiuguo for an independent fix in #44.
  • Attest only the wheel and sdist in the release workflow; uv build also writes dist/.gitignore.

Decision Forge v0.3.1

Choose a tag to compare

@github-actions github-actions released this 01 Nov 09:43
84dce48

Version 0.3.1 adds office, HTML, tabular, and OCR ingestion, fixes several integrity and portability
issues in the data pipeline, and is the first release built and attested by the release workflow.
Ingestion metadata has changed; recompile corpora into new output directories.

Added

  • Add automatic source format detection and DOCX, XLSX, PPTX, HTML and CSV/TSV parsers with locations.
  • Add image and per-page PDF OCR through local RapidOCR/PP-OCR small models, Tesseract, and explicitly
    selected OpenAI-compatible vision endpoints. Keep model weights local during ingestion.
  • Preserve OCR model identity, confidence, bounding boxes, access metadata, cache integrity and attempt
    journals. Require an explicit flag for OCR service calls and retain the business review gate.
  • Add real local PP-OCR inference tests and a fictional seven-format example generator.
  • Add a tag-triggered release workflow that verifies version consistency, runs the test suite, builds and
    smoke-tests the wheel, attests build provenance, creates a GitHub release from the changelog, and
    optionally publishes to PyPI through trusted publishing.
  • Ship a py.typed marker so downstream type checkers use the package's inline annotations.
  • Add project URLs, supported Python versions, and typing classifiers to the package metadata, and
    repository links to the citation file.
  • Add opt-in dependency review on pull requests (DEPENDENCY_REVIEW repository variable), CodeQL analysis
    for Python and workflows, and OpenSSF Scorecard.
  • Declare the type/ and area/ label taxonomy in .github/roadmap.json; the roadmap publisher now
    creates and updates those labels and applies them to roadmap issues without removing triage labels.
  • Label pull requests by area automatically from the files they change.
  • Add .editorconfig and .gitattributes (LF line endings, generated experiment artifacts), and a
    definition-of-done checklist to the pull request template.

Changed

  • Ingestion metadata and default format detection have changed. Recompile into a new output directory;
    existing content-bound reviews are not transferred to newly parsed source snapshots.
  • Bound archive expansion, image pixels, page counts, spreadsheet traversal and normalized output.
  • Run CI on pull requests, merge queues, and main only, cancel superseded pull request runs, bound every
    job with a timeout, and expose a single CI result status for branch protection.
  • Group Dependabot updates so related upgrades land in one lock-file change, and track pre-commit hooks.
  • Validate workflow and Dependabot files in pre-commit.

Fixed

  • Fix compile-corpus failing with "Source content hash changed" after spending its model budget when a
    CSV/TSV, spreadsheet, office, HTML, PDF, or JSON/YAML value contains carriage returns. Parsed text now
    uses \n line endings so stored snapshots read back with the recorded hash.
  • Re-derive every model-visible field of imported synthesis rows: load_expansion now rejects rows whose
    question, policy context, candidates, verdicts, or ID differ from what the project produces, even when
    accepted.jsonl and its digest were rewritten together.
  • Accept compiler and corpus evidence whose quote differs from the source only in whitespace runs. Such
    quotes were bound during compilation but produced a project.json that failed validation on load.
  • Count the recipe planner's available pool after the duplicate removal a build applies, so plan-recipe
    no longer reports quotas as feasible that build --recipe-plan then rejects.
  • Hash exported JSONL files and Data Designer outputs as UTF-8 regardless of the platform locale.
  • Close SQLite connections after runtime event ingestion, open the read-only event store through a
    properly escaped file URI, and report missing or empty event stores as CLI errors instead of tracebacks.
  • Report non-object decision bindings in evaluate-decisions as a CLI error instead of a traceback.