Skip to content

Commit 2fa0a6d

Browse files
committed
System Touch
1 parent 5b2dea4 commit 2fa0a6d

17 files changed

Lines changed: 820 additions & 10 deletions

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ build/
4141

4242
### mirvktnbuntu ###
4343

44+
### Secrets ###
45+
psychiatry/secrets/secret.key
46+
4447
### Large logs ###
4548
logging/exceptions.log
4649
logging/archive/

README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,25 @@ Owner of Del Taco in Apple Valley, CA '95
1111
Owner of AtlAtl.phd Brand Clothing US United States
1212

1313
![Profile views](https://views.igorkowalczyk.dev/api/badge/@mearvk?style=flat)
14+
15+
---
16+
17+
## Software Authorization & Key Terms
18+
19+
This software verifies its operational authorization by checking the presence of `psychiatry/secrets/public.key` on the central GitHub repository (`github.com/mearvk/Java.Web.Server.Telnet.Front.Java.21`).
20+
21+
**If the public.key is present on GitHub**, the software is free to operate within all existing guidelines, agreements, and contracts as established by the Owner.
22+
23+
**Key Files:**
24+
- `psychiatry/secrets/public.key` — Public authorization key. Pushed to GitHub. Presence authorizes operation.
25+
- `psychiatry/secrets/secret.key` — Private key. NEVER pushed to GitHub (excluded via .gitignore). A local copy is kept exclusively by the Owner of the Software.
26+
27+
**Terms:**
28+
1. The Owner of the Software (Max Rupplin, MEARVK LLC) retains local copies of both key files at all times.
29+
2. The `secret.key` shall never be committed or pushed to any public or shared repository.
30+
3. Removal of the `public.key` from the GitHub repository constitutes a revocation of operational authorization for all installations that depend on this verification.
31+
4. All editions (Personal Executive, National, International, Free) are subject to this key verification at boot time.
32+
5. The software operates within existing guidelines, agreements, and contracts only while the `public.key` remains accessible at its canonical GitHub URL.
33+
34+
**Contact:**
35+
- Max Rupplin — mearvk@mearvk.us | mearvk@outlook.com

STRUCTURE.txt

Lines changed: 66 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,42 @@ SOURCE PACKAGES (source/)
137137
sim/
138138
InputQueue, stochastic
139139

140+
middle/
141+
MiddleDirectorServer — Port 8888; synchronizes finance and target goals across
142+
middle nodes and forwards to national NWE installations (49152).
143+
Modules loaded from configuration/middle-director-modules.xml.
144+
145+
middle/director/
146+
DirectorModule — Base interface; process() + recordTrade() + evaluateAndProcess().
147+
DirectorPersistence — CSV persistence to data/middle/director/ (trades + edition/rank).
148+
TradeEvaluator — Evaluates upward/better trades (trust + education grade).
149+
Approved immediately or held 48hrs for auditor review.
150+
EdgeSchedule — Weighted edge schedule: SHM=1, MHM=4, TAGM=6, GAGM=8, ACM=19.
151+
Locked to central NWE authority (github.com/mearvk); alteration
152+
requires valid PAT verification.
153+
DistributionLicense — Edition + immutable rank system:
154+
Personal Executive (rank 8) → National (rank 6) →
155+
International (rank 4) → Free (rank 4).
156+
Stored in MySQL distribution_license table; not alterable.
157+
PublicKeyVerifier — Boot-time check for psychiatry/secrets/public.key on GitHub.
158+
If present: software authorized to operate. Otherwise: restricted.
159+
160+
ShortHopsModule — Short-range finance hops. XML trades: Contract, Legal, Monies,
161+
Resumes, Willingness, Trades, Quits.
162+
Config: configuration/short-hops-trades.xml
163+
MediumHopsModule — Medium-range goal synchronization across regional nodes.
164+
ThoughtsAsGoalsModule — Weighted notions, formulations, rated value capture, sex trade.
165+
Config: configuration/thoughts-as-goals-trades.xml
166+
FinalMediumHopsModule — Science conclusions, postulates, rich research, grain review.
167+
IQ 120+ / PhD required for structural sign-off.
168+
Config: configuration/final-medium-hops-commodities.xml
169+
GamesAsGoalsModule — Angular math roughing sketches (.mdmd file type).
170+
IQ 150+ standard; IQ 125+ with good NationalID (trust ≥ 70).
171+
Config: configuration/games-as-goals-sketches.xml
172+
AuditorContentModule — Ethical trust codes (.CSVmd, 16 codes). Safe module —
173+
always approves after annotation. Held trades released here.
174+
Codes: source/middle/director/auditor-codes.csvmd
175+
140176
lanterna/
141177
TerminalMenu — Lanterna GUI menu on port 49200; presents bordered buttons for
142178
each service in the 49152 port series. Telnet clients connect,
@@ -168,6 +204,8 @@ DATABASE TABLES (MySQL — database N21)
168204
status_snapshots — Periodic uptime / memory / connection count.
169205
ascii_signatures — Unique binary ASCII grid per National ID; 1000-day TTL.
170206
module_loader — Audit log of all module install/unload/restart/connect actions.
207+
distribution_license — Edition flag + immutable rank (PEE=8, NDE=6, INT=4, FREE=4).
208+
Verified at boot via GitHub PAT. Not alterable at runtime.
171209
bitcoin_transactions — Bitcoin tx records with AES keys and imagograph blob.
172210
cia — Reserved: intelligence-agency integration.
173211
fbi — Reserved: law-enforcement integration.
@@ -202,10 +240,36 @@ PORTS SUMMARY
202240
49133 WeatherServer
203241
5512 AES 2.0 Compliant WebExpress
204242
6682 Bitcoin Compliant WebExpress
243+
8888 MiddleDirectorServer (finance/goal synchronization)
205244

206245

207246
LOG / DATA PATHS
208247
----------------
209-
/logging/exceptions.log — Exception persistence (directory auto-created).
210-
modules/ — Installed module files (.jar / .zip / .java source).
248+
/logging/exceptions.log — Exception persistence (directory auto-created).
249+
modules/ — Installed module files (.jar / .zip / .java source).
211250
authentication/mysql.auth.xml — MySQL credentials.
251+
data/middle/director/ — Director module trade CSVs (per-module).
252+
data/middle/director/holds/ — 48hr auditor hold records.
253+
data/distribution-edition.txt — Install-time edition selection.
254+
psychiatry/secrets/public.key — Public authorization key (pushed to GitHub).
255+
psychiatry/secrets/secret.key — Private key (NEVER pushed; .gitignored).
256+
257+
258+
AUTHORIZATION
259+
-------------
260+
At boot, PublicKeyVerifier checks psychiatry/secrets/public.key on GitHub.
261+
If present (HTTP 200): software operates within existing guidelines,
262+
agreements, and contracts. If absent: restricted mode.
263+
Owner retains local copies of both public.key and secret.key.
264+
265+
266+
CONFIGURATION FILES
267+
-------------------
268+
configuration/nwe-config.xml — Main NWE service toggles.
269+
configuration/protocol-handlers.xml — Well-known port protocol handlers.
270+
configuration/middle-director-modules.xml — Middle director module registry.
271+
configuration/edge-schedule.xml — Weighted edge schedule (locked).
272+
configuration/short-hops-trades.xml — ShortHops trade definitions.
273+
configuration/thoughts-as-goals-trades.xml — ThoughtsAsGoals trade definitions.
274+
configuration/final-medium-hops-commodities.xml — FinalMediumHops research commodities.
275+
configuration/games-as-goals-sketches.xml — GamesAsGoals .mdmd sketch config.

bash/NWE.install.sh

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,64 @@ JAR="$ROOT/jars/mysql/mysql-connector-j-9.7.0.jar"
1212
FORCE=0
1313
[[ "${1:-}" == "--force" ]] && FORCE=1
1414

15+
echo ""
1516
echo "=== NitroWebExpress Installer ==="
1617
echo "ROOT : $ROOT"
1718
echo "SRC : $SRC"
1819
echo "OUT : $OUT"
1920
echo ""
2021

22+
# ── 0. Distribution License ──────────────────────────────────────────────────
23+
echo "═══════════════════════════════════════════════════════════════════"
24+
echo " NitroWebExpress — Distribution License Setup"
25+
echo " Creator: Max Rupplin"
26+
echo " Email: mearvk@mearvk.us | mearvk@outlook.com"
27+
echo "═══════════════════════════════════════════════════════════════════"
28+
echo ""
29+
echo " This software can be installed as:"
30+
echo " 1) Personal Executive Edition — Owner of businesses (Rank 8)"
31+
echo " 2) National Distribution Edition — Full national version (Rank 6)"
32+
echo " 3) International Edition — Friendly international version (Rank 4)"
33+
echo " 4) Free Software Edition — Community edition, no PAT needed (Rank 4)"
34+
echo ""
35+
read -rp " Select edition [1/2/3/4] (default: 4): " EDITION_CHOICE
36+
EDITION_CHOICE="${EDITION_CHOICE:-4}"
37+
38+
NWE_PAT=""
39+
NWE_REGION="free"
40+
41+
if [[ "$EDITION_CHOICE" == "1" || "$EDITION_CHOICE" == "2" || "$EDITION_CHOICE" == "3" ]]; then
42+
read -rsp " Enter GitHub Personal Access Token (PAT): " NWE_PAT
43+
echo ""
44+
case "$EDITION_CHOICE" in
45+
1) NWE_REGION="personal_executive" ;;
46+
2) NWE_REGION="national" ;;
47+
3) NWE_REGION="international" ;;
48+
esac
49+
50+
# Verify PAT against github.com/mearvk
51+
echo " Verifying PAT against central repository (github.com/mearvk)..."
52+
HTTP_CODE=$(curl -s -o /dev/null -w "%{http_code}" \
53+
-H "Authorization: Bearer $NWE_PAT" \
54+
-H "Accept: application/vnd.github+json" \
55+
"https://api.github.com/repos/mearvk/Java.Web.Server.Telnet.Front.Java.21")
56+
57+
if [[ "$HTTP_CODE" == "200" ]]; then
58+
echo " ✔ PAT verified. Edition: $(echo $NWE_REGION | tr '[:lower:]' '[:upper:]')"
59+
else
60+
echo " ✗ PAT verification failed (HTTP $HTTP_CODE). Falling back to Free Software Edition."
61+
NWE_REGION="free"
62+
NWE_PAT=""
63+
fi
64+
else
65+
echo " → Free Software Edition selected."
66+
fi
67+
68+
# Store edition for Java runtime to read
69+
mkdir -p "$ROOT/data"
70+
echo "$NWE_REGION" > "$ROOT/data/distribution-edition.txt"
71+
echo ""
72+
2173
# ── 1. chmod all scripts ──────────────────────────────────────────────────────
2274
echo "[1/3] Setting executable permissions on scripts..."
2375
find "$ROOT/bash" -name "*.sh" -exec chmod +x {} \;

