When does evidence from an agent's use justify learning a new work requirement?
This research project studies how agents can infer requirements omitted from their initial configuration, test competing explanations and limit an adaptation to the contexts supported by evidence. It combines a Python library with five synthetic pilot studies.
Work evidence → Requirement hypothesis → Scoped update → Evaluation on new tasks
Early development, package version 0.1.0.dev1. The pilots have not established a benefit of grounded reflection over strong direct methods. They identify measurement ceilings, scope errors and incomplete hypothesis enumeration. Repeated autonomous improvement and enterprise value remain research questions.
Start with the methods, the v0.4 guide or the v0.5 study. Reproducibility explains what can be checked from this checkout. The glossary defines study terms, and provenance indexes the historical records.
The documentation index covers all guides and study records. The changelog separates the research record from software and documentation changes.
Pilot numbers identify study stages, not software releases. All use synthetic data.
| Pilot | Question | Main finding | Study |
|---|---|---|---|
| v0.1 | Does structured reflection improve recruiting posts? | All three conditions received 10/10 model ratings on six tasks. This ceiling, without human evaluation, could not distinguish them. | Report |
| v0.2 | Can reflection recover omitted requirements from conflicting evidence? | Reflection passed 19/24 task attempts, direct adaptation 23/24 and direct evidence 21/24. Rejected alternatives became unnecessary clarifications. | Report |
| v0.3 | Can warranted adaptation be measured separately from hidden-world accuracy? | Direct evidence and adaptation each passed 8/8 calibration tasks. The ceiling stopped the main comparison before reflection was run. | Calibration |
| v0.4 | Which evidence difficulties challenge direct methods? | Two-pass preparation (C) scored 21/24 and direct use (B) 16/24 on the registered metric including declared scope. The post hoc fields-only scores were 21/24 and 23/24. No setting met the prespecified difficulty criterion. | Guide and results |
| v0.5 | Does a hypothesis register help with large histories and unknown relevant attributes? | Direct use (B) scored 44/48, chunked preparation (C) 39/48 and the hypothesis register (D) 29/48. No history (A) scored 24/48, matching the never-change floor. | Study and results |
Four procedures use the same model, DeepSeek-V4-Flash via FHGenie, with different preparation and retrieval procedures. A deterministic oracle scores output fields against what the public evidence warrants. Actual computation differs between arms.
The hypothesis register was less accurate than direct use in every setting. In 15 of 16 histories it considered only one of the two values per attribute. Ambiguous specification wording may have contributed. It also lost workflow scope. These findings prevent a clean attribution to the effectiveness of reflection itself.
The three direct-method errors decisive for the main difficulty comparisons occurred with complete binding evidence in context. They do not demonstrate a retrieval failure. All five missed changes by the direct methods concerned omission, a small-sample observation that needs further study.
The design and decision rules were recorded before the evaluated runs. Technical failures remain in the scores. This is a descriptive stress test with one model and two cases per hard task type, setting and arm. See the results, incidents and limitations.
Seven of direct use's eight registered failures had correct output fields but declared rules with excessive scope. Its post hoc fields-only score of 23/24 exceeds two-pass preparation's 21/24. The registered comparison therefore does not establish better task decisions through two-pass preparation. The prespecified criterion for sufficient difficulty, called headroom, requires two-pass preparation to pass at most 70% of diagnostic tasks, with confirmed content errors accounting for at least 60% of its diagnostic failures. No setting met both conditions. The change-over-time setting (S4) remains provisional because its two failure causes are unresolved. The guide keeps these measurements separate.
In the first pilot, two specialist reviews requested a concrete work-problem opening for recruiting posts. An apprenticeship review instead requested learning opportunities and support. The model proposed a problem-and-contribution opening scoped to experienced specialists in one campaign, retaining the contrasting review as counterevidence to wider use.
This example comes from recorded model outputs on fictional records. Recruiting effectiveness was not measured. A separate worked illustration explains the deterministic inference used in the later pilots.
Requires Python 3.11+. Install from a checkout; the package is not on PyPI.
python -m pip install .
grounded-reflection demo --output demo-outputThe offline demo uses four fictional HR episodes and three authored candidates. It requires no API key. It accepts one candidate for validation, rejects an overbroad candidate and flags a candidate with a missing rationale. Final selection stays deferred because validation ratings are absent. No update is exported.
- Pydantic contracts represent evidence, hypotheses, scoped updates and paired evaluations.
- Reference and scope checks validate source quotes and declared boundaries. They do not establish semantic support for a claim.
- A selector evaluates supplied ratings, required gains, human-effort limits and regressions. It can export an accepted context artifact; it does not deploy changes.
- Experimental model backends log calls and usage for the pilots. The offline library does not require them.
The library trusts supplied labels and ratings and provides no anonymisation or secure data storage. See the executable library protocol for its boundaries and demonstration thresholds.
The first pilot uses one generation per task and condition, with a separate blinded judge call from the same model family. Its protocol, report, 18 outputs and preparations and judgments remain available. The rating ceiling supports no conclusion about superiority.
The next study would need a complete hypothesis space, explicit guidance for revising an exhausted register and reliable preservation of workflow scope. Whether these changes improve new tasks must be tested on fresh material. The asymmetry between adding and removing fields also remains open.
See the roadmap, HR data card and offline verification instructions. Contributions should use synthetic examples and include tests for changes to protocol behaviour.
Milad Morad. Developed with AI coding assistance. Code and fictional fixtures are released under the MIT License. Cite the software version using CITATION.cff.
This is a research prototype using synthetic data only. The author maintains it during the doctoral project. Please use GitHub Issues for questions and bug reports.
Use the software citation in CITATION.cff. On the repository's GitHub page, select Cite this repository in the sidebar to copy the citation in your preferred format.