Skip to content

docs: show steady-state foundry-agent.json (action reused) in step 13#215

Merged
placerda merged 1 commit into
developfrom
feature/tutorial-deploy-json-steady-state
May 31, 2026
Merged

docs: show steady-state foundry-agent.json (action reused) in step 13#215
placerda merged 1 commit into
developfrom
feature/tutorial-deploy-json-steady-state

Conversation

@placerda
Copy link
Copy Markdown
Contributor

Why

Step 13 of the prompt-agent tutorial showed an example
foundry-agent.json with action: bootstrapped and
candidate_agent: "travel-agent:1", framed as "if this merge-triggered
run is the one that finally settles the bootstrap", followed by an
explanation that source_agent and candidate_agent are expected to
differ
until the env catches up.

In practice this is almost never what the user sees. By the time the
merge-triggered deploy runs at step 13, the skill's verification
dispatch in step 12 + the baseline PR run have already settled dev to
travel-agent:2. The merge deploy therefore reports action: reused
with source_agent == candidate_agent == travel-agent:2. PO confirmed
this against a real recording of run #26690922142 in
placerda/agentops-prompt-quickstart.

What changes

docs/tutorial-prompt-agent-quickstart.md step 13:

  • Replaces the example JSON with the steady-state shape
    (action: reused, equal source_agent / candidate_agent,
    real-world prompt_sha256 and ISO timestamp).
  • Switches prompt_file / eval_config from the user-friendly
    relative paths to the runner-resolved absolute paths that the
    artifact actually contains
    (/home/runner/work/<your-repo>/<your-repo>/.agentops/...), with a
    one-sentence note explaining why.
  • Rewrites the explanatory paragraph below the JSON to describe the
    steady-state case (instead of the bootstrap case).
  • Promotes the bullet list of the three possible action values
    (reused / created / bootstrapped) so that the bootstrap case
    is now documented as a clearly-marked edge condition, not the
    primary example.

CHANGELOG.md[Unreleased] → Fixed entry above the previous
"matches what the workflow skill actually does" entry.

Validation

  • python -m pytest tests/ -x -q → 802 passed, 3 skipped.
  • Docs-only change, no source / template touched.

Related

The example JSON in step 13 previously showed action: bootstrapped
with candidate_agent: travel-agent:1 and an explanation that the two
version numbers are expected to differ until the environment has
caught up to the seed. In practice the merge-triggered deploy is
almost never the run that bootstraps  by the time the user reaches
step 13, the skill's verification dispatch in step 12 plus the first
PR run have already settled dev to travel-agent:2, so the merge
deploy reports action: reused with candidate_agent: travel-agent:2
matching source_agent.

The example now:

- shows the steady-state shape taken from a real recording,
- uses runner-resolved absolute paths the user actually sees
  /home/runner/work/<your-repo>/...,
- uses a real 64-char prompt_sha256 and a real ISO timestamp.

The three-outcome list reused / created / bootstrapped below the
JSON keeps the bootstrap case as the documented edge condition.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@placerda placerda merged commit d6d4e3b into develop May 31, 2026
8 of 9 checks passed
@placerda placerda deleted the feature/tutorial-deploy-json-steady-state branch May 31, 2026 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant