GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - leo1394/homebrew-conven: Run only the microservices you change. Keep the rest in cluster. Explicit local orchestration with pre-start isolation checks.

BranchesTags
Open more actions menu

Latest commit

 

History

115 Commits
115 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
Formula
Formula
 
 
assets
assets
 
 
checksums
checksums
 
 
cmd
cmd
 
 
docs
docs
 
 
examples
examples
 
 
internal
internal
 
 
testdata/interactive
testdata/interactive
 
 
.gitignore
.gitignore
 
 
CHANGELOG.md
CHANGELOG.md
 
 
LICENSE
LICENSE
 
 
README-ZH.md
README-ZH.md
 
 
README.md
README.md
 
 
RELEASING-ZH.md
RELEASING-ZH.md
 
 
RELEASING.md
RELEASING.md
 
 
VERSION.txt
VERSION.txt
 
 
go.mod
go.mod
 
 
go.sum
go.sum
 
 
install.sh
install.sh
 
 
tap_migrations.json
tap_migrations.json
 
 

Repository files navigation

Conven

English | 简体中文

CI License: MIT

Conven — Run changed services locally and keep cluster dependencies connected

Safe, verifiable local service orchestration.

Run only what you change. Reach the rest through the cluster. Pass isolation checks before startup.

Conven lets you change a few services without running the entire system locally. Select the services you are working on; keep the rest in the development cluster through explicit dependency routes. Supported typed services must pass registration, listener, and runtime-configuration isolation checks before startup. Generated configuration stays outside service repositories.

  • Start less: run only the services involved in the current change.
  • Keep the real topology: mix local services with remote RPC, databases, Kafka, configuration services, and other development dependencies.
  • Check before starting: supported typed services are refused startup if registration, listener, or runtime-configuration isolation cannot be established.
  • Use any language: prepare, build, and run steps are argv arrays, not Go-specific hooks.

Why Conven

Starting an entire microservice system on a laptop is usually slow and unnecessary. Starting one service alone is faster, but then configuration, service discovery, local routing, logs, and process cleanup become a collection of project-specific scripts.

Conven turns those conventions into one reviewed workspace manifest:

flowchart LR
    M[".conven/conven.yaml"] --> P["plan + safety checks"]
    P --> R[".conven/runtime/current"]
    R --> A["local api"]
    R --> B["local rpc"]
    E["configured local endpoints"] --> A
    E --> B
    A -->|"127.0.0.1"| B
    A -->|"ktctl + remote discovery"| D["development dependencies"]
    B -->|"ktctl + remote discovery"| D
Loading

The source repositories remain the place you edit code. Runtime YAML copies, artifacts, logs, and session state live under the workspace's .conven/runtime.

Safety by design

For a classified service with kinds: [http], kinds: [rpc], or multiple listeners, Conven starts only when a trusted adapter can verify the final runtime plan:

  • remote service registration is disabled, or registration is explicitly not applicable to that server kind;
  • the service listener uses the declared scope, defaulting to a loopback IP;
  • the run argv points to Conven's guarded runtime configuration;
  • the connection creates no cluster-to-local inbound route.

If any proof is missing or ambiguous, startup fails closed. An analyzer extracts source facts, a certifier compiles them with the unique matching policy into a trusted runtime contract, and core orchestration consumes that contract without framework-specific branches. After startup, Conven also verifies listener ownership and registry changes. See the typed-service support matrix for supported frameworks, config delivery, and registries. Conven can verify the plan and observable results; it cannot prove that an arbitrary binary honors its flags.

Typed services listen on loopback by default. To let another device on the same LAN reach one specific service, opt that service into all interfaces:

services:
  portal-api-service:
    kinds: [http]
    network:
      listen: all-interfaces

Conven then enforces 0.0.0.0 for that service and prints a startup warning. This exposes every host interface, not only the LAN interface, so the host firewall still defines actual reachability. Local service routes and health checks continue to use 127.0.0.1. Omit network.listen, or set it to loopback, for the default local-only behavior. Arbitrary bind addresses are not accepted.

