Generate mapping-v6.md with titles and processing patterns#43
Open
Generate mapping-v6.md with titles and processing patterns#43
Conversation
kiyotis
commented
Feb 19, 2026
kiyotis
commented
Feb 19, 2026
- Prioritize English files, fallback to Japanese for source files - Remove file counts (not essential at design stage) - Include v5 for nablarch-system-development-guide with content review note - Add Japanese title field for validation automation - Clarify asset location (assets/ subdirectory) - Add table reference note for category taxonomy details - Enhance validation to include URL accessibility and title checking Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Clarify English file prioritization over Japanese - Remove file count verification requirement - Specify v6 paths for both v5 and v6 with review notes - Define asset location within skill knowledge directory - Add Japanese title extraction via URL access - Convert category overview to detailed table with path patterns Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Update English file priority rule to prioritize en/ over ja/ - Add v5 inclusion details and note about content verification - Clarify asset target location with concrete example - Expand title verification process with extraction methods Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Rename columns for clarity: Source Path Pattern, Pattern Completeness, Target Path, Target Naming Rule - Enhance completeness explanations with specific details about why patterns are partial - Add note about processing patterns requiring content inspection - Clarify that manual verification is required for all partial categories Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Changed target file paths from category-only format to type/category format (e.g., batch/*.md → processing-pattern/nablarch-batch/*.md) to eliminate ambiguity and improve directory organization. Updated JSON example and asset path example to reflect new structure. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Created detailed justification document analyzing all 669 source files in Nablarch official documentation to validate source path patterns and completeness classifications. Key findings: - Identified 4 critical path pattern errors (libraries, adaptors, development-tools, http-messaging) - Validated completeness status for all 20 categories - Documented manual review requirements for "Partial" categories - Provided rationale based on directory structure analysis and scope filtering needs This analysis addresses PR#43 review feedback requesting verification of Source Path Pattern and Pattern Completeness accuracy. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…rch structure Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Fix three path patterns to match actual Nablarch repository structure: - nablarch-batch: Narrow to batch/nablarch_batch/ (now Complete) - db-messaging: Correct to messaging/db/ (was db_messaging/) - about-nablarch: Correct to about_nablarch/ (was about/) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…tation Create comprehensive mapping table of all 332 documentation files in .lw/nab-official/v6/nablarch-document/en/ to their target categories and paths in nabledge-6 knowledge base. Categorization includes: - Processing patterns (batch, REST, messaging, web) - Components (handlers, libraries, adapters) - Setup guides and configuration - Tools and testing framework - Architecture and reference documentation This table provides the foundation for creating mapping.json files and will help ensure complete and accurate documentation coverage. Related: #10 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
After analyzing all 84 index.rst files, identified 20 files that contain only table of contents (toctree) or headings without substantial content. These files are now marked as "対象外" (excluded) with empty mapping fields. Excluded files (20): - about_nablarch/index.rst - application_framework/application_framework/*/index.rst (multiple) - Handler directory indexes (batch, common, http_messaging, etc.) - Messaging directory indexes (db, mom) - Web service directory indexes Files with substantial content (64) retain their category mappings. Analysis criteria: - Excluded: Only toctree directives or minimal text - Included: Has paragraphs, code examples, tables, or detailed explanations Related: #10 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…pping - Review all 84 index.rst files and mark TOC-only files as n/a - Align categories with design specification (19 categories) - Replace: tools→development-tools, setup-guide→blank-project - Remove: maven-archetype (unused) - Add: cloud-native (4 files), business-samples (13 files) - Convert Source Path column to relative markdown links - Create all-files-mapping-v6.md (337 files total) - nablarch-document/en: 333 files - nablarch-system-development-guide: 4 files (nablarch-patterns + security-check) - Update mapping-file-design.md with new category taxonomy Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Consolidate the two separate columns into a single Target Path column that includes the complete file path for better readability. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Corrected 95 target paths to follow the correct taxonomy structure: - setup/setup-guide/ → setup/blank-project/ - setup/deployment/ → setup/cloud-native/ - about/architecture/ → about/about-nablarch/ - extension/business-samples/ → guide/business-samples/ - tools/ → component/development-tools/ All target paths now follow the rule: type/category-id/filename Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Changed nablarch-patterns source files from Japanese to English version: - Nablarchでの非同期処理.md → Asynchronous_operation_in_Nablarch.md - Nablarchアンチパターン.md → Nablarch_anti-pattern.md - Nablarchバッチ処理パターン.md → Nablarch_batch_processing_pattern.md Source path updated: - Nablarchシステム開発ガイド/docs/nablarch-patterns/ → en/Nablarch-system-development-guide/docs/nablarch-patterns/ Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Renamed all index.md files to meaningful names based on source path - Added prefixes to distinguish duplicate filenames: - request-unit-test-* for RequestUnitTest files - deal-unit-test-* for DealUnitTest files - Specific names for master-data-setup files - Converted underscores to hyphens in all filenames - All 302 target paths are now unique Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Changes: - Add Type column to mapping table (processing-pattern, component, development-tools, setup, guide, check, about) - Rename Category column to Category ID for clarity - Separate development-tools as independent Type (was under component) - Category IDs: testing-framework (41 files), toolbox (6 files), java-static-analysis (1 file) - Simplify taxonomy table in design document - Remove redundant columns: Source Path Pattern, Pattern Completeness, Target Path, Target Naming Rule - Add Target Path Rules section with naming conventions and examples Statistics: - Total files mapped: 302 - Types: component (116), processing-pattern (75), development-tools (48), setup (31), guide (16), about (15), check (1) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Changed from JSON to Markdown table format for better readability and AI agent processing. Key changes: - File format: mapping-v6.json → mapping-v6.md (table format) - Added detailed subdirectory preservation rules for component categories - Clarified Official URL conversion rules with examples - Made Excel export optional (Markdown is primary format) - Updated all field references to match table column names Rationale: Markdown tables are easier for both humans and LLM agents to read and process, while maintaining all required functionality. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Added new column to enable incremental knowledge file creation by processing pattern, as users typically need documentation for specific patterns (e.g., only nablarch-batch). Changes: - Added Processing Pattern column after Category ID - Defined assignment rules for each category type - Updated filtering guidance to prioritize pattern-based filtering - Added 4 example rows showing different pattern assignments Benefits: - Users can generate knowledge files incrementally per pattern - Pattern-specific files (handlers, testing, setup) are properly tagged - Generic/shared files (empty pattern) can be processed separately - Enables efficient documentation subset creation Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Changed title extraction method and Official URL format for better
maintainability and table readability:
Changes:
1. Title extraction: Web scraping → Local rst/md file headers
- Title: from .lw/.../en/{path}.rst header
- Title (ja): from .lw/.../ja/{path}.rst header
- Faster, more reliable, no network dependency
2. Official URL format: Full URL → Markdown link [🔗](url)
- Keeps table width manageable
- Still programmatically accessible via regex
- Better human readability
3. Updated validation steps:
- Added title extraction verification
- Added processing pattern verification
- Added target path naming verification
- Removed web-based title verification
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Changed Source Path from Markdown link to plain text for simplicity and consistency with Target Path column. Changes: - Source Path: [path](link) → path (plain text) - Added base directory documentation for both repositories - Clarified path relativity in all sections - Updated title extraction and URL generation examples Benefits: - Simpler processing (no link parsing needed) - Consistent with Target Path format - Still maintains full path information - Base directories documented in design for reference Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Generate complete mapping table from all-files-mapping-v6.md with: - Title extraction from .lw/ local files (EN: 100%, JA: 99.7%) - Official URL generation with Markdown link format - Processing pattern assignment (134 files assigned, 168 generic) - Target path subdirectory structure preservation Results: - 302 total files mapped - 99.7% automation rate (301/302 complete) - 1 missing Japanese title (English-only file) - All validations passed Processing pattern distribution: - web-application: 48 files - nablarch-batch: 29 files - restful-web-service: 21 files - jakarta-batch: 14 files - http-messaging: 8 files - mom-messaging: 7 files - db-messaging: 7 files Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The English version was renamed from double_transmission.rst to duplicate_form_submission.rst in v6, but the Japanese version retained the old filename. Changes: - Added nablarch_doc_filename_mapping in extract_title() function - Maps duplicate_form_submission.rst → double_transmission.rst - Regenerated mapping-v6.md with Japanese title extracted Results: - 100% automation rate (302/302 complete) - All validations passed - Title (JA): "二重サブミット防止機能のテスト実施方法" Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
659c886 to
c3fc2cf
Compare
Fixed two URL generation issues: 1. nablarch-document URLs: - Before: https://nablarch.github.io/docs/LATEST/doc/ja/{path} - After: https://nablarch.github.io/docs/6u3/doc/{path} - Use minor version (6u3) to align with nabledge-6 target version - Remove /ja/ path segment (not needed in URL structure) 2. nablarch-system-development-guide URLs: - Before: .../main/Nablarchシステム開発ガイド/{path} (Japanese path) - After: .../main/en/Nablarch-system-development-guide/{path} (English path) - Use English directory structure (source path as-is) Changes: - Updated doc/mapping/mapping-file-design.md with corrected URL specifications - Modified scripts/generate-mapping-v6.py URL generation logic - Regenerated doc/mapping/mapping-v6.md with correct URLs Verification: - nablarch-document: https://nablarch.github.io/docs/6u3/doc/about_nablarch/license.html ✓ - system-development-guide: https://github.com/.../en/Nablarch-system-development-guide/... ✓ All URLs now return 200 OK (previously 404). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related: #10
Approach
Complete implementation of mapping file generation following the updated design specification:
Phase 1 (Preparation): Extensive testing and validation
Phase 2 (Execution): Actual file generation
Tasks
Design:
Implementation:
Validation:
Results
Automation Success Rate: 100% (302/302 complete)
Processing Pattern Distribution:
Files Changed
Design:
doc/mapping/mapping-file-design.md- Updated design specificationSource Data:
doc/mapping/all-files-mapping-v6.md- Source mapping table (302 files)Generated Output:
doc/mapping/mapping-v6.md- Final mapping table (311 lines)Scripts:
scripts/generate-mapping-v6.py- Generation script with title extraction, pattern assignment, and filename mappingscripts/validate-mapping.py- Validation script with comprehensive checksscripts/add-type-column.py- Helper script for adding Type columnscripts/fix-development-tools-type.py- Helper script for fixing development-tools typeWork Logs:
work/20260219/path-pattern-analysis.md- Path pattern analysisExpert Review
Success Criteria Check
🤖 Generated with Claude Code