Skip to content

chore: keep classifier schemas out of package#3

Merged
dutifulbob merged 1 commit into
mainfrom
fix/remove-bundled-pr-schema
May 19, 2026
Merged

chore: keep classifier schemas out of package#3
dutifulbob merged 1 commit into
mainfrom
fix/remove-bundled-pr-schema

Conversation

@dutifulbob

Copy link
Copy Markdown
Member

Summary

Removes the workflow-specific PR classifier schema from localagent.
Localagent should stay generic and accept any schema path; the actual classifier schema belongs in the clawd workspace.

What Changed

  • Deleted schemas/pr-local-model-classifier.schema.json from localagent.
  • Removed schemas/** from package files.
  • Changed README/docs examples back to generic ./schema.json paths.

Testing

  • npm run check
  • Validated the real PR 80568 classifier flow using /home/bob/clawd/schemas/pr-local-model-classifier.schema.json and jq assertions for the new shape.

Risks

Low. This removes a bundled example schema only; localagent's generic --final-schema feature is unchanged.

@dutifulbob

Copy link
Copy Markdown
Member Author

Final report:

  • Removed the workflow-specific PR classifier schema from localagent.
  • Removed schemas/** from the package files.
  • Changed localagent docs/examples back to generic ./schema.json paths.
  • The actual classifier schema now lives in the clawd workspace at ~/clawd/schemas/pr-local-model-classifier.schema.json.

Validation:

  • npm run check passed.
  • GitHub Actions ci / test passed.
  • Real smoke using /home/bob/clawd/schemas/pr-local-model-classifier.schema.json passed against PR 80568 and verified the output has interest but no relevance, evidence, or metadata.

@dutifulbob dutifulbob merged commit 8acc43b into main May 19, 2026
1 check passed
@dutifulbob dutifulbob deleted the fix/remove-bundled-pr-schema branch May 19, 2026 06:20
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