Skip to content

I1113 — Entering a directory is local, bounded and silent about the network

Keep environment entry — the direnv hook, the banner, the shell integration — local, bounded and free of build and network work, and measure it against a declared budget.

BLOCKED wave 6 · p1 · implementation profile · parallel safe

Part of two-folder-integration — A repository that adopts Majordomus gains two directories and two lines, and can give them back.

Blocked. This issue cannot start until I1112 is done. The status is derived from that, not declared.

Objective

Keep environment entry — the direnv hook, the banner, the shell integration — local, bounded and free of build and network work, and measure it against a declared budget.

Why

This runs every time a person changes directory. A second of it is a tax on every action of the day, and a network call in it turns a flaky connection into a broken shell.

Current state

The environment integration exists and its shape is described in the supplied reference. Its cost under the new model is unmeasured.

Desired state

The entry path reads cached, local state, its cost is benchmarked against a stated budget, and a regression fails a check rather than being noticed.

Scope

  • .majordomus/env
  • .ai/repo/benchmarks/rust

Out of scope

  • Any network call, any build, any repository mutation on the entry path
  • A banner that recomputes what a cache already holds

Dependencies

What waits on this

Acceptance criteria

  • The entry path performs no network request, no build and no mutation of a tracked file
  • Its cost is measured against a declared budget, cold and warm, and a regression fails the check
  • What it displays is derived from the same model every other consumer reads, not from a parallel inspection
  • A repository that has not been adopted produces no error and no noise

Validation

  • majordomus bench --check
  • bash test/run.sh

Evidence required

  • entry_budget
  • no_network_no_build

Evidence

None recorded. Every token above needs a command or an artifact behind it before this issue can be completed; narrative is refused.

Risk

Cheap on this machine is not cheap on a cold cache over a network filesystem. The budget is measured on a cold cache, and the environment it was measured on is recorded with it.

Timeline

started
verified
completed

Those three fields, the evidence above and the state of the dependencies are all the status is made of. There is no status field to disagree with them.

Canonical record: .ai/repo/project/issues/I1113.yaml. Read it back with majordomus plan show I1113.