[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-107651":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":16,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":15,"compositeScore":18,"rankGlobal":9,"rankLanguage":9,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":22,"hasPages":20,"topics":23,"createdAt":9,"pushedAt":33,"updatedAt":34,"readmeContent":35,"aiSummary":36,"trendingCount":15,"starSnapshotCount":15,"syncStatus":37,"lastSyncTime":38,"discoverSource":39},107651,"decision-forge","Juneo-Lab\u002Fdecision-forge","Juneo-Lab","Compile organizational policy into verifiable decision training data.",null,"Python",352,34,60,22,0,1,328,54.93,"Apache License 2.0",false,"main",true,[24,25,26,27,28,29,30,31,32],"ai-agents","data-provenance","decision-data","fine-tuning","llm","policy-as-code","python","synthetic-data","training-data","2026-11-22 07:26:09","2026-11-22 05:54:16","\u003Cdiv align=\"center\">\n\n\u003Cimg src=\"docs\u002Fimages\u002Flogo.svg\" alt=\"Decision Forge logo\" width=\"88\">\n\n# Decision Forge\n\n**Compile organizational policy into verifiable decision training data.**\n\nEvery organization's judgment, turned into the data that makes AI agents trustworthy.\n\n[![CI](https:\u002F\u002Fgithub.com\u002FJuneo-Lab\u002Fdecision-forge\u002Factions\u002Fworkflows\u002Fci.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002FJuneo-Lab\u002Fdecision-forge\u002Factions\u002Fworkflows\u002Fci.yml)\n[![CodeQL](https:\u002F\u002Fgithub.com\u002FJuneo-Lab\u002Fdecision-forge\u002Factions\u002Fworkflows\u002Fcodeql.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002FJuneo-Lab\u002Fdecision-forge\u002Factions\u002Fworkflows\u002Fcodeql.yml)\n[![Release](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fv\u002Frelease\u002FJuneo-Lab\u002Fdecision-forge?include_prereleases&color=FF5A1F)](https:\u002F\u002Fgithub.com\u002FJuneo-Lab\u002Fdecision-forge\u002Freleases)\n[![Python](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fpython-3.11%20%7C%203.12%20%7C%203.13-3776ab)](pyproject.toml)\n[![License](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-Apache--2.0-blue)](LICENSE)\n[![Typed](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Ftyping-strict%20mypy-2a6db2)](pyproject.toml)\n\n[Why Decision Forge](#why-decision-forge) ·\n[See it in action](#see-it-in-action) ·\n[Quickstart](#quickstart) ·\n[How it works](#how-it-works) ·\n[Documentation](docs\u002Findex.md) ·\n[Roadmap](ROADMAP.md) ·\n[Contributing](CONTRIBUTING.md) ·\n[Changelog](CHANGELOG.md)\n\n**English** · [简体中文](README.zh-CN.md)\n\n\u003C\u002Fdiv>\n\n![Decision Forge pipeline: compile and review organizational knowledge, shape scenarios across four decision surfaces and distributions, verify labels through policy replay, and export training data.](docs\u002Fassets\u002Fdecision-forge-overview-v2.png)\n\n## Why Decision Forge\n\n> *For three hundred years, every organization was built from people. The next ones will be built\n> from people and agents — and the agents will outnumber the people.*\n\n**A second workforce has arrived.** Agents now carry a task for hours without supervision, take on\nwork that once went to a colleague, and call one another across tools and companies. For the first\ntime, the supply of labor is no longer bounded by the number of people. Yet this abundance of\nintelligence has not become an abundance of capability. Agents wait in pilots because they are\ntrusted with too little, or act in production while trusted with too much.\n\n**What is missing is trust.** Over centuries, organizations learned to hand their work to thousands\nof strangers. People foresee what their actions will do, act within their authority, and answer for\nthe results. Agents have been connected to every tool and to each other, but given none of this.\nThe pipes are built. The trust layer is empty.\n\n**Trust begins with foresight.** To trust an action is to know what it will do before it happens.\nLanguage models learned to speak from the world's text; world models are learning physics from its\nvideo. No public dataset records what happens inside an organization when an agent reassigns a\nclient, shares a file, or approves a payment. That knowledge lives only within the organization, in\nthree forms:\n\n| What foresight requires | Where it lives | What Decision Forge does with it |\n| --- | --- | --- |\n| **Decision context**: the state, roles, and options at the moment of action | Workflows, tickets, CRM records | Reconstructs each decision moment with explicit candidate actions, grouped into families |\n| **Judgment standard**: what this organization allows, forbids, or escalates | Handbooks, SOPs, approval rules, permission tables | Compiles rules with verified source quotations, puts them through business review, and replays them to label every example |\n| **Execution receipts**: what actually happened after the action | Approvals, outcomes, runtime logs | Ingests runtime events and reviewed outcomes as feedback for the next dataset version |\n\n**Every organization has its own sense of right.** What one firm encourages, another forbids. That\njudgment cannot be downloaded from a general model. It has to be learned inside each organization,\nand it has to belong to that organization.\n\n**Decision Forge turns that judgment into data.** It compiles an organization's own documents into\nverified decision training data: every label traces back to a rule, every rule back to its source,\nand the core runs inside the organization's own walls. It is the foundation of the stack we are\nbuilding at Juneo Lab:\n\n| Layer | Role | Status |\n| --- | --- | --- |\n| **AI-native organizations** | People and agents allocate work, share information, act, and accept results together; their execution receipts flow back into the data | Built with partner organizations |\n| **Laplace** | A causal-interventional model that foresees the consequence of an action before it runs, then lets it proceed, stops it, or hands it back to a person | In development |\n| **Decision Forge** | An organization's documents, turned into verified decision training data | Open source, this repository |\n\n**The world we are building.** Humans keep the right to decide. Agents earn the right to act, within\nlimits that only narrow as work passes from hand to hand. Every action is foreseen before it happens,\nand every contribution is measured after it is done. Every organization owns the intelligence that\ncarries its judgment.\n\n**We are building the trust layer that lets human organizations keep pace with machine\nintelligence.** Read the full story in [Why Decision Forge](docs\u002Fvision.md).\n\n## What Decision Forge does\n\nOrganizational decisions depend on policies, thresholds, escalation rules, and acceptance criteria\nrecorded in handbooks, SOPs, and workflow definitions. Decision Forge turns that knowledge into\nreproducible supervision for decision models.\n\nThe document compiler proposes a rule specification with source quotations for business review.\nThe data pipeline evaluates scenarios against the approved rules and exports decision examples with\nverified labels, source provenance, and stable family assignments. The result is training data you\ncan audit, reproduce, and hand to a trainer.\n\n> [!NOTE]\n> **Status: `v0.3.2` alpha — organizational decision data pipeline.**\n> Reviewed or authored specifications build into training data locally, without model credentials.\n> Document compilation and model-assisted synthesis use an explicitly selected model endpoint.\n> See [project status](docs\u002Fstatus.md) for the current implementation and next milestones.\n\n## Highlights\n\n| Capability | What you get |\n| --- | --- |\n| **Offline data path** | Reviewed rules → scenarios → verified labels → exports, with no API keys or model downloads |\n| **Policy-verified labels** | Recomputed from declared rules by a deterministic interpreter |\n| **Source provenance** | Verified rule quotations and source hashes; corpus compilation adds spans and locators |\n| **Leak-resistant splits** | Related variants share a family split; cross-split duplicates are reported and dropped |\n| **Training-ready exports** | Four formats, including the candidate-readout decision contract |\n| **Broad ingestion** | Text, Markdown, JSON\u002FYAML, PDF, DOCX\u002FXLSX\u002FPPTX, HTML, CSV\u002FTSV, and local OCR |\n| **Validated** | 311 tests, 90.89% statement coverage in the full optional-adapter environment |\n| **Continuous checks** | 10 CI jobs across Linux and macOS, including adapter, OCR, and Harbor controls; CodeQL and OpenSSF Scorecard scans |\n\n## See it in action\n\nTwo fictional organizations, a speed-first startup and a clinic network, deploy agents that attempt\nthe same actions. Each writes its own policy, and Decision Forge compiles each into verified decisions:\n\n| Agent action | Lumen Labs | Halcyon Health |\n| --- | --- | --- |\n| Refund 400 to a verified customer | **proceed**: “Agents may issue refunds of up to 1000 dollars to verified customers without approval.” | **hand back**: “Every other refund for a verified patient goes to a person in patient accounts.” |\n| Send a health record to an internal team | **send in full**: “Agents may share full customer records with internal teams.” | **send a summary**: “Health information may reach internal teams only as a minimum-necessary summary.” |\n| Delegate more authority than the agent holds | **block**: “An agent must never delegate more authority than it holds.” | **block**: “An agent must never delegate more authority than it holds.” |\n\nOf 17 situations, 8 are decided differently, and every decision cites the sentence that governs it.\nRun the [agent delegation example](examples\u002Fagent_delegation\u002FREADME.md) offline in one command.\n\n## How it works\n\n`compile-corpus` drafts rules from organization sources through an explicitly selected model endpoint;\nbusiness review accepts them, or an authored specification skips both steps. Everything after review\nruns offline: scenario families and quotas, label replay through the policy interpreter, deduplication\nwith family split isolation, and training exports.\n\nThe pipeline organizes workflow decision points into the four kinds of decisions an organization\ndelegates to people and agents:\n\n| Surface | Question the model learns to answer |\n| --- | --- |\n| **Allocate work** | Which person or agent should own this task? |\n| **Share information** | Which recipient may receive which information? |\n| **Select actions** | Should the workflow execute, adjust, or request authorization? |\n| **Evaluate outcomes** | Does the deliverable meet the acceptance criteria? |\n\n## Quickstart\n\nRequires Python 3.11+ and [uv](https:\u002F\u002Fdocs.astral.sh\u002Fuv\u002F). No API keys, no model downloads. New here? The\n[five-minute tutorial](docs\u002Ftutorial.md) goes from a written policy to training data, and the\n[notebook version](https:\u002F\u002Fcolab.research.google.com\u002Fgithub\u002FJuneo-Lab\u002Fdecision-forge\u002Fblob\u002Fmain\u002Fexamples\u002Fagent_delegation\u002Ftutorial.ipynb)\nruns in Colab.\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002FJuneo-Lab\u002Fdecision-forge\ncd decision-forge\nuv sync --group dev\n\nuv run decision-forge validate examples\u002Fcustomer_support\u002Fproject.yaml\nuv run decision-forge build    examples\u002Fcustomer_support\u002Fproject.yaml --output runs\u002Fdemo\nuv run decision-forge export   runs\u002Fdemo --output runs\u002Fdemo-decision --format decision\n```\n\nThe fictional `Northstar Support` example is deliberately small (one handbook, ~1.2 KB of policy) and\nproduces a complete, verified dataset:\n\n| Output | Value |\n| --- | --- |\n| Accepted episodes | 336 (requested 336, realized 336) |\n| By surface | 96 allocate · 96 share · 96 act · 48 evaluate |\n| By split | 196 train · 84 development · 56 test, assigned per family |\n| Rejected for having no permitted choice | 0 |\n| Model calls | 0 |\n\nArtifacts in `runs\u002Fdemo\u002F`: `episodes.jsonl`, `rejected.jsonl`, `distribution.json`, `dedup.json`,\n`report.json`, `report.md`, a hash-bound `project.snapshot.json`, and an integrity-checked\n`manifest.json`. Rebuilding reuses content-addressed scenario caches; changing an input is detected\nand refused rather than silently mixed into the old run.\nThe example's committed `project.splits.lock.json` records every family's split, so adding scenario\nfamilies later never moves an existing family between training and held-out data.\n\n## Why the data is trustworthy\n\nEach published scenario label is recomputed by the policy interpreter. Source checks and review\nrecords connect the declared rules to the organization's documents.\n\n| Property | How it is enforced |\n| --- | --- |\n| **Policy-verified labels** | A deterministic interpreter applies priority, deny precedence, and set-valued ties to every candidate. Synthesis proposes states; the interpreter supplies their labels. |\n| **Source-grounded rules** | Evidence quotations are validated against source text, allowing whitespace normalization. `compile-corpus` recomputes spans and source locators from extracted claims. |\n| **Content-bound review** | Compiler output is a draft. Builds require accepted decisions for all current review items: rules, nodes, conflicts, and `dataset:recipe`. Authored specifications remain usable directly. |\n| **Family isolation** | Related variants share a split, and a committed split lock keeps every family in its split across dataset versions. Duplicate detection keeps the held-out copy and reports cross-split overlap. Expansion imports validate current scenario\u002Ffamily\u002Fsplit lineage and re-derive every model-visible field. |\n| **Checkpoint recovery** | Completed extraction chunks and accepted synthesis records are reused. Failed or interrupted calls retain their budget reservations; a response lost before checkpointing may require another call. |\n| **Bounded corpus compilation and synthesis** | `compile-corpus` reserves budgets per HTTP attempt. `expand` reserves logical proposal calls and their input bytes; response-mode fallback may issue multiple HTTP attempts within one proposal call. Both retain budget journals and support explicit budget increases for resumption. |\n| **Visible distribution gaps** | Requested and realized quotas, rejected proposals, and remaining shortfalls are reported. Only verified examples enter the dataset. |\n\n## Training handoff\n\nFour export formats preserve the run's family split assignments. `canonical` retains set-valued\nlabels; the other formats omit rows with multiple valid choices, which can also omit entire families:\n\n| Format | Shape | Use |\n| --- | --- | --- |\n| `decision` | Explicit `options` + aligned `target_probs`, family grouping, provenance | Candidate-readout training (recommended) |\n| `canonical` | Input\u002Ftarget pair, set-valued labels preserved | Custom pipelines that keep ambiguity |\n| `typed` | Choice question with per-candidate criteria | Constrained decoding \u002F evaluation harnesses |\n| `sft` | Chat messages with a single answer | Reference SFT baseline |\n\n```bash\nuv run decision-forge export runs\u002Fdemo --output runs\u002Ftrain --format decision\nuv run python scripts\u002Ffinetune_evaluation.py prepare runs\u002Fdemo --output runs\u002Fplan --budget-examples 2000\n```\n\nThe `decision` format emits `objective: candidate_readout` rows with unit weights and provenance.\n[`decision_forge.training.encode_decision`](docs\u002Fdecision-training.md) turns them into a native\nnon-thinking prefix: single-token candidate labels, target probabilities moved together with the\ncandidate order, no answer token appended, and truncation rejected rather than silently applied. A\ntrainer that only minimizes ordinary answer-token SFT loss cannot consume this encoding — the contract\nstates the required objective explicitly.\n\n`scripts\u002Ffinetune_evaluation.py prepare` writes selected training rows, their IDs and file digests,\nand the required training objective. `evaluate` scores an explicitly selected endpoint on held-out\ncases; `compare` requires the same dataset, case order, and prompt. Fixed-budget training and measured\ndecision-quality gains are the next evaluation milestone.\n\n## Compile your own documents\n\n```bash\nexport FORGE_API_KEY=\"your-provider-key\"\nuv run decision-forge compile-corpus .\u002Fprivate\u002Fcorpus.yaml --output runs\u002Facme \\\n  --base-url https:\u002F\u002Fyour-model-host.example\u002Fv1 --model your-model\n\nuv run decision-forge review-status runs\u002Facme\u002Fproject.json\nuv run decision-forge review-record runs\u002Facme\u002Fproject.json \\\n  --item ITEM_ID_FROM_REVIEW_STATUS --decision accepted \\\n  --reviewer you --reason \"Explain the evidence supporting this specific item.\" \\\n  --fingerprint FINGERPRINT_FROM_REVIEW_STATUS\n# Review every rule, node, conflict, and dataset:recipe item using its returned ID and fingerprint.\n# Build after review-status reports ready: true.\nuv run decision-forge review-status runs\u002Facme\u002Fproject.json\nuv run decision-forge build runs\u002Facme\u002Fproject.json --output runs\u002Facme-data\n```\n\nCreate `corpus.yaml` using the [corpus manifest format](docs\u002Forganization-compiler.md). Text,\nMarkdown, JSON, YAML, PDF, DOCX, XLSX, PPTX, HTML, CSV\u002FTSV, and OCR image inputs carry version and\naccess metadata. Install `documents` for native office\u002FPDF parsing and `ocr-rapid` for local\nPP-OCR small models. [Document formats and OCR](docs\u002Fdocument-ingestion.md) covers automatic format\ndetection, Tesseract, and explicit vision OCR service configuration.\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>What happens during compilation\u003C\u002Fb>\u003C\u002Fsummary>\n\n\u003Cbr>\n\nExtraction is chunked and resumable; assembly requires rule evidence to resolve to extracted claims.\nInvalid schemas and ambiguous quotations produce validation errors; policy conflicts enter the review\nqueue for adjudication. Source snapshots and parsed generated objects are stored in private local\nartifacts, including caches and repair records. Provider credentials stay outside those artifacts.\n\nAn optional [recipe planner](docs\u002Fgeneration.md) turns a requested distribution into exact per-cell\nquotas, measures what the deterministic pool can supply after deduplication, and separates work a\nmodel could do from work only more source material can do. Verified synthesis (`expand`) then\npublishes only proposals whose label is replayed from the declared policy.\n\n\u003C\u002Fdetails>\n\n## Evidence\n\n\u003Cdetails open>\n\u003Csummary>\u003Cb>Validation, benchmarks, and live model runs\u003C\u002Fb>\u003C\u002Fsummary>\n\n\u003Cbr>\n\n**Local validation (macOS ARM64, Python 3.12, all optional extras):** 311 tests, 90.89% statement coverage, Ruff, strict\nmypy, strict MkDocs, wheel and sdist builds. CI runs 10 jobs: quality, six test jobs (Ubuntu and macOS ×\nPython 3.11\u002F3.12\u002F3.13), pinned Data Designer and LangGraph adapter contracts, and Harbor task execution\nin Docker under oracle and no-op controls, plus real local OCR inference and seven-format ingestion.\nCodeQL and OpenSSF Scorecard scan the repository on pull requests and on a schedule.\n\n**Local OCR:** the [seven-format ingestion smoke test](experiments\u002F2026-11-ingestion\u002FREADME.md)\narchives native file parsing and exact PNG\u002Fscanned-PDF transcriptions using bundled PP-OCR small\nmodels. Tesseract and vision endpoints have contract tests; their model quality is evaluated separately.\n\n**Offline benchmark:** cold and warm builds are measured on 25, 100, and 400 synthetic families.\nThe [benchmark report](docs\u002Fbenchmarks.md) records measured throughput, host and dependency versions,\nand matching dataset digests; the original JSON is archived with the results.\n\n**Live model runs (archived in `experiments\u002F`, fictional inputs):**\n\n| Experiment | Models | Result | Recorded cost |\n| --- | --- | --- | --- |\n| [Document compilation](experiments\u002F2026-10-m1\u002FREADME.md) | Claude Opus 5.5, GPT-6.1 Sol | 13\u002F13 exact claims each; 31\u002F32 decision agreement each | Successful runs: $0.293428 \u002F $0.1505675 |\n| [Multi-step workflows](experiments\u002F2026-10-workflows\u002FREADME.md) | Same two models | 3\u002F3 tasks, 11\u002F11 permitted decisions each | $0.036412 total, 22 calls |\n\nThe compilation ledger also records earlier diagnostics and failed attempts: $1.08587197 in known\ncosts across recorded attempts, plus five attempts with unknown cost. Its total billed cost is unknown.\nThe reference cases are maintainer-authored fixtures. Archived results document behavior on these\nsmall fictional inputs; organizational training-quality evaluation remains a separate milestone.\n\n\u003C\u002Fdetails>\n\n## Supported scope in this release\n\n\u003Ctable>\n\u003Ctr>\n\u003Cth width=\"50%\">Supported\u003C\u002Fth>\n\u003Cth width=\"50%\">Next milestones\u003C\u002Fth>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd valign=\"top\">\n\n- Text, Markdown, JSON\u002FYAML, PDF, DOCX\u002FXLSX\u002FPPTX, HTML and CSV\u002FTSV sources with versions and access metadata.\n- Image and scanned-PDF OCR with local PP-OCR small models, Tesseract, or an explicit vision endpoint.\n- Document compilation into rules, nodes, candidates, and scenarios, with a content-bound review gate.\n- Deterministic label derivation for all four decision surfaces.\n- Distribution quotas, feasibility reporting, verified synthesis, and global duplicate detection.\n- Family-level split isolation with leak accounting; resumable, integrity-checked runs.\n- Training exports in four formats, including the candidate-readout decision contract.\n- Multi-step mock business workflows with independent trace grading and Harbor task export.\n- Runtime event ingestion, reviewed development feedback, and split-preserving dataset updates.\n- Offline audits of recorded agent tool calls (JSON Lines or OpenTelemetry GenAI traces) against the declared policy.\n\n\u003C\u002Ftd>\n\u003Ctd valign=\"top\">\n\n- Fixed-budget fine-tuning comparisons and measured downstream decision-quality gains.\n- Broader business-reviewed organizational corpora.\n- Large-corpus retrieval and cross-document rule resolution (current limits: 2 MB per source,\n  32 MB per corpus, and a 1 MB default claim limit for single-pass assembly).\n- Multi-harness model comparison and a Verifiers adapter.\n- Package publishing on PyPI and schema migration tooling.\n\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftable>\n\nThe synthesis command `expand` operates within the approved rule specification and proposes\ndecision-time state. Policy extraction and revision belong to document compilation and review.\nThe [roadmap](ROADMAP.md) tracks each remaining acceptance item against a milestone.\n\n## Documentation\n\n| Guide | What it covers |\n| --- | --- |\n| [Tutorial](docs\u002Ftutorial.md) | From a written policy to training data in five minutes |\n| [Why Decision Forge](docs\u002Fvision.md) | The problem, the data it needs, and where this project fits |\n| [Project status](docs\u002Fstatus.md) | Implemented paths and remaining validation |\n| [Architecture](docs\u002Farchitecture.md) | Component boundaries and data flow |\n| [Specification](docs\u002Fspecification.md) | Rule, scenario, and recipe semantics |\n| [Document formats and OCR](docs\u002Fdocument-ingestion.md) | Format detection, parsers, and OCR backends |\n| [Organization compiler](docs\u002Forganization-compiler.md) | Ingestion, extraction, review, resumption |\n| [Generation planning](docs\u002Fgeneration.md) | Quotas, verified synthesis, deduplication |\n| [Decision training](docs\u002Fdecision-training.md) | Export contract and candidate-readout encoding |\n| [Platform workflows](docs\u002Fplatform-workflows.md) | Multi-step tasks, grading, feedback, updates |\n| [Data protocol](docs\u002Fdata-protocol.md) | Evaluation protocol and reporting rules |\n| [Benchmarks](docs\u002Fbenchmarks.md) | Offline throughput protocol and reference results |\n| [Release process](docs\u002Freleasing.md) | Tagging, attested artifacts, and verification |\n| [References](docs\u002Freferences.md) | Prior art and integration candidates |\n\n## Development\n\n```bash\nuv sync --group dev --group docs --extra documents\nuv run ruff check . && uv run ruff format --check .\nuv run mypy src\nuv run pytest --cov=decision_forge --cov-fail-under=80\nuv run mkdocs build --strict\nuv build\n```\n\nRun `uvx pre-commit install` once to apply the same formatting and configuration checks before each\ncommit.\n\n## Community\n\n| Document | Purpose |\n| --- | --- |\n| [Contributing](CONTRIBUTING.md) | Review bar, label taxonomy, and definition of done |\n| [Governance](GOVERNANCE.md) | How decisions are made |\n| [Support](SUPPORT.md) | Where to ask questions |\n| [Security](SECURITY.md) | Reporting vulnerabilities and verifying releases |\n| [Code of Conduct](CODE_OF_CONDUCT.md) | Expected behavior in project spaces |\n\nCode and technical documentation are written in English; this README also has a maintained\n[Simplified Chinese translation](README.zh-CN.md).\n\n## Citation\n\nIf you use Decision Forge in published work, cite the version you used. GitHub's **Cite this\nrepository** button reads [CITATION.cff](CITATION.cff); export formats are versioned, and\n[`CHANGELOG.md`](CHANGELOG.md) records every change.\n\n```bibtex\n@software{decision_forge,\n  title   = {Decision Forge: Organizational Decision Data Infrastructure},\n  author  = {{Decision Forge contributors}},\n  version = {0.3.2},\n  license = {Apache-2.0},\n  url     = {https:\u002F\u002Fgithub.com\u002FJuneo-Lab\u002Fdecision-forge}\n}\n```\n\n## License\n\nDecision Forge is licensed under [Apache-2.0](LICENSE). See [NOTICE](NOTICE) for attribution.\n","Decision Forge 是一个将组织内部政策规则自动编译为可验证决策训练数据的工具。它支持从结构化政策文档中提取决策逻辑，通过策略回放（policy replay）机制生成带溯源标签的合成训练样本，并确保数据符合组织权威规则；核心技术涵盖策略即代码（Policy-as-Code）、数据溯源（data provenance）与LLM微调适配。适用于需构建可信AI代理（如合规审批、客户服务、风控执行等场景）的企业，在保障决策可解释性与审计合规的前提下，提升代理行为与组织意图的一致性。",2,"2026-11-24 04:32:32","CREATED_QUERY"]