Skip to content

okr-factory: fix node.ari, add goal-edit, document markdown links#92

Open
johnblythe wants to merge 6 commits into
mainfrom
okr-factory-skill
Open

okr-factory: fix node.ari, add goal-edit, document markdown links#92
johnblythe wants to merge 6 commits into
mainfrom
okr-factory-skill

Conversation

@johnblythe

@johnblythe johnblythe commented Jun 30, 2026

Copy link
Copy Markdown

Follow-ups from agent feedback on the okr-factory skill after it ran against real goals.

Changes

Fix 1 — --metric ARI normalization
Bare UUIDs and base64 global IDs both returned a cryptic "Failed to convert argument value" 400. Now auto-normalised to ari:cloud:townsquare::metric-target/<uuid>. The ARI (from metricTargets[].node.ari in goal-full output) remains the canonical and preferred input; SKILL.md corrects node.idnode.ari throughout.

Fix 2 — Markdown links in ADF builder
[text](url) syntax now emits ADF inline link marks in goal-update and the new goal-edit description field. Links render clickable in Atlas instead of as literal bracket-paren strings. Note: links count toward the 280-char posted-text budget.

Fix 3 — goal-edit command
No way existed to edit a goal's description (e.g. fix dead #proj-fable-feedback Slack refs) via the CLI. New ld atlas goal-edit <KEY> [--name "..."] [--description "..."] calls the goals_edit mutation. At least one flag required.

SKILL.md updates

  • metricTargets[].node.ari everywhere (was node.id)
  • goal-edit added to required tools
  • Tips: ARI requirement, goal-edit for descriptions, [text](url) note with 280-char budget callout

via LD Research 🤖


Open in Devin Review

johnblythe and others added 5 commits June 29, 2026 17:18
Resolves the user in Atlas, finds their goals, gathers evidence from GitHub PRs, Jira, Slack, and Atlas, then drafts a scored status update (on_track/at_risk/off_track) ready to post via 'ld atlas goal-update'. Registered in skills.json and README.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Code-review follow-ups on PR #91: remove goal-update-delete references (the verb was dropped from the CLI); correct the example char-count labels (160, not 149) since the skill itself preaches counting; lower people lookup --first to 100 to stay under the server page cap.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
skills.json is generated by scripts/generate_catalog.py; the hand-edited entry diverged (stray tags, field order). Regenerated from SKILL.md frontmatter so the catalog --check passes.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Three fixes from agent feedback:

- Use metricTargets[].node.ari (not node.id) for --metric; both bare UUID and base64 global ID return a cryptic 400

- Add ld atlas goal-edit to Required tools (edit name/description without leaving the terminal)

- Document [text](url) link support in update text and note it counts toward the 280-char budget

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@johnblythe johnblythe requested a review from a team as a code owner June 30, 2026 18:08
@johnblythe johnblythe requested a review from alohaninja June 30, 2026 18:08

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 1 additional finding.

Open in Devin Review

@github-actions

Copy link
Copy Markdown

Skill eval results

Skill Before After Δ
agentcontrol/configs-create 100/100 (4/4) 75/100 (3/4) -25
agentcontrol/configs-update 80/100 (4/5) 80/100 (4/5) no change
agentcontrol/configs-variations 80/100 (4/5) 80/100 (4/5) no change
agentcontrol/tools 75/100 (3/4) 75/100 (3/4) no change
feature-flags/launchdarkly-flag-command - 100/100 (3/3) new
feature-flags/launchdarkly-flag-create 100/100 (3/3) 100/100 (3/3) no change

Only suites whose source actually changed since their last recorded score were re-run. Soft-failing while we stabilise the baseline.

- ARI note: auto-normalization can silently fall through if base64 unpadded or wrong shape; ARI from node.ari is only guaranteed format
- Remove unverified score defaults (85/55/20); replace with instruction to always pass --score explicitly
- Prerequisites: add goal-edit with link support mention
@johnblythe johnblythe requested a review from monsagri June 30, 2026 18:37

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Devin Review found 1 new potential issue.

View 2 additional findings in Devin Review.

Open in Devin Review

Comment thread README.md
Comment on lines +76 to +80
### OKRs & Planning

| Skill | Description |
|-------|-------------|
| `okr-factory` | Automate monthly/bi-weekly OKR check-ins: find your Atlas goals, gather evidence from PRs/Jira/Slack, draft a scored status update (🟢/🟠/🔴), and post it with your approval |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 New skill listed under plugin installation instructions instead of the skill catalog section

The new "OKRs & Planning" heading is placed as a ### subsection under "Install as a Claude Code Plugin" (README.md:76) instead of under the "Available Skills" section, so readers will not find this skill in the catalog where all other skill categories are listed.

Impact: Users browsing the Available Skills section will not see the OKR Factory skill; it appears only under Claude Code Plugin installation steps where it doesn't belong.

Heading hierarchy shows the misplacement

The README heading structure is:

## Available Skills (line 9)
  ### Feature Flags (line 11)
  ### AgentControl (line 22)
  ### Experiments (line 37)
  ### Metrics (line 43)
## Install as a Claude Code Plugin (line 51)
  ### Onboarding (line 67)  ← makes sense here (plugin setup)
  ### OKRs & Planning (line 76)  ← WRONG: not related to plugin install
## Install as a Cursor Plugin (line 82)

All other skill categories (Feature Flags, AgentControl, Experiments, Metrics) live under ## Available Skills at README.md:9. The Onboarding section being under the plugin install section is contextually appropriate since those skills help with plugin setup. OKR Factory is a general-purpose workflow skill with no relation to plugin installation. It should be a ### subsection under ## Available Skills, placed before ## Install as a Claude Code Plugin.

Prompt for agents
The new OKRs & Planning section (lines 76-81 in README.md) is placed under the heading hierarchy of '## Install as a Claude Code Plugin' (line 51). It should instead be placed under '## Available Skills' (line 9), alongside the other skill category subsections (Feature Flags, AgentControl, Experiments, Metrics). Move the entire block (lines 76-81) to just before line 51 (before '## Install as a Claude Code Plugin'), so it appears as the last skill category under Available Skills.
Open in Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

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