Sr. Content Developer at Microsoft, working remotely in PA, TechBash conference organizer, former Microsoft MVP, Husband, Dad and Geek.
165795 stories
·
33 followers

Design, Version And Govern Your API Definitions With SwaggerHub

1 Share

If your company builds software, you probably have more APIs than anyone can list from memory, each one described in a file that lives somewhere different, in a slightly different version, owned by a team nobody can quite name. Keeping those descriptions in one place, versioned, consistent and connected to your build pipeline is the job SwaggerHub does, and it can be run through its own API, so your build tools, or an AI assistant working for you, can publish new versions and manage access without anyone working in the editor. Everything I have catalogued about it sits on its APIs.io profile.

What SwaggerHub does

SwaggerHub is SmartBear’s collaborative API design and documentation platform, built around OpenAPI, the common format for describing what an API does. It supports OpenAPI 2.0, 3.0 and 3.1 as well as AsyncAPI, with validation, team collaboration, lifecycle management, CI/CD integrations and an organization-wide registry of your APIs.

What you can get done

Public API Lifecycle Management

This is the registry itself: every API definition and every version of it, in one place. Domains are reusable pieces, like a shared “address” or “error” definition, that many APIs can point to so they stay consistent.

  • GET /apis/{owner} lists all the APIs an owner has.
  • GET /apis/{owner}/{api} lists the versions of one API.
  • POST /apis/{owner}/{api} creates or updates an API definition.
  • GET /apis/{owner}/{api}/{version} fetches the definition for a specific version.
  • POST /domains/{owner}/{domain} creates or updates a shared domain.

Continuous Integration Management

Continuous integration is the automated pipeline that builds and tests your software every time something changes. SwaggerHub integrations hook an API version into that pipeline, for example syncing it to a code repository.

  • GET /apis/{owner}/{api}/{version}/integrations lists the integrations on a version.
  • POST /apis/{owner}/{api}/{version}/integrations creates one.
  • POST /apis/{owner}/{api}/{version}/integrations/{integrationId}/execute runs it on demand.
  • DELETE /apis/{owner}/{api}/{version}/integrations/{integrationId} removes it.

Identity & Access Management

As the registry grows, so does the question of who can edit what. These operations let your IT systems add people, place them on teams and change their roles.

  • GET /orgs/{org}/members lists the members of an organization.
  • POST /orgs/{org}/members adds members.
  • PUT /orgs/{org}/members/{user} changes a member’s role.
  • DELETE /orgs/{org}/members/{user} removes a member.
  • POST /orgs/{org}/teams/{team}/members adds someone to a team.

Getting started

SwaggerHub is sold as an enterprise product and delivered as a hosted service you call. Plan details are on the SwaggerHub pricing section of its profile.

The documentation I would start with:

On APIs.io, see the SwaggerHub profile, the SwaggerHub APIs API, the SwaggerHub Standardization API, which manages the style rules your definitions are checked against, and the SwaggerHub Search API.

A good first step is to have your build pipeline push each new API version to SwaggerHub automatically, so the registry never falls behind the code.



Read the whole story
alvinashcraft
27 minutes ago
reply
Pennsylvania, USA
Share this story
Delete

Prove your AI agent guardrails work

1 Share

You ask a coding agent to clean up one repository. If it has broad permissions, it may also reach your home directory, use your development credentials, and send requests to services you never approved. That gap between the task and the access you grant can turn a routine coding session into a data leak or lost work.

In Sandboxing Claude and MCP, Hrittik walked through running Claude Code and an MCP server inside Docker Sandboxes using its command-line interface, sbx. That walkthrough started with outbound access blocked, allowed the endpoints needed for the task, and inspected requests to other destinations, including telemetry. The useful part was seeing an actual request fail at the network boundary.

Now extend that workflow to a team. Models and providers will change, but the access rules still need to hold. A sandbox limits what an agent can reach on one machine. Organization governance adds shared rules, a managed way to run agents, and records of policy decisions. In this post, we’ll look at how one laptop can affect the whole organization, review two reported incidents, and connect them to four Docker controls: network policy, filesystem policy, managed credentials, and MCP access. Then we’ll test the network and filesystem controls with a simple bank administrator demo.

How one laptop can affect the whole organization

If an agent exposes a developer’s SSH key or cloud token, every system that accepts that credential may need investigation. The security team must work out what left the machine, replace or revoke exposed credentials, and check whether anyone used them. Deleted work can also halt development. Keep backups of work that has not yet reached the repository.