The equivalent per-service switches are:

conven services --listen --on portal-api-service
conven services --listen --off portal-api-service

They update .conven/conven.yaml atomically and do not restart a running process. The selected scope takes effect on the next services --start or services --restart.

Conven's built-in materializer writes generated YAML only to .conven/runtime/current/configs/<service>; it does not overwrite repository YAML. Fresh start validates saved process identity and runtime paths before cleaning current. Stop and rollback also verify PID/PGID ownership before signalling a process group. If cleanup cannot be proven complete, Conven keeps the session and blocks the next fresh start.

Local isolation is not data isolation. Local services still use the remote databases, Kafka brokers, unselected RPC clients, and background jobs present in their runtime configuration. They may write data or consume messages. Conven CLI does not isolate Kafka consumption and may join shared remote consumer groups. It does not interpret SERVICE_KAFKA_CONSUMERS_ENABLED, inject consumer switches, or require source guards. Application configuration and inherited environment variables retain their application-defined meaning. Conven never edits business source. Guard network protection is separate. Isolated topic/group routing is not yet implemented. Independent credentials, topics, and read/group ACLs are manually configured defense in depth; Conven does not write cluster ACLs.

Runner-only services with no kinds do not receive the same adapter-backed isolation guarantee. Project-defined prepare and build commands also run with the user's normal authority and may modify their working directory.

Install

Homebrew (recommended)

brew install leo1394/conven/conven

After installation, the short name works for upgrades:

brew update
brew upgrade conven

Bash

If the installed Homebrew is too old to install the Formula, build and install the published release with Bash:

curl -fsSL https://raw.githubusercontent.com/leo1394/homebrew-conven/master/install.sh | bash

This fallback requires curl, tar, and Go 1.23 or later. It verifies the source archive against the repository's published SHA256 manifest, builds Conven, and installs it to ~/.local/bin. Add that directory to PATH if prompted. Run the command again to upgrade. To choose a version or destination:

curl -fsSL https://raw.githubusercontent.com/leo1394/homebrew-conven/master/install.sh | CONVEN_VERSION=1.0.4 bash
curl -fsSL https://raw.githubusercontent.com/leo1394/homebrew-conven/master/install.sh | CONVEN_INSTALL_DIR=/absolute/bin bash

Conven supports macOS and Linux. Homebrew and install.sh install Conven only; they do not install project language runtimes or package managers. ktctl is required only when the selected environment uses that connection driver. A matching Homebrew bottle does not require Go on the client. kubectl is recommended for the fast Kubernetes API readiness probe and is required for the guarded one-time recovery from an ambiguous ktctl Pod CREATE EOF; without it, Conven uses read-only ktctl birdseye for readiness and fails closed on that recovery path. Before each managed ktctl launch, Conven requires three consecutive successful Kubernetes API probes. It reads the selected kubeconfig once into a private 0600 snapshot so the gate, recovery, and both launch attempts cannot drift to a different cluster if the source file changes. Every launch receives a unique ownership label and annotation. If ktctl exits during Pod creation with EOF, Conven retries once only when it can observe and delete resources owned by that exact attempt using UID preconditions, then confirm the exact names and UIDs are absent even if their labels change; an empty or ambiguous audit fails closed. It repeats the stability gate immediately before retrying. Managed attempts use local time and disable ktctl's namespace-wide stale-resource cleanup, so readiness checks and connection startup neither create a separate time-rectifier Pod nor delete another user's ktctl resources.

Quick start

Start from zero without a cluster

Create a local environment and inspect the available services:

cd /path/to/workspace

conven init --local
conven services --list

Pass service names directly to start local services. Use --with-dependencies to include transitive local service dependencies:

conven services --start user-svc order-svc
conven services --start order-svc --with-dependencies

By default, only explicitly selected services start. Declare the addresses required by local services as environment endpoints and map them into each consumer:

