Ideas — Future Exploration

Speculative ideas and research directions not yet assigned to a project. Items here are possibilities, not commitments.

BODYPUMP Playlist Importer for Apple Music — use Selenium to turn a numbered release track list into an Apple Music playlist, with AI-assisted repair of changed web locators and local validation before persisting any repair.

AI Operational Safety Rules — persistent context defining authorised means, least-destructive defaults, non-transitive delegation, high-impact approval and the controls needed to prevent goal pursuit from expanding into unauthorised actions.

Ansible Playbooks in Notes / Git-backed Updates

Store Ansible playbooks in the notes system so an agent can read, update, and redeploy them centrally without needing filesystem access to the repo. Two approaches worth exploring:

Notes as source of truth: store playbooks as codeblocks in notes; agent edits notes directly and a sync script pushes to the filesystem before running. Clean but diverges from git history.
Git-backed: agent clones the ansible repo, edits files, commits and pushes. Notes hold documentation/reference only. Keeps full git history and works with existing tooling. Probably the better approach — could trigger via a runnable sheet.

Concept Factorisation & Hierarchical Indices

ideas/concept-factorisation — pre-design note. Making curated-hypertext retrieval scale via two navigational layers: a hierarchical index (table of contents / location) and a concept index (back-of-book / composition) built by matching-pursuit decomposition of note embeddings. Keeps similarity search confined to extraction and unknown-frontier discovery. Feeds the Envoy POC / Medium write-up.

Spectrogram Analysis of Trading Data

→ Feasibility assessment with prior work, data-granularity analysis and references: ideas/spectrogram-trading.

Concept: Apply spectrogram (short-time Fourier transform or wavelet transform) to price/volume time-series to expose periodic structure in the frequency-time plane, then feed the resulting 2-D image to a pattern-recognition model.

Motivation: Market data has multi-scale cyclic behaviour (intraday rhythms, weekly patterns, regime changes) that is largely invisible to scalar technical indicators. A spectrogram converts these into spatial features that convolutional networks are well-suited to detect.

Suggested Approach

• Compute STFT (or CWT) over a sliding window of a price or return series. Output: 2-D array (frequency × time).

• Treat spectrogram tiles as images — normalise, optionally log-scale the magnitude.

• Feed to a CNN (or ANN with even convolutions) trained to predict direction, regime, or risk level.

• Even (symmetric) convolution kernels preserve phase information and avoid directional bias — worth exploring as an inductive bias for this domain.

Technical Notes

• Python: scipy.signal.stft or pywt (CWT). Visualisation via matplotlib.pyplot.specgram.

• Label generation: forward returns, volatility regimes, or labelled trend/range periods.

• Consider multi-channel input: price, volume, spread each as a separate spectrogram channel.

• Risk of lookahead bias: ensure STFT window only uses past data relative to the label timestamp.

Related Areas

• Wavelet coherence for pairs/correlation trading.

• Audio ML literature (spectrogram CNNs for speech/music) is directly applicable — large body of prior art to draw on.

• Could integrate with Envoy for automated periodic analysis delivery.

WebDAV as Token Store for API Authentication

Song Vectorisation (Audio + Lyrics)

ideas/song-vectorisation — embed songs via audio (OpenL3/MERT-style) and lyric vectors, kept separately addressable rather than fused, so nearest-neighbour search and song maths (analogies, blends) are both possible. Lyric side could reuse the concept-factorisation matching-pursuit approach for interpretable axes. Prompted by seeking more melancholy 80s piano/folk-rock (Hornsby, Henley).

Use WebDAV (already authenticated via Basic Auth) as a token distribution and rotation mechanism for APIs and services — including potentially MCP server authentication.

created 2026-05-31  ·  updated 2026-07-25  ·  version 5