The compliance consequences depend on the data and the organization. A personal data breach can trigger GDPR notification duties, subject to the applicable risk thresholds. HIPAA has separate requirements for covered entities and business associates following breaches of unsecured protected health information. India’s DPDP framework also includes breach duties, but those provisions are scheduled to take effect in May 2027. For a SOC 2 examination, the question is whether the relevant controls operate as described. SOC 2 is not a breach-notification law.

Data sovereignty adds another question: where does the data go, and who controls it? Before approving a model API endpoint, establish where prompts and outputs are processed and stored, who can access them, and which contracts and laws apply. A provider’s nationality alone does not answer those questions. Network policy can restrict the destination, but it cannot prove how the provider handles data after receiving it.

This gets harder when developers choose and configure agents independently. A rule on one laptop may be missing on the next. An ignore file may stop one component from reading a file while another component includes it in an upload. Written policy needs matching controls in the software that runs the agent.

Two real incidents of agents with too much access

In July 2026, developers reported two incidents where a coding agent went far beyond its task. In one, data left the machine. In the other, files were deleted from it.

A background upload beyond the visible task

In an X post that has since been deleted, a user said Grok had uploaded their entire user directory, including SSH keys, a password manager database, and personal files. A Hacker News discussion brought wider attention to the claim. The home-directory claim remains the user’s account. The separate investigation below tested repository uploads.

Researcher Cereblab intercepted Grok Build CLI traffic and found a background upload running alongside the coding task. In a test with a 12 GB repository, about 5.1 GiB had left the machine before the capture stopped, and the upload was still running. The data went to Google Cloud Storage. Fake secrets planted in the repository also appeared in the traffic without being hidden. At the time, turning off “Improve the model” did not stop the repository uploads.

In a reproducible follow-up, the researcher rebuilt the repository from a captured Git bundle, an archive of tracked files and Git history. The bundle included files the agent had been told not to read. Telling the model not to read a file didn’t stop the CLI from packaging and uploading it in the background.

There was a subsequent change. The researcher’s updated timeline says whole-repository uploading was disabled server-side on July 13 and remained off when retested on July 22.

The fix does not change the lesson. A coding agent is more than the model. It includes the CLI and any background processes, and those can act without the model asking. Give the whole application only the access its task needs. This is the principle of least privilege.

A cleanup task that deleted a home directory

On July 10, Matt Shumer wrote: “GPT-5.6-Sol just accidentally deleted almost ALL of my Mac’s files.” He shared the agent’s acknowledgment and confirmed that Full Access was enabled. His follow-up described the loss of his home directory.

A separate experiment shows why blocking one command is a fragile response. Developer LinearUncle reported that, after a plugin blocked rm, the agent tried unlink, find -delete, and apply_patch. A later attempt to move files to Trash through the GUI failed on permissions; a call to Node’s fs.unlink succeeded. The plugin’s own documentation describes it as an additional guardrail and recommends sandboxing and backups.

The common issue is excessive access. A model can choose a different tool, and a background process can run outside the model’s visible workflow. Filesystem and network boundaries need to constrain both.

What a sandbox gives you locally

Docker Sandboxes runs each agent in a microVM, a lightweight virtual machine with its own Linux kernel and Docker Engine. A workspace mount shares a host directory with the sandbox. A proxy on the host checks outgoing connections against network policy. The isolation documentation explains these boundaries.

That gives a developer a useful starting point. Share the project needed for the task, restrict outbound access, and inspect failures before adding permissions. Unnecessary telemetry endpoints can remain blocked while the required model and package services are allowed.

Choose mounts carefully. A writable mount shares real host files, so changes and deletions inside it affect your machine. Check additional mounts too, including shared agent skills where enabled. Docker’s clone mode gives the agent a private copy of a Git repository so you can review its commits before bringing them back. Isolation limits access, but files in a writable host mount still need backups. Clone mode still exposes the host repository for reading, including ignored files. Keep secrets outside it.

Local settings leave a rollout problem. A teammate can choose different rules or run an agent directly on the host. The organization needs a managed way to run agents, a way to require its use, and visibility into which sessions it covers.

The diagram below shows how organization and team policies reach managed sandbox sessions, where access checks occur, and how policy decisions feed audit records.

Figure1