environments:
  local:
    connection:
      driver: none
    endpoints:
      postgres:
        protocol: tcp
        address: 127.0.0.1:5432

services:
  order-svc:
    path: services/order-svc
    runner:
      run: [go, run, ./cmd/order-svc]
    dependencies:
      postgres:
        env:
          DATABASE_URL: postgres://dev:dev@${dependency.address}/app

Conven checks referenced endpoints before starting a service. A sole environment is selected automatically:

conven doctor --env local
conven services --start user-svc order-svc
conven status

The Chinese local-first beginner guide contains the complete walkthrough.

Use an existing Conven workspace

If the project already commits .conven/conven.yaml:

cd /path/to/workspace

conven doctor --test
conven services --start --test portal-api-service partner-service visit-plan-mgr-service

Version 1.0 uses Manifest v3. Stop any active session before running conven workspace --migrate for a v1 or v2 workspace. Conven backs up and fully validates the manifest before replacing it atomically. If registry identity, runtime, or policy cannot be proven, migration fails without replacing the original file.

Replace the example names with values from conven services --list. In an interactive terminal you may omit the names and select services in the picker. After startup, Conven opens the Dashboard by default. Press q or Ctrl-C to detach; the services keep running. Conven services Dashboard

Stop the workspace session explicitly:

conven services --stop-all

Onboard a project

Run init from the directory containing the service repositories:

cd /path/to/workspace

conven init
conven workspace --validate
conven services --list
conven workspace --edit

conven doctor --dev
conven services --start --dev --dry-run portal-api-service partner-service
conven services --start --dev portal-api-service partner-service

init performs the initial registry scan, conservatively identifying Git repositories that are immediate children of the workspace. It initializes these files:

File Purpose
.conven/conven.yaml Canonical workspace manifest for environments, services, policies, and runtime behavior.
CONVEN-WORKSPACE-POLICY-GENERATOR-AI-SPEC.md AI-readable specification for implementing the workspace policy generator plugin.
README.md Workspace-local quick start for the generated files and Conven workflow.

Each file is created only when missing; an existing regular file is preserved. .conven/conven.yaml is the sole service inventory. init and later services --update runs perform static analysis only: they do not build or access the network. They record proven runners, listeners, registration code, bindings, and health checks, and assign the lowest unused port from 18080 to new services without renumbering existing assignments. A known framework with insufficient evidence fails the update atomically; an unsupported repository is listed under skipped repositories with a concrete reason.

For a newly discovered Go/go-zero service missing flag.Parse(), services --update offers an interactive source repair. Only y applies the edit and rescans; Enter, n, and non-interactive runs leave source unchanged. Only simple, unambiguous insertion points are supported, without reformatting. Confirmed source edits remain even if a later check fails.

services --update also synchronizes dependencies from the configured application YAML: commented/deleted bindings and their dependency routes are removed. Existing explicit routes are kept; newly matched providers default to remote in dev/test. Missing application files are reported without clearing dependencies; invalid YAML aborts the entire update. Changes take effect on the next start or restart.

Unmatched RPC bindings report the consumer, binding, application path, and Consul key while retaining remote configuration. Adding the matching provider repository lets the next update create the dependency and environment resolutions. For go-zero target-only local routes, update also repairs simple client guards if c.Rpc.DiscovType != "" to accept c.Rpc.Target != "". Each source edit is reported with its file and line; formatting is preserved and repeated updates are idempotent. Complex guards are reported without editing. Local startup preflight checks binding-dependent initialization guards against the generated target route.

When a remote dependency uses a different endpoint from the shared registry, set environments.<env>.resolutions.<service>.<dependency>.readiness to a list of exact names in that environment's connection.readiness. These named probes are scoped to the referencing remote routes; selecting the provider locally or disabling the route omits them. Consumer registry types do not determine the endpoint used by each dependency. For example, readiness: [directory-test] can reference a dedicated test registry without changing the shared registry used by other services.

