Skip to content

docs: refresh README to reflect shipped 0.4.x surface - #24

Merged
ForeverAngry merged 1 commit into
mainfrom
docs/refresh-readme-0.4.2
May 28, 2026
Merged

docs: refresh README to reflect shipped 0.4.x surface#24
ForeverAngry merged 1 commit into
mainfrom
docs/refresh-readme-0.4.2

Conversation

@ForeverAngry

Copy link
Copy Markdown
Owner

Documentation-only update.

  • Bump documented crate version 0.4.0 -> 0.4.2 and replace the 'Current Unreleased work' sentence with a summary of what the 0.4.x line actually shipped (budget module, dispatch hooks, context packs, bounded tool results, retry classification, repair_history, DispatchTrace recording).
  • Document the previously-missing public symbols in Key Types: ToolDispatchAction, ToolDispatchHook, RetryClass, RetryClassifier, DefaultRetryClassifier, ToolCallFingerprint, HistoryEntry, repair_history, DispatchTrace, DispatchTraceEvent, TracedAction, TracedOutcome, bound_tool_result, ContextOmissionReason, and OmittedContextItem.

No code changes. Caught during the cross-crate doc audit.

- Bump documented crate version 0.4.0 -> 0.4.2 and replace the
  'Current Unreleased work' sentence with a summary of what the 0.4.x
  line actually shipped (budget module, dispatch hooks, context packs,
  bounded tool results, retry classification, repair_history,
  DispatchTrace recording).
- Document the previously-missing public symbols in Key Types:
  ToolDispatchAction, ToolDispatchHook, RetryClass, RetryClassifier,
  DefaultRetryClassifier, ToolCallFingerprint, HistoryEntry,
  repair_history, DispatchTrace, DispatchTraceEvent, TracedAction,
  TracedOutcome, bound_tool_result, ContextOmissionReason, and
  OmittedContextItem.
Copilot AI review requested due to automatic review settings May 28, 2026 20:02
@ForeverAngry
ForeverAngry merged commit f148e9e into main May 28, 2026
14 checks passed
@github-actions github-actions Bot mentioned this pull request May 28, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Documentation-only refresh of the README to align with the shipped 0.4.x public surface. Updates the documented crate version to 0.4.2, replaces the stale "Current Unreleased work" paragraph with a description of what 0.4.x actually shipped, and extends the Key Types section to list previously-undocumented public symbols (retry classification, dispatch tracing, dispatch hooks, repair history, context omission types, and bound_tool_result).

Changes:

  • Bump documented crate version 0.4.00.4.2 and rewrite the status bullet to describe the 0.4.x release line, pointing to CHANGELOG.md.
  • Expand the src/normalizer.rs Key Types bullet to mention ToolDispatchAction and ToolDispatchHook and the hook capabilities.
  • Add new Key Types entries for src/reliability.rs, src/trace.rs, src/tool.rs::bound_tool_result, and src/context.rs omission audit types.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README.md
- [src/normalizer.rs](src/normalizer.rs): `ToolCallNormalizer`, `LfmNormalizer`, `StructuredToolCallNormalizer`, `ToolInvocation`, `ToolInvocationResult`, `BoundedToolInvocationResult`, and the dispatch helpers. These normalize LFM/MLX text markers, OpenAI Responses `function_call` output, and OpenAI Chat Completions `tool_calls` into the same dispatchable shape.
- [src/normalizer.rs](src/normalizer.rs): `ToolCallNormalizer`, `LfmNormalizer`, `StructuredToolCallNormalizer`, `ToolInvocation`, `ToolInvocationResult`, `BoundedToolInvocationResult`, `ToolDispatchAction`, `ToolDispatchHook`, and the dispatch helpers. These normalize LFM/MLX text markers, OpenAI Responses `function_call` output, and OpenAI Chat Completions `tool_calls` into the same dispatchable shape, and let callers veto, skip, or terminate dispatches via hooks.
- [src/reliability.rs](src/reliability.rs): `RetryClass`, `RetryClassifier`, `DefaultRetryClassifier`, `ToolCallFingerprint`, `HistoryEntry`, and `repair_history` for classifying tool-call failures, building deterministic invocation fingerprints, and rewriting model history so retries replace prior failed attempts instead of stacking.
- [src/trace.rs](src/trace.rs): `DispatchTrace`, `DispatchTraceEvent`, `TracedAction`, and `TracedOutcome` — the per-dispatch trace recorder consumed by `dispatch_normalized_traced` for auditing hook decisions, reservation outcomes, repairs, and final tool results.
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.

3 participants