feat(assessment): assign the demonstration category and keep result history

This commit is contained in:
shira committed 2026-10-09 00:35:13 +03:00
1 parent b3c6dc870b
commit 8277133712
61 files changed
+4338 -268

No files matched your search

@@ -0,0 +1,28 @@
// Command assessment-category-attest attests the current opening of one
// assessment category as a source of synthetic demonstration categories. It
// is for isolated synthetic stands only and changes nothing else.
package main
import (
"context"
"fmt"
"os"
"os/signal"
"syscall"
"lincodex/backend/internal/adapter/primary/cli/categoryattest"
)
func main() {
os.Exit(run())
}
func run() int {
ctx, stop := signal.NotifyContext(context.Background(), os.Interrupt, syscall.SIGTERM)
defer stop()
if err := categoryattest.Run(ctx, os.Args[1:], os.LookupEnv, os.Stdout); err != nil {
_, _ = fmt.Fprintf(os.Stderr, "assessment-category-attest: %v\n", err)
return 2
}
return 0
}