Configuration sources are declared by the selected policy, not inferred from project-specific bootstrap fields. Keep custom fields and environment choices in workspace policies; multiple compatible policies require an explicit binding.

For Go/go-zero + Apollo YAML services, edit the repository configuration, run conven services --update, then conven services --start. At startup, only recognized RPC bindings absent from Apollo are filled from the repository. Existing Apollo values (including empty values) retain precedence; local routing and disabled bindings are unchanged. This does not bypass Apollo fetch failures or copy connection settings into the manifest. Set Policy config.bindingFallback.mode: disabled to opt out. Restart already-running services to apply configuration changes.

Conven supports common HTTP/RPC frameworks for Go, Spring Boot, Python, Node.js, and Bun, plus passive, Kubernetes DNS, Consul, Nacos, Eureka, and Etcd contracts. It does not infer a complete business dependency graph, organization policy, credentials, or cluster connection details. See the typed-service support matrix and service runtime configuration contract for exact boundaries and repair examples.

If the project maintains a policy generator, install it and run the sole workspace plugin or name it explicitly. Complete the workspace-specific conven-generator.json required by the generated AI specification before the first run; init does not guess environments or connection policy:

conven plugins --install ./generate-workspace-policy.py
conven plugins --run --output
conven workspace --import --edit

Conven currently bundles no project-specific plugins. workspace --import validates and replaces the complete manifest; it is not a YAML merge.

How a start works

  1. Resolve the nearest .conven/conven.yaml and selected environment.
  2. Select services, resolve every dependency edge, and build start groups.
  3. Validate local-service, endpoint, remote, and disabled routes plus isolation, runtime configuration consumption, local module replacements, and paths.
  4. Check the readiness of referenced external endpoints.
  5. Reuse or establish the environment connection and materialize runtime config.
  6. Run prepare, build, start, and health checks, verify listener ownership and registry changes, then save state and logs.

Configuration materialization order

Step 5 follows two related pipelines. Here, runtime/current/application.yaml is shorthand for a service-scoped runtime copy; the actual file lives at .conven/runtime/current/configs/<service>/application.yaml. The full Apollo replacement applies only to this guarded runtime copy and never overwrites the repository file.

The end-to-end path from the repository baseline to remote-dependency preflight is:

repository resources/application.yaml
  → full-document replacement from Apollo application.yml
  → repository fallback for recognized RPC bindings absent from Apollo
  → Conven manifest patches
  → runtime/current/application.yaml
  → Consul preflight

When Apollo application.yml supplies the runtime baseline, patches and the safety guard are applied in this order:

Apollo application.yml
  → repository binding fallback (absent keys only)
  → policy patch
  → server patch
  → services.portal-api-service.config.patches
  → dependency-routing patch
  → workspace.disabledBindings patch for bindings that exist
  → local-isolation guard
  → runtime/current

The second pipeline also defines precedence: each later patch operates on the result of the previous stage. services.portal-api-service.config.patches is a concrete example of a service-scoped manifest patch. workspace.disabledBindings requests disabling matching clients; it never creates a missing binding. This is not proof that application code supports disabling that client. Before build, the go-zero adapter checks each selected service's source for a guarded optional client or an unused configuration field. Unknown or unconditional initialization fails with the service, binding, and source location. An empty discovType alone is not a disable switch in go-zero: without a guard it falls back to direct/Etcd client initialization. Residual target, endpoints/endpints, or Etcd hosts/key in a disabled binding are rejected; remove those routes explicitly rather than supplying a dummy endpoint. Unsupported adapters cannot certify a declared disabled client. The status list shows requests, not verified capabilities. Unknown binding names are rejected; a known binding owned only by an unselected service is allowed and is not reported as verified for the selected services. The local-isolation guard enforces and verifies final listener and registration behavior, while Consul preflight checks the remote dependencies that remain enabled in the final runtime configuration.

