# `` migration worklist Output of `jetc --lint-sql` (phase 2 of [design-sql-bound-parameters.md](design-sql-bound-parameters.md)), generated 2026-11-20 from the copies of the two sites in `~/Development`. Each line is a `` (or a use of a custom tag that wraps one, such as barant.com's ``) whose statement pastes in a variable instead of using ``. The kind in brackets is where the value comes from: `global` includes request parameters, `cgi` is a POST body field, `session` is `$[@name]`, `local` is `#[name]`. These local copies are not the whole of either live site. ClockPlanet in particular has only billing and a few site pages here (no `mobile_api.jet`), so rerun the lint on the live site trees for the full list: ``` jetc --lint-sql /path/to/site ``` Phase 3 starts with login/signup/password reset, cart/checkout/payment and admin procs (see the design doc ยง8). ## barant.com (`JetCore/jetc/barant-site`) ``` ./src/SIPPHONE.tag:178: pastes $[_login_id] (global) ./src/account-info.subpage:3: pastes $[_login_id] (global) ./src/account-info.subpage:14: pastes $[_login_id] (global) ./src/account-info.subpage:28: pastes $[_login_id] (global) ./src/account-info.subpage:54: pastes $[_login_id] (global) ./src/account-invoices.subpage:3: pastes $[@_invoice_id] (session) ./src/account-invoices.subpage:14: (wraps sql) pastes $[_login_id] (global) ./src/accountconfirm.page:14: pastes $[uuid] (global) ./src/accountconfirm.page:15: pastes $[uuid] (global) ./src/accountconfirm.page:16: pastes $[id] (global) ./src/add_track.page:10: pastes $[collection_id] (global) ./src/add_track.proc:5: pastes $[login_id] (global), $[collection_id] (global), $[name] (global), $[artist] (global), $[description] (global), $[price] (global), $[filedata_binary] (global) ./src/addtasknote.page:12: pastes $[_task_id] (global) ./src/addtasknote.proc:3: pastes $[_task_id] (global), $[_login_id] (global), $[noteb] (global), $[task_status_id] (global) ./src/addtocart.proc:1: pastes $[_session_id] (global), $[sku] (global) ./src/addtocart.proc:4: pastes $[_session_id] (global), $[sku] (global), $[qty] (global) ./src/admin-mailaccounts.subpage:19: pastes $[@_login_id] (session) ./src/barant.tag:70: pastes #[table] (local), #[where] (local), #[sortfield] (local) ./src/cart.menu:2: pastes $[_session_id] (global) ./src/cart.page:17: pastes $[_session_id] (global) ./src/cart.page:34: pastes $[_session_id] (global) ./src/cart.page:67: pastes $[_session_id] (global) ./src/changeprojecticon.proc:3: pastes $[datax] (global) ./src/changeprojecticon.proc:9: pastes $[image_id] (global), $[_project_id] (global) ./src/checkout.page:65: pastes $[_session_id] (global) ./src/checkout.page:75: pastes $[_session_id] (global) ./src/copy_invoice.jet:14: pastes $[source_invoice_id] (global) ./src/copy_invoice.jet:19: pastes $[new_invoice_id] (global), $[source_invoice_id] (global) ./src/create_invoice.jet:14: pastes $[user_id] (global) ./src/createaccount.proc:17: pastes $[email:0] (global) ./src/createaccount.proc:28: pastes $[name] (global), $[company_name] (global), $[email] (global), $[password] (global) ./src/createaccount.proc:46: pastes $[id] (global), $[link] (global) ./src/createproject.proc:2: pastes $[_login_id] (global), $[text] (global), $[description] (global) ./src/createreleasetarget.proc:4: pastes $[_project_id] (global), $[release] (global), $[descriptionx] (global) ./src/createrequest.proc:4: pastes $[_project_id] (global), $[_login_id] (global), $[priority] (global), $[release_id] (global), $[textx] (global), $[descriptionx] (global) ./src/createtask.proc:5: pastes $[_request_id] (global), $[_login_id] (global), $[textx] (global), $[descriptionx] (global) ./src/deleterequest.proc:3: pastes $[_request_id] (global) ./src/documents.jet:2: pastes $[id] (global), $[@_login_id] (session) ./src/documents_api.jet:17: pastes $[@_login_id] (session), $[name] (global) ./src/documents_api.jet:29: pastes $[id] (global), $[@_login_id] (session) ./src/documents_api.jet:31: pastes $[id] (global), $[@_login_id] (session) ./src/documents_api.jet:43: pastes $[@_login_id] (session) ./src/documents_delete.proc:4: pastes $[delete_id] (global), $[@_login_id] (session) ./src/documents_delete.proc:6: pastes $[delete_id] (global), $[@_login_id] (session) ./src/documents_upload.proc:4: pastes $[@_login_id] (session), $[name] (global) ./src/editinvoice.page:180: pastes $[@_invoice_id] (session) ./src/editinvoice.page:234: pastes $[@_invoice_id] (session) ./src/editproduct.page:8: pastes $[_product_sku] (global) ./src/editrequest.page:7: pastes $[_request_id] (global) ./src/edittask.page:12: pastes $[_task_id] (global) ./src/invoice.method:1: pastes $[@_invoice_id] (session) ./src/invoice.method:28: pastes $[@_invoice_id] (session) ./src/invoice.method:51: pastes $[@_invoice_id] (session) ./src/invoices.menu:2: pastes $[_user_id] (global) ./src/login.method:1: pastes $[login_email] (global), $[login_password] (global) ./src/login.method:16: pastes $[login_id] (global) ./src/login.method:17: pastes $[login_id] (global) ./src/mailaccounts.jet:25: pastes $[@_login_id] (session), $[mail_email] (global), $[mail_host] (global), $[mail_password] (global) ./src/mailaccounts.jet:38: pastes $[account_id] (global), $[@_login_id] (session) ./src/make_invoice.method:5: pastes $[_session_id] (global) ./src/make_invoice.method:47: pastes $[_login_id] (global), $[total] (global) ./src/make_invoice.method:62: pastes $[invoice_id] (global), $[total] (global), $[card_brand] (global), $[last_4_digits] (global), $[exp_month] (global), $[exp_year] (global), $[payment_id] (global), $[tranonce] (global) ./src/make_invoice.method:74: pastes $[_session_id] (global) ./src/make_invoice.method:81: pastes $[invoice_id] (global) ./src/make_invoice.method:96: pastes $[license] (global) ./src/make_invoice.method:97: pastes $[_login_id] (global), $[invoice_id] (global), $[license] (global), $[key] (global) ./src/make_invoice.method:110: pastes $[_session_id] (global) ./src/memberhometemplate.temp:25: pastes $[login_id] (global) ./src/menu.bar:18: pastes $[_session_id] (global) ./src/musicianhome.page:13: pastes $[login_id] (global) ./src/musicianhome.page:35: pastes $[login_id] (global) ./src/myprojects.page:15: (wraps sql) pastes $[_login_id] (global) ./src/myworklist.page:10: (wraps sql) pastes $[_login_id] (global) ./src/newcollection.proc:11: pastes $[login_id] (global), $[name] (global), $[artist] (global), $[description] (global), $[price] (global) ./src/payinvoice.page:7: pastes $[_invoice_id] (global) ./src/phones.section:1: pastes $[@_login_id] (session) ./src/phones.section:9: (wraps sql) pastes $[@_login_id] (session) ./src/processorder.proc:4: pastes $[_login_id] (global) ./src/processorder.proc:7: pastes $[_session_id] (global) ./src/processorder.proc:12: pastes $[invoice_id] (global) ./src/processorder.proc:27: pastes $[license] (global) ./src/processorder.proc:28: pastes $[_login_id] (global), $[invoice_id] (global), $[license] (global), $[key] (global) ./src/processorder.proc:41: pastes $[_session_id] (global) ./src/project.page:16: pastes $[_project_id] (global) ./src/project.page:37: (wraps sql) pastes $[_project_id] (global) ./src/project.tag:3: pastes $[_project_id] (global) ./src/projects.menu:1: pastes $[_login_id] (global) ./src/projman.bar:15: pastes $[_session_id] (global) ./src/registermusician.proc:2: pastes $[login_id] (global) ./src/removecartitem.proc:1: pastes $[_session_id] (global), $[sku] (global) ./src/removefromcart.proc:1: pastes $[_session_id] (global) ./src/request.page:12: pastes $[_request_id] (global) ./src/request.page:43: (wraps sql) pastes $[_request_id] (global) ./src/selectproject.proc:2: pastes $[project_id] (global) ./src/selecttask.proc:2: pastes $[task_id] (global) ./src/send_invoice_email.method:5: pastes $[_send_invoice_id] (global) ./src/task.page:12: pastes $[_request_id] (global) ./src/task.page:35: pastes $[_task_id] (global) ./src/taskassignresource.page:15: pastes $[_task_id] (global) ./src/taskassignresource.proc:5: pastes $[_task_id] (global), $[user_id] (global), $[estimate_hours] (global) ./src/update_invoice.proc:3: pastes $[@_invoice_id] (session) ./src/update_invoice.proc:5: pastes $[@_invoice_id] (session), $[sku$[ix]] (global), $[quantity$[ix]] (global), $[description$[ix]] (global), $[textarea$[ix]] (global), $[price$[ix]] (global), $[total$[ix]] (global), $[tax_amount$[ix]] (global), $[type$[ix]] (global) ./src/update_invoice.proc:8: pastes $[invoice_total] (global), $[user_id] (global), $[@_invoice_id] (session) ./src/update_product.proc:2: pastes $[type] (global), $[description] (global), $[text] (global), $[price] (global), $[image] (global), $[_product_sku] (global) ./src/updatecartqty.proc:2: pastes $[_session_id] (global), $[sku] (global) ./src/updatecartqty.proc:4: pastes $[qty] (global), $[_session_id] (global), $[sku] (global) ./src/updaterequest.proc:6: pastes $[textx] (global), $[descriptionx] (global), $[priority] (global), $[owner_id] (global), $[release_id] (global), $[_request_id] (global) ./src/upload_modular1_1_preset.proc:5: pastes $[title] (global), $[textx] (global), $[preset_datax] (global), $[audio_samplex] (global) lint-sql: 108 of 139 blocks (and uses of tags that wrap ) paste values into the statement, in 64 of 76 files (global 174, local 3, session 22) ``` ## ClockPlanet (`~/Development/ClockPlanet`) ``` ./billing/account.page:9: pastes $[_acct_bid] (global) ./billing/account.page:46: pastes $[_acct_bid] (global), $[_acct_req] (global) ./billing/account.page:157: pastes $[_acct_bid] (global) ./billing/account.page:159: pastes $[_acct_bid] (global) ./billing/billing_api.jet:28: pastes $[_mail_key] (global) ./billing/billing_api.jet:50: pastes $[_mail_key] (global) ./billing/billing_api.jet:53: pastes $[_notice_business] (global) ./billing/dobilling_pay.proc:16: pastes $[_bp_bid] (global) ./billing/dobilling_settings.proc:7: pastes $[_bs_bid] (global), $[_bs_low] (global), $[_bs_rep] (global) ./billing/dobilling_settings.proc:14: pastes $[_bs_low] (global), $[_bs_rep] (global), $[_bs_bid] (global) ./billing/doemployee_add.proc:6: pastes $[@_login_business_id] (session), $[name] (global), $[role] (global), $[phone] (global), $[mode] (global), $[invitecode] (global) ./billing/invoice.method:1: pastes $[_cp_invoice_id] (global) ./billing/invoice.method:33: pastes $[_cp_invoice_id] (global) ./billing/invoice.method:52: pastes $[_cp_invoice_id] (global) ./billing/send_invoice_email.method:3: pastes $[_send_invoice_id] (global) ./site-live/billing-current.txt:10: pastes $[_acct_bid] (global) ./site-live/billing-current.txt:49: pastes $[_acct_bid] (global), $[_acct_req] (global) ./site-live/billing-current.txt:114: pastes $[_acct_bid] (global) ./site-live/billing-current.txt:116: pastes $[_acct_bid] (global) ./site-live/billing-current.txt:252: pastes $[_mail_key] (global) ./site-live/billing-current.txt:272: pastes $[_mail_key] (global) ./site-live/billing-current.txt:275: pastes $[_notice_business] (global) ./site-live/billing-current.txt:313: pastes $[@_login_business_id] (session), $[name] (global), $[role] (global), $[phone] (global), $[mode] (global), $[invitecode] (global) ./site-live/sites.page:12: pastes $[@_login_business_id] (session) ./site-live/sites.page:32: pastes $[@_login_business_id] (session) ./site-live/sites.page:36: pastes $[@_login_business_id] (session) lint-sql: 26 of 28 blocks paste values into the statement, in 9 of 10 files (global 37, session 5) ```