Skip to content

fix(discover): more representative goal set, drop the no-plan card - #76

Closed
enricopiovesan wants to merge 1 commit into
mainfrom
discover-goals
Closed

fix(discover): more representative goal set, drop the no-plan card#76
enricopiovesan wants to merge 1 commit into
mainfrom
discover-goals

Conversation

@enricopiovesan

Copy link
Copy Markdown
Collaborator

Feedback on #75: the three example goals weren't representative, and the "no structural path" card read as broken.

Change

Before After
Score the uncertainty of a reporting period Score how uncertain a reporting period issummary.aggregate → uncertainty.score (2-node chain; the blurb no longer claims 3, since period.finalize can't be forced into it)
Price a small quote Price a quotecore.calculate-price@1.2.0
A goal with no structural path (read as broken) Check a card numbervalidation.validate-luhn@1.2.0, tangible, executes fine

All three now produce a real successful run. The renderNoPlan path stays as defensive handling if a live goal ever returns zero candidates.

Note on chain depth

I scanned all 117 structurally-pure capabilities: the deepest real composable chains in the registry today are 3 nodes (period → summary → uncertainty, traverse-starter.process → summarize → visual.parameter-map), and only the first is pure_read-classified. Deeper/richer multi-capability examples need Traverse to publish capabilities that compose more deeply — tracked separately. Designing a good multi-capability showcase workflow is the next conversation.

Verification

npm test 5/5 (+1 networked skip) · CHECK_REGISTRY green · build clean · test:e2e 2/2 (chain goal + validate-luhn) · all three goals browser-verified to terminal: succeeded.

🤖 Generated with Claude Code

Feedback: the examples weren't representative and the "no structural path"
card read as broken. Replace the three goals with ones that all produce a
real successful run:

- "Score how uncertain a reporting period is" — the summary.aggregate ->
  uncertainty.score chain (the only pure_read multi-node chain that exists
  in the registry today; period.finalize can't be forced into it since
  summary's inputs are already satisfiable from the facts, so the blurb no
  longer over-claims three).
- "Price a quote" — core.calculate-price@1.2.0.
- "Check a card number" — validation.validate-luhn@1.2.0 (tangible, executes
  in-browser fine despite a local-only preferred target).

The no-plan renderNoPlan path stays as defensive handling if a live goal
ever returns zero candidates. E2E: the no-plan spec is replaced by a
validate-luhn plan+execute spec.

npm test 5/5 (+1 skip); CHECK_REGISTRY green; build clean; test:e2e 2/2;
all three goals browser-verified to terminal: succeeded.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
enricopiovesan added a commit that referenced this pull request Sep 10, 2026
…o-plan card (#77)

Feedback: the examples weren't representative and the no-plan card read as
broken. New three-goal set, all real:

- "Price a quote" — core.calculate-price@1.2.0 (goal 1, auto-plans on load).
- "Review a document for approval" — doc-approval.analyze -> doc-approval.recommend,
  a named-reference-app 2-capability governed chain (document text -> extracted
  type/parties/amounts/confidence -> approve-or-route recommendation + rationale).
  Verified: browserLocalPlan chains analyze -> recommend from a {document} fact.
  EXECUTES once doc-approval.analyze@1.4.0 / recommend@1.4.0 land on the live
  catalog with a pure_read risk class (traverse-framework/registry#424, #425);
  until then this card plans and then fails closed on the authorization check.
- "Check a card number" — validation.validate-luhn@1.2.0.

Dropped: the abstract uncertainty.score chain and the no-plan card. renderNoPlan
stays as defensive handling for a live goal that returns zero candidates.

Supersedes the still-open #76 (same intent, better multi-cap example).
E2E updated: goal-1 (price) + luhn plan+execute; doc-approval spec added when
the registry PRs merge. npm test 5/5 (+1 skip), test:e2e 2/2, build clean.

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
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