A service exiting before readiness is reported as an initialization failure, separately from a readiness timeout. Diagnostics include the exit code, effective configuration path, and fatal log evidence from the current launch (not an earlier append-only log segment). A binding is named only when the log identifies it unambiguously. Configuration failures do not trigger automatic service restarts or VPN reconnection; the existing bounded retries apply to network preflights.

The final RPC configuration preflight also checks source-declared go-zero clients that are not disabled. Required clients must have a complete Consul, direct, or Etcd route; an empty configuration is allowed only for a proven optional/unused client. Endpoint YAML spelling must match the local go-zero implementation (endpints in some forks), rather than passing a key that the service ignores. This check reads module metadata with go mod edit -json without rewriting the file or fetching dependencies. Version-specific, ambiguous, or remote go-zero replacements cannot certify an endpoint YAML key and fail closed.

Service runtime configuration contract

Important: A typed service must accept the runtime-configuration argument declared by its adapter and actually load configuration from that path. Merely receiving, declaring, or ignoring the argument does not satisfy the Conven contract. A missing path, invalid path, or parse failure must terminate the service with a non-zero status; the service must not fall back to a repository-default configuration.

Conven does not require every language to use one hard-coded flag. Application source stays tool-agnostic and recognizes its framework-native or project-native configuration option; the manifest or policy adapts ${configDir} to argv:

Language/framework Recommended runtime option
Go/go-zero -f <runtime-config-directory>
Java/Spring Boot --spring.config.location=file:<runtime-config-directory>/
Python --config <runtime-config-file> or --config-dir <runtime-config-directory>
Node.js --config <runtime-config-file> or --config-dir <runtime-config-directory>
Dart --config <runtime-config-file> or --config-dir <runtime-config-directory>
Rust --config <runtime-config-file> or --config-dir <runtime-config-directory>

A correct implementation performs both steps: parse the argument, then load configuration from that path. Parsing it while continuing to load repository configuration is also invalid. CONVEN_CONFIG_DIR is orchestration metadata for runner hooks and the Conven process; it is not the recommended application-source integration API. See the service runtime configuration contract for complete implementations, invalid examples, and the canary-port behavioral test.

Trusted adapters inject protected host, port, and registration-disable settings last. Missing, duplicate, or conflicting settings are rejected before startup. Application code with custom registration must expose a framework-native or neutral disable switch and must not depend on Conven-specific variables. See the service runtime configuration contract for language-specific contracts and repair examples.

services --start --dry-run stops after static planning. It does not contact Apollo, establish a connection, materialize configuration, build code, start a process, or modify the runtime directory.

For a declared dependency, selection determines the route:

selected dependency      -> local address from the manifest policy
unselected dependency    -> remote discovery/configuration is preserved

The plan's Declared remote dependencies list covers manifest declarations, not every endpoint hidden in application configuration. For compatible go-zero/Consul YAML, Conven separately detects active external Consul clients and checks for a passing instance before service startup.

The manifest

Every workspace has one canonical manifest:

<workspace>/.conven/conven.yaml

It has four main parts:

Section Describes
workspace Project name and default policy
services Repository paths, runners, ports, listener scopes, health checks, and dependencies
policies Framework/config drivers, runtime overlays, routing, and isolation
environments Environment variables and optional cluster connection

A minimal runner-only workspace looks like this:

version: 3

workspace:
  name: demo

environments:
  dev:
    connection:
      driver: none

services:
  user-svc:
    path: services/user-svc
    runner:
      run: [go, run, ./cmd/user-svc]
    ports:
      http: 18080
    healthChecks:
      - type: process

This intentionally omits kinds, so it is a generic runner-only example. A typed HTTP/RPC service must reference a policy with a complete, verifiable isolation contract. See the example manifest for multiple services, dependency environments, health checks, and a ktctl connection.

Manifest v3 uses kinds, healthChecks, named registries, explicit discovery identity, providerAliases, and consumerBindings. Every kind needs a matching port, policy server route, and health check; one process may expose multiple listeners.

Commands are argv arrays. Pipes, redirects, and && are not interpreted unless you explicitly use a shell such as [sh, -c, "..."].

