Skip to content

feat(miner-hands): shared subprocess redaction/env-allowlist helper in gittensory-engine #4284

Description

@JSONbored

Generalizes the CLI-subprocess driver's (#4266, this batch) reuse of redactSecrets and SUBSCRIPTION_CLI_ENV_ALLOWLIST/subscriptionCliEnv into a proper, engine-hosted, reusable helper — rather than every future subprocess-spawning driver (or anything else in gittensory-miner) copy-pasting the pattern from src/selfhost/ai.ts by hand. Today that pattern lives entirely in src/selfhost/ai.ts (SUBSCRIPTION_CLI_ENV_ALLOWLIST at line 349, subscriptionCliEnv at line 391, redactSecrets at line 724, resolveSubscriptionCliPath at line 375) — none of it is exported from packages/gittensory-engine, so #4266's driver either duplicates it or (better, and what this issue is for) the shared bits get promoted to the engine package where both src/selfhost/ai.ts and the new driver can depend on the same source of truth.

Deliverables

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    gittensor:featureGittensor-scored feature linked to a feature issue — scores a 0.25x multiplier.gittensor:priorityMaintainer-selected Gittensor priority — scores a 1.5x multiplier.help wantedExtra attention is needed

    Projects

    Status
    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions