Skip to content

edithatogo/foi-process

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

103 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FOI Process Workpack v3

Review date: 2026-07-15
Status: v0.1.0 released Rust-first integration workpack; hosted CI passes, with external governance and live-adapter gates remaining.

This workpack is the reviewed successor to v2. It keeps the strategic direction—Rust-first, OCEL-first, event-sourced, FOI-O bounded—but corrects several implementation assumptions and reduces the new maintenance surface.

What is implemented here

  • One Rust library/binary rather than seven publishable microcrates.
  • Validated identifiers, RFC 8785 canonical content IDs, SHA-256 digests, RFC 3339 timestamps, and bounded confidence values.
  • Normalised, reference-based evidence/object/event contracts suitable for Parquet and OCEL.
  • EvidenceDelta revisions, stream positions, supersession, retraction, integrity-checked snapshots, checkpoints, gap/conflict detection, and deterministic replay.
  • A shared normaliser for archive records and future live fyi-cli deltas.
  • Revision-aware live dashboard roll-ups that remain correct under out-of-order revisions and do not double-count corrected events.
  • A portable OCEL projection and a direct optional adapter to Rust4PM 0.6's existing AppendableOCEL trait.
  • Document/OCR contracts that separate fe-reader extraction from nlp-policy-nz semantic signals.
  • Privacy classification and a public projection that prevents unreviewed OCR/text from being amplified.
  • Resume-safe append-only NDJSON journals, complete normalized table outputs, quarantine records, and commit-last checkpoint semantics.
  • Mining-run provenance, replay fixtures, schema snapshots, Python development oracle, and semantic tests.
  • Conductor tracks, GitHub parent/sub-issue payloads, per-repo export packets, and funding work packages.

Repository boundaries

fyi-cli                 capture, polling, WARC/WACZ, EvidenceDelta emission
fyi-archive             immutable snapshots, manifests, publication/mirrors
foi-process             deterministic integration, replay, projection, live roll-ups
foi-o                   canonical FOI semantics, vocabulary, schema/SHACL profiles
Rust4PM                 generic OCEL/process-mining algorithms
fe-reader               document/PDF extraction, rendering, OCR orchestration, evidence geometry
nlp-policy-nz           semantic/NLP signals grounded in DocumentBundle evidence
Axiom + RuleSpec NZ     deterministic statutory/deadline results and traces
Propel                  Rust/WASM process-mining user interface
Kairos                  simulation, synthetic logs, counterfactual process models
Sourceright             source verification and review-queue patterns
rulesandprocesses       background contract/adoption research; never a runtime dependency

First commands after export

cargo fmt --all -- --check
cargo clippy --locked --all-targets -- -D warnings
cargo test --locked --all-targets
cargo check --locked --all-targets --features rust4pm
cargo test --locked --all-targets --features rust4pm
cargo check --locked --all-targets --features parquet
cargo run --locked --bin schema-gen -- schemas/generated
python scripts/reference_pipeline.py
python scripts/validate_workpack.py
python scripts/test_reference_semantics.py

The default, Rust4PM, and Parquet paths have been compiled locally with the installed GNU Rust toolchain. The pinned 1.88 MSVC toolchain and the optional all-feature matrix remain CI follow-up gates on this workstation.

Key folders

src/                     Rust implementation
schemas/portable/        independently validated portable schema drafts
examples/input/          archive/live delta and event fixtures
examples/generated/      replay, OCEL, dashboard, privacy, OCR, manifest outputs
scripts/                  development oracle and validation
conductor/               source-of-truth project tracks for the new repo
github/                  parent/sub-issue and Project planning material
repo-exports/             changes to promote into existing repositories
docs/                    review, architecture, privacy, OCR, scaling, promotion

See IMPLEMENTATION_STATUS.md, CHANGELOG.md, docs/REVIEW_AND_DECISIONS.md, and docs/canonical-identifiers.md for the audit, completed implementation, and remaining gates.

The Hugging Face dashboard publication bundle, including reviewed event logs, revision history, EvidenceDelta streams, OCEL tables, process edges and variants, is documented in docs/hugging-face-dataset-publication.md.

The operational Static Space dashboard in space/ adds process, variant, case-timeline, conformance, and provenance views over that verified bundle. Its reproducible build and fail-closed publication boundary are documented in docs/hugging-face-space.md.

No-cost hosted surfaces

  • Live dashboard: GitHub Pages, built and deployed from the public repository with no paid Hugging Face dependency.
  • Event-log deposit: Hugging Face Dataset, containing the public-safe event logs, OCEL projections, process variants, schemas, and manifests.
  • Hugging Face Space: free Static Space containing the pre-built dashboard assets. A verified free mirror is also available at foi-process-explorer-free. GitHub Pages remains an independent fallback. No PRO plan, credits, Docker, Gradio, GPU, or ZeroGPU is required by this project.

Scale and release governance are executable rather than advisory: the repeated Rust benchmark, tested Parquet partition contract, SPDX SBOM, mining provenance, checksummed release package, and verification commands are documented in docs/scale-benchmark.md and docs/release-evidence.md.

About

Rust-first FOI process intelligence integration spine

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Packages

 
 
 

Contributors