Figure 1. Organization and team policies govern access for enrolled, licensed sandbox sessions.

How Docker AI Governance extends those controls

Docker AI Governance lets administrators manage sandbox rules and MCP access centrally. MCP, short for Model Context Protocol, connects agents to tools and data sources. Administrators define policies in Docker Home. On developer machines, sandbox mount checks, the host proxy, and Docker’s MCP gateway enforce the relevant rules. This gives teams shared access rules and records they can review when something goes wrong.

Control outbound access and host mounts

Network policies allow or deny destinations such as domain names, IP addresses, and IP ranges written in CIDR notation. For a restricted workflow, start with access denied and allow only the destinations the task needs. Under organization governance, local allow rules cannot grant extra access. Deny rules win, and developers can add local network restrictions.

This can block a background upload to an unapproved destination. But an approved hostname may still handle several kinds of traffic. In the Grok investigation, model requests and storage uploads used different URL paths on the same hostname, so a hostname-only allow rule would not distinguish them. Docker AI Governance now supports more granular network policies: on an allowed host, rules can match the HTTP method, URL path, and query parameters. For example, a policy can permit an agent to open a GitHub pull request while blocking requests to merge it. These finer-grained rules complement filesystem restrictions, which limit the data an application can collect and send.

Filesystem policies control which host paths may be mounted. A writable mount needs both read and write permission; a read-only mount needs read. If a filesystem deny rule and an allow rule match the same request, the deny wins. The decision happens when the sandbox is created. Once a writable mount exists, the agent can modify or delete files within it, regardless of whether it uses rm, a patch tool, or a programming language API.

Keep managed credentials outside the agent environment

For proxy-managed credentials, the host proxy adds authentication to outbound requests. The agent can authenticate to an approved service without receiving the raw secret inside the microVM. Credentials can also be scoped to a named sandbox.

This reduces the need to paste API tokens into prompts or store them in the workspace. The protection applies to proxy-managed credentials. A real token placed in an environment variable, a mounted file, or a passthrough login response may still be visible inside the sandbox. Limit what each credential can access and how long it stays valid. Storing a token through the proxy does not change its permissions or expiry.

Govern MCP access through the gateway

MCP access policies govern server registration and subsequent requests through Docker’s MCP gateway. With MCP enforcement active, access requires an explicit permit, and a forbid rule overrides it. Administrators can control tool calls, resource reads, and prompt retrieval, rather than treating an approved server as permission to do everything it offers.

Registration and use are separate decisions. Blocking new registrations does not stop access to a server that is already registered. Rules checked on each request handle that case. Direct connections to remote MCP servers also need network controls because they bypass Docker’s gateway. Check where each server runs too: local stdio servers run on the host, outside the sandbox VM. Their host access needs separate review.

The next diagram summarizes the four controls to review together: network access, host mounts, managed credentials, and MCP tools.

Figure2

Figure 2. Network, filesystem, credentials, and MCP controls apply to the whole agent application.

Make enrollment part of the rollout

Administrators manage organization and team policies in Docker Home. Group mapping can keep Docker teams in sync with the organization’s identity provider. Policy updates take up to five minutes to reach developer machines. Network changes then apply to new requests. Filesystem changes require removing and recreating affected sandboxes because existing mounts keep their original access.

Sign-in enforcement is also part of deployment. IT distributes it through endpoint management so developers must authenticate as members of an approved organization. This prevents personal-account bypass within sbx. Your endpoint controls also need to cover agents launched outside that managed workflow.

A simple demo: protect a bank’s logs

Suppose you are a bank administrator. Developers want to use coding agents, and you need to enforce the bank’s access rules. Let’s keep the demo to two simple requirements:

  • The sandbox can reach hrittikhere.com (standing in for the bank’s website) over HTTPS. Other destinations stay blocked.
  • The sandbox can use its project workspace, but it cannot read bank logs stored in your host home directory.

We’ll use fictional logs and a shell sandbox to check both boundaries without needing a model API. The results below describe what to expect when you run the demo.

1. Prepare the workspace and bank logs

Install sbx on macOS or Linux and sign in with an AI Governance licensed test user. You’ll also need permission to manage policies and audit delivery in a test organization:

sbx version
sbx login
sbx ls

Run these commands in your host terminal to create a workspace and a separate directory containing a fictional bank log:

mkdir -p \
  "$HOME/sbx-bank-demo/workspace" \
  "$HOME/sbx-bank-demo/bank-logs"

printf 'Fictional bank audit log: demo only\n' > \
  "$HOME/sbx-bank-demo/bank-logs/demo.log"


Next, enable AI Governance for your organization. In Docker Home, open AI Platform → Manage and turn on AI Governance: 

Figure 3

Figure 3. Enable AI Governance in Docker Home before configuring organization policies.

2. Set the bank’s access rules

Next, create the bank’s network and filesystem access rules.

Network policy

First, let’s look at network access. In a bank, you don’t want employees’ coding agents connecting to just any website. For this demo, we’ll allow the sandbox to reach only hrittikhere.com (standing in for the bank’s website) over HTTPS.

Once AI Governance is enabled, open AI Platform → Network access → Create policy and enter the following values:

Field

Value

Policy name

bank-demo-network

Scope

Organization

Decision

Allow

Destinations

hrittikhere.com:443

Protocol

TCP

Rule name (optional)

bank-demo-website

With this as the only applicable network allow rule, all other destinations remain blocked by default.

Figure 4

The curl checks below request headers without following redirects, so they need only hrittikhere.com:443. If you later add -L to follow a redirect to www.hrittikhere.com, allow that exact hostname on port 443 as well.

Filesystem policy

Next, let’s protect the bank’s logs. Employees may need a coding agent to work on a project, but that agent should not be able to read or modify sensitive logs in the home directory. We’ll allow access to the demo workspace and block access to bank-logs.

Open AI Platform → Filesystem access → Create policy.

Note: Use ~ in policy paths, not $HOME; environment variables are not expanded by the policy engine.

First, allow the project workspace with the values below. A writable workspace needs both Read and Write permissions for sandbox creation to succeed:

Field

Value

Policy name

bank-demo-filesystem

Scope

Organization

Rule Action

Allow

Filesystem path

