feat(assessment): add the review band of attempt signals and the disclosed collector

This commit is contained in:
shira committed 2026-10-08 23:04:57 +03:00
1 parent 68286af8b7
commit b3c6dc870b
124 files changed
+13522 -633

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
// Command assessment-review prints the stored manual-review band of one
// assessment attempt for an operator and records the read in an audit table.
// It changes nothing else.
package main
import (
"context"
"fmt"
"os"
"os/signal"
"syscall"
"lincodex/backend/internal/adapter/primary/cli/assessmentreview"
)
func main() {
os.Exit(run())
}
func run() int {
ctx, stop := signal.NotifyContext(context.Background(), os.Interrupt, syscall.SIGTERM)
defer stop()
if err := assessmentreview.Run(ctx, os.Args[1:], os.LookupEnv, os.Stdout); err != nil {
_, _ = fmt.Fprintf(os.Stderr, "assessment-review: %v\n", err)
return 2
}
return 0
}