Daily commands

Task Command
Inspect the complete workspace state conven status
Edit the workspace manifest conven workspace --edit
Validate the workspace manifest conven workspace --validate
Migrate an older manifest conven workspace --migrate
List manifest services conven services --list
Refresh services and application dependencies conven services --update
Disable bindings (next start/restart) conven services --disable-binding pigeonRpc
Remove binding disable requests (next start/restart) conven services --enable-binding pigeonRpc
Allow LAN access for selected services conven services --listen --on SERVICE...
Restore loopback-only access conven services --listen --off SERVICE...
Validate one environment conven doctor --test
Preview a start conven services --start --test --dry-run SERVICE...
Start a local group conven services --start --test SERVICE...
Restart changed/exited services conven services --restart
Inspect the current session conven services --status
Show a log snapshot conven services --logs SERVICE...
Open the Dashboard conven services --dashboard SERVICE...
Open the Web dashboard conven services --dashboard --web
Inspect startup failures conven services --diagnose
Follow plain logs conven services --logs --tail SERVICE...
Stop selected services conven services --stop SERVICE...
Stop the workspace session conven services --stop-all
Remove saved artifacts and logs conven services --cleanup

For Spring services using --spring.profiles.active=${env}, --prod loads the base application.yaml/application.yml and overlays application-prod.yaml/ application-prod.yml when present. With no prod file, the base config is used. The manifest must declare environments.prod; Conven does not infer production connection settings.

Use --dev, --test, --prod, or --env NAME to select a declared environment. Add --namespace NAME, --context NAME, or --kubeconfig FILE when a start needs a machine-specific Kubernetes override.

Fresh --start safely rebuilds runtime/current. --restart reuses it and restarts only changed or exited services; unchanged services and a shared connection stay running. Stop preserves the current logs and generated files for inspection until the next safe fresh start.

--start and --restart also watch running services for source changes. A successful build passes preflight before controlled replacement; a failed build leaves the last-known-good process running. --stop-all stops the watcher.

After --stop-all, --cleanup removes runtime/current/artifacts and runtime/current/logs. It refuses while a session is saved and preserves runtime configs plus the shared connection log.

Logs

Conven offers two deliberately different viewers:

Mode Best for Behavior
Dashboard Live overview Fixed workspace banner, wrapped long lines, app-owned scrolling and / search, up to 10,000 retained logical lines
Plain Terminal-native search/export Normal scrollback, Command+F, pipes and redirects, up to 10,000 replayed lines before following

The Dashboard keeps workspace context, local services, disabled bindings, start time, and live logs in one view.

# Full-screen viewer; the alias below is equivalent.
conven services --dashboard
conven services --logs --dashboard

# Plain continuous stream.
conven services --logs --tail

For browser-based routes, health, correlated logs and startup failure details:

conven services --start --test --dashboard --web SERVICE...
conven services --dashboard --web  # reuse the session and its environment
conven services --diagnose         # inspect the latest startup attempt

The built-in Go server listens only on localhost; no Node installation is needed. Closing the browser leaves services running. Startup isolation evidence and current health are displayed separately. In an interactive terminal, --dashboard --web keeps the TUI logs open alongside the browser. See Web dashboard.

Example views: distinguish local services from remote dependencies in the declared topology (not live request tracing), then inspect logs with search, filters and full-screen viewing.

Conven Web dashboard: local services and remote dependency topology

Conven Web dashboard: full-screen logs with search and filters

Interactive starts and restarts open the Dashboard by default; --tail selects Plain mode. The Dashboard supports wrapped logs, scrolling, and / search. Press g or G to jump to the newest log and continue following; Home jumps to the oldest log. Press q or Ctrl-C to detach without stopping services.

Configuration and plugins

Machine-specific ktctl settings belong outside the shared manifest:

conven config ktctl.path /opt/homebrew/bin/ktctl
conven config ktctl.kubeconfig /secure/dev-kubeconfig

