Commit Graph

1211 Commits

Author SHA1 Message Date
OpenAI
2a8a31bcbc nwnss: import ZLSS salvage dependency runtime 2026-06-19 11:11:42 +02:00
OpenAI
03aa319381 nwnss: fix salvage free-space work callback cast 2026-06-19 10:50:50 +02:00
OpenAI
24d1b29d4e nwnss: import NSS salvage purge runtime 2026-06-19 10:47:36 +02:00
Mario Fetka
34ba154a87 tests: use ncpfs names for libncp smokes 2026-06-19 10:28:14 +02:00
Mario Fetka
ca180f32c7 nwnss: keep trustees inside metadata xattr 2026-06-19 10:21:51 +02:00
OpenAI
f3b2291a09 nwnss: enable OtherFS XATTR smoke roundtrip 2026-06-19 10:01:42 +02:00
OpenAI
91d459f6b8 nwnss: add generic userspace provider boundary 2026-06-19 09:46:47 +02:00
Mario Fetka
110632d600 docs: note future XAttr userspace provider routing 2026-06-19 09:08:36 +02:00
Mario Fetka
ad52f77601 nwnss: add LSA xattr userspace boundary 2026-06-19 09:02:56 +02:00
Mario Fetka
c7a08c8927 docs: document XAttr LSA FUSE handoff 2026-06-19 08:37:19 +02:00
Mario Fetka
a3b926baf3 nwnss: import LSA xattr COMN dependencies 2026-06-19 08:30:37 +02:00
Mario Fetka
c344de9714 nwnss: fix extended attribute beast callback casts 2026-06-19 08:13:11 +02:00
Mario Fetka
945f8c7b45 nwnss: import NSS extended attribute runtime 2026-06-19 08:08:26 +02:00
OpenAI
40cda1a468 tests: gate networked smokes in ctest 2026-06-19 07:32:57 +02:00
ChatGPT
649f879f54 docs: refresh NSS handoff after generic runtime naming 2026-06-19 07:12:17 +02:00
OpenAI
aea5938593 nwnss: use generic NSS runtime naming
All checks were successful
Source release / source-package (push) Successful in 1m28s
2026-06-19 06:59:58 +02:00
Mario Fetka
ae0fc58386 nwnss: route userspace kernel shims through NSS runtime helpers
All checks were successful
Source release / source-package (push) Successful in 1m35s
2026-06-19 03:37:24 +02:00
Mario Fetka
b464c0b750 nwnss: add NSS page and uaccess runtime helpers 2026-06-19 03:37:23 +02:00
Mario Fetka
d9cd98f972 docs: classify current runtime extraction candidates 2026-06-19 03:37:23 +02:00
Mario Fetka
315bfda57e docs: clarify companion backend naming rules 2026-06-19 02:34:01 +02:00
Mario Fetka
341d7d92a8 docs: clarify generic userspace boundary pattern 2026-06-19 01:51:16 +02:00
Mario Fetka
09f2cbb7e6 docs: refresh AI handoff after XAttr boundary update 2026-06-18 20:33:56 +02:00
Mario Fetka
dd9d9df81a docs: update XAttr/LSA import checklist and userspace boundary rules
All checks were successful
Source release / source-package (push) Successful in 1m42s
extAttrBeast.h and lsa.h are already in include/nwnss/; update the
current-direction block to list the actual remaining steps: zXattr.h into
include/nwnss/public/, then src/nwnss/lsa/ with lsaXattr.c, lsaComn.c,
lsaPrivate.h, lsaSuper.c, extAttrBeast.c and extAttrNSpace.c.

Add rejected/superseded patch entries for 0677 (ncpNdpUserspace.c
collector) and 0671 (virtualIOUserspace.c, superseded by 0673).

Add source/layout rules clarifying:
- Companion *Userspace.c files (ALLOWED) vs. collector/stub-filler
  *Userspace.c files (FORBIDDEN).
- Default libnwnss allowed boundary: AdminVol, AdminFS, VirtualIO,
  management/template/function streams, in-memory/callback streams.
  Real disk/block/Kernel VFS IO requires MARS_NWE_NWNSS_BLOCK_IO.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-18 20:02:33 +02:00
