- new script python/src/publish/publish.py: guards (clean tree,
HEAD exactly tagged v<version>, version not yet on PyPI,
build+twine present), then the chained python -m build (the
sdist must rebuild the wheel, SPEC 9.2.1) and twine check;
--upload sends exactly this version's sdist+wheel, credentials
stay with twine (~/.pypirc or prompt, __token__)
- spec python/src/publish/spec.md (sections 1-7) first, then
tests (13) in python/tests/test_publish.py, then code
(SPEC 6.12)
- fix release-blocking sdist defect (SPEC 9.2.1): empty
powershell/ and batch/ folders now carry README placeholders
and MANIFEST.in ships them, so an sdist installs again
- release tooling in requirements.txt; registry entry, README
row + section, CHANGELOG 0.12.0, version pins
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
- read-only: one row per marker-managed block in ~/.ssh/config (or
--config PATH): alias, hostname, user, key id (first 8 chars of
the identity's SHA256 fingerprint via ssh-keygen -lf, material
digest as fallback), and the fallback identity's name
- no managed blocks / missing config: fact + configure_ssh hint,
exit 0 always (read-only command)
- spec items 2.8 + section 13 first, then tests, then code (SPEC
6.12); 10 new tests (100 in test_gpgtools.py), registry
description, README section, CHANGELOG 0.11.0, version pins
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
- new script python/src/init/init.py: locates the
register-python-argcomplete that belongs to the running
interpreter (venv bin, NOT the resolve()d symlink target -
proven by a live pipx run), appends the managed hook block to
~/.bashrc between # BEGIN/END daedalus init markers,
idempotent; --bashrc, --dry-run; Windows notice; zsh warning
- per-script spec python/src/init/spec.md (SPEC 6.11/6.12),
tests python/tests/test_init_script.py (13; the plain
test_init.py name is taken by daedalus/tests)
- registry entry, README row + section, pyproject packaging
(daedalus.init), CHANGELOG 0.10.0, version pins
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
- configure_ssh (0.7.0): marker-managed per-host ssh client block in
~/.ssh/config, idempotent, unmanaged-alias guard (exit 11)
- store_publickey (0.8.0): on-site bootstrap mirror of send_pubkey -
run on the machine access is granted to, installs the key into the
local authorized_keys (multi-key preserving, material dedup, 700/600,
no possession check by design); shared --file PATH source (USB
stick) for both store subcommands; identity block printed before
acting (line, source, SHA-256 material digest)
- initialize (0.9.0): gnupg readiness check + install, no card
expectations; --dry-run; initialize_yubikey step 1 shares the flow
- spec-first per SPEC 6.11/6.12: gpgtools spec.md items 2.6/2.7,
4.1.5, 4.8, sections 10-12; 91 tests in test_gpgtools.py;
README/registry/CHANGELOG/version pins through 0.9.0
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
initialize_yubikey (guide steps 1-4): gnupg install fallback
(apt-get/dnf/pacman), card check, public-key fetch from the
card's URL field, idempotent gpg-agent SSH config merge,
GNUPGHOME chmod 700; --dry-run, --gnupg-home.
send_pubkey (guide steps 5-6): resolve the SSH public key from
four sources (--yubikey via gpg-agent ssh socket, --url, --fingerprint via store chain local keyring -> keys.openpgp.org
-> keyserver.ubuntu.com with fingerprint checking, --pubkey
literal), prove possession of the private half with a random
challenge signature (ssh-keygen -Y sign -U / verify) before
anything is stored, then append idempotently to the target's
authorized_keys (dedup by key material, comments ignored).
--no-verify opts out explicitly; --dry-run resolves only.
51 tests (flow via injected runner: no hardware, network, or
interactive terminal); steps 1-6 of the wiki guide
(yubikey-ssh-guide.md) are now one command each.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
- bash/daedalus_common.sh (new): the shared interface for bash scripts
(SPEC item 6.10) - a script sources its sibling helper, defines help()
(usage) and main(), and ends with daedalus_bash_dispatch "$@" which
routes help/-h/--help to help() and everything else to main()
unchanged (clear fallback errors when a script forgets either)
- completion for bash scripts (SPEC item 3.13.5.2): after a completed
script name daedalus offers --help, -h, help, prefix-filtered, written
itself on the fd-8 argcomplete protocol - no script runs on TAB;
scripts without the interface get the shell default
- bash/hello_bash.sh (new, category test): sample script through the
interface, the bash twin of hello, with tests; registry entry, README
row, CHANGELOG bullet
- tests: bash/tests/test_bash_interface.py (helper behavior, bash -n,
enforcement of the interface for every registered .sh),
test_hello_bash.py (direct and daedalus runs, help routing, SPEC 3.1
pass-through, completion probes including the user's
daedalus hello_bash<TAB><TAB> case), completions units + e2e harness
- README/INSTALL/SPEC updated (6.10, 3.13.5.2, tree, boilerplate with
shellcheck directive); autotest green (212 tests)
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
- cli.py rewritten on argparse (build_parser, REMAINDER pass-through: everything
after the script name still belongs to the script); help/errors are
argparse-rendered, exit code 2 kept for all daedalus errors
- completions.py (new): category-aware candidates for argcomplete - script names
+ unused labels narrowed by typed labels (daedalus test h<TAB> -> hello);
--path completes scripts; after a completed script name daedalus offers
nothing of its own and delegates .py scripts to their own parser via the
run_python_script child with a rewritten COMP_LINE (daedalus hello -<TAB> ->
hello's -h --help); SPEC 6.9 documents the autocomplete(parser) opt-in
- SPEC: item 1.5 reuse-first third-party policy, 3.8/3.10/3.11 argparse texts,
3.13 completion catalog, 6.9 script opt-in, 9.6 argcomplete dependency
- argcomplete>=3.3 as runtime dep (guarded import: CLI runs without it);
register-python-argcomplete line for ~/.bashrc; PYTHON_ARGCOMPLETE_OK marker
in bin/daedalus; README/INSTALL/CHANGELOG updated; hello opts in
- tests: argparse CLI suites, completer units, end-to-end argcomplete probes
through the bash fd-8 protocol and the delegation exec chain (autotest green,
coverage 97%)
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
Sanitized open-source starter: renamed to daedalus, Norse-free of
internal references, AI attribution stripped, skill merged into
AGENTS.md, CI converted to Gitea Actions. No registered scripts yet.