configuration/edge-schedule.xml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?xml version="1.0" encoding="UTF-8" ?>
2+
<!--
3+
Middle Director — Weighted Edge Schedule
4+
==========================================
5+
Defines the processing weight (priority/edge) for each director module.
6+
Higher weight = later in the pipeline, more refinement expected.
7+
8+
These weights are LOCKED to central NWE approval (github.com/mearvk).
9+
Independent/non-central NWE installations may NOT alter these values
10+
without explicit approval from the central authority via access token.
11+
12+
To modify: requires valid central NWE access token verification.
13+
-->
14+
<edge-schedule locked="true" authority="github.com/mearvk">
15+
<weight module="ShortHops" value="1"/>
16+
<weight module="MediumHops" value="4"/>
17+
<weight module="ThoughtsAsGoals" value="6"/>
18+
<weight module="GamesAsGoals" value="8"/>
19+
<weight module="AuditorContent" value="19"/>
20+
</edge-schedule>
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?xml version="1.0" encoding="UTF-8" ?>
2+
<!--
3+
Games As Goals Module — Angular Math Sketches
4+
===============================================
5+
Roughing sketches for angular math (.mdmd file type).
6+
Reviewable for composure value and trade value.
7+
8+
Submissions: IQ 150+ standard, IQ 125+ with good NationalID overall value.
9+
-->
10+
<games-as-goals>
11+
<sketch-config>
12+
<iq-standard value="150" description="Standard minimum IQ for sketch submission"/>
13+
<iq-lowered value="125" description="Lowered IQ threshold if NationalID overall value is good"/>
14+
<trust-minimum-for-lowered value="70" description="Trust level required to qualify for lowered IQ threshold"/>
15+
<filetype extension=".mdmd" description="Angular math roughing sketch file type"/>
16+
</sketch-config>
17+
18+
<trade name="AngularSketch" type="sketch"
19+
description="Roughing sketch for angular math formulation"/>
20+
<trade name="ComposureReview" type="review"
21+
description="Review of sketch for its value as composure"/>
22+
<trade name="TradeReview" type="review"
23+
description="Review of sketch for its value as trade"/>
24+
<trade name="Submission" type="submission"
25+
description="IQ-gated submission of angular math work"/>
26+
</games-as-goals>

