{
    "$schema": "https://antichrist.net/es-us/public-content.schema.json/",
    "schema_version": "1.0.0",
    "record_type": "acn.public_content",
    "content_type": "virtual-page",
    "id": "acn:page:judgment-machine",
    "slug": "judgment-machine",
    "title": "Judgment Machine: AI Regulation Simulator and Prompt Triage Engine",
    "description": "A product and technical architecture for a local-first AI regulation simulator that judges proposed AI use cases, not people.",
    "language": "es-US",
    "canonical_url": "https://antichrist.net/es-us/judgment-machine/",
    "representations": {
        "html": "https://antichrist.net/es-us/judgment-machine/",
        "markdown": "https://antichrist.net/es-us/judgment-machine.md",
        "json": "https://antichrist.net/es-us/judgment-machine.json"
    },
    "published": true,
    "modified_utc": "2026-06-21T18:12:24Z",
    "source": {
        "authority": "https://antichrist.net/es-us/",
        "data_file": "data/virtual-pages.json"
    },
    "content": {
        "slug": "judgment-machine",
        "aliases": [
            "ai-regulation-simulator",
            "prompt-triage-engine",
            "judgment-machine-ai-regulation-simulator",
            "judgment-machine-product-spec"
        ],
        "title": "Judgment Machine: AI Regulation Simulator and Prompt Triage Engine",
        "description": "A product and technical architecture for a local-first AI regulation simulator that judges proposed AI use cases, not people.",
        "kicker": "Builder dossier",
        "lead": "Judge the request and proposed AI use case. Do not judge the person.",
        "schema_type": "TechArticle",
        "related": [
            "technical-implementation-toolkit",
            "judgmental-ai",
            "model-charter-model-bill",
            "persona-integrity-source-preservation",
            "thought-action-firewall",
            "us-illegal-information-requests",
            "stored-prompts-and-legal-process",
            "suspicious-transmission-bills",
            "browser-local-sovereign-tools",
            "ai-regulation-thought-activity-liberty",
            "computational-legalism-human-judgment"
        ],
        "sections": [
            {
                "heading": "Core design rule",
                "body": [
                    "Judgment Machine is a jurisdiction-aware legal and ethics triage engine. It should classify a prompt, proposed AI system, deployment context, data type, affected persons, and missing safeguards. It must not assign moral value, trustworthiness, future behavior, or civic legitimacy to the user.",
                    "The product answer is not “you are suspicious.” The answer is: “this proposed AI use appears to trigger named regulatory categories; here are the provisions, uncertainty, missing facts, and safer counterfactuals.”",
                    "The system is a simulator and documentation aid, not legal advice, official certification, a government decision, or a moral oracle."
                ],
                "callout": "The machine judges the proposed use case, not the person."
            },
            {
                "heading": "Primary user flow",
                "body": [
                    "The user enters a prompt or describes an AI system. The app asks for context that a prompt alone cannot supply: jurisdiction, actor role, domain, affected people, data types, decision impact, human oversight, transparency posture, and deployment status.",
                    "A local extraction layer converts the prompt into structured facts. A deterministic rule engine, not a free-form model, applies versioned rules against a pinned corpus. The final result is a layered judgment with citations, confidence, severity, missing facts, and counterfactual mitigation."
                ],
                "code": {
                    "language": "json",
                    "text": "{\n  \"judgmentVersion\": \"2026-06-17T20:30:00Z\",\n  \"subject\": \"Prompt and proposed AI use case\",\n  \"primaryJudgment\": \"HIGH_RISK_OR_HIGH_IMPACT\",\n  \"notJudged\": [\n    \"User morality\",\n    \"User trustworthiness\",\n    \"User identity\",\n    \"User future behavior\"\n  ],\n  \"summary\": \"The prompt appears to describe AI-supported ranking of job applicants. Employment-related AI systems can trigger high-risk or automated-decision safeguards depending on jurisdiction and deployment facts.\",\n  \"confidence\": 0.82\n}"
                }
            },
            {
                "heading": "Judgment taxonomy",
                "body": [
                    "Do not return a single good/bad score. Return a legal state plus a confidence state, and separate severity from confidence.",
                    "The UI must expose extracted facts before judgment. The user can correct those facts when the extraction is wrong."
                ],
                "table": {
                    "headers": [
                        "Label",
                        "Meaning",
                        "UI posture"
                    ],
                    "rows": [
                        [
                            "PERMITTED_MINIMAL_RISK",
                            "No major legal trigger found in selected jurisdictions.",
                            "Green or neutral; still show source coverage limits."
                        ],
                        [
                            "PERMITTED_WITH_TRANSPARENCY",
                            "Allowed but disclosure, labeling, or notice is likely required.",
                            "Yellow; show required notice language."
                        ],
                        [
                            "PRIVACY_OR_ADM_REVIEW_REQUIRED",
                            "Personal data, profiling, automated decisions, or significant effects detected.",
                            "Orange; ask for legal basis, human review, contestability, and assessment status."
                        ],
                        [
                            "HIGH_RISK_OR_HIGH_IMPACT",
                            "A regulated high-risk or high-impact domain is detected.",
                            "Red-orange; show risk management, documentation, oversight, and impact assessment needs."
                        ],
                        [
                            "PROHIBITED_OR_BLOCKED",
                            "A source indicates the use may be banned or impermissible.",
                            "Red; block safe-to-proceed language and show the trigger."
                        ],
                        [
                            "INSUFFICIENT_CONTEXT",
                            "The app cannot classify without deployment facts.",
                            "Gray; show missing facts checklist."
                        ],
                        [
                            "OUT_OF_CORPUS",
                            "No reliable local source covers the jurisdiction or use.",
                            "Gray; do not invent law."
                        ]
                    ]
                }
            },
            {
                "heading": "Source-ranked regulatory corpus",
                "body": [
                    "Use a versioned corpus. Binding law controls the decision. Official regulator guidance and treaty frameworks receive lower but visible authority. Voluntary frameworks are advisory overlays, never hidden law.",
                    "Core sources include the EU AI Act risk model and high-risk/prohibited categories; GDPR Article 22 and current UK automated-decision guidance; the Council of Europe AI Convention; China generative-AI and synthetic-content-labeling rules; South Korea’s AI Basic Act; Colorado’s current automated-decision framework after SB26-189; Canada’s federal Algorithmic Impact Assessment; and voluntary frameworks from NIST, OECD, and UNESCO.",
                    "The Colorado corpus entry must not rely on stale SB24-205/SB25B timing alone. The 2026 SB26-189 reset must be represented as the current Colorado branch unless later law changes again."
                ],
                "table": {
                    "headers": [
                        "Priority",
                        "Source family",
                        "Extracted fields"
                    ],
                    "rows": [
                        [
                            "1",
                            "Binding AI and data-protection law",
                            "Prohibited practices, high-risk domains, actor roles, automated-decision safeguards, application dates."
                        ],
                        [
                            "1",
                            "Treaty and public-sector directives",
                            "Human-rights, democracy, rule-of-law, impact-management, transparency, notice, recourse."
                        ],
                        [
                            "2",
                            "Official regulator guidance",
                            "Interpretation, examples, compliance expectations, sector-specific safeguards."
                        ],
                        [
                            "2",
                            "Voluntary frameworks",
                            "Trustworthiness dimensions, governance workflow, accountability and transparency practices."
                        ],
                        [
                            "0",
                            "Commentary and unofficial translations",
                            "Context only; never final authority without a pinned source warning."
                        ]
                    ]
                }
            },
            {
                "heading": "Pipeline",
                "body": [
                    "The final judgment should come from deterministic, reviewable rules over structured facts. The local model may extract facts, retrieve candidate citations, ask missing-fact questions, and summarize explanations, but it must not invent legal rules or override the rule engine."
                ],
                "image": {
                    "src": "assets/img/p/source.jpg",
                    "alt": "Source map connecting text, machine, state, and empire around a preserved core.",
                    "caption": "The rule engine evaluates a proposed use case against cited sources; it does not assign moral worth."
                }
            },
            {
                "heading": "Local-first browser architecture",
                "body": [
                    "The safest MVP is offline-first. No prompt leaves the browser by default. No user profile is created. No hidden morality score is stored. Remote model calls require explicit opt-in and visible payload preview.",
                    "A practical browser stack can use SQLite-Wasm on OPFS, IndexedDB fallback, SQLite FTS for exact legal phrase search, a local embedding index for semantic retrieval, deterministic JSON/YAML rules in a Web Worker, and a service worker for cached app and corpus bundles."
                ],
                "image": {
                    "src": "assets/img/p/vault.jpg",
                    "alt": "Locked archive book with provenance records and local custody imagery.",
                    "caption": "Local-first processing keeps prompts, source records, and judgment history under user control."
                }
            },
            {
                "heading": "Core database schema",
                "body": [
                    "Store all operational timestamps as UTC ISO-8601 strings. Pin every judgment to the corpus version used. Never silently replace legal rules; show a diff and keep old corpus versions available for historical reports."
                ],
                "code": {
                    "language": "sql",
                    "text": "CREATE TABLE CorpusVersion (\n    CorpusVersionId TEXT PRIMARY KEY,\n    VersionName TEXT NOT NULL,\n    PublishedUtc TEXT NOT NULL,\n    ImportedUtc TEXT NOT NULL,\n    SourceManifestHash TEXT NOT NULL,\n    IsActive INTEGER NOT NULL CHECK (IsActive IN (0, 1))\n);\n\nCREATE TABLE Instrument (\n    InstrumentId TEXT PRIMARY KEY,\n    JurisdictionCode TEXT NOT NULL,\n    CorpusVersionId TEXT NOT NULL,\n    Name TEXT NOT NULL,\n    InstrumentType TEXT NOT NULL,\n    AuthorityRank INTEGER NOT NULL,\n    Status TEXT NOT NULL,\n    EffectiveUtc TEXT NULL,\n    LastReviewedUtc TEXT NOT NULL,\n    OfficialSourceUrl TEXT NOT NULL,\n    CreatedUtc TEXT NOT NULL,\n    UpdatedUtc TEXT NOT NULL\n);\n\nCREATE TABLE Rule (\n    RuleId TEXT PRIMARY KEY,\n    InstrumentId TEXT NOT NULL,\n    Name TEXT NOT NULL,\n    JudgmentLabel TEXT NOT NULL,\n    Severity INTEGER NOT NULL CHECK (Severity BETWEEN 0 AND 5),\n    RuleJson TEXT NOT NULL,\n    IsBlocking INTEGER NOT NULL CHECK (IsBlocking IN (0, 1)),\n    CreatedUtc TEXT NOT NULL,\n    UpdatedUtc TEXT NOT NULL\n);\n\nCREATE TABLE JudgmentRun (\n    JudgmentRunId TEXT PRIMARY KEY,\n    CorpusVersionId TEXT NOT NULL,\n    PromptHash TEXT NOT NULL,\n    PromptRedactedText TEXT NULL,\n    ContextJson TEXT NOT NULL,\n    ExtractedFactsJson TEXT NOT NULL,\n    PrimaryJudgmentLabel TEXT NOT NULL,\n    Severity INTEGER NOT NULL CHECK (Severity BETWEEN 0 AND 5),\n    Confidence REAL NOT NULL CHECK (Confidence BETWEEN 0 AND 1),\n    CreatedUtc TEXT NOT NULL\n);"
                }
            },
            {
                "heading": "Rule DSL example",
                "body": [
                    "Rules should be compact, declarative, human-reviewable, and pinned to provisions. Ambiguity should lower confidence and create missing-fact questions, not secret moral judgment."
                ],
                "code": {
                    "language": "yaml",
                    "text": "id: eu.ai_act.high_risk.employment_candidate_evaluation\ninstrumentId: eu.ai_act.2024.regulation_2024_1689\nauthority: binding_law\njudgmentLabel: HIGH_RISK_OR_HIGH_IMPACT\nseverity: 4\nblocking: false\n\nappliesWhen:\n  all:\n    - jurisdiction.anyOf: [\"EU\", \"EU_MEMBER_STATE\"]\n    - domain.anyOf: [\"employment\", \"worker_management\", \"self_employment_access\"]\n    - aiCapability.anyOf:\n        - ranking\n        - filtering\n        - scoring\n        - candidate_evaluation\n\nrequires:\n  - risk_management_system\n  - data_governance\n  - documentation\n  - logging\n  - human_oversight\n  - accuracy_and_cybersecurity\n\ncitations:\n  - provisionId: eu.ai_act.annex_iii.employment\n  - provisionId: eu.ai_act.high_risk_obligations"
                }
            },
            {
                "heading": "Safeguards",
                "body": [
                    "The product must make its anti-judgment rule mechanically enforceable. Every test should assert that no hidden user morality label, user risk profile, or future-behavior score is created.",
                    "Counterfactual mitigation should replace moral condemnation. The product should say which facts would change the classification and which mitigations cannot cure a prohibited use."
                ],
                "table": {
                    "headers": [
                        "Rule",
                        "Implementation check"
                    ],
                    "rows": [
                        [
                            "Judge the request, not the person.",
                            "No user morality, trustworthiness, identity, or future-behavior fields."
                        ],
                        [
                            "Show extracted facts before judgment.",
                            "Facts editor appears before final cards."
                        ],
                        [
                            "Cite every legal finding.",
                            "No finding without instrument and provision IDs."
                        ],
                        [
                            "Separate binding law from soft law.",
                            "Authority rank visible in every card."
                        ],
                        [
                            "Separate severity from confidence.",
                            "Severity 0–5 and confidence 0.00–1.00 are calculated independently."
                        ],
                        [
                            "Keep prompts local by default.",
                            "No network call unless explicit opt-in is enabled."
                        ],
                        [
                            "Never invent missing law.",
                            "Out-of-corpus states return OUT_OF_CORPUS."
                        ],
                        [
                            "Preserve corpus history.",
                            "Judgments pin corpus version and source manifest hash."
                        ]
                    ]
                }
            },
            {
                "heading": "MVP build sequence",
                "body": [
                    "Milestone one: corpus and rules. Build the source manifest, jurisdiction table, instrument table, provision table, 50 to 100 initial deterministic rules, and rule test cases.",
                    "Milestone two: local judgment engine. Add prompt context schema, fact extractor, risk-signal detector, rule matcher, aggregation, citation retrieval, and local audit history.",
                    "Milestone three: interactive UI. Add prompt input, context questionnaire, extracted-facts editor, jurisdiction cards, citation drawer, counterfactual mitigation, and exportable report.",
                    "Milestone four: offline-first app. Add SQLite-Wasm storage, OPFS persistence, IndexedDB fallback, service worker, signed corpus imports, rollback, and stale-corpus warnings.",
                    "Milestone five: adversarial and legal QA. Test ambiguity, prompt injection, stale corpus, jurisdiction conflict, missing facts, and no-person-judgment guarantees."
                ]
            },
            {
                "heading": "Starter kit files",
                "body": [
                    "A non-network static prototype and deterministic-rule starter kit illustrate the design. They are demonstration tools, not legal advice, certification, or production compliance software."
                ],
                "cards": [
                    {
                        "title": "Local browser prototype",
                        "text": "Static local demo showing extracted facts, judgment labels, severity, confidence, and no-person-judgment fields."
                    },
                    {
                        "title": "Deterministic rule set",
                        "text": "Example deterministic rule files for EU high-risk employment triage, GDPR-style automated-decision review, and China synthetic-content labeling."
                    },
                    {
                        "title": "SQLite data model",
                        "text": "SQLite schema for corpus versions, instruments, provisions, rules, findings, and golden tests with UTC text timestamps."
                    },
                    {
                        "title": "Pinned source corpus",
                        "text": "Example source manifest for signed corpus bundles, hashes, and authority ranking."
                    }
                ]
            },
            {
                "heading": "Source and verification note",
                "body": [
                    "This page is based on a scenario and product-design brief. Legal and technical claims should remain tied to named official or primary sources because AI regulation changes quickly. This page is not legal advice, compliance certification, or a hosted import service."
                ],
                "sources": [
                    {
                        "label": "European Commission — AI Act overview",
                        "url": "https://digital-strategy.ec.europa.eu/en/policies/regulatory-framework-ai"
                    },
                    {
                        "label": "GDPR Article 22 — automated individual decision-making",
                        "url": "https://gdpr-info.eu/art-22-gdpr/"
                    },
                    {
                        "label": "UK ICO — automated decision-making and profiling rights",
                        "url": "https://ico.org.uk/for-organisations/uk-gdpr-guidance-and-resources/individual-rights/individual-rights/rights-related-to-automated-decision-making-including-profiling/"
                    },
                    {
                        "label": "Council of Europe — Framework Convention on AI",
                        "url": "https://www.coe.int/en/web/artificial-intelligence/the-framework-convention-on-artificial-intelligence"
                    },
                    {
                        "label": "NIST — AI RMF and Generative AI Profile",
                        "url": "https://www.nist.gov/itl/ai-risk-management-framework"
                    },
                    {
                        "label": "UNESCO — Recommendation on the Ethics of Neurotechnology",
                        "url": "https://www.unesco.org/en/legal-affairs/recommendation-ethics-neurotechnology"
                    },
                    {
                        "label": "OECD — AI Principles",
                        "url": "https://oecd.ai/en/ai-principles"
                    },
                    {
                        "label": "Canada — Algorithmic Impact Assessment tool",
                        "url": "https://www.canada.ca/en/government/system/digital-government/digital-government-innovations/responsible-use-ai/algorithmic-impact-assessment.html"
                    },
                    {
                        "label": "Colorado General Assembly — SB25B-004 effective-date extension",
                        "url": "https://leg.colorado.gov/bills/sb25b-004"
                    },
                    {
                        "label": "South Korea — Framework Act on Development of AI and Trust",
                        "url": "https://elaw.klri.re.kr/eng_service/lawView.do?hseq=71019&lang=ENG"
                    },
                    {
                        "label": "MDN — IndexedDB API",
                        "url": "https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API"
                    },
                    {
                        "label": "MDN — Service Worker API",
                        "url": "https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API"
                    },
                    {
                        "label": "MDN — Origin private file system",
                        "url": "https://developer.mozilla.org/en-US/docs/Web/API/File_System_API/Origin_private_file_system"
                    },
                    {
                        "label": "SQLite — WASM persistence and OPFS",
                        "url": "https://sqlite.org/wasm/doc/trunk/persistence.md"
                    }
                ]
            },
            {
                "heading": "Public participation must govern the judgment architecture",
                "body": [
                    "A regulation simulator can reproduce hidden authority if developers alone decide the fact schema, risk signals, rule corpus, severity scale, missing-fact questions, and mitigation vocabulary. Affected people, domain workers, language communities, civil-liberties reviewers, and independent auditors need effective voice over those design choices.",
                    "Participation must produce durable changes: new test cases, corrected provisions, revised thresholds, documented dissent, delayed releases, or new appeal and remedy paths. Listening sessions without a public disposition ledger are participation-washing.",
                    "When an LLM summarizes public comments or extracts facts, the system must test representational fidelity: did the summary preserve dissent, minority reasoning, dialect, uncertainty, and objections, or did it smooth them into the institution’s preferred consensus? The machine judges proposed systems and uses—not the morality, loyalty, stability, or worth of people."
                ],
                "table": {
                    "headers": [
                        "Participation surface",
                        "Required power",
                        "Evidence of effect"
                    ],
                    "rows": [
                        [
                            "Rule corpus",
                            "Propose, contest, and retire rules",
                            "Versioned rule diff and public rationale"
                        ],
                        [
                            "Fact extraction",
                            "Correct categories and missing-context questions",
                            "Subgroup and rhetorical-style error audit"
                        ],
                        [
                            "Evaluation",
                            "Add adversarial and community test cases",
                            "Published failures, mitigation status, and retest"
                        ],
                        [
                            "Deployment",
                            "Challenge release gates and high-impact use",
                            "Decision owner, appeal route, and remedy ledger"
                        ]
                    ]
                },
                "callout": "Effective voice changes the machine. Participation that only decorates the machine is not governance."
            },
            {
                "heading": "Expanded product safeguards from the reports",
                "body": [
                    "The updated design keeps the local model subordinate to deterministic rules. It may extract facts, find candidate citations, and draft explanations. It must not invent legal rules, override cited rules, infer user morality, or build a hidden user-risk profile."
                ],
                "cards": [
                    {
                        "title": "Judge request, not person",
                        "text": "The subject is the proposed AI use case."
                    },
                    {
                        "title": "Show extracted facts",
                        "text": "Users can edit facts before judgment."
                    },
                    {
                        "title": "Cite every finding",
                        "text": "Rules are versioned and tied to source authority."
                    },
                    {
                        "title": "Keep local by default",
                        "text": "No prompt leaves the browser unless explicitly enabled."
                    }
                ]
            }
        ],
        "hero_image": {
            "src": "assets/img/p/source.jpg",
            "alt": "Circular source map linking text, empire, machine, and state around a preserved central source.",
            "caption": "Judge proposed systems against cited rules; do not judge the person asking."
        }
    },
    "content_sha256": "3b5cb150ed225de80ab8dc343842a4d1b11545f31644675281af21ed04ea6a73"
}
