Repository navigation
ποΈπ¨ Onboard template into SealGate CLI (cli-only) - #13
Conversation
Run `sealg init --profile cli-only` and finish the manual cleanup the onboarding step leaves behind, turning the Rust server+CLI template into a standalone CLI for sealgate.ai. Onboarding (rename + prune): - Rename sentinels: Rust-Template -> SealGate, appctl -> sealg, Miyamura80 -> Edison-Watch. - Prune HTTP API, frontend/, docs/ site, and Dockerfile; drop the http-api cargo feature and delete serve_http.rs. Manual cleanup after prune: - crates/cli: remove the now-dangling http-api feature, its optional deps (axum/tower/tower-http/app-config), the `serve` subcommand, and the dead `mod serve_http` (rustfmt could not resolve the deleted file). - rust_checks.yaml: drop the http-api-only clippy/test matrix steps (feature no longer exists). - Makefile: remove dead run/dev/docs targets; fix setup and link-check messages that referenced the server and docs site. - Remove docs-lint and jules-sync-translations workflows (docs/ gone). - knip.json: scope analysis to scripts/ after the frontend workspace entry was pruned; reformat package.json/knip.json to tabs for biome. - Refresh CLAUDE.md, README.md, and crate READMEs to describe the CLI-only shape; fix CODEOWNERS, command.rs.tpl, and bun.lock name. Verified: cargo fmt/clippy/test (workspace + cli-only matrix), knip, biome, file-length, import-boundary, ai-writing, and agent-config sync all pass. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BDavmzv8cY6ywCGr7yiqrS
|
β Qodo reviews are paused because the subscription is no longer active. Ask your workspace admin to reactivate the subscription to resume reviews. Manage billing |
`current_os()` matched `std::env::consts::OS` arm-by-arm and returned the same value, so clippy 1.98's `needless_match` rejected it under `-D warnings`. The match is an identity over `std::env::consts::OS`; return it directly. Pre-existing on `main` (the file is untouched by the onboarding change); surfaced now because `rust-toolchain.toml` pins `channel = "stable"` and CI moved from 1.94 to 1.98. Reproduced and verified green with the pinned stable toolchain. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BDavmzv8cY6ywCGr7yiqrS
|
CI fix pushed ( This is not caused by this PR β I folded the one-line, behavior-preserving fix into this PR rather than leaving CI red (the match was an identity over Generated by Claude Code |
Cargo Deny's advisories check failed on h2 0.4.13 (RUSTSEC-2026-0258: unbounded empty DATA frames, low severity), pulled transitively via reqwest -> hyper -> h2. Lockfile-only, semver-compatible bump to 0.4.19 (the advisory recommends >=0.4.16). Pre-existing transitive advisory (not introduced by this PR); newly published, so it also affects main. Workspace build verified green. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BDavmzv8cY6ywCGr7yiqrS
|
Second CI fix pushed ( Also not introduced by this PR β it's a newly-published advisory on a transitive dependency, so it affects Both original CI failures ( Generated by Claude Code |
Summary
Runs
sealg init --profile cli-onlyto turn the Rust server+CLI template into a standalone CLI for sealgate.ai, then finishes the manual cleanup the onboarding step leaves behind (dead feature code, CI matrix, Makefile targets, docs) so the repo is coherent as a pure CLI.Changes
Onboarding (rename + prune)
Rust-TemplateβSealGate,appctlβsealg,Miyamura80βEdison-Watch.frontend/,docs/site, andDockerfile; drop thehttp-apicargo feature and deleteserve_http.rs.Manual cleanup after prune
crates/cli: remove the now-danglinghttp-apifeature, its optional deps (axum/tower/tower-http/app-config), theservesubcommand, and the deadmod serve_http(the deleted file brokecargo fmt).rust_checks.yaml: drop thehttp-api-only clippy/test matrix steps (feature no longer exists β would hard-fail CI).Makefile: remove deadrun/dev/docstargets; fix the setup and link-check messages that referenced the server and docs site.docs-lintandjules-sync-translationsworkflows (only triggered ondocs/**, now gone).knip.json: re-scope analysis toscripts/after the frontend workspace entry was pruned; reformatpackage.json/knip.jsonto tabs for Biome.CLAUDE.md,README.md, and crate READMEs to describe the CLI-only shape; fixCODEOWNERS,command.rs.tpl, and thebun.lockpackage name.Testing
cargo test --workspace+ thecli-onlyfeature matrix: 35 + workspace suites green)cargo fmt/clippy,knip,biome, file-length, import-boundary, ai-writing, and agent-config-sync all pass locally.sealg call pingreturns{"pong": true}. (make ci'saudit/link-checkneed network/lychee and are left to CI.)Related Issues
Closes #
π€ Generated with Claude Code
https://claude.ai/code/session_01BDavmzv8cY6ywCGr7yiqrS
Generated by Claude Code
Summary by cubic
Turns the Rust server+CLI template into a standalone CLI for SealGate by running
sealg init --profile cli-onlyand finishing cleanup. The repo is now pure CLI: the HTTP API,frontend/,docs/, andDockerfileare gone, and theservesubcommand no longer exists.Onboarding rename
Rust-TemplateβSealGate,appctlβsealg,Miyamura80βEdison-Watch.http-apicargo feature and deletesserve_http.rs.Cleanup after prune
servesubcommand and its now-danglingaxum/tower/tower-http/app-configdeps fromcrates/cli.http-api-only clippy/test matrix steps fromrust_checks.yamland deadrun/dev/docsMakefile targets.docs-lintandjules-sync-translationsworkflows and re-scopesknip.jsontoscripts/.CLAUDE.md,README.md, crate READMEs,CODEOWNERS,command.rs.tpl, and thebun.lockpackage name for the CLI-only shape.engine::current_os()returnstd::env::consts::OSdirectly to fix clippy 1.98'sneedless_matchunder-D warnings.h2to 0.4.19 inCargo.lock(lockfile-only, semver-compatible) to clear the pre-existing transitive RUSTSEC-2026-0258 advisory.Written for commit c4e4c6e. Summary will update on new commits.