Manuscript Offprint
arXiv:2610.24035TRACE: Governing AI-Assisted Research with Principles from Computer Science
Abstract
Artificial intelligence (AI) makes it easier than ever to produce research outputs. The pressing question is how researchers should organize their work with this technology. The question is not new: software engineering and security research have long studied how teams of people and machines keep control of a shared body of work with many contributors. We distil principles from the practices these literatures report and transpose them to AI-assisted research. The principles form TRACE: Track records, Review against sources, Accept independently, Control transitions, and Evaluate corrections. Together, the five principles give researchers a common basis for remaining in control while integrating AI into their workflows. By bounding units of work and attending to how each is shaped, they help researchers pace AI-assisted work to human attention rather than to the speed at which AI produces content. We also introduce TRACE-OS, an open source operating system for AI-assisted research projects. It puts the principles into practice through shared instructions, tools, and records that fit researchers' existing workflows. The shared standard can contribute to building trust, which allows teams to delegate and realize the productivity that AI promises. More broadly, we aim to open a conversation about the governing principles through which the research community can benefit from AI.
Acknowledgements: We thank Anil Doshi, Arianna Marchetti, Bart Vanneste, Joost Visser, as well as participants at the UCL SOM seminar series and the INSEAD PhD workshop for their helpful comments.
1. Introduction
Researchers increasingly use Artificial Intelligence (AI) throughout the research process and across fields, including the social sciences (Van Noorden and Perkel 2023, Bail 2024, Liang et al. 2024). Scholars use AI to screen literature, extract data, write code, draft, and review research outputs (Korinek 2023, Lu et al. 2024, Aygün et al. 2026). Reusable instructions circulate in the public space as repositories of prompts, tools, and tasks (Destefanis et al. 2026, Liu et al. 2026). Such AI workflows make procedures available for others to adopt, modify, version, and distribute (Pentland and Feldman 2008).
However, producing more material or using latest workflows does not by itself establish that the research more reliable, replicable, or of higher quality more generally. Gartenberg et al. (2026) examine 6,957 initial submissions and 10,389 text-entered reviews at Organization Science. After ChatGPT’s release, submission volume rose 42 per cent while measured writing quality declined, and AI-associated writing accounted for nearly all of both trends. These findings do not imply that every use of AI lowers quality, but they show that adoption alone does not ensure better research. Generative AI expands researchers’ capacity to brainstorm, run analyses, and write text, while evaluating and integrating these outputs continues to require attention and judgment. Evidence from scientific publishing already shows the pressure that increased AI-assisted production places on editors and reviewers (Gartenberg et al., 2026). We see this as an over-production crisis: as generating research material becomes easier, how do researchers ensure they remain in control and produce work worth pursuing and building on?
Organizing AI-assisted work usually requires coordinating with other researchers, since most published research in our field is coauthored (Saunders et al. 2011, Stoltz 2023). Because research outputs are interdependent, one researcher's AI-assisted output can become an input into a coauthor's work, even when that coauthor does not use AI directly. AI use therefore poses a collective governance problem: namely, it creates concerns around how research teams can check, integrate, and trust work produced through different tools and workflows. In human-centric research contexts, responsibility for the resulting claims stays with the researchers (Bockting et al.
2023), so a team needs to understand which choices were made by whom, which information were checked and against what, and who accepted the resulting outputs. Without a record of these choices and checks, a coauthor or even the focal researcher in time may have difficulty understanding how a piece of work was produced and integrated.
This paper aims to address these challenges by introducing governing principles for improving how researchers organize AI-assisted work. We draw inspiration from Ostrom (1990) who bridged political science and economics, and identified eight enduring design principles for governing the commons. Similarly, we seek to bridge literatures in computer science and social science, transposing principles behind established ways of coordinating shared work between humans and machines, without prescribing the same context-specific rules in every setting. The purpose is to provide guidance to researchers who adjust to AI-enabled work practices by demonstrating a set of principles drawing from computer science which translate to social science.
The coordination problems are not exclusive to AI, but the speed and scope of delegation make them salient in AI-assisted work. Software teams have long coordinated in their human-machine interactions, and software engineering and security research have studied how teams of humans work together with machines. We draw on these literatures to identify principles and associated actions that may transfer to research and withstand the test of changing models and capabilities. Our guiding assumption is that even when relying on AI, human researchers remain at the center of the research process, providing direction and scope in a research agenda. A comparable human-centered requirement has been established in adjacent creative and inventive fields: US and other national courts have held that humans remain at the core of the patent and copyright systems (Thaler v. Vidal 2022, Thaler v. Perlmutter 2025). If TRACE becomes a shared standard, researchers could delegate substantive tasks to AI agents with less trepidation, as provenance is recorded by default and acceptance is recorded only when a researcher decides. In addition, coauthoring across heterogeneous AI workflows would no longer constitute a trust bottleneck. Ultimately, using TRACE principles and our proposed TRACE
Operating System (TRACE-OS), researchers, editors, and reviewers gain a standardized auditable basis for conducting and evaluating AI-assisted research.
We follow the approach of distilling a set of general principles from observed practices. Ostrom (1990) distilled design principles from coded case studies of institutions governing the commons. We followed a similar route, using AI to help us review software engineering practice and distil the principles that let several contributors change a shared body of work without losing control of it, which we then tested in interviews with computer scientists and workshops with social scientists. We required that the narrowed down activities be useful to shared work, be applicable across research tasks, be inspectable, and preserve human authority. From the initial set, we selected fifteen core activities. We then grouped these activities by the problems they address into five governing principles. The Technical Appendix documents the selection of activities and their grouping.
The five principles, abbreviated TRACE, address distinct needs in organizing research work. Track records means recording what happened, in what order, and why. Review against sources means comparing an output with an explicit criterion or source, including data and the logical plausibility of a claim, rather than relying on AI model's approval. Accept independently separates production from an authorized actor's decision to accept, return, or refuse specified
TRACE-OS and its documentation are available at trace-os.org. Its source code is at github.com/amrhs-zohrevand/trace-os.
work. That actor may be a person, agent, or process independent of production, depending on the specifications set by human researchers. A named researcher remains accountable for any delegated acceptance. Control transitions requires checks and authorization before material enters the project repository or advances through iterations. Evaluate corrections keeps detected errors open until the team has checked that a correction worked. Together, the principles establish what was produced, what the output was checked against, who accepted it, what was allowed to advance, and whether any corrections were successfully implemented. The core principle of TR-A-CE - Accept independently - focuses on researchers’ locus of control: the decisions on what and how to pursue, revise, or stop.
TABLE 1 The fifteen activities underlying TRACE
| Principle | Selected activities |
|---|---|
| Track records | Disclose AI involvement and prompts. Keep decisions, reasons, and assumptions. Keep execution records. Maintain recoverable version history. Reconcile records with actual work. |
| Review against sources | Review designs against criteria. Check conformity with standards. Inspect with a checklist. Validate requirements with their sources. |
| Accept independently | Obtain an acceptance decision from someone other than the producer. Obtain the requesting party’s acceptance. |
| Control transitions | Vet outside material before adoption. Check exit criteria and authorize progression. |
| Evaluate corrections | Review the preceding work cycle and assign improvements. Recheck whether corrections worked. |
The principles offer a common language for how researchers work with AI and take responsibility for their work. They are not a panacea that solve all issues of AI-assisted research. Their derivation also does not establish that they are equally effective in every research setting. We have tested its use in our own projects and corroborated our approach in interviews with computer science colleagues. One CS colleague described research as a “generalization of the software development task.” We have also presented TRACE in several fora, including in workshops training fellow social scientists on the promise, use, and limitations of TRACE.
3. TRACE-OS: a working implementation
Here, we briefly describe TRACE-OS (TRACE Operating System), an open source implementation of the principles. We refer to this implementations as OS, as it works alongside any skills or workflows a given research team already uses. It consists of shared instructions, command-line tools, and plain record files kept with the project. The core tools use Git and Python and do not require a server, database, or specific model subscription. For each piece of work, it keeps records of what was asked of an AI agent, what the agent chose, what was checked, and who accepted it. It shows a trace of actions and who decided to proceed with them, so that researchers can remain in control and apply their own judgment. Details about accessing TRACE-OS are in the Technical Appendix.
For example, when an agent revises an analysis, the record links the researcher's instructions to the proposed code, resulting table, checks, and acceptance decision. If an error later surfaces, the same researcher or a collaborator can find the affected work and check whether the correction was applied to the underlying instruction as well as the output. An overview identifies decisions awaiting acceptance and corrections awaiting a recheck.
We have used TRACE-OS to produce the accompanying manuscript and develop TRACE-OS itself, and have introduced it in workshops with social science researchers. The researchers' project repository retains the instructions, changes, checks, and corrections recorded using TRACE-OS. Importantly, while TRACE-OS codifies the research process, it does not guarantee improved research outcomes. TRACE-OS is a working prototype of the proposed approach to governing AI-assisted research. The Technical Appendix explains how its instructions, records, and checks put the governing principles into practice.
4. Contributions and further development
Our proposal aims to make two contributions. First, it advances the literature and, we hope, practice with respect to responsible AI use in research (Bockting et al. 2023, van Dis et al. 2023, Messeri and Crockett 2024, Gopal et al. 2025). We believe TRACE can help push the research frontier: research teams currently limit delegation to AI as they cannot consistently verify the outputs or their interdependence. TRACE establishes a standard and removes that constraint, permitting novel research designs, including multiple agent pipelines, that are currently impractical because they are unverifiable. Second, we contribute to research on human-AI augmentation (Eicke et al. 2025, Raisch and Fomina 2025) by distinguishing participation in producing and evaluating work from responsibility for authoring it. Researchers may delegate governing actions as well as substantive tasks while remaining accountable. TRACE-OS makes these arrangements concrete and available for researchers to adapt to their own projects.
If this proposal is selected, in the development phase we plan to (i) complete a separate demonstration project applying TRACE-OS end-to-end to an empirical study, (ii) run a structured pilot with researcher teams to study adoption and identify frictions, and (iii) use the Special Issue workshop to test how TRACE records could support peer review of AI-assisted submissions.
5. Risks and limitations
While we believe that TRACE principles have strong independent merit, we also think the value of the principles will further depend on network effects: the more users, editors, and conference organizers rely on TRACE, the more it is able to provide a shared language to generate, interpret, and assess AI-assisted work. Our goal is to publicize the framework, conduct workshops, and create minimal overheads for anyone adopting it. In addition, we believe our interactions with computer scientists help bolster the link between software engineering and social science research and thus the utility of TRACE principles and TRACE-OS. However, such interactions cannot confirm effects on ultimate research quality, our own positive experiences notwithstanding. We plan to collect information on teams who do and do not use TRACE, albeit initially in a correlational manner, to illuminate possible mechanisms through which TRACE alters research processes. Finally, research records may also contain personal information, unpublished ideas, or restricted data. Together with legal and privacy considerations, this implies codification and information sharing require disclosure procedures which likely vary by research team. TRACE-OS aims to alleviate these concerns enabling implementation of clear disclosure procedures and configurable record granularity.
References
Arthur D, Vassilvitskii S (2007) k-means++: The advantages of careful seeding. Proceedings of the Eighteenth Annual ACM-SIAM Symposium on Discrete Algorithms (Society for Industrial and Applied Mathematics, Philadelphia, PA), 1027–1035.
Aygün E, Belyaeva A, Comanici G, et al. (2026) An AI system to help scientists write expert-level empirical software. Nature 654(8120):909–916.
Bail CA (2024) Can generative AI improve social science? Proceedings of the National Academy of Sciences 121(21):e2314021121.
Bockting CL, van Dis EAM, van Rooij R, Zuidema W, Bollen J (2023) Living guidelines for generative AI: Why scientists must oversee its use. Nature 622(7984):693–696.
Brooks FP (1995) The Mythical Man-Month: Essays on Software Engineering. Addison-Wesley, Reading, MA, anniversary edition. First edition 1975.
Curtis B, Krasner H, Iscoe N (1988) A field study of the software design process for large systems. Communications of the ACM 31(11):1268–1287.
Destefanis G, Graziotin D, Vaccargiu M, Ortu M (2026) GitSkills: A dataset of agent skills on GitHub. Forthcoming in Proceedings of the 24th International Conference on Mining Software Repositories (MSR '27). Preprint, arXiv:2608.10906.
Eicke AK, Foege JN, Nüesch S (2025) Iterative alternative evaluation within human-artificial intelligence problem-solving: An extension to Raisch and Fomina’s “combining human and artificial intelligence”. Academy of Management Review 50(2):480–481.
Gartenberg C, Hasan S, Murray A, Pierce L (2026) More versus better: Artificial intelligence, incentives, and the emerging crisis in peer review. Organization Science 37(3):795–812.
Gopal RD, Li J, Riemer K, Sarker S, Singh PV, Susarla A, Bichler M, Thatcher JB (2025) Inventing with machines: Generative AI and the evolving landscape of IS research. Information Systems Research 36(4):1949–1967.
Herbsleb JD (2007) Global software engineering: The future of socio-technical coordination. Future of Software Engineering (FOSE '07) (IEEE), 188–198.
Korinek A (2023) Generative AI for economic research: Use cases and implications for economists. Journal of Economic Literature 61(4):1281–1317.
Kraut RE, Streeter LA (1995) Coordination in software development. Communications of the ACM 38(3):69–81.
Krlev G, Hannigan T, Spicer A (2025) What makes a good review article? Empirical evidence from management and organization research. Academy of Management Annals 19(1): 376–403.
Liang W, Zhang Y, Wu Z, et al. (2024) Mapping the increasing use of LLMs in scientific papers. Preprint, arXiv:2404.01268.
Liu Y, Wang W, Feng R, Zhang Y, Xu G, Deng G, Li Y, Zhang L (2026) Agent skills in the wild: An empirical study of security vulnerabilities at scale. Preprint, arXiv:2601.10338.
Lloyd SP (1982) Least squares quantization in PCM. IEEE Transactions on Information Theory 28(2):129–137.
Lu C, Lu C, Lange RT, Foerster J, Clune J, Ha D (2024) The AI scientist: Towards fully automated open-ended scientific discovery. Preprint, arXiv:2408.06292.
Messeri L, Crockett MJ (2024) Artificial intelligence and illusions of understanding in scientific research. Nature 627(8002):49–58.
Monti S, Tamayo P, Mesirov J, Golub T (2003) Consensus clustering: A resampling-based method for class discovery and visualization of gene expression microarray data. Machine Learning 52(1–2):91–118.
Muennighoff N, Tazi N, Magne L, Reimers N (2023) MTEB: Massive text embedding benchmark. Proceedings of the 17th Conference of the European Chapter of the Association for Computational Linguistics, 2014–2037.
Naur P, Randell B, editors (1969) Software Engineering: Report on a Conference Sponsored by the NATO Science Committee, Garmisch, Germany, 7th to 11th October 1968. NATO Scientific Affairs Division, Brussels.
Ostrom E (1990) Governing the Commons: The Evolution of Institutions for Collective Action. Cambridge University Press, Cambridge.
Pentland BT, Feldman MS (2008) Designing routines: On the folly of designing artifacts, while hoping for patterns of action. Information and Organization 18(4):235–250.
Raisch S, Fomina K (2025) Combining human and artificial intelligence: Hybrid problem-solving in organizations. Academy of Management Review 50(2):441–464.
Saunders J, Wong V, Saunders C (2011) The research evaluation and globalization of business research. British Journal of Management 22(3):401–419.
Stoltz DS (2023) Rising coauthorship in sociology, 1895 to 2022. Socius: Sociological Research for a Dynamic World 9:23780231231171115.
Thaler v. Perlmutter (2025) 130 F.4th 1039 (D.C. Cir.).
Thaler v. Vidal (2022) 43 F.4th 1207 (Fed. Cir.).
van Dis EAM, Bollen J, Zuidema W, van Rooij R, Bockting CL (2023) ChatGPT: Five priorities for research. Nature 614(7947):224–226.
Van Noorden R, Perkel JM (2023) AI and science: What 1,600 researchers think. Nature 621(7980):672–675.
Xiao S, Liu Z, Zhang P, Muennighoff N, Lian D, Nie JY (2024) C-Pack: Packed resources for general Chinese embeddings. Proceedings of the 47th International ACM SIGIR Conference on Research and Development in Information Retrieval, 641–649.
Technical Appendix
This technical appendix provides details for TRACE principles and TRACE-OS. In the first part (Sections 1 to 3), we explain how we derived the five principles of TRACE, what each principle asks of a research team, and how robust the arrangement is. In the second part (Sections 4 and 5), we explain in detail TRACE-OS, the software that implements the principles, and what a user can do with it, including how to replicate the derivation.
1. Derivation of the TRACE Principles
1.1. Identifying Practice Families
To arrive at a set of governing principles, we take inspiration from the way Elinor Ostrom derived her design principles for governing shared resources such as pastures, forests and irrigation water (Ostrom 1990). She and her colleagues collected nearly 5,000 field case studies, screened them, and coded a much smaller set that rested on extended fieldwork. The specific rules of the communities she studied differed from case to case and could not explain success across settings. Instead, she stated what the enduring institutions shared as design principles. Our goal is in some ways similar: deriving a set of principles for working jointly from a large body of research, which would help human teams organize shared work with machines in a productive and transparent way. Hence, we take Ostrom's approach as inspiration and follow a similar logic to study the field of software engineering and security, which has long faced a problem like the one we are interested in. Its central problem of control has always been working with machines and joining what people and machines produce into one coherent piece of work (Naur and Randell 1969, Curtis et al. 1988, Brooks 1995, Kraut and Streeter 1995, Herbsleb 2007). AI changes the interface, speed and scope of this work (Korinek 2023), but it still consists of people instructing machines, receiving separate outputs, and putting them together. We read the papers of this field for what teams actually do, kept the actions that carry over to research teams working with AI, and asked what those actions have in common.
The derivation has six steps, and Table 1 shows the counts of papers and actions following each step. In Step 1 we chose two main sources of data. First, we chose fourteen outlets that meet a published ranking criterion (CORE A* or A for conferences, the top quartile of SJR's Software category for journals). The journals are IEEE Transactions on Software Engineering, ACM Transactions on Software Engineering and Methodology, Empirical Software Engineering, the Journal of Systems and Software, IEEE Software and Communications of the ACM, the software engineering conferences ICSE, ESEC/FSE, ASE, ICSME and MSR, and the security conferences IEEE Symposium on Security and Privacy, USENIX Security and ACM CCS. Using Scopus, we searched these outlets for articles, reviews and conference papers published from 2000 to 2026, with three kinds of terms: literature reviews (“systematic review”, “mapping study”, “survey”, “literature review”, “meta-analysis” in the title), papers about practices (“software development practice”, “team practice”, “best practice” and similar), and papers about teams and their process (“development team”, “teamwork”, “team coordination”, “collaborative software development”, “development process”, “development workflow”). Second, to ensure we have a comprehensive view of the field, we also searched the whole of Scopus for literature reviews about software teams, collaboration or development practices (as explained in Section 3, the findings are robust to this choice). This found 10,322 distinct records, 5,978 of them in the fourteen outlets listed above.
TABLE 1 Stages in the Derivation of the TRACE Principles
| Step | What remains | Papers | Actions |
|---|---|---|---|
| 1 | Records found in the fourteen outlets, 2000 to 2026 | 5,978 | |
| Records found in the rest of Scopus (literature reviews on software teams) | 4,344 | ||
| Papers kept by screening | 1,565 | ||
| 2 | Papers with at least one action, and their actions | 1,324 | 16,272 |
| 3 | Actions that apply to research | 1,084 | 9,148 |
| Actions that apply to work with AI | 1,195 | 11,211 | |
| Actions that apply to both | 966 | 5,866 | |
| 4 | Actions that also concern one party's work becoming another's input | 662 | 2,265 |
| 5 | Actions restated by what they do | 661 | 2,258 |
| 6 | Activities (clusters of near-identical actions) | 56 | |
| Families of activities with at least 2 per cent of the actions and ten papers | 8 | ||
| Principles, after the arrangement in Section 1.2 | 5 |
Note. Records are counted after removing duplicates. Steps 2 to 6 count actions and the papers they come from.
The purpose of our review was to identify principles for governing AI-assisted research from the ways software teams organize joint work. Therefore, we followed Krlev et al. (2025) and aligned paper-level eligibility with this purpose. Accordingly, we included a paper if its subject was “a recurring, nameable way a development team organizes its joint work”, which kept 1,565 of the 10,322 records (1,127 from the fourteen outlets and 438 from the wider search). We excluded 2,652 papers where the search term matched by accident, as in reviews from medicine or sport (307 from the fourteen outlets and 2,345 from the wider search), 1,512 papers about a single product, system or field (786 and 726), 1,506 papers that presented a new tool or algorithm tested technically (1,441 and 65), 379 papers about individual skills or careers (292 and 87), 337 papers about research methods (212 and 125), and 2,371 papers that were otherwise irrelevant, for example a review of solutions to mutation-testing problems (1,813 and 558). In our original review, Claude Opus 5 screened every record against this rule. To make the screening more robust, we added a second screener and a conflict resolver. Claude Haiku 5.5, called through the Anthropic API, screened every title and abstract again with the same rule, and where the two decisions differed, or the original review had made none, a third model (Claude Sonnet 5.5) decided (952 records), resulting in the final sample of 1,565 papers.
For this final sample, we retrieved the full texts through university library resources. For 1,008 papers we obtained the full text, and for the other 557 we used the title and abstract. The papers without a full text are mostly short or older pieces: for 265 we could not retrieve a file, and for 292 the document we obtained was not a usable full text. In 289 of these 292 the document had under 10,000 characters, such as a two-page extended abstract or a magazine column, and in the other three the title was not found. They come mainly from conference proceedings and magazines (in the fourteen outlets, 207 of the 378 ICSE papers and 61 of the 70 in Communications of the ACM, against 5 of the 103 in Empirical Software Engineering) and from earlier years (51 per cent of the papers from 2000 to 2014, against 27 per cent from 2015 on).
After forming the final sample, in Step 2 of Table 1 we extracted the actions from the papers. For each paper, two models, Claude Sonnet 5.5 and Claude Haiku 5.5, separately read the full text where we could obtain it (1,008 papers) and otherwise the title and abstract (557 papers), without any list of practices or principles given to them in advance. They listed every action the paper reports or recommends: who does it, what they do, to what, and why, when the paper says why, each with a quotation from the paper. A script checked that every quotation appears in the paper, and dropped the 162 actions whose quotation did not. This resulted in 16,272 actions from 1,324 papers, 94 per cent of them from full texts. The reason the number of retained papers is lower than the initial set is that while some papers mention teamwork in software teams at an abstract level, we could not identify specific actions.
In Step 3 (Table 1), we kept only the actions that apply to research and to work with AI. Two models, Claude Haiku 5.5 and Claude Sonnet 5.5, separately answered two questions about every action, and we kept an action only when both models answered yes to both. “Could a research team carry out this action in its own shared work (papers, data sets, analyses, code, literature searches), for the same purpose?” “Could this action apply when part of the work is done by an AI system, for example when people hand tasks to an AI system, work alongside it, or use what it produces?” This kept 5,866 actions, about a third.
In Step 4, we kept only the actions that involve interdependent work. Following our framing of the problem, the same two models answered a third question regarding whether one party’s work becomes another’s input, i.e., “Does this action concern work that one party produces and that another party then uses, builds on or answers for?” As in Step 3, we kept an action only when both models answered yes, which left 2,265 actions from 662 papers.
Next, in Step 5, we restated each action according to what it does, instead of the labels that come with the original description. The papers describe actions through practice names, tools and software terms, so actions that do the same thing can look different. Claude Sonnet 5.5 rewrote each action as one plain sentence about what it does, without the practice’s name, tools, kinds of artifact or anything specific to software. For example, “code review in GitHub” and “checking a draft analysis” become the same kind of action. As a check, Claude Haiku 5.5 separately rewrote a random tenth of the actions, and the two models’ sentences for the same action were closer in meaning than sentences for different actions (mean cosine similarity 0.84, against 0.55). For seven actions the model returned no usable sentence, which left 2,258 restated actions from 661 papers.
In Step 6, we try to make the transition Ostrom made from the rules of each community to what the communities share, which in our case would be to lift the actions to more general levels based on the goal they serve. In the first stage, we remove repetition, by putting together actions whose descriptions are similar, using a text-embedding clustering approach. We represented each restated action as a vector with the text-embedding model bge-base-en-v1.5 (Xiao et al. 2024), and clustered the 2,258 vectors into 56 clusters, one for every forty actions, with k-means (Lloyd 1982, Arthur and Vassilvitskii 2007). We used bge-base-en-v1.5 because it is a widely used open embedding model that ranked among the best of its size on the Massive Text Embedding Benchmark when it was released (Muennighoff et al. 2023, Xiao et al. 2024). We call each cluster an activity, and name it by the action closest to its center. The second stage is the move up a level, in which we use language models to put together activities that serve the same broader end. Two models, Claude Opus 5.5 and Claude Sonnet 5.5, then each sorted the activities into broader families five separate times, each time seeing a random 80 per cent of them in a random order. For each model, two activities belong to the same family when they were placed together in at least half of the sorts that showed both, which we computed by consensus clustering (Monti et al.
2003), i.e., an average-linkage tree over how often each pair was placed together, cut at one half. We keep a family when it holds at least 2 per cent of the actions and comes from at least ten papers.
This gave eight families from one model (Claude Opus 5.5) and nine from the other (Claude Sonnet 5.5). The rest of this section uses the first model’s eight families, and Section 3.2 compares the second model’s nine and shows that the families change marginally under other clustering assumptions.
Table 2 shows the three largest activities of each family except peer review, and Table 3 shows all 24 activities of peer review. The papers report these actions under many names. The 2,258 actions carry 1,656 different practice names as the extraction recorded them, and in the median activity the most frequent name covers two actions. Submitting changes to the shared work often, for example, appears as continuous integration, collective ownership and committing to a shared repository. Step 5 restates the actions for this reason.
Collaborative peer review, the largest family, holds the whole review cycle, and Table 3 groups its activities by what they do, namely, examining the work, deciding whether to accept it, checking work before it is added, and fixing what review found.
1.2. Synthesis of the Five Principles
Based on the families identified in the previous section, we synthesized the five principles of TRACE. We merge and fold the families into five principles, each of which concerns what happens to a piece of work when it is produced by one party and used by another. The principles carry over to AI-assisted research without change of kind: the producer of a piece of work can be a person or an AI system, and each principle concerns what happens to the work, whoever produced it. We do this transformation based on our reading of how these families transfer from the computer science setting to the setting of doing research where the subject of enquiry is less well defined and the nature of the work is more exploratory and less structured. Table 4 provides the definition of each principle and arranges the families and activities under the five principles, interpreted as what actions do around the moment when work produced by one party is used by another.
To derive the principles, we folded or set aside two families, based on how we interpret them in the context of AI-assisted research within teams. First, we folded stakeholder communication as part of tracking shared records. The reason lies in the major difference between academic research and software development stakeholders. In software development, the nature of the relationship with external stakeholders (e.g., customers, users, or the people who have commissioned the whole project) is different from that in academic research. A research team’s stakeholders during the process of research are primarily its own members and coauthors. During an AI-assisted research process, where most interactions are codified and recorded, the main stakeholders are constantly updated and exposed to the process. Therefore, keeping them informed is a by-product of keeping the shared state of the work visible.
Second, as we defined TRACE principles to govern ongoing AI-assisted workflows from the human perspective, we did not include knowledge sharing and onboarding of newcomers as a separate principle, because it happens mainly once, at entry, rather than throughout the work, which could be much more common in the software development setting. However, onboarding has been an important design choice in our software, TRACE-OS (Section 4). As AI agents during the process do not have any long-term memory, the codified instructions as to how
TABLE 2 Practice Families and Their Largest Activities, Excluding Peer Review
| Activity (the action closest to the cluster's center) | Actions | Papers |
|---|---|---|
| Stakeholder communication and feedback (9 activities, 344 actions, 205 papers) | ||
| Deliver a report of findings to the team that was reviewed | 66 | 50 |
| Collaborate with stakeholders during the work | 60 | 41 |
| Interact with customers to gather requirements | 51 | 41 |
| Shared documentation and knowledge recording (9 activities, 318 actions, 193 papers) | ||
| Share knowledge and improvements across teams | 68 | 47 |
| Produce written documentation of the work | 53 | 45 |
| Add explanatory notes to one's changes to collaborate well with teammates | 36 | 26 |
| Work allocation, ownership and handoff (3 activities, 169 actions, 110 papers) | ||
| Coordinate on specific tasks that depend on one another's work | 89 | 65 |
| Coordinate communication between the team and its customers | 46 | 35 |
| Hand off work in progress to the next site at the end of each day to speed up product development | 34 | 22 |
| Shared repository change and reuse management (4 activities, 150 actions, 91 papers) | ||
| Organize shared materials by use case so people can find and reuse them for particular tasks more easily | 47 | 28 |
| Reuse knowledge gained from past work | 41 | 26 |
| Submit changes to the shared collection of work frequently | 33 | 24 |
| Shared collaborative work and visibility (3 activities, 129 actions, 91 papers) | ||
| Collaborate on shared work with multiple contributors through a common system that tracks changes | 64 | 49 |
| Present findings to participants to validate understanding | 43 | 30 |
| Share links in discussion to meet information needs during review | 22 | 14 |
| Defining and enforcing acceptance criteria (2 activities, 98 actions, 66 papers) | ||
| Hold a review to check that the requirements are complete and feasible | 52 | 35 |
| Hold reviews of completed work at the end of each cycle to address coordination | 46 | 34 |
| Knowledge sharing and newcomer onboarding (2 activities, 91 actions, 61 papers) | ||
| Present complex solutions to more experienced people from other teams to evaluate or improve them | 53 | 35 |
| Mentor newcomers on their contributions to help them produce quality work | 38 | 27 |
Note. Activities are clusters of similar actions (Step 6), named by the action closest to the cluster's center, in the words of Step 5. Families are listed by size, each with its three largest activities.
TRACE-OS and the principles work serve as the basis for the constant onboarding of AI agents. The TRACE principles remain the same throughout the research process; However, the details of how the team works, e.g., where it saves its files, will be added to these instructions as the team settles these new practices. In doing so, TRACE-OS adjusts to the habits and style of the research team, and each such change to instructions is recorded and checked on later stages, as control transitions and evaluate corrections principles require. Therefore, the implementation itself embodies onboarding, making the software an operating system for AI agents as they work within the defined boundaries of TRACE.
Third, we divide collaborative peer review by its activities, as each part of the review
TABLE 3 The Activities of Collaborative Peer Review, by What They Do
| Activity (the action closest to the cluster's center) | Actions | Papers |
|---|---|---|
| Examining the work (12 activities, 513 actions) | ||
| Accept critical feedback from colleagues on one's work | 85 | 62 |
| Examine colleagues' work to check it before it is accepted | 52 | 40 |
| Review each other's work to ensure its quality | 47 | 37 |
| Inspect the work for flaws and give feedback | 45 | 37 |
| Build structured processes and checklists into the review of colleagues' work | 42 | 39 |
| Conduct thorough reviews and quality checks of changes to improve quality and reduce potential issues early | 41 | 34 |
| Carry out a formal review of submitted work and provide comments | 41 | 25 |
| Review each other's contributions across the team and with subject experts | 40 | 29 |
| Ask questions and record issues found in the work under review | 36 | 22 |
| Involve multiple knowledgeable reviewers in each review so problems are detected more effectively | 33 | 24 |
| Limit each review session to a modest amount of material | 29 | 21 |
| Evaluate AI-generated output against the requirements of the work | 22 | 12 |
| Deciding whether to accept the work (3 activities, 121 actions) | ||
| Review and accept incoming contributions from outside contributors | 49 | 25 |
| Choose one or more reviewers to assess the work | 40 | 28 |
| Decide on the submitted change by accepting it, rejecting it, or requesting rework | 32 | 22 |
| Checking work before it is added (3 activities, 128 actions) | ||
| Examine proposed changes before they are added to the work in progress | 69 | 51 |
| Review each other's work before it is submitted | 33 | 26 |
| Ask contributors to split large submissions into smaller pieces for review | 26 | 20 |
| Fixing what review found (6 activities, 197 actions) | ||
| Revise a proposed change based on reviewers' comments | 71 | 38 |
| Ask the author to make changes to the work under review | 36 | 22 |
| Discuss the problems found by individuals and accept or reject each one | 26 | 21 |
| Note poor choices in the work itself so they can be fixed when possible | 25 | 17 |
| Fix all reported problems and take all stated comments into account | 22 | 13 |
| Check that issues identified earlier have been fixed in the newly submitted work | 17 | 12 |
Note. The family has 24 activities, 959 actions and 340 papers. The grouping into four kinds is the authors' reading of what each activity does (Section 1.2).
cycle is a different principle: examining the work is review, deciding on it is acceptance, checking it before it is added is control, and fixing what was found is correction. With these choices, the five principles cover 2,167 of the 2,258 actions (96 per cent). Section 2 elaborates on each principle. Through interpreting and reorganizing these activities from computer science to provide a set of principles for AI-assisted research, we follow Ostrom's approach, which summarized what the enduring institutions shared as design principles based on her interpretation of underlying practices.
2. The TRACE Principles
TRACE consists of five principles a research team needs to follow when AI agents are part of the workflow: track records, review against sources, accept independently, control transitions, and
TABLE 4 Mapping Practice Families and Activities to the TRACE Principles
| Principle | Families and activities | Actions | Share |
|---|---|---|---|
| T: Track records | Shared documentation and knowledge recording, stakeholder communication and feedback, and shared collaborative work and visibility | 791 | 35.0% |
| R: Review against sources | Collaborative peer review: its activities that examine the work | 513 | 22.7% |
| A: Accept independently | Work allocation, ownership and handoff, defining and enforcing acceptance criteria, and peer review's activities that decide acceptance | 388 | 17.2% |
| C: Control transitions | Shared repository change and reuse management, and peer review's activities that check work before it is added | 278 | 12.3% |
| E: Evaluate corrections | Peer review's activities that revise, fix and check the fixes | 197 | 8.7% |
| Other | Knowledge sharing and newcomer onboarding | 91 | 4.0% |
Note. Shares are of the 2,258 actions of Step 5. The arrangement is the authors' (Section 1.2).
evaluate corrections (see Table 4 for an overview). Together, the principles let a coauthor establish what was produced, what it was checked against, who accepted it, what was allowed to advance, and whether a correction worked. We describe each principle in turn and illustrate it with an invented example. To follow each principle by hand, a team needs to take many small actions and pay meticulous attention to all the above details, which can be cognitively taxing. However, as we show in Section 4, a software implementation of the principles can make them easy to follow, because the AI agents can take care of "tracing" the details and the team can focus on the research.
In identifying TRACE, we seek to find higher order principles rather than rules or best practices that are tied to specific technologies. AI models and tools change quickly, and a rule that prescribes a particular tool or sequence of steps becomes outdated with them. Just as Ostrom's design principles held across communities whose specific rules differed (Section 1), the TRACE principles state what a team needs to do, whatever tools it uses. TRACE-OS is one implementation, built for teams that work with AI agents in a shared Git repository, and other teams can build their own.
Track records. The first principle asks a team to record what happened in its work, in what order, and why, and to keep the work's current state visible to everyone who uses it. In practice, for each unit of work the team keeps the instruction that initiated it, the inputs, the consequential choices with their reasons, and the resulting versions. When an agent does the work, the record holds the researcher's direction in the researcher's own words and the choices the agent made, written down within the session. As the record follows the work, a coauthor can reconstruct an output. Beyond that, the documented rationale exposes logical flaws in the execution that would otherwise go unnoticed.
In the derivation, the principle rests on three families, together 35 per cent of the actions (Table 2).
For example, a doctoral student asks an agent to recode household income in a survey into brackets, and the agent sets the top bracket at 150,000. Months later, a coauthor asks why, because the cut-point decides which households count as high-income, and with it affects the paper's main result. Without a record, the answer rests on the student's memory, and if she has forgotten, the team can recover the cut-point from the script but not the reason for it. With track records, the record keeps her instruction as she wrote it, the cut-points the agent chose and why, and the version of the script that ran, so the coauthor can read the reason and judge whether the choice was reasonable.
Review against sources. The second principle asks a team to compare an output with an explicit criterion or another source before others rely on it. In practice, the team names what it checks an output against, such as the data behind a number, the paper a claim cites, the analysis plan, or the requirement the work was meant to meet. Whoever performs the check, a person or an AI, the team documents what was examined and what was found, so that anyone, including the same person months later, can judge whether the check was adequate and where the work needs further attention. Where no test can settle the question, as in interpreting a result, the check is a judgment against the evidence and the reasoning behind the claim, made by a person or a different AI agent. As the check compares the output with the data and the logic behind it, rather than with the AI's own account of the work, it can catch errors that a plausible but faulty output hides. Beyond that, naming the source tells others what a passing check covers, for example that the reported numbers match the data rather than only that the script runs.
In the derivation, the principle rests on the activities of collaborative peer review that examine the work, together 22.7 per cent of the actions (Table 3).
For example, an agent drafts a results paragraph stating that an effect is larger for family firms. The sentence will constitute one of the paper's key claims, so it has to say what the estimates show. Without a review against sources, a fluent paragraph can pass even if the regression table shows no such difference, or the regression model compares something else. With review against sources, a person or another AI checks the sentence against the regression table it reports and the comparison the model actually estimates, and records any mismatch for revision.
Accept independently. The third principle asks a team to give each unit of work an owner and to separate producing the work from the decision to accept, return or refuse it, taken by some entity other than its producer. This induces awareness of decisions in the research process. Through acceptance, the researcher stays in control of the workflow, remains accountable for the research, and directs the research agenda instead of letting the AI agent drive it. As AI in the workflow becomes more agentic, agents make decisions across larger parts of the work, and these decisions accumulate. A researcher who does not take stock of these decisions essentially removes themselves from the research process itself.
In practice, a researcher accepts, returns or refuses the work in their own words, and the decision is recorded in their name, against the version it covers. The record of the work should also list the consequential choices the agent made along the way, so the researcher sees what they are accepting. A researcher may authorize an agent or a process to accept within stated limits, and then stays accountable for what it accepts. An agent that produced the work should not accept it, and a second model's critique should be considered as advice, not acceptance. As each decision is recorded, the researcher keeps an overview of what has been decided, and the team can tell accepted work from work that has only been produced or shared.
In the derivation, the principle rests on two families and part of a third, together making up 17.2 per cent of the actions (Tables 2 and 3). In software engineering a reviewer, an owner or the requesting party decides. We extend that role to an authorized agent or process, with a named researcher accountable.
For example, a coauthor comments that the theory section never explains why the paper's main effect should be weaker in large firms, and an agent revises the section in response. Along the way, the agent also makes choices nobody asked for, such as dropping a citation and reordering two hypotheses. Without accept independently, the revision enters the manuscript because the agent reports that it has addressed every comment, and these choices become part of the paper without anyone deciding on them. With accept independently principle, the coauthor sees the revision together with the choices the agent made and returns it because the argument is still missing. The researcher's decision and reasoning are recorded in her name and words against the version she saw.
Control transitions. The fourth principle asks the team to check and authorize outside material and AI output before they enter the manuscript, the project's data or its standing instructions. In practice, the team keeps exploratory work apart from the work others rely on, for example in a separate folder for drafts, and moves material across only at defined points: when material enters from outside, such as a dataset or a reviewer's report, when a draft moves into the shared manuscript, or when an instruction becomes a standing rule for later work. At each crossing, someone checks the material against what the rest of the shared work needs and decides whether the new materials enter the main project. Moving work in decomposable steps lets any eventual problem be traced to the crossing through which it entered. As material enters the shared work only at these crossings, a coauthor can tell exploratory material from work the team relies on.
In the derivation, the principle rests on one family, shared repository change and reuse management, and part of a second, collaborative peer review, together 12.3 per cent of the actions (Tables 2 and 3).
For example, a research assistant obtains a supplementary firm-level panel from a data provider. The data will be necessary for the main estimates of interest in the paper, so the firms in that dataset have to match an existing sample. Without control transitions, the panel joins the project's data as soon as someone copies it in, and if its firm identifiers do not match the sample well, the team finds it out only after the estimates are built on it. With control transitions, the panel stays outside the project's data until someone checks that its firm identifiers match the sample and decides to admit it. The record keeps its origin, its version and who admitted it, so a coauthor can see the exact data underlying the estimates.
Evaluate corrections. The fifth principle asks a team to take what review or use finds back into the work, and to keep a detected error open until the team has checked that the correction worked. In practice, every problem the team finds becomes an entry, with the evidence for it and the work it affects, that stays open until someone rechecks the fix against the original problem. When the error came from a standing instruction, the team corrects the instruction as well as the output, and rechecks later work produced under it. As the recheck tests the corrected work against the original problem, the team knows that the correction worked, rather than assuming it from an edited output or an issue marked closed.
In the derivation, the principle rests on the activities of collaborative peer review that fix what review found, together 8.7 per cent of the actions (Table 3).
As an example, late in a project, a coauthor finds that in an appendix table, a wrong denominator is used for some of the variables. The same code builds other tables in the paper, so the error may affect results the researcher did not check. Without evaluate corrections, someone may fix that one table and mark the issue closed, while the other tables keep the error. With evaluate corrections principle, the team records the finding with every table built on the same code, and the entry stays open until someone reruns the affected analyses, so the team knows the correction has been uniformly applied.
3. Robustness
In this section we test the robustness of the findings to three choices: the breadth of the literature search, the clustering of the actions, and the models that sorted the activities into families. We then examine the changes when we relax the selection of Steps 3 and 4 and set out the scope of the principles. In sum, we are trying to test whether we still arrive at the same five principles when the assumptions of the derivation are changed when adopting another approach.
3.1. Robustness to the Search Breadth
First, we check the robustness of our findings to the choice of the wider Scopus search in Step 1. If we restrict the papers to the fourteen outlets (1,820 of the 2,258 actions, from 500 papers), with the families as formed on all the actions, all eight families still pass the thresholds of Step 6, and the share of each principle changes by at most 3.4 percentage points. Therefore, the wider search adds actions to the families but does not drive which of them pass the thresholds.
3.2. Robustness to the Clustering and Grouping Choices
Second, we check the robustness of the families to the clustering choices of Step 6, where the clusters depend on the number of clusters and on the embedding model. As with any other unsupervised machine learning technique, the clusters have no ground truth, and some assumptions are unavoidable. In many cases, including ours, the robustness of a clustering can be judged by how stable the downstream task, in this case the composition of the families in the next step, is to the clustering choices. We therefore cluster the same actions, changing one choice at a time, without sorting the new clusters with a language model. Instead, we keep the families of Step 6, assign each new cluster to the family that contains most of its actions, and measure the share of actions whose new cluster is assigned to their own family.
We first vary the number of clusters, to 45 and to 75 instead of 56, which gives shares of 69.8 and 72.8 per cent, respectively, of actions which fall into their family categories. We then keep the 56 clusters and change the embedding model, to all-MiniLM-L6-v2, which gives a share of 65.1 per cent. To interpret these shares, we compare them with random allocation of actions to clusters, taking into account the unequal sizes of the families. Collaborative peer review contains 42.5 per cent of all actions. Even if we assigned every cluster to peer review, 42.5 per cent of the actions would therefore be assigned to their own family. Considering that assigning each cluster to its most common family can only increase that share, it gives the measure a lower bound of about 42.5 per cent. Random allocation can score slightly above this bound because another family may be the most common in some clusters by chance. We use a permutation test to estimate this chance baseline for each clustering. For each new clustering, we kept the cluster sizes fixed, assigned the actions to the clusters at random 5,000 times, and recomputed the share each time. Across the three alternative clusterings, the permutation null distributions had mean matching shares of 42.5 to 42.7 per cent (standard deviations of 0.06 to 0.14 percentage points).
The observed shares of the alternative clusterings exceeded their corresponding null means by 22.6 to 30.1 percentage points. None of the 5,000 random permutations for any clustering produced a share at least as large as observed (one-sided Monte Carlo permutation tests, p < 0.001 for each clustering). Therefore, the families reflect what the actions have in common more than the particular way we put them into clusters.
Third, we check whether the families depend on the language model that sorted the activities into them. The families are the starting point for our synthesis of the principles, so we compare the kinds of actions they bring together. The robustness in this step means that different models provide us with approximately similar families to enable us to draw our five principles. In Step 6, two models sorted the 56 activities independently. Claude Opus 5.5 formed eight families, which the main analysis uses, and Claude Sonnet 5.5 formed nine, all above the thresholds of Step 6. Both models form families around documenting shared work, communicating with stakeholders and assigning ownership. The main difference is peer review: the first model keeps it as one family, whose activities we divide among four principles (Section 1.2), while the second model divides it into several families itself. The two models therefore give us similar groups of actions from which to synthesize the principles, even though their boundaries differ. If we arrange the second model's families under the five principles, we get similar shares: track records 31.8 per cent of the actions (35.0 under the first model), review against sources 27.2 (22.7), accept independently 15.3 (17.2), control transitions 10.4 (12.3) and evaluate corrections 11.0 (8.7), with 4.3 per cent outside the five (4.0).
Under the second model, track records principle contains shared knowledge and artifact management (19.7 per cent of the actions) and continuous stakeholder engagement (12.1 per cent). Review against sources principle contains peer code review (20.4 per cent) and quality review and transparent verification (6.8 per cent). Accept independently principle contains iterative review and acceptance (2.3 per cent) and the ownership side of cross-team coordination and shared ownership (13.1 per cent). Control transitions principle contains change review and acceptance gatekeeping (10.4 per cent). Evaluate corrections principle contains review and feedback communication (11.0 per cent), whose actions record, resolve and follow up what a review identifies, so that under this model the correction loop forms a family of its own. The one family outside the five, shared understanding across roles (4.3 per cent), is the counterpart of the knowledge sharing and onboarding family set aside in Section 1.2.
At the level of individual actions, 61 per cent of those the first model places under the five principles fall under the same principle in the second arrangement. By principle, the two arrangements agree on 75 per cent of the actions the first model places under track records, 68 per cent under review against sources, 55 per cent under accept independently, and about a third under control transitions and under evaluate corrections. The arrangements differ at two points. The second model groups deciding on a change, and the criteria for accepting it, with checking work before it is added, which places them under control transitions rather than acceptance. It groups giving, recording and receiving reviewers' comments with the follow-up of fixes under evaluate corrections, and leaves revising a change with peer review.
3.3. Robustness to the Action Selection Criteria
Fourth, we examine how the selection criteria of Steps 3 and 4 shape the families that underpin our synthesis. These criteria help narrow the search to actions related to research with AI in which one party produces work that another relies on. We relax them to see whether the main families recur in broader samples and what other kinds of work are captured. Particularly, the other families that emerge can be informative on the presence of any false negatives in our selection process, i.e., whether we have removed actions and families that we should have considered in our analysis.
Without the interdependence question. Without requiring interdependence of actions, the 5,847 restated actions applicable to research and work with AI form twelve qualifying families under each model. The main families concerned with review, documentation, integration and ownership recur (Table 4): under Opus, quality verification and review (15.8 per cent of these actions), continuous integration of shared work (6.6 per cent), task allocation and ownership (6.4 per cent) and shared documentation and knowledge records (5.3 per cent), with three smaller families on stakeholder feedback, experimentation and ideation (6.6, 3.5 and 2.3 per cent). Correction and improvement form a family of their own, process management and continuous improvement (8.6 per cent), with its counterpart under Sonnet, continuous process improvement and quality review (11.8 per cent). They appear alongside four families that concern how a team organizes itself rather than work that one party produces and another relies on: team communication and coordination (11.7 per cent), iteration planning and work prioritization (11.0 per cent), knowledge sharing, training and reuse (10.2 per cent), and collaborative work practices and shared understanding (4.5 per cent), together 37.4 per cent of these actions. These families enter only because the interdependence question is dropped, and the correction families add to evaluate corrections rather than forming a principle of their own, so we do not believe they change the synthesis of our principles for governing AI-assisted research within teams.
Without any of the three questions. With all three conditions removed, the 16,239 restated actions form eighteen qualifying families under Opus and fourteen under Sonnet. Peer review remains the largest family under both models (8.9 and 10.1 per cent), and families of shared records, integration and correction also recur: under Opus, continuous stakeholder feedback and validation (6.0 per cent), shared repository and continuous integration practices (5.7 per cent), reflective review and continuous process improvement (3.8 per cent), shared documentation and knowledge records (2.7 per cent), pair work and cross-role collaboration (2.4 per cent) and systematic problem tracking and resolution (2.1 per cent). These appear alongside families of software production and general teamwork: continuous automated quality checking (7.5 per cent), work planning, prioritization and capacity management (7.2 per cent), distributed authority and shared roles (7.1 per cent), training, mentoring and knowledge sharing (5.9 per cent), tailoring and structuring the development process (5.8 per cent), open team communication and shared awareness (4.2 per cent), meeting and conversation practices (3.5 per cent), collaborative discovery and shared understanding (3.1 per cent), building team cohesion and trust across distance (3.0 per cent), cross-team coordination (2.7 per cent) and refactoring and maintaining existing work (2.1 per cent). They concern producing software or organizing the team, which the three questions exclude by design, rather than work that one party produces and another relies on. The broader analyses therefore retain several families that inform our synthesis, while also identifying a wider range of teamwork and software production.
3.4. Deriving the Principles Under Different Assumptions
Finally, we examine whether the five principles depend on the assumptions in Section 1, by deriving them again from the same search with those assumptions changed. Section 1 starts from the actions the papers report, selects them by three questions about where they apply, restates
TABLE 5 The Fifteen Activities Under Different Assumptions, Grouped Under the Five Principles
| Activity | Selected action | Example source practice |
|---|---|---|
| Track records | ||
| CU-001 | Disclose AI involvement and its prompts with the submitted contribution. | AI-assisted development with coding assistants |
| CU-004 | Keep decisions, reasons and assumptions with the work they concern. | Architecture knowledge management and decision records |
| CU-010 | Keep execution records that allow a run to be reconstructed. | Logging practices |
| CU-033 | Maintain an attributed, recoverable shared version history. | Software configuration management |
| CU-040 | Compare recorded state with actual work and reconcile differences. | Software configuration management |
| Review against sources | ||
| CU-005 | Review a proposed design against criteria before implementation. | Design reviews |
| CU-013 | Check conformity with a written standard before acceptance. | Coding standards and style conventions |
| CU-021 | Inspect systematically with a checklist and record defects. | Formal code inspection |
| CU-025 | Validate a requirement with its source before work proceeds. | Verification and validation |
| Accept independently | ||
| CU-020 | Have someone other than the producer examine the work and record an acceptance decision. | Peer code review |
| CU-036 | Obtain the requesting party’s acceptance before delivery is complete. | Acceptance testing, customer and user involvement |
| Control transitions | ||
| CU-026 | Vet outside material before adoption and record the selection reason. | COTS and off-the-shelf component reuse |
| CU-045 | Review exit criteria and authorize movement to the next stage. | Governance and control mechanisms |
| Evaluate corrections | ||
| CU-002 | Review the preceding work cycle and assign improvements to owners. | Retrospectives |
| CU-069 | Recheck the original problem to establish whether a correction worked. | Continuous process improvement |
Note. Activity identifiers are those of the coding records in the replication package. Descriptions summarize the selected records. A software practice can contribute to more than one activity. The grouping is the authors’ (Section 3.4).
them without practice names, clusters them, and keeps the families that hold at least 2 per cent of the actions and come from at least ten papers. The derivation here changes each of these choices: it starts from the practices the papers name, groups them before any selection, selects activities by six requirements (see below) on what each must do and show (focusing on the results of action rather than the description of the action), sets its floor in papers (instead of in actions), and uses models from other developers. Then, we see if we can still synthesize the same five principles from the final activities that come out of this different derivation. From the records of the same search, agents of Claude Opus 5 screened the papers and extracted the practices that 1,812 of them name, and GLM 5.2 repeated the screening and the extraction on samples as a check. Twenty-two further agents (Claude Opus 5), each seeing one random part of the list, grouped the practices into 450 categories, of which 273 were supported by at least three papers from the fourteen outlets. Two coders, separate sessions of Claude Opus 5, described the activities within these practices, with what is at risk, what could go wrong and who would act, and Kimi K3 matched their two lists. After the matching was extended to the activities the coders added later, the coordinating agent, Claude Fable 5, split the matched groups into ninety candidate activities. GLM 5.2 then assessed the 36 activities still in question, Kimi K3 reviewed seven of them, and the coordinating agent decided the remaining disputed cases from the recorded evidence. We kept the fifteen activities that met six requirements fixed beforehand: that the activity governs shared work, applies across kinds of research work, names a failure and a response to it, can be inspected by another person, leaves acceptance with a person, and has support in the sources with its conditions of transfer stated. We grouped them under the five principles, and Table 5 lists the fifteen activities under the five principles, as Table 4 does for the families of Section 1. In a further check, four models from three other developers (DeepSeek V4 Flash and Pro, Gemini 3.7 Flash and Qwen 3.8 Max) coded 296 entries, the 273 categories and the practices from seven industry standards among them, without seeing the framework, and at least three of them recovered twelve of the fifteen activities, with some support for every principle. With the unit, the order of the steps, the selection rule, the support floor and the models changed, we still could reasonably draw the same five principles.
4. TRACE-OS: Design and Operation
TRACE-OS is our implementation of the five principles for research teams working with AI coding agents, such as, but not limited to, Claude Code or Codex. OS stands for operating system. By operating system we mean the shared environment in which researchers direct the work and agents carry it out and record it. TRACE-OS works in a project folder, with Git, a widely used version control system, keeping a history of changes to tracked files. The team can ask an agent to install TRACE-OS in an existing project or use it when starting a new one.
Installing TRACE-OS adds shared instructions, reusable procedures called skills, and command-line tools. It does not automatically run any applications or codes on a recurring basis, but rather places guides and pieces of code for AI agents to use when the team asks them to. The instructions and skills guide the agent's work, while the tools keep and check the records. This design keeps the shared work, the rules for working on it and its records in the same project. The team can inspect the agent's choices and changes, and the outcome of reviews.
TRACE-OS and its documentation are available at trace-os.org. Its source code is at github.com/amrhs-zohrevand/trace-os.
4.1. Design Choices
In this section, we elaborate on the design choices underpinning the design of TRACE-OS. First, one operating system could serve many projects. Each project installs a release of TRACE-OS and keeps its own research, rules and records, and a later release updates the kit underneath when the team asks for it, never as a background action. Second, the researcher directs and the agent executes and records. The researcher's requests and comments are kept in their own words, and the agent records what it proposed and chose, with its reasons, what it changed and how it checked the result. Third, Git keeps the work and its record. Each commit saves the changed files with a note that names the record and the model that executed it, and a coauthor who pulls the project receives the manuscript, the evidence, the drafts, the records, the instructions and the scripts in one history. Passwords, keys and large or licensed files stay on each machine, kept out of that history by a rule the team can read and modify. Fourth, the folders make the boundaries of the work visible. Durable evidence and judgments sit in sources/, drafts and trial analyses in workspace/sandbox/, the manuscript in paper/ and the account of the work in ai/, so moving a draft into the manuscript is a decision the team records rather than a side effect of editing. Fifth, TRACE-OS is open source and is meant to change as research practice changes. The principles state general guidance, while the skills, tools and checks are one way of doing it at a given time.
4.2. Installation and Components
To use TRACE-OS, a team needs a computer with Git and Python 3.11 or later version, and an AI coding agent such as Claude Code, Codex or other. The core needs no server, database, cloud account or model subscription, because the tools that keep and check the records use only Python’s standard library and call no model.
The researcher does not need to type any commands to install it. They give their agent one instruction, as the release’s README suggests: “Read SETUP-AGENT.md. Set up the academic profile in my chosen directory, run the checks, and report any remaining configuration.” SETUP-AGENT.md is a guide written for the agent. Following it, the agent checks the downloaded release against the check list on the main repository, shows the researcher a plan of every file it will add, and writes them only after the researcher agrees. It leaves any existing file that conflicts unchanged, runs the checks, and reports what remains to be set up, such as connecting the project’s shared folder. It pushes nothing and creates no accounts. The same steps can be run by hand (Section 5.2).
After installation, the project folder holds plain-text files the team can open and read. The instructions start from one file, AGENTS.md, which every agent reads at the start of each session, and setup places the skills where each supported agent looks for them, whether Claude Code, Codex or other. As we discuss in Section 1.2, these files are how TRACE-OS onboards agents: an agent keeps no memory from one session to the next, so each new session, whichever provider's model runs it, learns from the same files how the team works and what the five principles ask. A team without a subscription to a commercial model can use an open source one, such as Cline, for an agent that runs with an API key from a model provider and is paid per use. Ten skills, written procedures that the agent follows for recurring tasks, are located in .skills/: one for each principle (trace-state, trace-review, trace-acceptance, trace-ctransition and trace-evaluate), one that runs the checks across all five (trace-check), and four worked examples of research methods. claim-evidence-audit checks whether the claims in a draft are supported by the project’s evidence, keeping that support separate from acceptance.
literature-processing takes one source through text extraction, a structured note and a lasting coding record. meeting-and-idea-intake brings a meeting’s decisions or a noted idea into the trace record as human direction, with the speakers’ words kept verbatim.
zotero-knowledge-base maintains a Zotero library as a knowledge base, from cleaning its metadata to suggesting citations and checking the full text behind each item. Small command-line tools in scripts/, with their tests in tests/, do the bookkeeping the skills call for. The records start empty: the trace records under ai/records/, three registries of acceptances, intake and transitions, and the defect ledger.
From then on, the researcher works as before and speaks to the agent in their own words.
4.3. Implementation of the Five Principles
What TRACE-OS records is underpinned by the following: a commit, which saves a change to the project’s files, and the trace record of the working session that produced it. The trace record keeps the researcher’s instructions in their own words, what the agent did and chose, and the checks it ran. The commit names its trace record in a line that reads Record, and, when an agent did the work, the model that did it in a line that reads Execution-agent. The commit’s author is always the researcher. Table 6 shows, for each principle, what TRACE-OS does and what a user can open or run to check it.
Acceptance is declared, never inferred: only a command that names a person, or an actor together with the researcher who authorized it, records one. Work therefore is captured in one of seven states, printed as “not reviewed”, “reviewed by a model”, “accepted by a person”, “accepted by a delegated actor”, “returned for correction”, “refused” and “reviewed by an undeclared actor”. Only the third and fourth are acceptance.
4.4. Tools, Folders and Shared Files
TRACE-OS works beside the tools a team already uses. Here we describe one setup that we propose for working with TRACE-OS. The researcher works in Visual Studio Code, an editor that shows the project's files with the agent, such as Claude Code or Codex, running beside them. We suggest using Latex for the manuscript and markdown files for other forms of notes and records. A TeX installation on each machine compiles the manuscript, and the compiler settings are kept in the project, so every coauthor and every agent builds the PDF the same way. A private GitHub repository holds the project's Git history for the team. Through Github or other Git hosting, the team can share the repository with coauthors and reviewers, and the agent can push its commits to it. Overleaf contains the main paper folder only, so a coauthor who only edits the draft works in the browser and needs neither Git nor an agent. When the agent next publishes the work, a script we added to our project brings those edits into the repository as a commit. An effective communication channel such as Slack that can subscribe to updates on Github can help the team stay informed and focus the communication around the work that takes place in the project.
As we discuss in Section 4.1, the folders make the boundaries of the work visible. paper/holds the manuscript and is the only folder that syncs with Overleaf. workspace/ is the working area. Drafts and trial analyses are placed in workspace/sandbox/, and the agent writes there unless the researcher asks it to edit the manuscript. sources/ holds the durable evidence and judgments the team relies on, such as notes and coding records, together with the intake and transition records. ai/ folder contains the account of the work that AI agent has committed: the
TABLE 6 Mechanisms and Records for Each Principle
| Principle | What TRACE-OS does | What a user can inspect |
| Track records (T) | Copies the person’s prompts verbatim from a Claude Code, Codex, or other transcript into a trace record, with the model that executed the work and a checksum (a short code that changes if the text changes) of the instruction files when the record is captured. Every captured instruction is either cited in the record’s summary or given a reason for leaving it out, and for each consequential choice the record names who proposed it, who selected it and why. | ai/records//, git log, trace_record.py verify |
| Review against sources (R) | A check row states the candidate, the criterion, the result and its limits. The agentic reviewer, an AI model that opens the files and runs the commands itself, examines one commit, and TRACE-OS checks each quotation the reviewer makes against the reviewed file. Its report, with what the reviewer examined and what it found, is kept with the project’s records. | checks.jsonl in a record, ai/reviews/, agentic_review.py <commit> --checks |
| Accept independently (A) | A person, or an actor whom a named researcher has authorized, accepts, returns or refuses the work of a trace record. A person may say their decision to the agent, which records it in their name with their words, against the version the person was shown. The queue shows, for each waiting record, the choices the agent made, so the person sees what they are deciding on. A decision by an actor that executed the work is recorded as self-review. | ai/records/acceptances.jsonl, trace_record.py queue, brief, review-status |
| Control transitions (C) | Keeps drafts or temporary files in a sandbox apart from the manuscript. Records outside material as it enters, with its origin, what was checked and on whose authority. An entry that states no check is recorded as such. For a draft moving into the manuscript, or a change to a standing instruction, the agent records a row naming checks, authority and commits. | sources/intake.jsonl, sources/transitions.jsonl |
| Evaluate corrections (E) | Each identified correction gets a stable identifier and a state. A fix moves it to fixed, and only a targeted recheck naming its criterion, method, outcome, checker and limits moves it to verified. A correction that affects several outputs verifies only when each has passed its own recheck. A finding traced to a standing instruction names it, and verifies only against later work produced under the corrected instruction. | ai/defects.jsonl, defect_ledger.py status |
| All five principles | A report goes through every commit and states, for each principle, whether the action it asks for has been recorded, is missing, does not apply or cannot be determined. A single command runs the project’s routine checks together. | trace_report.py, check_workflow.py |
Note. Commands are python3 scripts/<name>, run from the project’s root.
trace records, the acceptance decisions, the defect ledger and the reports of the agentic reviewer. Work moves between these places at the transitions named in Section 2: when material enters from outside, when a draft moves from the sandbox into paper/, and when an instruction becomes a procedure for later work. At each crossing, the agent records what was checked and on whose authority (Table 6).
Large or licensed files stay out of the Git history (Section 4.1). TRACE-OS places them in the project’s shared folder, kept in a sync app the team already uses, such as OneDrive, Google Drive or Dropbox. The researcher names it once, the agent links it into their copy of the project as workspace/shared/, and each coauthor does the same on their own machine. Outside material, such as a delivered dataset, will be placed in the shared folder’s incoming/ and stays outside the project’s data until someone records the decision to admit it.
4.5. Integration with Research Methods
A team keeps its own skills for literature work, analysis or writing, and their work passes through the same records. A skill joins the record by ending with a short report: the procedure and a checksum of its text, the object examined, the criterion, the artifact produced and the limits of the result. A skill from a colleague's repository comes in through scripts/trace_skills.py, which shows the whole package before writing anything and records its adoption as an intake row.
5. Materials for Replication and Use
We provide two packages with this appendix: the materials used to derive and check the TRACE principles, and the TRACE-OS software.
5.1. Replication Package
The replication package lets readers follow how we derived the TRACE principles and checked their robustness (Sections 1 and 3). It includes the DOI search records and screening decisions, the extracted actions and their supporting quotations, and the restated actions. It also provides the activities and practice families behind the tables, along with the results of each robustness check. For every step, we include the instructions given to the models, their saved answers, the code and the decision rules. Because the models' answers are saved, readers can recompute the reported figures without running the models again. Rerunning all the model calls in the package needs an Anthropic API account and costs about USD 100 at list prices, with batch calls at half price. Because the models are stochastic in nature and the choice of the model does not allow setting temperature, the new answers will differ in detail from the saved ones, which is why each model sorted the activities five times and we compared two models (Section 3.2).
The package also lists the DOIs of papers included in the literature review.
5.2. TRACE-OS Software
The second package contains the TRACE-OS software. Its README explains how to install it, either by asking an AI coding agent to follow the setup guide (Section 4.2) or by following the steps. Installation requires Git and Python 3.11 or later version and takes a few minutes. We have tested it on macOS, in a rehearsal on Linux and in workshops on Windows. Before release, we checked that the package could be rebuilt from its source and installed successfully, and all checks included in the package passed.
Research using TRACE principles or TRACE-OS may cite this paper in their methods section.