initstats

command
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2026 License: Apache-2.0 Imports: 16 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command initstats measures a run of physa init on a repo whose map and code must stay where they are, and prints a record of numbers that can leave it.

It runs init's three phases in the repo (--gather, --propose, --recover, each with --json), times each, and keeps their raw output under the repo's store (.git/physa/initstats/<time>), which is never committed. Then it prints the record: the repo's shape, each phase's time and exit, and init's counts and tokens. The record is built from an allowlist: only fields declared below are read, strings only from fixed sets (statuses, source names, extensions, models), so names, paths, promises, questions and map text never reach it. Read it before it leaves.

go build -o ~/bin/initstats ./tools/initstats   # once, in Physa's clone
initstats -label repo-a [-dir REPO] [-physa physa] [-agent NAME] [-since YYYY-MM-DD] [-max-prs N]
initstats -label repo-a -from REPO/.git/physa/initstats/<time>

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL