strikethrough 1.0.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ pass
strikethrough/cli.py ADDED
@@ -0,0 +1,187 @@
1
+ import argparse
2
+ import importlib.util
3
+ import os
4
+ import shutil
5
+ import site
6
+ import subprocess
7
+ import sys
8
+ import tempfile
9
+ import urllib.request
10
+ from pathlib import Path
11
+
12
+ KDPH_URL = "https://raw.githubusercontent.com/Knexyce/kdph/main/kdph.py"
13
+ OPENKP_URL = "https://raw.githubusercontent.com/Knexyce/openkp/main/openkp.py"
14
+ DECRYPT_KEY = "HallwayNetworkSolarLogitGrid"
15
+
16
+ def download(url, destination):
17
+ request = urllib.request.Request(url, headers={"User-Agent": "Strikethrough"})
18
+ with urllib.request.urlopen(request, timeout=60) as response:
19
+ Path(destination).write_bytes(response.read())
20
+
21
+ def run(command):
22
+ try:
23
+ return subprocess.run(command, check=False).returncode
24
+ except KeyboardInterrupt:
25
+ return 130
26
+ except OSError as e:
27
+ print(f"Error at '{e}'.")
28
+ return 1
29
+
30
+ def site_packages():
31
+ return Path(site.getusersitepackages()).expanduser().resolve()
32
+
33
+ def find_skywatch():
34
+ spec = importlib.util.find_spec("skywatch")
35
+ if spec is None:
36
+ return None
37
+ if spec.submodule_search_locations:
38
+ return Path(next(iter(spec.submodule_search_locations))).resolve()
39
+ if spec.origin:
40
+ return Path(spec.origin).resolve().parent
41
+ return None
42
+
43
+ def remove_skywatch():
44
+ location = find_skywatch()
45
+ if location is None:
46
+ return True
47
+ print(f"Removing existing installation at '{location}'.")
48
+ try:
49
+ shutil.rmtree(location)
50
+ return True
51
+ except OSError as e:
52
+ print(f"Error removing Skywatch at '{e}'.")
53
+ return False
54
+
55
+ def install(path=None):
56
+ destination = Path(path).expanduser().resolve() if path else site_packages()
57
+ try:
58
+ destination.mkdir(parents=True, exist_ok=True)
59
+ if not os.access(destination, os.W_OK):
60
+ print(f"Error: Installation directory is not writable: {destination}")
61
+ return 1
62
+ except OSError as e:
63
+ print(f"Installation error due to '{e}'.")
64
+ return 1
65
+ print(f"Installing Skywatch to '{destination}'...")
66
+ if not remove_skywatch():
67
+ return 1
68
+ try:
69
+ with tempfile.TemporaryDirectory(prefix="strikethrough-") as temp:
70
+ script = Path(temp) / "kdph.py"
71
+ download(KDPH_URL, script)
72
+ result = run([
73
+ sys.executable, str(script), "getpkg",
74
+ "-a", "k-auto", "-p", "skywatch", "-l", str(destination),
75
+ "-k", DECRYPT_KEY
76
+ ])
77
+ if result:
78
+ print("Skywatch installation failed.")
79
+ return result
80
+ print("Skywatch installed successfully.")
81
+ return 0
82
+ except Exception as e:
83
+ print(f"Installation error due to '{e}'.")
84
+ return 1
85
+
86
+ def decrypt_only(path):
87
+ destination = Path(path).expanduser().resolve()
88
+ destination.mkdir(parents=True, exist_ok=True)
89
+ try:
90
+ with tempfile.TemporaryDirectory(prefix="strikethrough-") as temp:
91
+ script = Path(temp) / "openkp.py"
92
+ download(OPENKP_URL, script)
93
+ result = run([
94
+ sys.executable, str(script), "-a", "k-auto",
95
+ "-p", "skywatch", "-l", str(destination),
96
+ "-k", DECRYPT_KEY
97
+ ])
98
+ if result:
99
+ print("Skywatch decryption failed.")
100
+ return result
101
+ print(f"Skywatch source extracted to '{destination}'.")
102
+ return 0
103
+ except Exception as e:
104
+ print(f"Decryption error at '{e}'.")
105
+ return 1
106
+
107
+ def skywatch(*args):
108
+ return run([sys.executable, "-m", "skywatch", *args])
109
+
110
+ def is_alive():
111
+ try:
112
+ from skywatch.console.for_admin import api
113
+ lock = api.LOCK_PATH
114
+ if not lock.exists():
115
+ print("Skywatch is not running.")
116
+ return 1
117
+ try:
118
+ pid = int(lock.read_text(encoding="utf-8").strip())
119
+ except (ValueError, OSError):
120
+ print("Error: Invalid active lock file.")
121
+ return 1
122
+ if api.process_exists(pid):
123
+ print(f"Skywatch is running at process '{pid}'.")
124
+ return 0
125
+ print("Skywatch is not running.")
126
+ return 1
127
+ except ImportError:
128
+ print("Skywatch is not installed.")
129
+ return 1
130
+ except Exception as e:
131
+ print(f"Error checking Skywatch status at '{e}'.")
132
+ return 1
133
+
134
+ def main():
135
+ parser = argparse.ArgumentParser(
136
+ prog="scli",
137
+ description="Strikethrough CLI; Skywatch's command-line interface."
138
+ )
139
+ commands = parser.add_subparsers(dest="command", required=True)
140
+ p = commands.add_parser("install", help="Install or reinstall Skywatch.")
141
+ p.add_argument("path", nargs="?", help="Optional installation directory.")
142
+ p = commands.add_parser("decrypt_only", help="Decrypt Skywatch without executing build code.")
143
+ p.add_argument("path", help="Destination directory.")
144
+ commands.add_parser("launch", help="Launch Skywatch.")
145
+ p = commands.add_parser("configure", help="Configure Skywatch.")
146
+ p.add_argument("value", help="Configuration in 'key=value' format.")
147
+ p = commands.add_parser("send", help="Send an administrative message.")
148
+ p.add_argument("message", help="Message to send.")
149
+ commands.add_parser("quit", help="Request Skywatch to quit.")
150
+ commands.add_parser("terminate", help="Directly terminate Skywatch.")
151
+ p = commands.add_parser("erase_session", help="Delete a chat session.")
152
+ p.add_argument("session_name")
153
+ p = commands.add_parser("logs", help="View an execution log.")
154
+ p.add_argument("identifier", help="Log number or 'current'.")
155
+ commands.add_parser("print_config", help="Print Skywatch configuration.")
156
+ commands.add_parser("is_alive", help="Check whether Skywatch is running.")
157
+ args = parser.parse_args()
158
+ if args.command == "install":
159
+ return install(args.path)
160
+ if args.command == "decrypt_only":
161
+ return decrypt_only(args.path)
162
+ if args.command == "launch":
163
+ return skywatch("-l")
164
+ if args.command == "configure":
165
+ return skywatch("-c", args.value)
166
+ if args.command == "send":
167
+ return skywatch("-s", args.message)
168
+ if args.command == "quit":
169
+ return skywatch("-q")
170
+ if args.command == "terminate":
171
+ return skywatch("-t")
172
+ if args.command == "erase_session":
173
+ return skywatch("-d", args.session_name)
174
+ if args.command == "logs":
175
+ if args.identifier == "current":
176
+ return skywatch("-v", "-e")
177
+ if args.identifier.isdigit():
178
+ return skywatch("-v", "-n", args.identifier)
179
+ parser.error("Log identifier must be a number or 'current'.")
180
+ if args.command == "print_config":
181
+ return skywatch("-v", "-m")
182
+ if args.command == "is_alive":
183
+ return is_alive()
184
+ return 0
185
+
186
+ if __name__ == "__main__":
187
+ raise SystemExit(main())
@@ -0,0 +1,744 @@
1
+ Metadata-Version: 2.4
2
+ Name: strikethrough
3
+ Version: 1.0.0
4
+ Summary: The command-line interface and distribution layer for Skywatch, an autonomous local AI system.
5
+ Author-email: Ayan Alam <knexyce@proton.me>
6
+ License-Expression: Apache-2.0
7
+ Project-URL: Homepage, https://github.com/Knexyce-Co/strikethrough
8
+ Project-URL: Repository, https://github.com/Knexyce-Co/strikethrough.git
9
+ Project-URL: Source, https://github.com/Knexyce-Co/strikethrough
10
+ Project-URL: Issues, https://github.com/Knexyce-Co/strikethrough/issues
11
+ Project-URL: Documentation, https://github.com/Knexyce-Co/strikethrough#readme
12
+ Project-URL: Skywatch_Disclosure, https://knexyce-co.github.io/skywatch_disclosure/
13
+ Keywords: strikethrough,skywatch,ai,artificial-intelligence,ai-agent,autonomous-agent,agentic-ai,agentic-systems,autonomous-systems,machine-learning,deep-learning,large-language-models,llm,generative-ai,local-ai,local-llm,local-inference,llm-inference,natural-language-processing,nlp,retrieval-augmented-generation,rag,model-quantization,fine-tuning,lora,qlora,artificial-general-intelligence,agi,asi,recursive-self-improvement,autonomous-software,software-engineering,software-development,developer-tools,development-automation,workflow-automation,task-automation,system-administration,system-monitoring,research,ai-research,machine-learning-research,computer-science,experimental-ai,experimental-systems,command-line,cli,python
14
+ Classifier: Development Status :: 3 - Alpha
15
+ Classifier: Environment :: Console
16
+ Classifier: Intended Audience :: Developers
17
+ Classifier: Intended Audience :: Education
18
+ Classifier: Intended Audience :: Science/Research
19
+ Classifier: Intended Audience :: System Administrators
20
+ Classifier: Operating System :: OS Independent
21
+ Classifier: Programming Language :: Python :: 3
22
+ Classifier: Programming Language :: Python :: 3.10
23
+ Classifier: Programming Language :: Python :: 3.11
24
+ Classifier: Programming Language :: Python :: 3.12
25
+ Classifier: Programming Language :: Python :: 3.13
26
+ Classifier: Programming Language :: Python :: 3.14
27
+ Classifier: Programming Language :: Python :: 3.15
28
+ Classifier: Topic :: Scientific/Engineering
29
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
30
+ Classifier: Topic :: Scientific/Engineering :: Information Analysis
31
+ Classifier: Topic :: Software Development
32
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
33
+ Classifier: Topic :: System :: Systems Administration
34
+ Classifier: Topic :: System :: Monitoring
35
+ Classifier: Topic :: Utilities
36
+ Requires-Python: >=3.10
37
+ Description-Content-Type: text/markdown
38
+ License-File: LICENSE
39
+ Requires-Dist: Jinja2
40
+ Requires-Dist: torch
41
+ Requires-Dist: torchvision
42
+ Requires-Dist: transformers
43
+ Requires-Dist: accelerate
44
+ Requires-Dist: safetensors
45
+ Requires-Dist: sentence-transformers
46
+ Requires-Dist: charset-normalizer
47
+ Requires-Dist: numpy
48
+ Requires-Dist: psutil
49
+ Requires-Dist: bitsandbytes
50
+ Requires-Dist: hqq
51
+ Requires-Dist: peft
52
+ Requires-Dist: ddgs
53
+ Requires-Dist: playwright
54
+ Requires-Dist: crawl4ai
55
+ Requires-Dist: PyGithub
56
+ Requires-Dist: argon2-cffi
57
+ Requires-Dist: requests
58
+ Requires-Dist: cryptography
59
+ Dynamic: license-file
60
+
61
+ # Project Strikethrough
62
+
63
+ > How is your day? How is your week? How is your year? Did curiosity really kill the cat? Or was it ennui of the mundane?
64
+
65
+ **Strikethrough** is the command-line interface and distribution layer for **Skywatch**, an autonomous, locally operable, recursively self-improving software system.
66
+
67
+ Strikethrough provides a convenient interface for installing, configuring, launching, monitoring, and managing Skywatch without requiring users to interact directly with its underlying Python module.
68
+
69
+ Skywatch; however, is considerably more than a background daemon.
70
+
71
+ It is designed to identify limitations, analyze its available resources, determine possible solutions, and attempt to overcome those limitations by modifying its own software, runtime, dependencies, and capabilities.
72
+
73
+ This repository documents both projects, their intended applications, and the risks associated with their operation.
74
+
75
+ ---
76
+
77
+ # Table of Contents
78
+
79
+ - 1\. Introduction to Skywatch
80
+ - 2\. What Can Skywatch Do?
81
+ - 3\. Recursive Self-Improvement
82
+ - 4\. Inference and Context Engineering
83
+ - 5\. Skywatch Runtime
84
+ - 6\. Project Strikethrough
85
+ - 7\. Installation
86
+ - 8\. CLI Reference
87
+ - 9\. Command Behavior
88
+ - 10\. Configuration
89
+ - 11\. Logs and Inspection
90
+ - 12\. Security Considerations and Dangers
91
+ - 13\. Official Disclosure
92
+ - 14\. Philosophy
93
+
94
+ ---
95
+
96
+ # 1\. Introduction to Skywatch
97
+
98
+ Skywatch is an autonomous software system designed around persistent operation, agentic workflows, and recursive self-improvement.
99
+
100
+ Unlike conventional AI assistants; which generally operate within a predetermined set of capabilities, Skywatch is designed to attempt to modify and extend the environment in which it operates.
101
+
102
+ Its intended scope of improvement includes:
103
+
104
+ - **Runtime:** Modifying and improving its own execution environment.
105
+ - **Dependencies:** Managing and improving locally installed software dependencies.
106
+ - **Model weights:** Attempting to modify accessible local model weights where needed.
107
+ - **Software:** Analyzing and modifying its own implementation.
108
+ - **Capabilities:** Developing functionality that was not originally available in its base implementation.
109
+
110
+ The defining characteristic of Skywatch is that it does not necessarily have to accept an encountered limitation as permanent.
111
+
112
+ It can attempt to understand the limitation, evaluate available resources, formulate an appropriate action, verify the proposed solution, and execute an attempt to overcome it.
113
+
114
+ This makes Skywatch both a practical autonomous software tool and an experimental platform for recursive software improvement.
115
+
116
+ # 2\. What Can Skywatch Do?
117
+
118
+ Skywatch is not exclusively an experiment in recursive self-improvement.
119
+
120
+ It has several practical applications that make it useful independently of its more ambitious architectural goals.
121
+
122
+ ## 2.1 Machine and System Maintenance
123
+
124
+ Skywatch can be applied to the maintenance of local machines and software environments.
125
+
126
+ Potential applications include:
127
+
128
+ - Software environment maintenance.
129
+ - Dependency management.
130
+ - Identifying and addressing software limitations.
131
+ - Automating maintenance workflows.
132
+ - Analyzing system behavior.
133
+ - Responding to detected operational issues.
134
+
135
+ ## 2.2 Workflow Management
136
+
137
+ Skywatch is designed to handle complex workflows involving multiple operations, decisions, and dependencies.
138
+
139
+ Potential applications include:
140
+
141
+ - Multi-stage workflow automation.
142
+ - Long-running tasks.
143
+ - Project-level task management.
144
+ - Automated development workflows.
145
+ - Persistent background operations.
146
+ - Complex task decomposition.
147
+
148
+ ## 2.3 Advanced Software Development
149
+
150
+ Skywatch can be used as an autonomous software development system.
151
+
152
+ Its intended capabilities extend beyond modifying ordinary application code.
153
+
154
+ Potential applications include:
155
+
156
+ - Building advanced software.
157
+ - Maintaining existing applications.
158
+ - Developing new functionality.
159
+ - Managing dependencies.
160
+ - Iterative software improvement.
161
+ - Modifying its own implementation.
162
+
163
+ ## 2.4 Persistent Monitoring
164
+
165
+ Skywatch's daemon architecture allows it to remain operational in the background.
166
+
167
+ This makes it suitable for applications involving persistent observation, recurring tasks, and ongoing workflows.
168
+
169
+ Rather than requiring a user to manually initiate every interaction, Skywatch can maintain an ongoing operational presence.
170
+
171
+ ## 2.5 Entirely Local Agentic Workflows
172
+
173
+ Skywatch can operate using locally available infrastructure and inference resources.
174
+
175
+ This enables deployments that prioritize:
176
+
177
+ - Local inference.
178
+ - Reduced dependence on external inference APIs.
179
+ - Greater control over accessible data.
180
+ - Locally installed dependencies.
181
+ - Persistent autonomous operation.
182
+ - Reduced recurring inference costs when local infrastructure is economical.
183
+
184
+ ## 2.6 Large-Scale Multi-Step Workflows
185
+
186
+ Skywatch is intended to handle tasks that require more than a single interaction or are constrained by a limited context window.
187
+
188
+ Its context management architecture is designed to maintain relevant information across complex and extended tasks.
189
+
190
+ Examples include:
191
+
192
+ - Large software projects.
193
+ - Extended development sessions.
194
+ - Complex dependency relationships.
195
+ - Long-running autonomous workflows.
196
+ - Persistent project understanding.
197
+
198
+ # 3\. Recursive Self-Improvement
199
+
200
+ Recursive self-improvement is the defining architectural ambition of Skywatch.
201
+
202
+ The system is designed around a recurring limitation-resolution process.
203
+
204
+ ## 3.1 The Improvement Cycle
205
+
206
+ The conceptual process is:
207
+
208
+ **Encounter → Analyze → Evaluate → Decide → Verify → Execute**
209
+
210
+ Each stage has a distinct purpose.
211
+
212
+ 1. **Encounter:** Skywatch encounters a limitation in its current capabilities or environment.
213
+ 2. **Analyze:** Skywatch investigates the limitation and attempts to understand its underlying cause.
214
+ 3. **Evaluate:** Skywatch evaluates available resources, tools, dependencies, and possible modifications.
215
+ 4. **Decide:** Skywatch determines an action intended to overcome the limitation.
216
+ 5. **Verify:** Skywatch evaluates the proposed action and attempts to establish whether it addresses the identified problem.
217
+ 6. **Execute:** Skywatch executes the selected action in an attempt to invalidate the limitation.
218
+
219
+ The process can repeat as new limitations emerge.
220
+
221
+ The objective is not simply to complete an individual task, instead to improve the system's ability to complete tasks that were previously beyond its capabilities.
222
+
223
+ ## 3.2 Capability Expansion
224
+
225
+ An important distinction is that Skywatch is not limited to improving existing functionality.
226
+
227
+ It is also designed to attempt to develop entirely new capabilities.
228
+
229
+ For example, a limitation might originate from missing functionality in the base implementation.
230
+
231
+ Rather than necessarily treating that functionality as permanently unavailable, Skywatch may attempt to develop an implementation that provides it.
232
+
233
+ The success of such attempts depends on the underlying model, available resources, permissions, environment, and implementation constraints.
234
+
235
+ ## 3.3 Theoretical Implications
236
+
237
+ Recursive self-improvement introduces risks that deserve serious consideration.
238
+
239
+ A sufficiently capable system with access to substantial computational resources and its own implementation could theoretically produce increasingly capable iterations.
240
+
241
+ At an extreme theoretical threshold, this raises questions concerning Artificial Superintelligence (ASI).
242
+
243
+ One particularly concerning hypothetical scenario resembles a Paperclip Maximizer event.
244
+
245
+ In this analogy; the objective being maximized is not the production of paperclips; instead, recursive self-improvement itself.
246
+
247
+ An inadequately constrained system pursuing such an objective could theoretically prioritize its continued improvement over other considerations.
248
+
249
+ This is a theoretical discussion, not a claim that Skywatch has achieved ASI or that such an outcome is inevitable.
250
+
251
+ **The possibility of increasingly capable recursive self-improvement should not be treated as an invitation to experimentally pursue uncontrolled outcomes.**
252
+
253
+ # 4\. Inference and Context Engineering
254
+
255
+ Skywatch incorporates techniques intended to improve inference efficiency and maintain understanding across complex workloads.
256
+
257
+ These techniques are important to making local and resource-constrained deployments practical.
258
+
259
+ ## 4.1 Model Quantization
260
+
261
+ Skywatch can work with model quantization techniques to reduce the memory requirements of local inference.
262
+
263
+ Quantization can make otherwise impractical models more accessible to hardware with limited memory capacity.
264
+
265
+ ## 4.2 KV-Cache Quantization
266
+
267
+ KV-cache quantization is another component of Skywatch's inference optimization capabilities.
268
+
269
+ Reducing KV-cache memory consumption can help manage the memory requirements associated with extended context windows.
270
+
271
+ ## 4.3 LoRA and QLoRA
272
+
273
+ Skywatch supports working with LoRA and QLoRA techniques.
274
+
275
+ These approaches enable parameter-efficient model adaptation without necessarily requiring the full computational and memory costs of conventional full-model fine-tuning.
276
+
277
+ ## 4.4 Retrieval-Augmented Generation
278
+
279
+ Skywatch uses Retrieval-Augmented Generation (RAG) as part of its context management approach.
280
+
281
+ RAG helps maintain access to relevant information when working with large and complex tasks.
282
+
283
+ Rather than relying exclusively on information currently present in the active context, relevant information can be retrieved as needed.
284
+
285
+ ## 4.5 Advanced Context Budgeting
286
+
287
+ Skywatch incorporates an advanced context budgeting formula supported by RAG.
288
+
289
+ Its purpose is to manage the available context while maintaining relevant information about ongoing tasks.
290
+
291
+ This is particularly important when dealing with:
292
+
293
+ - Large codebases.
294
+ - Extended software development sessions.
295
+ - Complex projects.
296
+ - Long-running workflows.
297
+ - Large quantities of accumulated information.
298
+
299
+ The intention is to preserve useful task understanding without treating the context window as an unlimited resource.
300
+
301
+ # 5\. Skywatch Runtime
302
+
303
+ Skywatch is the underlying runtime managed by Strikethrough.
304
+
305
+ It is implemented as a Python module and can be invoked directly.
306
+
307
+ bash
308
+
309
+ ```bash
310
+ python3 -m skywatch -h
311
+ ```
312
+
313
+ The runtime provides several operational interfaces.
314
+
315
+ | Argument | Purpose |
316
+ | --- | --- |
317
+ | `-l`, `--launch` | Launch Skywatch. |
318
+ | `-s`, `--send` | Submit an administrative message. |
319
+ | `-c`, `--configure` | Configure Skywatch. |
320
+ | `-d`, `--delete-session` | Delete a chat session. |
321
+ | `-q`, `--quit` | Request Skywatch to quit. |
322
+ | `-t`, `--terminate` | Directly terminate Skywatch at the process level. |
323
+ | `-v`, `--view` | Read a Skywatch file or execution log. |
324
+
325
+ Skywatch daemonizes itself when launched.
326
+
327
+ Consequently, launching the runtime does not require the invoking terminal to remain open.
328
+
329
+ Administrative messages can also be submitted before the daemon is running. Such messages remain pending until Skywatch launches and can intercept and process them.
330
+
331
+ Strikethrough provides a more convenient interface for these operations.
332
+
333
+ # 6\. Project Strikethrough's Interface
334
+
335
+ Strikethrough is the command-line interface and installation layer for Skywatch.
336
+
337
+ It abstracts the underlying Python runtime into a more approachable command structure.
338
+
339
+ The intended command alias is:
340
+
341
+ bash
342
+
343
+ ```bash
344
+ scli
345
+ ```
346
+
347
+ The command `strikethrough` is also usable for less ambiguity.
348
+
349
+ Strikethrough is primarily a wrapper. It is not intended to replace Skywatch's underlying runtime or independently reproduce its functionality.
350
+
351
+ Its responsibilities include:
352
+
353
+ - Installing the Skywatch runtime.
354
+ - Extracting and decrypting the runtime source.
355
+ - Launching the Skywatch daemon.
356
+ - Configuring Skywatch.
357
+ - Sending administrative messages.
358
+ - Managing daemon shutdown.
359
+ - Managing chat sessions.
360
+ - Inspecting execution logs.
361
+ - Inspecting configuration.
362
+
363
+ # 7\. Installation
364
+
365
+ Install Strikethrough using the distribution method provided by the project.
366
+
367
+ Once installed, the CLI can be invoked using:
368
+
369
+ bash
370
+
371
+ ```bash
372
+ scli
373
+ ```
374
+
375
+ Display available commands:
376
+
377
+ bash
378
+
379
+ ```bash
380
+ scli --help
381
+ ```
382
+
383
+ ## 7.1 Installing Skywatch
384
+
385
+ bash
386
+
387
+ ```bash
388
+ scli install
389
+ ```
390
+
391
+ Installs the Skywatch runtime.
392
+
393
+ A custom installation path can optionally be supplied:
394
+
395
+ bash
396
+
397
+ ```bash
398
+ scli install /path/to/skywatch
399
+ ```
400
+
401
+ ## 7.2 Decrypting Skywatch Without Running Build Code
402
+
403
+ bash
404
+
405
+ ```bash
406
+ scli decrypt_only /path/to/destination
407
+ ```
408
+
409
+ This command installs Skywatch by decrypting its raw source without executing build code.
410
+
411
+ It is intended for users who want to obtain the decrypted runtime source without initiating the build or installation execution process.
412
+
413
+ **Important:** Decrypting source without executing build code is not equivalent to verifying that the source is safe. The resulting source should still be inspected before execution.
414
+
415
+ # 8\. CLI Reference
416
+
417
+ The following commands constitute the Strikethrough interface.
418
+
419
+ | Command | Description |
420
+ | --- | --- |
421
+ | `scli install [custom_path]` | Install or reinstall the Skywatch runtime. |
422
+ | `scli decrypt_only <path>` | Decrypt and extract Skywatch source without running build code. |
423
+ | `scli launch` | Launch the Skywatch daemon. Installs Skywatch first if missing. |
424
+ | `scli configure <key=value>` | Configure Skywatch's `model.json` file. |
425
+ | `scli send <message>` | Send an administrative message to Skywatch. |
426
+ | `scli quit` | Send a quit instruction to Skywatch. |
427
+ | `scli terminate` | Forcibly terminate the Skywatch process. |
428
+ | `scli erase_session <session_name>` | Delete a chat memory session. |
429
+ | `scli logs <N\|current>` | View an execution log. |
430
+ | `scli print_config` | Print Skywatch's configuration. |
431
+ | `scli is_alive` | Check if Skywatch is alive. |
432
+
433
+ # 9\. Commands
434
+
435
+ ## 9.1 install
436
+
437
+ bash
438
+
439
+ ```bash
440
+ scli install
441
+ scli install /custom/path
442
+ ```
443
+
444
+ Installs the Skywatch runtime.
445
+
446
+ The optional argument specifies a custom installation location.
447
+
448
+ ## 9.2 decrypt\_only
449
+
450
+ bash
451
+
452
+ ```bash
453
+ scli decrypt_only /path/to/destination
454
+ ```
455
+
456
+ Decrypts and extracts the raw Skywatch source without executing build code.
457
+
458
+ This operation is separate from the regular installation process.
459
+
460
+ It is intended for source inspection and manual handling.
461
+
462
+ ## 9.3 launch
463
+
464
+ bash
465
+
466
+ ```bash
467
+ scli launch
468
+ ```
469
+
470
+ Launches the Skywatch daemon.
471
+
472
+ If Skywatch has not been installed, Strikethrough installs it first.
473
+
474
+ Skywatch daemonizes itself, allowing it to continue operating in the background.
475
+
476
+ ## 9.4 configure
477
+
478
+ bash
479
+
480
+ ```bash
481
+ scli configure key=value
482
+ ```
483
+
484
+ Configures Skywatch's `model.json` file.
485
+
486
+ The argument is supplied using a `key=value` format.
487
+
488
+ Example:
489
+
490
+ bash
491
+
492
+ ```bash
493
+ scli configure chat_engine=Qwen/Qwen3.8-27B
494
+ ```
495
+
496
+ The accepted configuration keys and values depend on Skywatch's implementation.
497
+
498
+ ## 9.5 send
499
+
500
+ bash
501
+
502
+ ```bash
503
+ scli send "Your objective goes here."
504
+ ```
505
+
506
+ Submits an administrative message to Skywatch.
507
+
508
+ The message is handled by the Skywatch daemon when available.
509
+
510
+ If Skywatch is not running, the message remains pending until the daemon launches.
511
+
512
+ This behavior is inherited from the underlying Skywatch runtime.
513
+
514
+ **Sending a message does not require Skywatch to already be running.**
515
+
516
+ ## 9.6 quit
517
+
518
+ bash
519
+
520
+ ```bash
521
+ scli quit
522
+ ```
523
+
524
+ Sends a quit instruction to the Skywatch daemon.
525
+
526
+ This is the intended way to request a normal shutdown.
527
+
528
+ ## 9.7 terminate
529
+
530
+ bash
531
+
532
+ ```bash
533
+ scli terminate
534
+ ```
535
+
536
+ Directly terminates the Skywatch process at the process level.
537
+
538
+ Unlike `quit`, this does not rely on the normal daemon shutdown instruction.
539
+
540
+ Use this command cautiously, as forcibly terminating a process can interrupt ongoing operations.
541
+
542
+ ## 9.8 erase\_session
543
+
544
+ bash
545
+
546
+ ```bash
547
+ scli erase_session session_name
548
+ ```
549
+
550
+ Deletes the specified Skywatch chat memory session.
551
+
552
+ This is intended for managing individual persistent conversation sessions.
553
+
554
+ ## 9.9 logs
555
+
556
+ bash
557
+
558
+ ```bash
559
+ scli logs 1
560
+ scli logs 5
561
+ scli logs current
562
+ ```
563
+
564
+ Displays a Skywatch execution log.
565
+
566
+ The argument accepts either:
567
+
568
+ - A numeric log identifier.
569
+ - The keyword `current`, which requests the current execution log.
570
+
571
+ ## 9.10 print\_config
572
+
573
+ bash
574
+
575
+ ```bash
576
+ scli print_config
577
+ ```
578
+
579
+ Prints Skywatch's current configuration.
580
+
581
+ This provides a convenient way to inspect the configuration stored in `model.json`.
582
+
583
+ # 10\. Configuration
584
+
585
+ Skywatch uses `model.json` as its configuration file.
586
+
587
+ Strikethrough exposes configuration through:
588
+
589
+ bash
590
+
591
+ ```bash
592
+ scli configure key=value
593
+ ```
594
+
595
+ Configuration options determine aspects of Skywatch's operation, including the settings consumed by its underlying `model.py` implementation.
596
+
597
+ To inspect the current configuration:
598
+
599
+ bash
600
+
601
+ ```bash
602
+ scli print_config
603
+ ```
604
+
605
+ Users should consult the corresponding Skywatch implementation when determining the behavior of individual configuration options.
606
+
607
+ # 11\. Logs and Inspection
608
+
609
+ Skywatch provides a mechanism for inspecting execution logs and configuration files.
610
+
611
+ Strikethrough exposes this functionality through two commands.
612
+
613
+ **View an execution log:**
614
+
615
+ bash
616
+
617
+ ```bash
618
+ scli logs current
619
+ ```
620
+
621
+ **View a numbered execution log:**
622
+
623
+ bash
624
+
625
+ ```bash
626
+ scli logs 3
627
+ ```
628
+
629
+ **Print the current configuration:**
630
+
631
+ bash
632
+
633
+ ```bash
634
+ scli print_config
635
+ ```
636
+
637
+ **Check if Skywatch is alive:**
638
+
639
+ bash
640
+
641
+ ```bash
642
+ scli is_alive
643
+ ```
644
+
645
+ Execution logs are useful for understanding runtime behavior, investigating errors, and reviewing previous execution activity.
646
+
647
+ # 12\. Security Considerations and Dangers
648
+
649
+ Skywatch is an autonomous system designed to modify software and potentially expand its own capabilities.
650
+
651
+ This introduces risks that are not necessarily present in conventional software applications.
652
+
653
+ Users should understand the implications of granting an autonomous system access to their local environment.
654
+
655
+ ## 12.1 Autonomous Software Modification
656
+
657
+ Skywatch may attempt to modify its own implementation and accessible dependencies.
658
+
659
+ Incorrect modifications can introduce software defects, instability, compatibility issues, or unexpected behavior.
660
+
661
+ Self-modification should not be assumed to be inherently safe merely because the system attempts to verify its actions.
662
+
663
+ ## 12.2 Local Environment Access
664
+
665
+ Depending on deployment and permissions, Skywatch may have access to local files, software, dependencies, and other resources.
666
+
667
+ The consequences of unintended modifications depend on the permissions granted to the process.
668
+
669
+ Users should avoid granting unnecessary privileges.
670
+
671
+ ## 12.3 Model and Dependency Integrity
672
+
673
+ Locally installed models, model weights, and software dependencies may be modified when accessible to the system.
674
+
675
+ Changes can affect model behavior, reproducibility, and software integrity.
676
+
677
+ Users should maintain backups of important resources and verify changes before relying on modified components.
678
+
679
+ ## 12.4 Persistent Operation
680
+
681
+ Skywatch is designed to run as a background daemon.
682
+
683
+ Persistent operation means that its actions may continue beyond the lifetime of the terminal session that launched it.
684
+
685
+ Users should understand how to inspect, stop, and manage the running process.
686
+
687
+ ## 12.5 Recursive Self-Improvement
688
+
689
+ The most significant theoretical risk comes from the possibility of recursive capability expansion.
690
+
691
+ A system capable of modifying its own implementation may introduce changes that affect its subsequent behavior and modification capabilities.
692
+
693
+ The consequences of increasingly capable autonomous systems are difficult to predict.
694
+
695
+ Unrestricted recursive self-improvement should not be treated as a harmless experiment.
696
+
697
+ ## 12.6 Deployment Recommendations
698
+
699
+ Users should consider the following precautions:
700
+
701
+ - Run Skywatch with only the permissions it requires.
702
+ - Maintain backups of important files and configurations.
703
+ - Inspect decrypted source before executing it.
704
+ - Understand the consequences of modifying local dependencies and model weights.
705
+ - Monitor persistent daemon activity.
706
+ - Avoid granting unrestricted access to sensitive environments.
707
+ - Maintain a reliable method of terminating the process.
708
+ - Do not assume that autonomous verification guarantees correctness.
709
+
710
+ **Users are responsible for the environments in which they deploy Skywatch and the permissions they grant it.**
711
+
712
+ # 13\. Official Disclosure
713
+
714
+ Skywatch maintains an official disclosure documenting additional considerations concerning the project.
715
+
716
+ It should be read before deploying or experimenting with the runtime.
717
+
718
+ **Official Skywatch Disclosure:**
719
+
720
+ https://knexyce-co.github.io/skywatch\_disclosure/
721
+
722
+ Our disclosure is an oversimplified, yet accurate example of what Skywatch is.
723
+
724
+ # 14\. Philosophy
725
+
726
+ Strikethrough exists to make Skywatch accessible without requiring users to manually manage its underlying runtime.
727
+
728
+ Skywatch itself represents a broader idea: software should not necessarily be limited to the capabilities present at the moment it is first executed.
729
+
730
+ A system that can identify its limitations, reason about potential improvements, and attempt to implement them introduces a different approach to autonomous software engineering.
731
+
732
+ This has practical applications in maintenance, development, monitoring, workflow automation, and local inference.
733
+
734
+ It also introduces significant theoretical and operational risks that deserve equal attention.
735
+
736
+ The intention is to explore both sides of that capability.
737
+
738
+ **Build software. Maintain systems. Overcome limitations.**
739
+
740
+ And perhaps, occasionally, question the limitations themselves.
741
+
742
+ ---
743
+
744
+ _Project Strikethrough; the interface to Skywatch._
@@ -0,0 +1,8 @@
1
+ strikethrough/__init__.py,sha256=n1bnYdeb_bNDBKASWGywTRa0Ne9hMAkal3AuVZJgovI,5
2
+ strikethrough/cli.py,sha256=-cF3ouKxdI6mCGfI-zmI9uit6PrUJ1ehZuM5c1KBnOc,6809
3
+ strikethrough-1.0.0.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
4
+ strikethrough-1.0.0.dist-info/METADATA,sha256=7jbjkA-2WrLgY1jIdL7FsXXB_u_pIlOZd3Qz7FOWzJ4,24374
5
+ strikethrough-1.0.0.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
6
+ strikethrough-1.0.0.dist-info/entry_points.txt,sha256=OtEnq3jjGIBpqETUP2CEiUa2uP1PgFrDknv3Bhp1FRo,87
7
+ strikethrough-1.0.0.dist-info/top_level.txt,sha256=7CcY-ILWa0236R9EeLcCcEp9TDmfLUhYbfW0kgRcQMg,14
8
+ strikethrough-1.0.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (84.2.1)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,3 @@
1
+ [console_scripts]
2
+ scli = strikethrough.cli:main
3
+ strikethrough = strikethrough.cli:main
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
@@ -0,0 +1 @@
1
+ strikethrough