# Apply a default for every workspace.
conven config --global ktctl.path ktctl

Workspace values live in .conven/config; global values live in ~/.conven/config. Local values override global values. Keep kubeconfig files and credentials out of source control.

To use a different kubeconfig for each environment in the CLI or Conven Guard, explicitly enable workspace.connectionByEnvironment in the existing .conven/conven.yaml (merge these fields into your manifest):

workspace:
  connectionByEnvironment: true
environments:
  dev:
    connection:
      kubeconfig: /secure/dev-kubeconfig
  prod:
    connection:
      kubeconfig: /secure/prod-kubeconfig

This defaults to false, preserving the existing precedence of local/global ktctl.kubeconfig over environment manifest paths. When true, a nonempty environment connection.kubeconfig takes precedence over that setting; an empty path still falls back to the setting. Explicit --kubeconfig, CONVEN_KUBECONFIG, KTCTL_KUBECONFIG, and the environment's kubeconfigEnv override keep their existing higher priority. Plain KUBECONFIG remains a fallback after manifest/settings paths. Only paths are stored in the manifest, not kubeconfig contents or credentials. Disabling the opt-in restores the original priority without changing .conven/config or global settings.

Manage local Python plugins with:

conven plugins --install ./plugin.py
conven plugins --list
conven plugins --run --output
conven workspace --import
conven plugins --remove plugin

# Use the user-global plugin scope explicitly.
conven plugins --install --global ./plugin.py
conven plugins --list --global
conven plugins --global --run plugin --output
conven plugins --remove --global plugin

Workspace plugins live in .conven/plugins; global plugins live in ~/.conven/plugins. The two scopes may contain the same name. An explicit run name prefers the workspace copy and warns before falling back to global. When the workspace has exactly one plugin, the name may be omitted; multiple workspace plugins open the single selector. If none exists locally, the same selector shows global candidates, including a sole candidate. An explicitly global run requires its name. --output without a filename is passed to the plugin, whose generator convention writes application.yaml; workspace --import without a filename opens the single selector for .yaml and .yml files in the workspace root. Plugins run with the canonical workspace as their working directory. Treat them as trusted local code and review generated policy candidates before import. The grouped default list requires a workspace; outside one, use conven plugins --list --global.

Runtime layout

<workspace>/.conven/runtime/
├── .lock
├── session.json
├── connection.log
└── current/
    ├── artifacts/
    ├── configs/
    └── logs/

Workspace runtime directories and files are user-private. Conven rejects symlinked or out-of-bound cleanup targets. The only shared runtime state is connection lease metadata under ~/.conven/state/connections; business artifacts, runtime configuration, and service logs never leave the workspace.

Scope

  • Service runners are language-agnostic; automatic repository analysis covers the Go, Java, Python, Node.js, and Bun frameworks in the support matrix. Unknown repositories can still be declared explicitly as runner-only.
  • Configuration can come from a repository, Apollo, or environment variables and use YAML, properties, or environment adapters.
  • ktctl connect provides local-to-cluster reachability. Conven does not use ktctl exchange, create a reverse route, provide a service mesh, or implement preview environments.
  • Health checks and listener/registry observers prove only the current local start; Conven is not a monitoring system.
  • External dependency checks cover recognized bindings only. They are not a complete database, Kafka, background-job, or dependency readiness check.

Help and development

conven --help
conven help services
man conven

The installed manual is the authoritative reference for that Conven version. The source manual is available at docs/conven.1. Release steps are documented in RELEASING.md, and version changes are in CHANGELOG.md.

Run repository checks from the project root:

bash -n install.sh
go test ./...
go vet ./...
go build ./cmd/conven

Conven is available under the MIT License.

About

Run only the microservices you change. Keep the rest in cluster. Explicit local orchestration with pre-start isolation checks.

Topics

cloud-nativedeveloper-toolslocal-services-seamingmicroservicesservice-discoveryservice-orchestration

Resources

Readme
MIT license
Activity

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.