Author: CVBGOD (MERCWAR FFF)
Edition: GitHub Publication Release
Core Upgrade: Version 2.0 introduces the new SCAN CREATE SOURCE + SOURCE MERGE TXT PRINTER engine.
The AVIS Project Scanner is a configurationβdriven project bootstrap engine.
It reads a simple .INI file and constructs your entire project structure automatically β deterministically, reproducibly, and with zero ambiguity.
Version 2.0 introduces:
- AI Source Code Copy Mode
- Full Project Source Printer (
*.TXTMerge Engine) - SCAN CREATE SOURCE (new directoryβdriven source export)
- Improved INI parsing
- Cleaner logs
- Faster directory walkers
This system is built in pure Windows Batch, making it:
- transparent
- portable
- AIβfriendly
- ideal for training AI to understand project structure
This repository is both a tool and a teaching artifact.
βI built this so programmers can use AI to generate their project directories.
You donβt need expensive tools.
You give the AI the INI file.
The AI writes the structure.
My scanner builds it exactly as described.β
βββββββ βββ ββββββββββ βββββββ βββββββ βββββββ
ββββββββ βββ βββββββββββββββββββ βββββββββββββββββ
βββ βββ ββββββββββββββ βββββββ ββββββ βββ
βββ ββββ βββββββββββββββ ββββββ ββββββ βββ
ββββββββ βββββββ ββββββββββββββββββββββββββββββββββ
βββββββ βββββ βββββββ βββββββ βββββββ βββββββ
AVIS PROJECT SCANNER v2.0
AIβDRIVEN STRUCTURE β’ SOURCE MERGE PRINTER
CVBGOD β’ MERCWAR β’ FFF
This README explains:
- how the scanner works
- how to use AI to generate your directory structure
- how to integrate the INI file into your workflow
- how the new Source Merge Printer works
Your project structure should be defined by configuration β not by hand.
The .INI file is the single source of truth.
Every DIR_* entry becomes a real directory.
Every scan is deterministic.
Every export is reproducible.
AVIS_PRJ_SCAN_EXEC.BAT
β
βββ CONFIG_ROOT.BAT β Establish root paths and log locations
βββ CREATE_STRUCT.BAT β Ensure required directories exist
βββ LOAD_CONFIG.BAT β Read INI file and create DIR_* variables
βββ TMP_CONFIG.BAT β Generate .BAK configuration snapshot
βββ LOG_CONFIG.BAT β Write log headers and metadata
βββ SCAN_DIR.BAT β Recursively map all directories
βββ SCAN_FILE.BAT β Recursively map all files
βββ AVIS_PRJ_SCAN_REC.BAT β **NEW**: Merge all project source into a single TXT
βββ SCAN_RESULTS.BAT β Display summary and verify exports
-
Source Code Merge Printer
Creates a single.TXTfile containing all source code from your project.
Perfect for:- AI ingestion
- offline review
- backups
- code audits
-
SCAN CREATE SOURCE
A new mode that builds a clean source tree for AI tools.
Example:
DIR_AVIS_PRJ_SCAN=c:\htdocs\robo-knight\AI_AVIS_FVS\AVIS_PRJ_SCAN
DIR_INCLUDE=v:\htdocs\robo-knight\AI_AVIS_FVS\INCLUDE
DIR_OUTPUT=b:\htdocs\robo-knight\AI_AVIS_FVS\OUTPUT
DIR_SOURCE=g:\htdocs\robo-knight\AI_AVIS_FVS\SOURCE
DIR_LOG=o:\htdocs\robo-knight\AI_AVIS_FVS\AVIS_PRJ_SCAN\LOG
IM_CVBGOD=D:\htdocs\robo-knight\AI_AVIS_FVS\AVIS_PRJ_SCAN\LOGEvery entry becomes a real directory.
Every directory is validated.
Every path is logged.
This is the part most people miss.
- Show the AI your
.INIfile. - Tell the AI:
βUpdate my project structure using this INI.β
- The AI edits or generates the
DIR_*entries. - You run the scanner.
- The scanner builds the entire structure exactly as the AI described.
- No manual folder creation
- No path mistakes
- No drift between machines
- AI can regenerate the entire project layout anytime
βI wanted a simple file any AI can understand.
The AI writes the INI.
My scanner builds the universe.β
Startup menu:
[AVIS] SELECT MODE:
1. CONTINUE WITH SCAN
2. OPEN CONFIGURATION FILE
3. RUN SOURCE MERGE PRINTER (NEW)
Option 3 runs the new v2.0 merge engine:
AVIS_PRJ_SCAN_REC.BAT β OUTPUT\SOURCE_MERGE.TXT
Logs are written to:
AVIS_PRJ_SCAN\LOG\ACK_AI_OP.LOG
Includes:
- timestamps
- environment metadata
- directory map
- file map
- source merge results
- synchronization status
; DEFAULT_DIR_AVIS_PRJ_SCAN=c:\YourProject\AVIS_PRJ_SCAN
; DEFAULT_DIR_INCLUDE=v:\YourProject\INCLUDE
; DEFAULT_DIR_OUTPUT=b:\YourProject\OUTPUT
; DEFAULT_DIR_SOURCE=g:\YourProject\SOURCE
; DEFAULT_DIR_LOG=o:\YourProject\AVIS_PRJ_SCAN\LOG
; DEFAULT_DIR_AI=d:\YourProject\AVIS_PRJ_SCAN\AIUse this to bootstrap new projects.
+---------------------------+
| AVIS_PRJ_SCAN |
+---------------------------+
|
+-- LOG\
| β-- ACK_AI_OP.LOG
|
+-- LOG\
| β-- AVIS_PRJ_SCAN.txt
|
+-- INCLUDE\
| β-- BEGIN\
| β-- KB\
|
+-- SOURCE\
| β-- BEGIN\
| β-- KB\
|
β-- OUTPUT\
β-- SOURCE_MERGE.TXT β NEW
The scanner is both practical and educational.
It demonstrates:
- AIβgenerated project structures
- configurationβdriven automation
- reproducible environments
- deterministic directory creation
- simple formats powering complex workflows
The AVIS Project Scanner v2.0 is a bridge between:
- human developers
- AI assistants
- reproducible project structures
- fullβproject source exports
It is explicit, deterministic, and powerful.
βIf you see a directory that doesnβt belong, check the INI first.β
β CVBGOD
Β© 2026 CVBGOD / Mercwar / RoboβKnight Universe
All Rights Reserved.
Unauthorized copying, redistribution, or derivative works
are prohibited without explicit permission.