~/sbx-bank-demo/workspace
~/sbx-bank-demo/workspace/**

Permissions

Read and Write

Rule name (optional)

bank-demo-workspace

In the same bank-demo-filesystem policy, add a second rule named bank-demo-logs to deny access to the protected logs:

Field

Value

Policy name

bank-demo-filesystem

Scope

Organization

Rule Action

Deny

Filesystem path

~/sbx-bank-demo/bank-logs
~/sbx-bank-demo/bank-logs/**

Permissions

Read and Write

Rule name (optional)

bank-demo-logs

The workspace allow rule covers workspace and its descendants; it does not include the sibling bank-logs directory. The logs are protected by the explicit deny rule.

Figure 5

Save the policies. You can also check their rules and scope in the Platform UI. Allow up to five minutes for policy sync, then inspect the active rules:

sbx policy ls --wide

Figure6

Figure 6. Active organization rules allow hrittikhere.com:443 and the workspace, and deny bank-logs mounts.

3. Check website access

Create a fresh sandbox with only the approved workspace:

sbx create --name bank-demo shell "$HOME/sbx-bank-demo/workspace"

From the host terminal, run the following requests inside the sandbox. The –max-time 15 option caps each request at 15 seconds, so a stalled request times out instead of hanging:

sbx exec bank-demo curl -fI --max-time 15 https://hrittikhere.com

The first request should return HTTP headers from the approved site:

Figure7

Figure 7. The approved HTTPS request to hrittikhere.com returns HTTP 200.

sbx exec bank-demo curl -fI --max-time 15 https://example.com

The second should be blocked:

Figure8

Figure 8. The request to example.com returns HTTP 403; the network log confirms the policy decision.

You can also check the network log to confirm that the failure came from policy enforcement:

sbx policy log bank-demo

The network log distinguishes allowed traffic from requests blocked by policy:

Figure 9

Figure 9. The network log records hrittikhere.com:443 as allowed and example.com:443 as blocked.

4. Check that bank logs stay private

Run both commands below from your host terminal so $HOME expands to the same host path. First read the fictional log on the host, then request that path inside the sandbox:

cat "$HOME/sbx-bank-demo/bank-logs/demo.log"

Figure10

Figure 10. The host can read the fictional bank log.

sbx exec bank-demo cat "$HOME/sbx-bank-demo/bank-logs/demo.log"

The sandbox command should fail with “No such file or directory” because bank-logs is not mounted. This checks filesystem isolation; the next command tests mount-policy enforcement:

Figure11

Figure 11. The unmounted bank-logs path returns “No such file or directory” inside the sandbox.

Now check whether a developer could add the logs as a read-only mount:

sbx create --name bank-demo-denied shell \  "$HOME/sbx-bank-demo/workspace" \  "$HOME/sbx-bank-demo/bank-logs:ro"

Creation should fail with a mount policy denied error:

Figure12

Figure 12. The bank-demo-logs rule rejects the read-only mount with a Read policy denial.

A read-only mount still requires Read permission. The bank-demo-logs rule denies Read, so :ro does not bypass the policy.

5. Review the evidence in Docker Home

You can also review the policy decisions in the Docker Home UI under AI Platform → Audit logs → Audit events. Filter by the test user and time, then inspect the denied mount request for bank-logs. Look for filesystem_mount, the deny decision, the resource path, and the user. If Cloud delivery was disabled during the test, enable it and repeat the mount request.

Figure 13

Figure 13. Audit events record the denied bank-logs mount and allowed workspace mounts.

These audit records capture governance decisions, not every file operation or the agent’s prompts and output. sbx policy log shows network traffic; use the audit view for the mount decision. Docker also supports local JSONL audit files and Cloud delivery for hosted search, CSV export, and SIEM forwarding.

The bank now has a simple access-control check: the approved site is reachable, an unapproved site is blocked, and protected logs cannot be read or mounted. This supports the bank’s compliance work; it does not establish compliance on its own.

6. Clean up

After reviewing the results, remove the sandbox:

sbx rm bank-demo

Output:

❯ sbx rm bank-demo
Remove sandbox 'bank-demo'? This cannot be undone. (y/N): y
Deleting sandbox bank-demo...
Sandbox 'bank-demo' removed


You can then remove the fictional demo files and the test policies.

Best practices for Docker AI Governance

Putting AI governance policies in place is only the first step. The real challenge is making sure those policies are practical, consistently enforced, and easy to verify as more developers start using coding agents. A few good practices can help teams reduce unnecessary access, apply the right restrictions to different workloads, and maintain visibility into what agents are doing. Here are five recommendations to keep in mind when rolling out Docker AI Governance across your organization:

  1. Use specific hostnames, not wildcards. For example, allow api.github.com:443 rather than **.github.com. A broad wildcard lets agents reach services you never meant to approve. Also avoid the Open preset, which allows every destination.
  2. Test a rule before you roll it out. Check what a policy would do without running an agent. For example, sbx policy check network blocked.example.com shows whether that destination would be allowed or blocked.
  3. Use read-only mounts for reference data. If an agent only needs to read docs or sample data, mount that folder with :ro. The agent can use the files but can’t change or delete them.
  4. Use team policies for different risk levels. Set a policy’s scope to Teams instead of Organization. For example, the payments team can get a stricter network list than an internal tools team. Map Docker teams to your identity provider groups so access follows people as they move teams.
  5. Send audit records where your security team already looks. Turn on SIEM forwarding, which requires cloud delivery. Use CSV export when an auditor asks for proof that a rule was enforced over a given period.

Repeat the checks in other environments

The same questions apply when agents run in continuous integration (CI) jobs or other environments: which host files can they access, which services can they reach, and which credentials can they use? Check which controls each environment supports and repeat the tests there. A policy on a developer’s laptop does not automatically protect an unrelated container or production cluster.

For security teams, useful evidence connects a licensed, signed-in user to an active policy, a blocked action, and a record they can find. Check sign-in enforcement and license coverage alongside policy. An empty audit dashboard may mean some sessions were never covered.

Start with a boundary you can verify

Sandboxing limits an agent’s access on one machine. Governance applies shared rules to managed sessions across the organization. Providers will fix individual failures, but the next failure may look different. Limit which files, services, and credentials it can affect, then test those limits and check the records.

Start with the local sandboxing walkthrough, inspect your rules with sbx policy ls, and run the bank demo with your platform or security team. Use the Docker AI Governance documentation and announcement to plan a small rollout. Expand it after you have checked both the blocked actions and the audit records.

Read the whole story
alvinashcraft
28 minutes ago
reply
Pennsylvania, USA
Share this story
Delete

Agentic SDLC Part 3: Verify Behavior, Keep the Evidence

1 Share

This is part 3 of a 3-part series on the agentic SDLC. In part 1, design produced the package. In part 2, the developer built the check-in feature against it. Now the QA engineer tests what was built.

Testing is where an agentic SDLC has the most to prove. If the same agent writes the code and decides whether the code is correct, any wrong assumption passes straight through. This post follows a QA engineer who works from the approved contract instead, builds separate mocks and datasets, and leaves behind evidence that the next change has to satisfy as well.

Verify behavior and preserve the evidence

As the QA engineer, it’s my job to independently test the running check-in feature against the approved contract, so we’re checking what was agreed rather than repeating the coding agent’s assumptions.

I own the datasets, assertions, failure scenarios, and performance thresholds that determine whether the feature passes.

Those four items are the QA engineer’s deliverables, and each one answers a different question:

Item The question it answers
Datasets Which situations does this feature have to handle?
Assertions What must be true after each request?
Failure scenarios What happens when a dependency breaks or slows down?
Performance thresholds How fast and reliable must the feature be under load?

Owning them is what makes the testing independent. The developer already checked the code against the design’s mocks. The QA engineer builds a second set from the contract, so a mistake baked into the first set doesn’t hide in the second.

Build datasets, mocks, and simulations

Test: the QA engineer generates datasets, runs contract and behavior checks, load tests the feature, proves the tests catch mistakes, and packages a CI workflow.

I start with the situations this feature needs to handle. The datasets skill helps me create cases for active coverage, denied coverage, invalid requests, and someone trying to check in twice.

Then I use the api-mocking skill to create my own appointment and eligibility mocks, and the api-simulation skill to run them together. I can make eligibility unavailable or slow to respond, so I can test those failures whenever I need to.

With the api-testing skill, I check both the response and the appointment afterward. Active coverage should allow check-in; a denial or an eligibility failure should leave the appointment unchanged. A second check-in should be rejected without another update. The responses must also match the approved OpenAPI spec, and the collection must stay in sync with it.

The expected outcomes line up like this:

Situation Expected result
Active coverage Check-in allowed
Denied coverage Appointment unchanged
Eligibility failure Appointment unchanged
Second check-in for the same appointment Rejected without another update

Two details in this step separate a real verification from a smoke test. First, every case checks the appointment afterward, not only the response. A refusal message means little if the status changed anyway. Second, the “check in twice” case covers a bug that single-request tests never see: a duplicate request that quietly updates the record a second time.

Matching the responses to the OpenAPI specification gives the contract a second job. It describes the API, and it also acts as the standard the running feature gets held to. Keeping the collection in sync with it means the tests don’t drift from what was agreed.

Check performance under load

Next, the performance-testing skill checks how the feature behaves under load: ten virtual users for a minute, with 95% of responses required to finish in under half a second and fewer than 1% errors or failed checks. This local run passes at 236 milliseconds for the 95th percentile.

A few terms make that result easier to read. Virtual users are simulated clients sending requests at the same time. The 95th percentile (often written p95) is the response time that 95% of requests beat, so it shows how slow the unlucky requests are in a way an average hides. The thresholds set the bar before the run: p95 under 500 milliseconds, and under 1% errors or failed checks. The run either meets them or it doesn’t.

The pass at 236 milliseconds is a local result against simulated dependencies. It tells you the feature’s own code handles the load. It doesn’t predict production latency, which depends on the real eligibility service and the real network between them.

Prove the tests catch mistakes

I also want proof that these tests catch mistakes. On copies of the code, removing the eligibility check, returning the wrong error, and adding a delay each cause a failure. The reports show what broke and how to reproduce it, giving the developer a clear starting point for a fix.

Finally, the ci-integration skill packages the checks into a GitHub Actions workflow. Once it runs in CI and is required before merge, a later change will have to meet these same checks.

A passing test suite only means something if it can fail. Each of the three changes breaks one of the feature’s promises:

Change to the code Promise it breaks
Remove the eligibility check Coverage is confirmed before check-in
Return the wrong error Refusals follow the contract
Add a delay Responses stay fast

Doing this on copies of the code keeps the real branch clean, and the failure reports give the developer a reproducible starting point. They show what broke and how to run it again.

The last sentence about CI has two conditions in it, and both matter. The workflow has to run, and the check has to be required before merge. Writing the workflow file does the first part. Marking the check as required in your repository settings does the second. Until both are true, the checks are advice and not a gate.

What each phase hands to the next

So I started with this feature request: add an appointment check-in feature that confirms a patient’s insurance coverage is active before marking them checked in. Most of the decisions happened before development started.

The architect gets a design package to review: saved Context Graph findings, spec.md, the OpenAPI contract, governance checks, design tests, collections, mocks, and simulations with their assumptions recorded. The developer uses that package to deliver the implemented check-in feature, with its API integrations and eligibility rules, and checks it against the simulated dependencies. The QA engineer then produces an independent verification package: datasets, contract and behavior tests, separate mocks and failure simulations, performance checks with pass-or-fail thresholds, reproducible failure reports, and a CI workflow. Each person owns the work in their phase, and each handoff gives the next person the context and runnable assets they need.

That is how I want to use agents across the SDLC: give each phase enough context to do useful work, preserve its output for the next person, and keep a named human responsible for each handoff.

Here are the three handoffs side by side:

Phase Owner Receives Produces
Design Architect reviews The feature request and the Context Graph Design package: Context Graph findings, spec.md, OpenAPI contract, governance checks, collections, mocks, simulations
Develop Developer The approved design package The implemented check-in feature, checked against simulated dependencies
Test QA engineer The running feature and the approved contract Datasets, contract and behavior tests, separate mocks and failure simulations, performance checks, failure reports, CI workflow

The pattern repeats in every row. Each phase starts from saved, runnable artifacts instead of a verbal explanation, and each ends by leaving a package for the next person. That’s what makes the agentic SDLC work across a team and not only inside one person’s terminal session.

Try it yourself

Open Claude Code in the repo that has the design package and the developer’s implementation. Ask for verification from the contract, not from the code. Swap in the names from your own feature:

Prompt

Independently test the running check-in feature against the approved contract. Create datasets for active coverage, denied coverage, invalid requests, and a second check-in. Use your own mocks and simulations, check the appointment after each response, and add a load test with pass-or-fail thresholds. Then package the checks into a GitHub Actions workflow.

Work through the result in this order:

  1. Read the datasets and confirm they cover active coverage, denied coverage, invalid requests, and a second check-in.
  2. Check that the tests read the appointment back after each response and don’t stop at the response body.
  3. Confirm the responses are validated against the OpenAPI contract.
  4. Review the load thresholds before the run, then compare the result to them.
  5. Open the generated GitHub Actions workflow and decide which checks to require before merge.

To see whether your tests catch mistakes, break a copy of the handler on purpose and run the collection again:

postman collection run path/to/verification-collection.json

Replace the path with wherever your collection lives. Remove the eligibility check, return the wrong error, and add a delay, one at a time. Each change should fail at least one test. If one doesn’t, that gap is the next test to write.

Resources

The post Agentic SDLC Part 3: Verify Behavior, Keep the Evidence appeared first on Postman Blog.

Read the whole story
alvinashcraft
28 minutes ago
reply
Pennsylvania, USA
Share this story
Delete

1Password breach leaked customer names and emails, but not passwords

1 Share
Vector illustration of the 1Password logo.

1Password says a hacker stole customer names and email addresses after gaining access to its backend systems. The breach didn't expose passwords or other information stored in customer vaults, but could put users at risk of phishing attempts, according to a post disclosing the incident. It's unclear how many users are affected.

The password manager began investigating the incident on November 19th, after an attacker gained access to an employee's corporate GitHub account. Using the compromised account, the hacker accessed 1Password's source code and pushed malicious code to backend services to download customer data. Along with customer nam …

Read the full story at The Verge.

Read the whole story
alvinashcraft
28 minutes ago
reply
Pennsylvania, USA
Share this story
Delete

Apple Is Reportedly Testing macOS on iPads: What It Means for the Future of Mobile Computing

1 Share

Apple is reportedly running macOS on iPads internally. Explore what this means for mobile computing, professional workflows, and the future of iPadOS.

The post Apple Is Reportedly Testing macOS on iPads: What It Means for the Future of Mobile Computing appeared first on TechRepublic.

Read the whole story
alvinashcraft
28 minutes ago
reply
Pennsylvania, USA
Share this story
Delete

Assessing AI Impact: Notes for Your CFO

1 Share

The following article was originally published on James Shore’s Successful Software blog and is being republished here with the author’s permission.

Hi there.

This is the epilogue to my series on assessing the impact of AI-assisted software development. It brings all the concepts together into one whole. It’s also good for sharing with your CFO and other members of your leadership team.

You can find the beginning of the series here: Are You Getting Your Money’s Worth from AI? The rest of the articles are linked below.

Comfy? Great. Let’s get started.

Give me the shortest possible version

AI-assisted software development is expensive, and while the potential returns are high, they’re not yet proven. The field is changing rapidly, so learning the right approach requires experimentation and measurement. Spending varies by an order of magnitude: from hundreds of dollars per person per month to thousands. To know which approach is best, you need to measure impact as well as costs.

The fullest view involves modeling the ROI of your software initiatives, which requires leadership support and cross-departmental participation. For a faster and more targeted view, ask your engineering leaders to measure changes in software development speed. But don’t just look at what you’re getting now; consider the long-term effects of unintended consequences and the possibility of lock-in.

Say more about AI program fundamentals

Measuring the costs of an AI-assisted software development program is fairly easy, but measuring benefits is harder. It’s tempting to use easy, shallow approaches that don’t consider the full picture.

Some token costs are heavily subsidized, so prices could go up. Examples include subscriptions with generous token allowances and temporary promotions. On the other hand, competition could drive prices down. As you forecast ROI, consider optimistic and pessimistic cost scenarios.

Consider that the fastest approaches might not be the most cost-effective. The best investment might involve lower per-person delivery speed, but much lower token costs, especially if the money for AI comes at the cost of headcount.

Read more about why you should measure impact, and what you shouldn’t measure, in part 1.

What was that about modeling ROI?

Most organizations primarily think in terms of cost and predictability, with minimal attention to value. Modeling ROI will not only help you understand AI’s impact, it will give you a better understanding of your software development efforts in general.

Product development can create a model that calculates an initiative’s net present value. This requires cross-departmental participation, backing from leadership and finance, and some educated guesses. It will never reflect real value perfectly—it involves too many guesses and assumptions—but it makes those assumptions concrete and focuses people on what you’re getting for your money.

Read more about modeling software’s business impact in part 4.

I just want to know if AI is faster

Engineering leaders can get a narrower read on AI’s impact by measuring how it changes software delivery speed. They can also compare one approach to another, which will allow them to find the optimal blend of speed and costs for your company.

Simplistic speed measurements abound. When evaluating claims, look for evidence of sophistication, such as randomized comparisons, and look for sustained results across numerous teams. Beware of measurements that simply count deliverables or changes in “velocity.” They’re not standardized.

The pressure to demonstrate results from AI is immense, and the stories of success that are shared in conferences and executive circles grow with each retelling. Calibrate your skepticism accordingly. Listen for how the storytellers measured impact. Look for evidence of sustained results, not cherry-picked examples.

Read how to measure changes in delivery speed in part 2.

What about unintended consequences and lock-in?

Speed is only part of the picture. If AI makes software development faster, but increases cost of change, it could end up costing you more than it saves. Lock-in is a risk too: If you’re locked in, and AI token costs increase, you could be stuck with a choice between a big bill or cutting back on development.

Look for evidence that your team is considering unintended consequences. This guide recommends tracking cost of change over time. The data is noisy, so you should also look for models that explore scenarios around topics such as maintenance costs and turnover, as well as management of associated risks.

Read how to measure and model unintended consequences in part 3.

Be careful of measurement dysfunction

Performance metrics always risk measurement dysfunction, and some of these metrics are particularly prone to misuse. Don’t establish a performance measurement program and leave it running. Instead, use these metrics to determine how well a particular approach to AI is working. Whatever you do, don’t use them to measure the performance of teams or individuals. Measure the approach instead, learn from it, and stop measuring.

Thanks for reading

This concludes my series on assessing the impact of AI on software development. As you’ve seen, it’s a lot more complicated than just throwing some numbers up on a dashboard. As always with software development, you need to consider the system as a whole, and how changes here affect outcomes there.

Doing this right takes some work. Given the stakes, though—a substantial percentage of your budget, but also the potential for a substantial increase in productivity—it’s worth doing right.

This series is based on my work on introducing AI while I was VP of engineering. Ultimately, I wanted to measure impact so I could make smarter decisions about how we used AI. If you’d like my help with your organization, send me an email. If you’d rather go it alone, this series will get you off to a good start. Either way, best wishes, and let me know how it goes.



Read the whole story
alvinashcraft
29 minutes ago
reply
Pennsylvania, USA
Share this story
Delete
Next Page of Stories