Mario Fetka
9ed6175372 docs: add nwnss include-path, spinlock and PORT audit rules from supplement
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-18 19:55:38 +02:00
Mario Fetka
a11cd57553 docs: update AI.md patch marker and handoff block after doc consistency pass
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-18 19:26:34 +02:00
Mario Fetka
8e6a6d54bf tests: update namespace-import-layout test to use consolidated NSS_IMPORT_NOTES.md
All checks were successful
Source release / source-package (push) Successful in 1m43s
The doc consolidation pass merged NSS_NAMESPACE_AUDIT.md into
doc/NSS_IMPORT_NOTES.md. Update the test script DOC variable to point
to the new location; all required strings (dosNSpace.c, nameSpace.c,
comnBeasts.h, latch.h, xCache.h, volume ID assignments) are present in
the consolidated file.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-18 19:18:27 +02:00
Mario Fetka
2f02ace1de docs: fix stale include/nwfs/nss and src/nwfs/nss paths in REDESIGN and HANDOFF_AUDIT
All checks were successful
Source release / source-package (push) Successful in 1m46s
REDESIGN.md:
- Lines 1005-1016 (secure IPC section): include/nwfs/nss/sdk/include/msg.h →
  include/nwnss/include/msg.h; src/nwfs/nss/common/fsmsg.c →
  src/nwnss/comn/common/fsmsg.c; nsskr.h and lsaSuper.c annotated as
  not yet imported
- Line 2006: "under src/nwfs/nss/" → actual current locations
  (src/nwfs/lsa/, include/nwfs/lsa/, include/nwfs/public/, src/nwnss/)
- Lines 2233-2236: nwfs/nss/ adapted-from paths → current real paths
  (include/nwfs/public/zXattr.h, src/nwfs/lsa/lsaXattr.c, etc.)
- Line 2268: "Do not delete src/nwfs/nss/ wholesale" →
  clarify the directory no longer exists; staging is now in src/nwfs/comn/,
  src/nwfs/lsa/, include/nwfs/comn/ etc.
- Lines 2381-2382: src/nwfs/nss/common/, nss/authsys/, nss/main/,
  include/nwfs/nss/ → actual current subdirectory names (comn/, lsa/,
  include/, internal/, public/)
