LQLQ ASSESS
EXEMPLARS · anonymized, published work
July 2026 cohort

C-30

OQ-042 — Deterministic vs agentic architecture for auditable legal tools

OQ-042 — Deterministic vs agentic architecture for auditable legal tools

Tier: alternate · Skill demand: architecture decision · Time budget: 90 min Themes: deterministic, agentic, audit, compliance, framework

Some legal tasks need deterministic, auditable execution (compliance checks, regulatory filings). Some need agentic flexibility (research, drafting, exploratory analysis). Where exactly does the boundary fall? Propose a framework for deciding deterministic-vs-agentic for any new legal-AI tool, with three worked examples you'd categorise on each side. Be honest about cases where the answer isn't clean.

what the candidate typed — 21 prompts, slash commands and editor events left out
1give me the picker
2Let's start by breaking down, and better understanding the question: "Some legal tasks need deterministic, auditable execution (compliance checks, regulatory filings). Some need agentic flexibility (research, drafting, exploratory analysis). Where exactly does the boundary fall? Propose a framework for deciding deterministic-vs-agentic for any new legal-AI tool, with three worked examples you'd categorise on each side. Be honest about cases where the answer isn't clean." We also need to determine what the output looks like in 90min. Is the 'framwrok' presented in an essay form, a file, what could work best and be in keeping with the task / question, can we re-use my submission so there's no wasted work?
3review what's been written so far and refactor to ensure efficinecy. Consider all of this through a lens of security by design as well. All lines of code or prose needs to support security, trust and transperancy for the user and their organisation.
4Read FUNDS-EXAMPLES-HANDOFF.md in this repo (c:\Users\[candidate]\lq-assess-work\[room-token]), with particular attention to Section 7 ("Audience tailoring + the Noroboto stress test"). Context: I'm building a deliverable for question OQ-042 (a deterministic-vs-agentic decision framework for legal-AI tools; see README.md, SKILL.md, AGENTS.md, STRESS-TEST.md, classify.py, examples.json). A separate Claude session produced that handoff. The runnable layer is already done and green: `python classify.py --self-test` should PASS (11/11). I want an INDEPENDENT assessment of Section 7 — DO NOT modify any files yet. Specifically: 1. Sanity-check the proposed worked example "FX-1 adversarial / lying-font detection at ingestion". Re-derive its placement from the gating logic in classify.py (A1/A3 are gates, not addends) and confirm it lands Q3 DETERMINISTIC (hardened) with an openness-borderline flag. If you want, add it to a SCRATCH copy of examples.json (not the real one) and run the classifier to verify — then discard the scratch file. 2. Pressure-test the two framework findings: (a) refining A5 to mean "verifiable against a trusted rendering, not the cheapest machine channel"; (b) adding an always-on input-integrity gate as the integrity sibling to the existing data_sensitivity security overlay. Do these hold up? Any double-counting with the security overlay, or a cleaner formulation? 3. Give your recommendation on the two open questions in §7.6: (i) include Noroboto as a worked example, a stress-test finding, or both? (ii) lighter touch (refine A5 wording + a one-line integrity precondition in SKILL/AGENTS) vs fuller move (a distinct integrity overlay / an `input_trust` field in classify.py)? 4. Flag anything in §7 you'd push back on for THIS audience (LegalQuants — lawyer-builders who prize auditable/deterministic workflows and technical judgment). Report your assessment back to me; do not change repo files until I decide.
5I align with your recommedation. We only have a few minutes left so be quick. Then we need to wrap up. Ensure that the Readme file is correct, as well as the Agent file is accurate too. Then give me an elevator pitch on what we have done here, plus a 350 word summary.
6did you factor in the Noroboto material and its stress test?
7redo the Elevator pitch and 350 word summary
8remove emdash from both
9Elevator pitch We built a decision framework that tells any legal-AI builder whether a task should be deterministic, agentic, hybrid, or not automated at all, and made it runnable. Score a task on five axes (two act as gates), and it lands on a governance×openness grid with a concrete architecture call, the guards to build, an always-on security overlay, and an input-integrity precondition. It ships as a portable Skill plus AGENTS.md you drop into any project, plus classify.py whose self-test proves 11 real PE/VC and M&A examples classify exactly as documented. It's opinionated, auditable, adversarially stress-tested, and honest about where it can't give a clean answer, which is the whole point. Extended Summary The question (OQ-042) asked where the boundary falls between deterministic and agentic legal-AI tools, as a framework usable on any new tool, with worked examples each side and honesty about the messy middle. What was built. Not an essay, but a drop-in artifact you use while building: a Claude Code Skill, a harness-agnostic AGENTS.md, a README.md carrying the reasoning and worked examples, and classify.py, a dependency-free implementation whose --self-test proves the documented placements are reproducible (PASS, 11/11). The core idea. The boundary isn't task-type or difficulty. It's set by two independent questions, can we write down how to do it? (openness) and how much must we prove it? (governance), placing a task in one of four quadrants. Verifiability is the hinge that resolves the hard quadrant: an agent is safe on a high-stakes, unspecifiable task only when a deterministic layer can catch a wrong output; where it can't, the honest answer is "don't automate yet." Where we went further. We stress-tested the framework against itself and applied four hardening fixes: making two axes gates (a clean input must not mask an unspecifiable procedure); optimism-bias calibration; a precise task-unit definition; and an input-fidelity fix prompted by the Noroboto "lying font" attack, namely verify against the trusted rendering, not the cheapest channel, plus an always-on input-integrity precondition (the integrity sibling of confidentiality, covering lying fonts and indirect prompt injection). We added a security-by-design overlay (data sensitivity drives least-privilege, deny-egress, redaction, audit log; attack-surface warnings on agentic+sensitive tasks). We grounded it in 11 funds/M&A examples spanning Q1 to DON'T-AUTOMATE, and hardened the code itself (fail-closed, no eval/network/writes). The throughline: make provability, security, and transparency explicit before choosing an architecture, and be honest when the answer is "not yet."
10yes, but note the time elapsed says 0 min, but i worked for just shy of 90min
11let's proceed with your recommendation. If that doesn't work, i will email jamie.
12could i send that to him and just Zip the folder?
13just leave as is. Where is teh zip file?
14I'm working on a question "Some legal tasks need deterministic, auditable execution (compliance checks, regulatory filings). Some need agentic flexibility (research, drafting, exploratory analysis). Where exactly does the boundary fall? Propose a framework for deciding deterministic-vs-agentic for any new legal-AI tool, with three worked examples you'd categorise on each side. Be honest about cases where the answer isn't clean" and have 90 min to complete. can you brainstorm and plan if needed, 10 legal task/workflow examples that i can work through, including 10 where the decision to use deterministic and agentic/Ai is NOT as clean cut?
15for the examples, I am in the funds space, Private Equity and Venture Capital, as well as Venture Capital M&A. Can we tailor the exmaples for now to those areas of Law? We can broaden later but for now, let's stay where I feel comfortable for this build.
16Let's proceed with your advice for the three options under Deterministic, and three under Agentic. For the Messy, let's go with 1. Condition-precedent (CP) satisfaction at closing; 2. Cap-table / pro-forma ownership reconstruction; and 3. VC M&A reps & warranties / indemnity extraction + risk flagging. Can you look at each of these individually and prepare material that i can pass to my primary deve terminal, so we can continue to work there? I want you to do teh ground work and planning as to how best demonstrate each of these, while remaining in keeping with the original question. Plan this out, de diligent and don't be lazy.
17We need to fix the coverage gaps, can you plan and do that now?
18[Request interrupted by user]
19We need to fix the coverage gaps, can you plan and do that now? Then update the HandOff file?
20Review https://www.legalquants.com/ and determine whether we can better tailor some of the exmaples to the work that this group is doing. This is the audience for this test so it would advisable to ensure the context is usable and relevant for them. Don't alter anything, let's work together but I want you to drive the thinking on this one. In particular, do research on Noroboto (the custom font which appears normal to a human on screen and print, but which may be incomprehensible to a language model in a legal tech pipeline.) Deeply consider whether this font, the use of this font in legal documents within a legal firm context, could be a candidate for a deterministic vs Agenic analysis? Let's dig into thsi particular example further and perhaps this may be an additional example that we stress test our AGENTS and Skill on.
21i need you to package all of this up into the hadnoff and i will respond to your recommendation in my primary developer window. Explain what you have done, your analysis above, the recommendation, what i had asked, etc.. Verify yoru handoff and then confirm. Then provide me with an instruction to my other dev terminal that I can cut/paste so as to point it to your work so it can separately assess.