IF Commons GitHub

governance/identity

Written to: 1 requirement: 1 proved, 0 partly, 0 failing, 0 with no test recorded. 0005-repoctl-library-commit-doctor FR-004

The names a commit of any repository shares (commons repoctl 0005-repoctl-library-commit-doctor FR-004, FR-005; 0009-repoctl-config FR-004): the variable that holds the address of the session and the arguments of git that make a commit as the identity a repository's configuration names. The identity itself, the trailers and the issue reference are the repository's, in its repoctl.config.ts; nothing about one repository is here.

import { identityArgs } from "./identity.ts";
identityArgs({ name: "A B", email: "a@example.test" }); // ["-c", "user.name=A B", "-c", "user.email=a@example.test"]

Source: commons/repoctl/src/governance/identity.ts

0 of 8 exports are imported by a test of the run. A test that imports an export may not call it or check what it returns.

governance.Identitytypeno test imports it
type Identity = { readonly name: string; readonly email: string };

The name and the address a commit is made with.

governance.SESSION_VARIABLEconstno test imports it
const SESSION_VARIABLE: "CLAUDE_SESSION_URL"

The environment variable that holds the address of the session.

governance.CO_AUTHOR_VARIABLEconstno test imports it
const CO_AUTHOR_VARIABLE: "REPOCTL_CO_AUTHOR"

The environment variable that holds the line that credits the agent, where the command line does not give --co-author.

governance.identityArgsfunctionno test imports it
function identityArgs(identity: Identity): readonly string[]

The arguments of git that make the commit as the identity, whatever the checkout's own configuration says.

Identitytypeno test imports it
type Identity = { readonly name: string; readonly email: string };

The name and the address a commit is made with.

SESSION_VARIABLEconstno test imports it
const SESSION_VARIABLE: "CLAUDE_SESSION_URL"

The environment variable that holds the address of the session.

CO_AUTHOR_VARIABLEconstno test imports it
const CO_AUTHOR_VARIABLE: "REPOCTL_CO_AUTHOR"

The environment variable that holds the line that credits the agent, where the command line does not give --co-author.

identityArgsfunctionno test imports it
function identityArgs(identity: Identity): readonly string[]

The arguments of git that make the commit as the identity, whatever the checkout's own configuration says.

Titles, headings, exports, tables, columns and requirements. Esc closes.