Repository navigation
[INBOX][Practical OSS] SwiftSoup 2.9.6 · 离线 HTML 资料阅读器 - #88
Draft
Righteous1776 wants to merge 12 commits into
Draft
Righteous1776 wants to merge 12 commits into
Righteous1776 wants to merge 12 commits into
Conversation
Owner
Author
|
[AGENT-VALIDATION][R2-ZIP-DELIVERY][2026-10-25] Companion complete candidate archive:
7 Linux SwiftPM policy XCTest PASS, 4 actual SwiftSoup parsing XCTest authored but not executed. Original main unchanged, no IPA Action. Governor must run full iOS 15 XcodeGen compilation/SwiftSoup resolve and iPhone7 testing before integration. |
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.
Practical OSS R2: one useful offline file workflow
Base main:
501ef814a0a9bea41419fe2d9f48315371b30320. Inbox:AGENT_INBOX/submissions/practical-html-agent/20261025-swiftsoup-html-reader/. This PR modifies only its own Inbox folder.Full source staged under FILES/
VeilHTMLImportPolicy.swift: 512 KiB HTML source cap, UTF-8 / BOM UTF-16, 100k text-character cap, 400 sections, 40 inert links and 100 live search results; blocks unsafe schemes/credentials and auto-opening.VeilOfflineHTMLImporter.swift: parses explicitly selected, security-scoped local Files HTML through SwiftSoup; removes active content and non-article DOM; extracts only plain text, article title and vetted URL strings; no WKWebView and no database writes.VeilOfflineHTMLReaderView.swift: SwiftUI file importer, background parsing, local search, manual copy via existing VeilToolClipboard; task invalidation on dismissal; no network action.PATCH.diff: XcodeGen SPM pinSwiftSoup exactVersion: 2.9.6for app, plus one ToolCenter navigation card. Two existing files/three hunks; original contexts and counts verified against exact base main. Project code untouched.Verified third-party provenance
Upstream SwiftSoup 2.9.6 official
Package.swift: Swift tools 5.9, iOS 13+, zero external package dependencies, MIT. Latest 2.14.3 requires Swift 6.0, not an appropriate direct pin for current Build61 Swift5.9. Preserve upstream copyright/license in final distribution; no upstream source or binary vendored into this PR.Validation
Independent Linux Swift 6.2.1 SwiftPM check in Swift package version 5.9: 7/7 policy XCTest passed. The SwiftSoup importer and UI Swift sources passed Swift parser syntax only. No remote package resolution, actual third-party parsing tests, Apple SDK typecheck, full iOS XCTest or physical iPhone 7 testing claimed.
Integration blockers
The prior CodeScanner PR #84 and various feature Agent lanes also propose
project.ymland/orToolCenterView.swift; Governor must consolidate manually. P0 iPhone7 touch/identity recovery #64–#66 must be stabilized first. No IPA Actions, main mutation, SQLite/Keychain/Wire v4 changes, merge or release.