layerb

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package layerb plans best-effort rewrites against token-sampling watermarks (Kirchenbauer / SynthID-Text). Inspect reports eligibility; clean rewrites.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Plan

func Plan(u domain.Unit, existing []domain.Finding, force bool, strength string) []domain.Finding

Plan emits rewrite findings for token-sampling watermark reduction. By default only files already marked by Layer A / Files are rewritten. force=true runs Layer B even when A found nothing (explicit --layer-b).

func Survey

func Survey(list []domain.Unit, byFile map[string][]domain.Finding) (recommended, optional []string)

Survey lists files eligible for Layer B. Recommended = already Layer A/Files marked. Optional = clean prose/comments that would rewrite only with --layer-b.

Types

This section is empty.

Jump to

Keyboard shortcuts

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