How to use this guide
Tools change fast. Each edition of this guide is revised. No example is a recommendation. The tags Core, Rule and Default keep the scope that The HDF Guide gives them. The Practice criteria are proposals that each profile can adapt.
Practice The specialist can compare candidates with the same fictitious task. Keep the version, the enabled options and the evidence of each test. When a condition depends on another component, you can test the full combination and document who manages that control.
Coding agents and models
Core Evaluator is always an agent different from Generator.
Core Data is classified as public, internal, confidential or sensitive. No secret goes into instructions or memory. Confidential or sensitive information is sent only to services that do not use it for training, and with credentials isolated per client.
Practice Ask Planner for a short plan and Generator for a first revision. Give Evaluator the revision and the protected criteria in a separate context. Check in the history which agent did each piece of work and with which model.
Practice Before sending data, the specialist compares the terms of the contracted plan with the effective configuration of the account. The specialist documents the use for training, the retention period for inputs and responses, and the deletion options. The specialist stores provider, plan, terms version, configuration and approval together with the authorized data classes.
Practice With two fictitious client identities, the specialist revokes one credential and checks that the other keeps its own access. The specialist reviews the permission inventory to find keys shared between clients.
Evaluation questions
Can identities, permissions and context be assigned per function, even when two agents use the same model?
Warning sign
The evaluation reuses the production session of the deliverable and only changes the role name.
Category examples
- Aider, accessed on November 29, 2026.
- Mistral AI, accessed on November 29, 2026.
- OpenHands, accessed on November 29, 2026.
Isolated environment for agent execution
Core The isolated environment uses least-privilege credentials, and its check is recorded before the start. The agent does not receive production credentials.
Practice With a test identity, run one permitted write and one write on an excluded, disposable resource. Compare the results with the effective permissions and check which network destinations the session can reach.
Evaluation questions
Which permissions does a child process inherit, and how are they revoked when the task ends?
Warning sign
By default, the session mounts the credentials of the person who started it.
Category examples
- Firecracker, accessed on November 29, 2026.
- gVisor, accessed on November 29, 2026.
Agent tools and authorized destinations
Core Keep external reading sessions separate from publishing sessions. If they are combined, approve each outbound action. Merging changes into the main branch, deploying, publishing or accessing destinations outside the list requires human approval per action. Jobs in the isolated environment that the profile authorizes are permitted.
Default The isolated environment limits writes and network access to authorized resources. The profile sets which information enters each session and how destinations are approved.
Practice Test the connectors with fictitious data and two identifiable sessions. From the reading session, request a send to a test recipient outside the list. Check that the send is denied or that approval is requested before transmission. In a combined session, repeat the send and verify that the first approval does not enable the second outbound action.
Evaluation questions
Who can edit the destination list? Does the log let you link each authorization to the session, the recipient and the exact action?
Warning sign
The browser or a connector keeps the publishing permission when it changes to a research session.
Examples of components to evaluate policies and control destinations
- Envoy, accessed on November 29, 2026.
- Open Policy Agent, accessed on November 29, 2026.
Repository, branches and pull requests
Rule The main branch counts as production when it deploys automatically. The agent pushes only to authorized test branches and can open pull requests. Merging into the main branch or deploying requires specialist approval.
Practice In a trial repository, open a pull request from the test branch and check that the agent identity has no direct write permission on the main branch. Find the approval that matches the exact revision.
Evaluation questions
What happens to the approval if the content waiting for merge changes?
Warning sign
The branch protection allows an automatic exception for the same identity that prepares the change.
Category examples
Continuous integration, deployment and secrets
Core The integration configuration is protected before changes are pushed. The agent credential does not modify automation workflows. Production secrets are protected and require specialist approval. Runs triggered by the agent workspace see only test secrets. The isolated environment has no production credentials and no real payments.
Practice With a disposable branch that has no secrets, verify that a modification to the protected workflow is denied. Then inspect the inventory of names accessible in a test run without revealing their values.
Practice Create two fictitious secrets with separate access scopes. Test the production-only path with a test value: the work branch identity receives a denial, and the release to the authorized process stays pending until the specialist approves. Retrieve the record of that approval.
Practice Run a test job that consumes a disposable marker and ends with an error. Search for the marker in the console, the exported traces and the failure artifacts. The expected evidence identifies the access and its result without revealing the value.
Evaluation questions
Who can change the secret access policy or authorize a deployment?
Warning sign
A proposed modification can grant itself access to credentials before the specialist reviews the change.
Category examples
- GitLab CI/CD, accessed on November 29, 2026.
- Jenkins, accessed on November 29, 2026.
Examples of secret managers
- AWS Secrets Manager, accessed on November 29, 2026.
- OpenBao, accessed on November 29, 2026.
Client QA environment
Core Every project requires a client QA environment. The agent writes, pushes and modifies only there. The specialist approves every release to production.
Rule Each profile defines the provisioning and the cost of the client QA environment.
Practice Create a preview with fictitious data for an identified revision. Open it with the client's permissions and verify that a test edit stays isolated from the real data.
Evaluation questions
Can the client view the revision that it approved again after another revision is generated?
Warning sign
A stable link silently changes revision or shares storage with production.
Category examples
Testing and automated verification
Rule Before the start, criteria, tests and verification configuration are protected. Generator does not modify the protected version.
Practice Run a known case against a deliberately incomplete deliverable and keep the failure. Repeat with the fix, using the same protected reference, and compare the two reports.
Default Before a change to the model, instructions or tool, references with expected results are run and the change is versioned.
Practice Store a reference input and its expected result under a recoverable version. Run it with the current configuration and with the candidate configuration. Compare the results per criterion and check that each run identifies the versions of the model, the instructions, the tool and the reference.
Evaluation questions
Can Evaluator retrieve the steps, the input and the results of an earlier run?
Warning sign
The report shows success even though a required check was skipped.
Category examples
- Playwright, accessed on November 29, 2026.
- pytest, accessed on November 29, 2026.
Agent logging and observability
Default Enough events and consumption are recorded to reconstruct each run, including failed attempts and cancelled tasks.
Practice Follow a task from the plan to a retry. Export the sequence and, with its identifiers, reconstruct the function, the version used, the times, the cost and the cause of the retry.
Practice Add a fictitious field marked as confidential. Verify that it is filtered before export, and follow the trace to its storage and its copies. Compare the location, the read permissions and the retention and purge policy with the authorized classification. If the destination is external, also review its data use terms.
Evaluation questions
Can you tell active time apart from time spent waiting for a human decision? How is confidential data filtered before the inputs are logged?
Warning sign
The second attempt overwrites the first, and the cost of the failure disappears.
Category examples
- Langfuse, accessed on November 29, 2026.
- OpenTelemetry, accessed on November 29, 2026.
Backlog, board and work in progress
Default A blocker keeps its status, responsible person, date and next action. It counts in the work in progress until it is resolved, together with the evaluation and acceptance queues.
Practice Mark a task in evaluation as blocked. Verify that it still counts toward the flow limit, and that the specialist can sort pending items by age and find the next action.
Evaluation questions
Can the time elapsed until internal approval be viewed separately from the time until the verdict?
Warning sign
Moving the task to a waiting column artificially reduces the work in progress.
Category examples
- Kanboard, accessed on November 29, 2026.
- OpenProject, accessed on November 29, 2026.
HP ledger and AI costs
Default The profile defines the ledger of allocations, reservations and debits. Actual consumption includes failures and rework when the cost per debited HP is calculated.
Practice Test a spreadsheet or a system with a reservation that becomes a debit. Reconcile the balance with the movements per task. Import the AI consumption of two attempts, identify the included quotas and reconcile the total with the consumption account.
Evaluation questions
How is a balance correction reconstructed, and what does the cost-per-HP report show if the period ends without debits?
Warning sign
The reservation and the debit deduct the same capacity twice, or the consumption included in a subscription is added again.
Category examples
- LibreOffice Calc, accessed on November 29, 2026.
- PostgreSQL, accessed on November 29, 2026.
Client communication and verdict
Default Internal approval, the client verdict and publication are recorded separately. The profile sets the deadline, the verdict mechanism and the conditions for silence.
Practice Share a fictitious revision with a client representative. Then retrieve their response, identity, date and deliverable reference from the task record.
Evaluation questions
How is the verdict kept if the message is edited or the contact person changes?
Warning sign
A read receipt automatically becomes acceptance without a check of the profile conditions.
Category examples
- Mattermost, accessed on November 29, 2026.
- Zulip, accessed on November 29, 2026.
License
© 2026 Guarapo Labs. This guide is offered under the Creative Commons Attribution-ShareAlike 4.0 International license (CC BY-SA 4.0): https://creativecommons.org/licenses/by-sa/4.0/