From 759a37fbeb41f6476a39b9ad34a4020680d19802 Mon Sep 17 00:00:00 2001 From: TheFlow Date: Wed, 8 Oct 2025 00:03:12 +1300 Subject: [PATCH] legal: add Apache 2.0 copyright headers and NOTICE file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add copyright headers to 5 core service files: - BoundaryEnforcer.service.js - ContextPressureMonitor.service.js - CrossReferenceValidator.service.js - InstructionPersistenceClassifier.service.js - MetacognitiveVerifier.service.js - Create NOTICE file per Apache License 2.0 requirements This strengthens copyright protection and makes enforcement easier. Git history provides proof of authorship. No registration required for copyright protection, but headers make ownership explicit. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- NOTICE | 16 ++++++++++++++++ src/services/BoundaryEnforcer.service.js | 16 ++++++++++++++++ src/services/ContextPressureMonitor.service.js | 16 ++++++++++++++++ src/services/CrossReferenceValidator.service.js | 16 ++++++++++++++++ .../InstructionPersistenceClassifier.service.js | 16 ++++++++++++++++ src/services/MetacognitiveVerifier.service.js | 16 ++++++++++++++++ 6 files changed, 96 insertions(+) create mode 100644 NOTICE diff --git a/NOTICE b/NOTICE new file mode 100644 index 00000000..3a3c8396 --- /dev/null +++ b/NOTICE @@ -0,0 +1,16 @@ +Tractatus AI Safety Framework +Copyright 2025 John G Stroh + +This product includes software developed by John G Stroh. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this software except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. diff --git a/src/services/BoundaryEnforcer.service.js b/src/services/BoundaryEnforcer.service.js index 81e70ea3..1749833f 100644 --- a/src/services/BoundaryEnforcer.service.js +++ b/src/services/BoundaryEnforcer.service.js @@ -1,3 +1,19 @@ +/* + * Copyright 2025 John G Stroh + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /** * Boundary Enforcer Service * Ensures AI never makes values decisions without human approval diff --git a/src/services/ContextPressureMonitor.service.js b/src/services/ContextPressureMonitor.service.js index bd0a5787..62e23a63 100644 --- a/src/services/ContextPressureMonitor.service.js +++ b/src/services/ContextPressureMonitor.service.js @@ -1,3 +1,19 @@ +/* + * Copyright 2025 John G Stroh + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /** * Context Pressure Monitor Service * Detects conditions that increase AI error probability diff --git a/src/services/CrossReferenceValidator.service.js b/src/services/CrossReferenceValidator.service.js index b104b480..12003c5e 100644 --- a/src/services/CrossReferenceValidator.service.js +++ b/src/services/CrossReferenceValidator.service.js @@ -1,3 +1,19 @@ +/* + * Copyright 2025 John G Stroh + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /** * Cross-Reference Validator Service * Validates proposed AI actions against explicit user instructions diff --git a/src/services/InstructionPersistenceClassifier.service.js b/src/services/InstructionPersistenceClassifier.service.js index 9cd5487a..a6288488 100644 --- a/src/services/InstructionPersistenceClassifier.service.js +++ b/src/services/InstructionPersistenceClassifier.service.js @@ -1,3 +1,19 @@ +/* + * Copyright 2025 John G Stroh + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /** * Instruction Persistence Classifier Service * Classifies actions and instructions by quadrant and persistence level diff --git a/src/services/MetacognitiveVerifier.service.js b/src/services/MetacognitiveVerifier.service.js index 0ca25f3e..7214bf59 100644 --- a/src/services/MetacognitiveVerifier.service.js +++ b/src/services/MetacognitiveVerifier.service.js @@ -1,3 +1,19 @@ +/* + * Copyright 2025 John G Stroh + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /** * Metacognitive Verifier Service * Implements AI self-verification before proposing actions