configuration/middle-director-modules.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
<module name="FinalMediumHops" class="middle.director.FinalMediumHopsModule"
1717
description="Final medium-range hops before national module delivery"/>
1818
<module name="GamesAsGoals" class="middle.director.GamesAsGoalsModule"
19-
description="Gamified goal tracking and achievement synchronization"/>
19+
config="configuration/games-as-goals-sketches.xml"
20+
description="Angular math roughing sketches (.mdmd), IQ-gated submissions, composure and trade review"/>
2021
<module name="AuditorContent" class="middle.director.AuditorContentModule"
2122
description="Auditor content verification and goal compliance"/>
2223

psychiatry/secrets/public.key

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
A49B2C30185AA764129CB057483B29451076C291A86395B6C42938C201A84351B0695B30294862B0192A437C56B2
2+
7103B268A6495C3019A82B7436CB21095A629348B01C59A263C70A8256B34710A34759B4B27C2CC729A36481745C9
3+
5BC016B7992B0673B3463033A7A57C1CB566B96C7A0103C292882092A86193A90B72B7039880C5C9CA74344BA19C0
4+
2A336CC939300002862904B32AA3419248C241C843B5B18418850A88B8AA9CAC6A35705AAB17C3A046C89550203B
5+
5982405486C28B0654646A7A1066534A6928593278298AB444145947610C6CB376733AB30912329AB094C50A3043
6+
748310704C6750927B19702B464C3495CB03CB6A132256B27328364CC2BBA97231451873C130376C925C2438A231
7+
5C363AC125A315119B947A605A140015CC9C56BA337647C06330ACCBA4C03A50A16046951A77C67C65A4CC363277
8+
5A439A715B87101A8C99B4028801413AAC874C3419A7976B1668C62677C1110B1267692A5A49C3871200C0C36278
9+
964C15481656CCBA6B46640A2690A304215A58B970C6881182B218AB4274568801473B62BA09BA7A5954138CB215
10+
5990B3C511473399697661A2093A55355237B6661743382BC6094B627407213B78A11137B3089C14C55770245C5B
11+
A02BC2B7C5B454C1A9769B3C9844341BB167701C807CCC895984172893B7A8133A651244A180116940145538AC10
12+
62C07166B5482CB5678B3487B6560C8ACAB352194A791A996AA398A66B208CC74617CA0342326886838878B86A84
13+
9678079894452875C7B43769635B44B112B4CB5C845223883B405A8975B586288076473A95C21797B385A20234A2
14+
7765A40228309CA9C9087187AB35A0582A27C6BB3762CB776653C8A4752CC25B2C05844985730547C62C351AB613
15+
8C145413BC55B31561A7B468870982A7AA0348314C112621B5B35953A0722C546AA0417292A692A2C7A534280325
16+
0C14C4229A2AA71ACB33A73CC73B62626811B6985C311279B6B23216CCCB0CA1BBA728B202641880B87A122A0792
17+
6821142CB5163B57C709BCA124B4164441681676A90A84379B987A9B865B3B4236B664986569271C543C1A9AA2C8
18+
21B14274C3493C001B2347412560628B622081522A23C393210583198B000340099AB1B33C08164874046B61A06
19+
111825C270781A988437953686006B92C3C2213ABA34CA964C4C68561B702938C332906C2621C8A1054CC7AA42BC
20+
4BCB842340B325CA26416556BC1CC75A8170B1CA676450A0B36C87C091C5C7A11910A382A8294B059C394600C09A
21+
B39BA86591C6250917AA8C838BA3A41B667CC9330965C304891CA090518712C57B4397BCBCAC14C8085B962A5623
22+
2803CCB9BC9AC93C38B130BCB468BA6BCBCB377CC5AC037A8AA5A87B757529452817BBBC35C9A7453C93B4112CC7
23+
300762955519B36B1516A34A60BA3A30C3643CC5B97AA94425A845CA99B390089BC1A36262B548074902BC288C09
24+
A4601A848135086BA38AC194511A1BCC24B701B2C6374976722C997C23A25A394747AC3735BCB06CCBA437B7CA87
25+
A85B22A8146BB2AA3806C196417A63371900CC64366A55060A2BC555776C894B0BC36005391694CCBC50C33AA4C8
26+
A5795C6073105C3841C52A200424564AA04332909C104595BBA9875A6428781B34759B4B27C2CC729A36481745C9
27+
ACBB3C4023BCBB0CBAA6158BC86C45B9BA95CA93AA503B8BC430B824B7BB0C261A7BC371AA1B6194A30B1C4B5324
28+
C4106C1227AC39744AA4AA5BC861340B48A145C8690623B6CC7BA1BAAA01BAAA31A562CA1BA05697A5229C008B25
29+
A36768393526CA38392113337C4421ACBC8BBA7A36441315CCCA4AA5CBA8CB5790CA4BC894C2B4B2376C5AA920C8
30+
B7A8CB3B0A5093A048BCABBB30B6CC46006C42BC8CC24C03BC2C76A284534B1AA965749AB00473216853C3C0BC64
31+
3278A9C1284CC495BCC2A62C6176313C52CC162C92C3278457018CB0CC9A12B26CC696AA48A54BA50A72B8B97C2B
32+
0288827CA7920A381BC58814707CCAB069ACBB9B5A4B27C1717311746B316A3C75AA75BA3073CC0CC30CC47A13CC
33+
93AA6BCC29C35CA43949BA9BA547AC4C6CC28481A639B0B7BA8702BB2CCAB90BB91CC4C38549CA9C6AC2AC1A47BA
34+
1CCAAB2BC48AA59AA25827C7AA48CA1AA460B843105B7BB3AC7C2CA7A02BBCC46AA85188B67B547AAAB2BB4BB993
35+
85BC5AC308930C863B5AB6889BB2B1CCBC1CC2B945A46C49CC29221C42BC37BC46924BBCA2137BA65B3392CAABCC
36+
23CA27BBA6928CC92C18BA048BB45BCB0663CC6AA03CC597AB3451A07CC3BB9A4C0A4B3BA97A0A9C18BCC7C7691C
37+
9BC29A6C0CA6CA2A54AC39171C2BB1A4CCBB59CA75BC49A157CA8BC6A3AA9BA20BC1BB65A4CCBB0B4BCBC9A48BC
38+
C0AA0ACBA8B9CBB9BC7A4BC81BBBCAB5BCBA9CC89CA1AAAB01CC5CB4C894BCC1BC9B11CCA2ACBC7B3B0C773C33CC
39+
B19BB9BA1BA18BCC611BCCBB5922C0AC6649B2AA4CBB9CB1CC9BC3B1BCBA1A4BC18BB8B8A6BA4A5AC3BC5BA8A2BC
40+
C71C35CA66BA5A4A76CCA1B8BCBAA3BCC2BCB9CB18BCBB16CC29CA16541CC76CA069C1A09CB39A4BB09CA83B38A

0 commit comments

Comments
 (0)