removedInput schema / properties / filename
Removed value: -{
- "title": "Filename",
- "type": "string"
-}
changedInput schema / properties / filter_high / default
Previous value: -2000New value: +5000
removedInput schema / properties / sampling_rate
Removed value: -{
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "title": "Sampling Rate"
-}
changedInput schema / properties / segment_duration / default
Previous value: -nullNew value: +1
addedInput schema / properties / signal_id
Added value: +{
+ "title": "Signal Id",
+ "type": "string"
+}
changedInput schema / required
Previous value: -[
- "filename"
-]New value: +[
+ "signal_id"
+]
addedOutput schema / $defs
Added value: +{
+ "SpectralPeak": {
+ "description": "A single peak in the frequency spectrum.",
+ "properties": {
+ "frequency_hz": {
+ "description": "Peak frequency in Hz",
+ "title": "Frequency Hz",
+ "type": "number"
+ },
+ "magnitude": {
+ "description": "Peak magnitude (linear)",
+ "title": "Magnitude",
+ "type": "number"
+ },
+ "magnitude_db": {
+ "description": "Peak magnitude in dB (relative to max)",
+ "title": "Magnitude Db",
+ "type": "number"
+ },
+ "note": {
+ "default": "",
+ "description": "Optional annotation (e.g. harmonic label)",
+ "title": "Note",
+ "type": "string"
+ }
+ },
+ "required": [
+ "frequency_hz",
+ "magnitude",
+ "magnitude_db"
+ ],
+ "title": "SpectralPeak",
+ "type": "object"
+ }
+}
changedOutput schema / description
Previous value: -"Envelope analysis result - optimized for chat display."New value: +"Unified envelope-spectrum analysis result (U9 merge).\n\nCompact summary: top peaks + the band ACTUALLY used — no full arrays.\nThe envelope FFT is computed after mean subtraction + Hann window\n(audit 2.8 fix), so low-frequency (FTF-zone) peaks are not buried by\nDC leakage."
changedOutput schema / properties / diagnosis / description
Previous value: -"Interpretive diagnosis text with bearing frequency analysis"New value: +"Peak listing and comparison guidance. No reference bearing frequencies are assumed — compare against frequencies computed for the actual bearing and shaft speed."
changedOutput schema / properties / filter_band / description
Previous value: -"Bandpass filter band (Hz)"New value: +"Bandpass filter band (Hz) actually used — echoed from the request"
changedOutput schema / properties / num_samples / description
Previous value: -"Number of samples in envelope signal"New value: +"Number of samples analyzed (envelope length)"
removedOutput schema / properties / peak_frequencies
Removed value: -{
- "description": "Top peak frequencies (Hz)",
- "items": {
- "type": "number"
- },
- "title": "Peak Frequencies",
- "type": "array"
-}
removedOutput schema / properties / peak_magnitudes
Removed value: -{
- "description": "Top peak magnitudes",
- "items": {
- "type": "number"
- },
- "title": "Peak Magnitudes",
- "type": "array"
-}
addedOutput schema / properties / signal_id
Added value: +{
+ "description": "Signal identifier used",
+ "title": "Signal Id",
+ "type": "string"
+}
removedOutput schema / properties / spectrum_preview_freq
Removed value: -{
- "default": [],
- "description": "First 100 freq points (Hz)",
- "items": {
- "type": "number"
- },
- "title": "Spectrum Preview Freq",
- "type": "array"
-}
removedOutput schema / properties / spectrum_preview_mag
Removed value: -{
- "default": [],
- "description": "First 100 magnitude points",
- "items": {
- "type": "number"
- },
- "title": "Spectrum Preview Mag",
- "type": "array"
-}
addedOutput schema / properties / top_peaks
Added value: +{
+ "description": "Top peaks in the envelope spectrum, sorted by frequency",
+ "items": {
+ "$ref": "#/$defs/SpectralPeak"
+ },
+ "title": "Top Peaks",
+ "type": "array"
+}
changedOutput schema / required
Previous value: -[
- "num_samples",
- "sampling_rate",
- "filter_band",
- "peak_frequencies",
- "peak_magnitudes",
- "diagnosis"
-]New value: +[
+ "signal_id",
+ "num_samples",
+ "sampling_rate",
+ "filter_band",
+ "top_peaks",
+ "diagnosis"
+]