chore: add copyright headers, CI tests, and sanitize gitignore

This commit is contained in:
DmitrL-dev 2026-03-31 22:13:34 +10:00
parent 5cbb3d89d3
commit d1f844235e
325 changed files with 2267 additions and 902 deletions

View file

@ -1,3 +1,7 @@
// Copyright 2026 Syntrex Lab. All rights reserved.
// Use of this source code is governed by an Apache-2.0 license
// that can be found in the LICENSE file.
// Package wasmsandbox implements SEC-009 Wasm Sandbox for Playbooks.
//
// Executes playbook actions in isolated WebAssembly modules:
@ -65,7 +69,7 @@ type ActionHandler func(ctx context.Context, params map[string]string) (string,
// SandboxStats tracks execution metrics.
type SandboxStats struct {
mu sync.Mutex
mu sync.Mutex
TotalExecutions int64 `json:"total_executions"`
Succeeded int64 `json:"succeeded"`
Failed int64 `json:"failed"`

View file

@ -1,3 +1,7 @@
// Copyright 2026 Syntrex Lab. All rights reserved.
// Use of this source code is governed by an Apache-2.0 license
// that can be found in the LICENSE file.
package wasmsandbox
import (