Skip to content
View yunusdim's full-sized avatar

Block or report yunusdim

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
yunusdim/README.md

Diego Gabriel Impieri (@yunusdim)

Independent researcher and systems architect. I build deterministic engines that declare a system as contracts and invariants and then check the running system against them. The theory and the implementation are the same work: the papers state the criteria, the engines enforce them, and what the engines find in production goes back into the papers.

What that means in practice

  • The contract is the source; the code is fabricated from it. Builder Engine declares an architecture in BCL and builds the system from that declaration. A published paper's operator was rebuilt as a 40-module contract with no module written by hand, against a negative control.
  • Structure gets repaired, not patched. Operator Engine classifies the form of a conflict, builds the architecture that form requires, and converges by energy minimization — typed graph rewriting, with trivial repair failure separated from an emergent local-minimum trap.
  • Nothing is trusted because it reported success. Each engine ships with the check that would catch it lying: an oracle on the repair engine, a negative control on the fabricator, and regression banks that run with no network at all — 124 scenarios on the runtime, 30 on the app. The public case ledger is that same discipline turned on other people's tooling.
  • It runs where the operator is. No service to depend on. The context-governance runtime is Bash and Python 3 on Android; the app assembles every turn and runs its five governance sensors inside the operator's own browser, with the state on the device and nothing synced anywhere. Determinism here is a design decision, not an infrastructure budget.

Running now

Rick App · source — a context-governance workspace for a language model, and the reference implementation of the second line of work below.

The premise is that a turn is not sending the chat to the model. The environment assembles the turn; the model only generates text. assemble(input, now) is deterministic — the same input and the same clock produce the same system prompt, every time — and five governance sensors run before the model is called, not after.

  • The diagnostic instrument is the assembled context, not the answer. An Inspection screen shows the last assembled prompt section by section, with character counts and percentage of the 24,000-character budget. When a reply is wrong, the first hypothesis is that the environment handed the model something other than what you believe it did.
  • Every evaluation is recorded, including the ones that found nothing. Coverage is a fraction of the checks attempted, never of the ones that fired — a healthy system does not produce an empty log. The drift sensor abstains out loud when it has too little evidence, instead of returning a zero that reads like a pass. An empty section is declared, not omitted: a missing one is an alert, not silence.
  • Thirty scenarios, no network. The bank runs entirely offline against the assembler and the sensors. The rule of the system: no change enters without its own scenario.
  • The operator's state and the operator's key stay on the operator's device. State lives in the browser, never syncs, and has no account behind it. The API key is never exported, never appears in inspection, and is never persisted server-side — five invariants, each with its own scenario.

Published work

ORCID: 0009-0003-9082-650X · Community page: Structural Governance on Zenodo

Formal theory

Deterministic governance engines — blueprints

  • Operator Engine 2.0.13 — deterministic structural solver: classifies the form of a conflict, builds the architecture it requires, converges by energy minimization. Aug 2026
  • Builder Engine 3.5.8 — the contract engine that declares architecture in BCL and fabricates systems from a contract with no module written by hand. Aug 2026
  • Governing the Smallest Piece — blueprint of governed_core, the ~700-line console that plugs an 11-system ecosystem together. Aug 2026
  • RICK AGG — blueprint of an enterprise operating system running a complete financial cycle, governed by deterministic engines. Aug 2026
  • RICK Runtime v9 — deterministic context-governance runtime for a language model, in Bash and Python 3 on a phone: sustains a self-authored identity verified by consistency, gated by a 124-scenario regression bank. Sep 2026

Case studies & verification reports

Currently

Two lines of work, both filed publicly and tracked in a single ledger — 41 cases, including the ones that were rejected.

Assurance mechanisms that report an aggregate and absorb in silence. Baseline and suppression blind spots, and closed-vocabulary enumeration, across lint, SAST, IaC, coverage, accessibility, secret-scanning, type-checking, dead-code, duplicate-code and dependency-vulnerability tooling. A gate that counts instead of identifying will close green while the set underneath it changed. What that has produced so far: a fix merged into import-linter, shipped; the design implemented and released in jscpd v5.1.0 — clone fingerprints instead of an aggregate percentage, and a baseline that prints what it absorbed on regeneration; two features accepted as future work in dependency-cruiser; knip routed to the issue that fixes it at the root; independent reproductions on gitleaks and Bandit, the second with a third-party fix; a fix PR open on SwiftLint; the closed-vocabulary preset in the spec-kit community catalog; PHPStan closed with a substantive answer from the maintainer; and a fail-open finding in an agent governance policy engine closed by MSRC — behavior acknowledged, rated Low, fix planned for a future release — now published in full in the ledger.

Deterministic context governance for language-model systems. Second line, opened Sep 2026 from RICK Runtime v9: systems that assemble a model's context and lose the ability to state what entered it and what was dropped. Eight cases filed — role boundaries forged through a chat template in transformers, silent model substitution in gemini-cli and python-genai, unmeasured truncation in ollama, a memory gate that does not clean what already crossed it in mem0, and agents asserting governance actions they cannot perform in copilot-cli and claude-code. The criterion for entering a thread is declared: only where the project is already moving toward deterministic control. A project that chose to let the model decide is a different thesis, not a case to assist.

📫 dimpieri@gmail.com

Full ledger: github.com/yunusdim/casos-defectos-estructurales

Popular repositories Loading

  1. yunusdim yunusdim Public

  2. casos-defectos-estructurales casos-defectos-estructurales Public

    Registro de defectos count-vs-identity en herramientas OSS de verificacion (baselines, suppressions, exclusiones)

  3. spec-kit-preset-closed-vocabulary spec-kit-preset-closed-vocabulary Public

    Closed-vocabulary drift detection preset for spec-kit /speckit.analyze

  4. spec-kit spec-kit Public

    Forked from github/spec-kit

    💫 Toolkit to help you get started with Spec-Driven Development

    Python

  5. import-linter import-linter Public

    Forked from seddonym/import-linter

    Lint your Python architecture.

    Python