Documentation
¶
Index ¶
- func CustomizedDirs() []string
- func FileMode(path string) string
- func FullsendRepoFile(path string) ([]byte, error)
- func HarnessBaseURL(harnessName, commitSHA string) (string, error)
- func HarnessBaseURLWithHash(harnessName, commitSHA string) (string, error)
- func HarnessContentHash(harnessName string) (string, error)
- func HarnessNames() ([]string, error)
- func ManagedHeader(path string) string
- func PerRepoCustomizedDirs() []string
- func PerRepoShimTemplate() ([]byte, error)
- func PrependManagedHeader(path string, content []byte) []byte
- func WalkFullsendRepo(fn func(path string, content []byte) error) error
- func WalkFullsendRepoAll(fn func(path string, content []byte) error) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CustomizedDirs ¶ added in v0.8.0
func CustomizedDirs() []string
CustomizedDirs returns the set of customized/ subdirectories that should be scaffolded in a per-org .fullsend config repo.
func FullsendRepoFile ¶
FullsendRepoFile returns the content of a file from the fullsend-repo scaffold. The path is relative to the fullsend-repo root (e.g., ".github/workflows/triage.yml").
func HarnessBaseURL ¶ added in v0.18.0
HarnessBaseURL returns the raw.githubusercontent.com URL for a scaffold harness template at a specific commit SHA. The URL does not include an integrity hash fragment — use HarnessBaseURLWithHash for that.
func HarnessBaseURLWithHash ¶ added in v0.18.0
HarnessBaseURLWithHash returns the full base URL for a scaffold harness template, including the #sha256=... integrity hash fragment.
func HarnessContentHash ¶ added in v0.18.0
HarnessContentHash returns the SHA-256 hex digest of the embedded scaffold harness template. This hash matches what raw.githubusercontent.com serves for the release commit the CLI was built from.
func HarnessNames ¶ added in v0.18.0
HarnessNames returns the sorted list of harness template names available in the embedded scaffold (e.g., ["code", "fix", "triage"]).
func ManagedHeader ¶ added in v0.18.0
ManagedHeader returns the managed-by header to prepend to a scaffold file at install time, or an empty string if the file should not have one. Files that support # comments (YAML, shell) get a header pointing to the upstream source. Markdown, JSON, and .gitkeep files are skipped.
func PerRepoCustomizedDirs ¶ added in v0.8.0
func PerRepoCustomizedDirs() []string
PerRepoCustomizedDirs returns the set of customized/ subdirectories that should be scaffolded in a per-repo .fullsend/ setup.
func PerRepoShimTemplate ¶ added in v0.8.0
PerRepoShimTemplate returns the content of the per-repo shim workflow template.
func PrependManagedHeader ¶ added in v0.18.0
PrependManagedHeader prepends the managed-by header to file content. If the file starts with a shebang (#!), the header is inserted after the first line. Returns content unchanged if no header applies.
func WalkFullsendRepo ¶
WalkFullsendRepo calls fn for each file in the fullsend-repo scaffold that should be installed into a .fullsend repo. Files in layered directories (agents/, skills/, etc.) and upstream-only directories (.github/actions/, .github/scripts/) are skipped — they are provided at runtime by reusable workflows. See ADR 0035.
Types ¶
This section is empty.