Skip to content

Workflow integration#9

Open
alexbaur wants to merge 2 commits into
mainfrom
workflow-integration
Open

Workflow integration#9
alexbaur wants to merge 2 commits into
mainfrom
workflow-integration

Conversation

@alexbaur

Copy link
Copy Markdown
Collaborator

[agentops-lifecycle] Add 10-step lifecycle workflow + fix installers

  • plugin/skills/agentops-lifecycle/SKILL.md: 10-step dev→staging→prod guide
    with per-step agent actions, code examples, validation criteria, common issues
  • plugin/commands/agentops-lifecycle.md: /agentops-lifecycle command entry point
  • workflows/single-account-single-agent.json: machine-readable lifecycle definition
  • workflows/README.md: schema docs and workflow index
  • README.md: replaces "Coming next" stub with lifecycle documentation
  • plugin/README.md: skills table and layout updated
  • plugin/skills/install_skills.sh: installs both skills; stale comments fixed
  • plugin/skills/install_genie_code_skills.py: installs both skills; verify cell
    updated; was previously hardcoded to agentops-stacks only

alexbaur added 2 commits May 27, 2026 15:43
- plugin/skills/agentops-lifecycle/SKILL.md: 10-step dev→staging→prod guide
  with per-step agent actions, code examples, validation criteria, common issues
- plugin/commands/agentops-lifecycle.md: /agentops-lifecycle command entry point
- workflows/single-account-single-agent.json: machine-readable lifecycle definition
- workflows/README.md: schema docs and workflow index
- README.md: replaces "Coming next" stub with lifecycle documentation
- plugin/README.md: skills table and layout updated
- plugin/skills/install_skills.sh: installs both skills; stale comments fixed
- plugin/skills/install_genie_code_skills.py: installs both skills; verify cell
  updated; was previously hardcoded to agentops-stacks only
@alexbaur alexbaur self-assigned this May 27, 2026

@sdonohoo-db sdonohoo-db left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The 10-step structure, the per-step validations, and the machine-readable JSON look good. I want to flag one thing that needs sorting across a this and Veena's PRs, because it's my mistake.

The guide documents a scaffold layout for eval that doesn't exist. The SKILL and README state that evaluation/gate.py, evaluation/thresholds.yml, and
evaluation/golden_dataset.jsonl are "generated by the scaffold." They aren't. The scaffold template I built only stubs the CI/CD eval hook. The fully-populated
evaluation/ files exist only in examples/hello-agent/, which was a throwaway
deployment test I built to test the hooks but were no scaffold output. I think the assistant picked up on the example and assumed the scaffold created the eval gate files

It is also different from Veena's PR #15. That PR does add eval generation to the
scaffold but as src/agents/<agent>/eval/{evaluate_agent,create_dataset,utils}.py

  • eval/gates.yml and src/components/eval/scorers.py. So even once #15 merges,
    this guide would still point at the wrong paths and names. #13 establishes the same
    src/agents/… + src/components/… convention for retrieval.

Proposed path: let's go with the src/agents/<agent>/… layout from #13/#15 as
canonical, merge those first, then update this PR's file references to match.


---

## Reference files

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Most of these don't match what the scaffold generates.

evaluation/gate.py / thresholds.yml / golden_dataset.jsonl only exist in hello-agent (a throwaway test example - my mistake).

Veena's PR #15 generates the real equivalents at src/agents//eval/evaluate_agent.py, eval/gates.yml, eval/create_dataset.py, and src/components/eval/scorers.py. I suggest we go with that layout and align this table to it.


## Step 4 — Offline Evaluation & Eval Gate Setup

Build the evaluation framework **before** any code leaves dev. The `evaluation/`

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"the evaluation/ directory is generated by the scaffold" - it isn't today. After PR #15 it'll be src/agents//eval/. Reword to point there, and state explicitly whether the user runs a generated file or authors it.


### Register to Unity Catalog

Run `notebooks/register_agent.py` (generated by the scaffold). Set the

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

References src/my_agent.py and notebooks/register_agent.py. #13 establishes src/agents//graph.py. Let's settle on one agent-code path and use it consistently across all 10 steps.

Comment thread README.md

MLflow is the operational spine at every level: experiment tracking in dev,
eval gate in CI, trace logging in prod, user feedback via `mlflow.log_feedback()`.
The `evaluation/gate.py` pattern (generated by the scaffold) runs at three

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same path issue here. Also: main intentionally trimmed this section to a one-line "Coming next" stub three days before this branch - worth a quick confirm that re-expanding it now is the call, vs. keeping the README lean and letting the SKILL carry the detail.

"escalation_hint": "If SME agreement < 80% after 2 rounds: escalate to product owner to clarify evaluation rubric. The rubric definition is a business decision, not an engineering one."
},
{
"name": "ci_staging",

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpick - Name conflates CI and staging; SKILL treats them as separate steps 6 and 7. Suggest ci_gate for consistency since this is the machine-readable source of truth.

@sdonohoo-db sdonohoo-db left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Stale reference to my agentops-stacks repo to scaffold a project. My repo is no longer current.
  • Doc and example workflow rely on a workflow engine that I cannot find the implementation for. /innovate isn't available to customers as far as I know

"Collect: project_name (^[a-z][a-z0-9_]{2,}$), cloud (aws|azure|gcp), cicd_platform (github_actions|azure_devops|gitlab), destination",
"Confirm inputs with user before running",
"Write config to /tmp/agentops-stacks-inputs.json",
"Run: databricks bundle init https://github.com/sdonohoo-db/agentops-stacks --config-file /tmp/agentops-stacks-inputs.json --output-dir <destination>",

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is pointing at my repo which is no longer current. Should be databricks-solutions

Comment thread workflows/README.md

Machine-readable lifecycle definitions for agentops-stacks projects. Each file
defines a complete end-to-end workflow that can be consumed programmatically by
workflow engines (e.g., `/innovate`) or used as a reference when building custom

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where is the workflow engine defined for agentops? We can't use /innovate as it isn't public.

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.

2 participants