compat

package
v2.11.1 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2026 License: Apache-2.0 Imports: 10 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

Package compat regenerates the v1 entry files (current-task.md, knowledge.md, decisions.md) as short generated indexes, so agents following v1 instructions still find their way.

Index

Constants

View Source
const GeneratedMarker = "<!-- Generated by aitk"

GeneratedMarker identifies files aitk generates and may overwrite.

Variables

This section is empty.

Functions

func EnsureGitattributes

func EnsureGitattributes(p *project.Project, dryRun bool) (bool, error)

EnsureGitattributes installs aitk's block in .gitattributes. It reports whether the file changed.

func HandWritten added in v2.1.0

func HandWritten(p *project.Project) []string

HandWritten lists generated-index paths that hold hand-written content aitk leaves alone.

func Write

func Write(p *project.Project) error

Write regenerates all compatibility indexes.

func WriteGenerated added in v2.1.0

func WriteGenerated(path string, content []byte) (bool, error)

WriteGenerated writes path only when it is absent or was generated by aitk, so hand-written files are never overwritten. It reports whether the file is aitk's (written or skipped).

Types

This section is empty.

Jump to

Keyboard shortcuts

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