- Lines 2434-2448: src/nwfs/nss/namespace/*.c → src/nwfs/comn/namespace/*.c;
  note nameSpace.c and extAttrNSpace.c as not yet staged

doc/HANDOFF_AUDIT.md:
- NSS references table: include/nwfs/nss/sdk/include/ → include/nwnss/include/;
  src/nwfs/nss/common/fsmsg.c → src/nwnss/comn/common/fsmsg.c;
  nsskr.h and lsaSuper.c annotated as not yet imported;
  ipc2ncp.h annotated as not yet imported

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-18 19:03:06 +02:00
Mario Fetka
a1d1234859 docs: fix libnwcore/libnwnss attribution errors in remaining MDs
All checks were successful
Source release / source-package (push) Successful in 1m43s
doc/librarys/nwcore/README.md: completely rewrite — old content described
libnwnss (Unicode, UTC, GUID, WIO, FSM, latch, stdio, library/*, nss/lib,
sharedsrc) as if it were libnwcore. libnwcore builds only core.c, nwlog.c,
ini.c and exposes only core.h and ini.h. Add correct dependency chain diagram
showing libnwcore is independent of libnwnss.

TODO.md:
- "shared libnwcore/libnwfs helpers" for salvage/deleted metadata → libnwnss/libnwfs (2 occurrences)
- "libnwcore/libnwfs" for metadata snapshot helpers → libnwnss/libnwfs
- "src/core/" and "include/core/" for NSS imports → src/nwnss/ and include/nwnss/

REDESIGN.md:
- Architecture status table: "libnwcore/libnwfs helpers" for NSS-shaped
  salvage → libnwnss/libnwfs
- Salvage snapshot section: nwcore_salvage_snapshot → nwnss_salvage_snapshot;
  "libnwcore/libnwfs-style helpers" → libnwnss/libnwfs

Note: third_party/unicodeTables/COPYRIGHT.md also says "libnwcore" but that
file lives in a submodule and cannot be staged here.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-18 18:27:17 +02:00
Mario Fetka
8b4892157b docs: fix remaining stale references after doc consolidation
- TODO.md: TUI_TOOLBOX_PLAN.md and NWCORE_INI_PLAN.md → TOOLBOX_PLAN.md
- REDESIGN.md line 2971-2973: same three old names → TOOLBOX_PLAN.md and
  DIRECTORY_AND_ADMIN_PLAN.md
- NSS_IMPORT_NOTES.md: correct four stale libnwcore claims left over from
  the old NSS_PUBLIC_CORE_AUDIT.md text:
  - import policy: "Put primitive helpers in libnwcore" → libnwnss
  - namespace import-direction section header/body: libnwcore → libnwnss
  - pssmpk placement: libnwcore/nwcore.pssmpk → libnwnss/nwnss.pssmpk
  - eDir helpers: clarify they stay out of libnwcore AND libnwnss (→ libnwnds)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-18 18:21:52 +02:00
Mario Fetka
46031df872 docs: consolidate scattered documentation into fewer larger files
Merge 15 files into 3 consolidated docs and update all cross-references:

- doc/NSS_IMPORT_NOTES.md: merges NSS_USERSPACE_ADAPTATION.md,
  NSS_PUBLIC_CORE_AUDIT.md, NSS_NAMESPACE_AUDIT.md
- doc/TOOLBOX_PLAN.md: merges TUI_TOOLBOX_PLAN.md, NWCORE_INI_PLAN.md
- doc/DIRECTORY_AND_ADMIN_PLAN.md: merges DIRECTORY_STACK_PLAN.md,
  NWADMIN_CLIENT_PLAN.md
- doc/librarys/README.md: inlines 7 one-page stubs (nwtui, nwssl, nwflaim,
  nwxflaim, nwmatrixssl, nwlibsodium, nwowfat), deletes stub subdirs
- REDESIGN.md: absorbs KERNEL_REFERENCE_AUDIT.md into the transport/SPX
  section; adds Table of Contents after the architecture status table
- CLAUDE.md, AI.md, doc/README.md, doc/librarys/nwfs/README.md:
  all cross-references updated to new file names

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-18 18:15:46 +02:00
Mario Fetka
679ba0618c docs: fix include/core→nwnss paths, nwcore NSS helper attribution, wolfssl→matrixssl
- CLAUDE.md: nwcore does not contain NSS helpers; they live in libnwnss
  (Unicode, UTC, GUID, WIO, stdio formatter, xCtype, xString); update
  libnwnss description to mention the low-level runtime layer
- NSS_USERSPACE_ADAPTATION.md, TUI_TOOLBOX_PLAN.md, NWCORE_INI_PLAN.md:
  include/core→include/nwcore, src/core→src/nwcore (actual paths)
- KERNEL_REFERENCE_AUDIT.md: src/nss→src/nwnss, include/nss→include/nwnss
- NSS_NAMESPACE_AUDIT.md: all include/core/*/src/core/* targets corrected to
  actual include/nwnss/…/src/nwnss/… provenance paths (23 occurrences);
  "core layer" references corrected to libnwnss/mars_nwe::nwnss
- NSS_PUBLIC_CORE_AUDIT.md: src/core→src/nwnss for sharedsrc imports
- REDESIGN.md: src/core→src/nwnss (4 occurrences); libnwcore→libnwnss for
  NSS runtime helpers; remove wolfssl from third_party list (never existed,
  matrixssl is active); fix config example provider=wolfssl→matrixssl;
  remove WITH_WOLFSSL/WITH_ZLOG from suggested build options; fix bitmap
  placement (libnwnss not libnwcore)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-18 17:50:09 +02:00
Mario Fetka
27d41d6786 docs: fix tests/README.md — correct nwnss test paths and add missing sections
NSS helper tests live in tests/nwnss/ with nwnss.* prefix, not in
tests/core/ with nwcore.* prefix as previously documented. Add explicit
sections for tests/nwnss, tests/flaim and tests/fake. Fix the intro
example (nwcore.unicode does not exist; nwnss.unicode does).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-18 17:34:39 +02:00
Mario Fetka
979c2c099f Update submodule pins 2026-06-18 17:28:10 +02:00
Mario Fetka
a15f6a380d docs: unify MD documentation consistency pass
- Replace nwcall with nwconn throughout (nwcall was a naming confusion)
- Fix transport rule: libnwtransport library linked by nwconn, not a daemon split
- Update NSS audit count from 474 to 522 (0 partial, 0 open, 4 temp)
- Fix doc/librarys/nwcore: include root is include/nwcore, not include/core
- Add libnwnss entry to doc/librarys/README.md
- Clarify nwfs role as NCP wrapper around libnwnss in doc/librarys/nwfs

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-18 17:27:49 +02:00
Mario Fetka
ffb8898980 Update submodule pins 2026-06-18 17:20:11 +02:00
OpenAI
919ccc57f7 docs: define service and provider ownership boundaries 2026-06-18 16:54:21 +02:00
Mario Fetka
4f7afe4102 docs: define quota and salvage userspace ownership
All checks were successful
Source release / source-package (push) Successful in 1m45s
2026-06-18 16:10:16 +02:00
Mario Fetka
1dc8baca43 docs: define namespace userspace uniqueness boundary 2026-06-18 15:56:35 +02:00
Mario Fetka
7fb1cc0ce2 docs: update CLAUDE.md for libnwnss userspace backend split
All checks were successful
Source release / source-package (push) Successful in 1m35s
Reflect the new design decisions from REDESIGN.md and AI.md:

- Add libnwnss userspace backend split rule: original NSS files
  stay original-like; host-FS/FUSE/io_uring policy goes into
  parallel *Userspace.c / *Userspace.h boundary files.
- Clarify virtualIO: it is the _ADMIN/management virtual-file and
  XML datastream layer, not a disk/block backend.
- Add public_core/lsa/ -> src/nwnss/lsa/ to the import layout table.
- Update current immediate direction: XAttr/LSA import comes before
  nameSpace.c wiring.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-18 15:21:56 +02:00
Mario Fetka
b62824af8a docs: update AI nwnss userspace backend guidance
All checks were successful
Source release / source-package (push) Successful in 1m34s
2026-06-18 15:16:02 +02:00
ChatGPT
d30d519cd7 docs: define nwnss userspace backend split
All checks were successful
Source release / source-package (push) Successful in 1m28s
2026-06-18 14:59:13 +02:00
ChatGPT
f1a2789e54 nwnss: audit HMC userspace boundary
All checks were successful
Source release / source-package (push) Successful in 1m22s
2026-06-18 14:09:26 +02:00
Mario Fetka
98e0969f11 docs: document full NSS reference tree including Makefiles
All checks were successful
Source release / source-package (push) Successful in 1m27s
Expand the NSS reference section in CLAUDE.md to cover the
complete /home/mario/mars/nss layout: all public_core
subdirectories, the *Modules.mk object-file lists, buildtools,
docs and shared/sdk.  Note that the Modules.mk files are the
authoritative source sets for subsystem imports.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-18 14:08:45 +02:00
Mario Fetka
fce101e06f docs: record original NSS source path in CLAUDE.md
All checks were successful
Source release / source-package (push) Successful in 1m26s
Add /home/mario/mars/nss as the host-local reference tree for
NSS import and audit work, with the public_core and shared/sdk
subdirectory layout.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-18 14:07:14 +02:00
ChatGPT
d9eae51caa nwnss: audit build glue and source compat boundary 2026-06-18 14:05:06 +02:00
Mario Fetka
0c5fb36865 docs: sync TODO and AI.md to current nwnss audit state
All checks were successful
Source release / source-package (push) Successful in 1m24s
Advance AI.md patch marker to current HEAD
(nwnss: audit NDP shared wrappers).

Update TODO.md dashboard: mark NSS import track as
COMN audit done with 474 audited files, change DOS
namespace status to Ready to start now that the COMN
foundation is in place.  Update section 6 to note the
completed COMN chain and point to nameSpace.c as the
next import target.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-18 14:03:47 +02:00
ChatGPT
30c1fa7782 nwnss: audit NDP shared wrappers 2026-06-18 13:58:38 +02:00
ChatGPT
eaf04e088f nwnss: audit cache and message imports 2026-06-18 13:58:34 +02:00
Mario Fetka
a73c7a16eb docs: update AI.md handoff state and add CLAUDE.md
All checks were successful
Source release / source-package (push) Successful in 1m28s
Update AI.md: advance patch marker to current HEAD
(nwnss: audit COMN main and SBS imports), replace the stale 0554
handoff block with a summary of the completed COMN audit chain,
update current immediate direction to namespace implementation,
and remove accumulated 0490/0492/0493 historical dump fragments.

Add CLAUDE.md with build commands, test invocation, architecture
overview and documentation map for Claude Code sessions.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-18 13:56:44 +02:00
ChatGPT
1d437c639f nwnss: audit COMN main and SBS imports
Some checks failed
Source release / source-package (push) Has been cancelled
2026-06-18 13:46:07 +02:00