doctor

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package doctor performs read-only health checks on the local Codex setup so users can confirm cct can see their sessions before exporting or importing. It never writes anything and never touches Codex's SQLite state DB.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Check

type Check struct {
	Status  Status
	Message string
}

Check is a single diagnostic line.

type Report

type Report struct {
	Home   codexhome.Home
	Checks []Check
}

Report is the full set of diagnostics.

func Run

func Run(home codexhome.Home) Report

Run gathers diagnostics for the given Codex home. It always returns a Report; problems are represented as warning checks rather than errors.

type Status

type Status int

Status is the result level of a single check.

const (
	StatusOK Status = iota
	StatusWarn
	StatusInfo
)

Jump to

Keyboard shortcuts

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